]> asedeno.scripts.mit.edu Git - linux.git/commit
xtensa/PCI: Use generic pci_mmap_resource_range()
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 19 Feb 2018 13:02:33 +0000 (13:02 +0000)
committerBjorn Helgaas <helgaas@kernel.org>
Wed, 28 Feb 2018 23:03:40 +0000 (17:03 -0600)
commit46e15a2a71e5c6252859e4ade38b7fdbb897a7a1
treeb8bbc6a136a58c619643e1baa2926a7bbd26539d
parent28f8f1833be700c95cf9cb198c788649db0b3b65
xtensa/PCI: Use generic pci_mmap_resource_range()

Commit f719582435 ("PCI: Add pci_mmap_resource_range() and use it for
ARM64") added this generic function with the intent of using it everywhere
and ultimately killing the old arch-specific implementations.

Remove the xtensa-specific pci_mmap_page_range() and use the generic
pci_mmap_resource_range() instead.

Xtensa can mmap I/O port space, so supply the xtensa-specific
pci_iobar_pfn() required to make that work.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
[bhelgaas: changelog]
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/pci.h
arch/xtensa/kernel/pci.c