]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add pci_mmap_resource_range() and use it for ARM64
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 12 Apr 2017 12:25:59 +0000 (13:25 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 20 Apr 2017 13:47:47 +0000 (08:47 -0500)
commit87900a7f92ae7bcd3fab33363b75f6bdd67e198c
tree0f0ea2ee1adc77e1e81c1410e5569e5d6136ffb6
parent10725953f938988b0212ddd59418be92354c98fa
PCI: Add pci_mmap_resource_range() and use it for ARM64

Starting to leave behind the legacy of the pci_mmap_page_range() interface
which takes "user-visible" BAR addresses.  This takes just the resource and
offset.

For now, both APIs coexist and depending on the platform, one is
implemented as a wrapper around the other.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Documentation/filesystems/sysfs-pci.txt
arch/arm64/include/asm/pci.h
drivers/pci/Makefile
drivers/pci/mmap.c [new file with mode: 0644]
drivers/pci/pci-sysfs.c
drivers/pci/pci.h
include/linux/pci.h