Skip to content

Commit

Permalink
PCI: Don't use 64-bit bus addresses on PA-RISC
Browse files Browse the repository at this point in the history
Meelis and Helge reported that 3a9ad0b ("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 3a9ad0b, we always used 32-bit PCI addresses.  After
3a9ad0b, we do use 64-bit PCI addresses in 64-bit kernels, and
apparently there's some PA-RISC problem related to them.

Fixes: 3a9ad0b ("PCI: Add pci_bus_addr_t")
Link: http://lkml.kernel.org/r/[email protected]
Reported-by: Meelis Roos <[email protected]>
Reported-by: Helge Deller <[email protected]>
Tested-by: Helge Deller <[email protected]>
Based-on-idea-by: Yinghai Lu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Yinghai Lu <[email protected]>
CC: [email protected]	# v3.19+
  • Loading branch information
bjorn-helgaas committed Aug 20, 2015
1 parent b35b1df commit 45ea2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# PCI configuration
#
config PCI_BUS_ADDR_T_64BIT
def_bool y if (ARCH_DMA_ADDR_T_64BIT || 64BIT)
def_bool y if (ARCH_DMA_ADDR_T_64BIT || (64BIT && !PARISC))
depends on PCI

config PCI_MSI
Expand Down

0 comments on commit 45ea2a5

Please sign in to comment.