aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2019-10-28 16:32:48 +0000
committerLorenzo Pieralisi <[email protected]>2019-10-29 10:52:15 +0000
commit2999dea8e94a8e32dadfe17970aa29eba46985b9 (patch)
tree0ca979aef5bd5a6127118ecb60db1b47f7bb422f /drivers/pci/controller/pci-host-common.c
parentPCI: versatile: Use pci_parse_request_of_pci_ranges() (diff)
downloadkernel-2999dea8e94a8e32dadfe17970aa29eba46985b9.tar.gz
kernel-2999dea8e94a8e32dadfe17970aa29eba46985b9.zip
PCI: versatile: Remove usage of PHYS_OFFSET
PHYS_OFFSET is not universally defined on all arches and using it prevents enabling COMPILE_TEST. PAGE_OFFSET and __pa() are always available, so use them to get the physical start of memory address. This should have probably used 'dma-ranges' to get the address, but we don't want to force a DT update to do that. At least in QEMU, the SMAP registers have no effect (or perhaps the only value that is handled is 0). Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Linus Walleij <[email protected]> Cc: Lorenzo Pieralisi <[email protected]> Cc: Andrew Murray <[email protected]> Cc: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions