David Miller
ef0dab4aae
PCI: Fix unaligned accesses in VC code
...
The save/restore buffers for VC state is first composed of a 2-byte control
register, then a bunch of 4-byte words.
This causes unaligned accesses which trap on platform such as sparc.
This is easy to fix by simply moving the buffer pointer forward by 4 bytes
instead of 2 after dealing with the control register. The length
adjustment needs to be changed likewise as well.
Fixes: 5f8fc43217 ("PCI: Include pci/pcie/Kconfig directly from pci/Kconfig")
Reported-by: Meelis Roos <mroos@linux.ee>
Reported-by: Anatoly Pugachev <matorola@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: stable@vger.kernel.org # v4.6+
2016-06-20 13:24:20 -05:00
..
host
Char / Misc driver update for 4.7-rc1
2016-05-20 21:20:31 -07:00
hotplug
powerpc updates for 4.7
2016-05-20 10:12:41 -07:00
pcie
Merge branches 'pci/hotplug' and 'pci/resource' into next
2016-05-17 14:35:38 -05:00
access.c
PCI: Add pci_set_vpd_size() to set VPD size
2016-04-15 13:00:11 -05:00
ats.c
bus.c
PCI: Do not treat EPROBE_DEFER as device attach failure
2016-05-02 13:49:11 -05:00
ecam.c
PCI: Provide common functions for ECAM mapping
2016-05-11 17:34:41 -05:00
ecam.h
PCI: generic, thunder: Use generic ECAM API
2016-05-12 07:07:42 -05:00
host-bridge.c
hotplug-pci.c
htirq.c
iov.c
powerpc updates for 4.6
2016-03-19 15:38:41 -07:00
irq.c
Kconfig
PCI: Provide common functions for ECAM mapping
2016-05-11 17:34:41 -05:00
Makefile
PCI: Provide common functions for ECAM mapping
2016-05-11 17:34:41 -05:00
msi.c
of.c
pci-acpi.c
pci-driver.c
pci-label.c
PCI: Fix broken URL for Dell biosdevname
2016-02-29 12:03:19 -06:00
pci-stub.c
pci-sysfs.c
PCI changes for the v4.7 merge window:
2016-05-19 13:10:54 -07:00
pci.c
Merge branches 'pci/arm64' and 'pci/host-hv' into next
2016-05-17 14:35:46 -05:00
pci.h
PCI: Add pci_set_vpd_size() to set VPD size
2016-04-15 13:00:11 -05:00
probe.c
Merge branches 'pci/hotplug' and 'pci/resource' into next
2016-05-17 14:35:38 -05:00
proc.c
quirks.c
Merge branches 'pci/enumeration', 'pci/hotplug', 'pci/misc', 'pci/ntb', 'pci/thunderbolt' and 'pci/virtualization' into next
2016-04-25 14:35:26 -05:00
remove.c
Merge branch 'pci/resource' into next
2016-03-15 08:56:28 -05:00
rom.c
PCI: Remove unused IORESOURCE_ROM_COPY and IORESOURCE_ROM_BIOS_COPY
2016-03-12 06:00:29 -06:00
search.c
PCI: Add support for multiple DMA aliases
2016-04-11 14:34:32 -05:00
setup-bus.c
setup-irq.c
setup-res.c
PCI: Don't assign or reassign immutable resources
2016-03-08 12:14:31 -06:00
slot.c
syscall.c
vc.c
PCI: Fix unaligned accesses in VC code
2016-06-20 13:24:20 -05:00
vpd.c
xen-pcifront.c
xen/pcifront: Fix mysterious crashes when NUMA locality information was extracted.
2016-02-15 14:34:57 +00:00