Files
linux/drivers
Alex Williamson 390cb9cac7 PCI: Fix unaligned access in AF transaction pending test
commit d066c946a8 upstream.

pci_wait_for_pending() uses word access, so we shouldn't be passing
an offset that is only byte aligned.  Use the control register offset
instead, shifting the mask to match.

Fixes: d0b4cc4e32 ("PCI: Wrong register used to check pending traffic")
Fixes: 157e876ffe ("PCI: Add pci_wait_for_pending() (refactor pci_wait_for_pending_transaction())
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-17 16:23:15 -07:00
..
2014-07-17 16:23:09 -07:00
2014-07-17 16:23:14 -07:00
2014-04-08 13:27:40 +02:00
2014-05-12 00:27:26 -04:00
2014-04-18 16:40:08 -07:00
2014-07-17 16:23:10 -07:00