PCI: Don't use 64-bit bus addresses on PA-RISC
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Aug 2015 05:08:15 +0000 (00:08 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Aug 2015 22:16:37 +0000 (17:16 -0500)
commit45ea2a5fed6dacb9bb0558d8b21eacc1c45d5bb4
treeafc4d5833b68df407dff1f448c190503894ac52b
parentb35b1df5e6c213b0b0322e6c231b7111efe4a390
PCI: Don't use 64-bit bus addresses on PA-RISC

Meelis and Helge reported that 3a9ad0b4fdcd ("PCI: Add pci_bus_addr_t")
caused HPMCs on A500 and hangs on rp5470.

PA-RISC does not set ARCH_DMA_ADDR_T_64BIT, even for 64-bit kernels, so
prior to 3a9ad0b4fdcd, we always used 32-bit PCI addresses.  After
3a9ad0b4fdcd, we do use 64-bit PCI addresses in 64-bit kernels, and
apparently there's some PA-RISC problem related to them.

Fixes: 3a9ad0b4fdcd ("PCI: Add pci_bus_addr_t")
Link: http://lkml.kernel.org/r/alpine.LRH.2.11.1507260929000.30065@math.ut.ee
Reported-by: Meelis Roos <mroos@linux.ee>
Reported-by: Helge Deller <deller@gmx.de>
Tested-by: Helge Deller <deller@gmx.de>
Based-on-idea-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
CC: stable@vger.kernel.org # v3.19+
drivers/pci/Kconfig