Message ID | 20160618.234908.1671877676732375612.davem@davemloft.net (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
> >> bisected to git commit 63e3027 > > > > That's a merge commit that adds 100 different commits, and this happened > > way back in March. > > > > Please find the exact dword access in: > > > > drivers/pci/pcie/portdrv_{core,pci,bus}.c > > > > that triggers this unaligned access so we can debug this further. > > Meanwhile I figured it out, this should fix the bug: Yes it does for me too - thank you!
diff --git a/drivers/pci/vc.c b/drivers/pci/vc.c index dfbab61..1fa3a32 100644 --- a/drivers/pci/vc.c +++ b/drivers/pci/vc.c @@ -221,9 +221,9 @@ static int pci_vc_do_save_buffer(struct pci_dev *dev, int pos, else pci_write_config_word(dev, pos + PCI_VC_PORT_CTRL, *(u16 *)buf); - buf += 2; + buf += 4; } - len += 2; + len += 4; /* * If we have any Low Priority VCs and a VC Arbitration Table Offset