]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PCI: Apply the new generic I/O management on PCI IO hosts
authorZhichang Yuan <yuanzhichang@hisilicon.com>
Wed, 14 Mar 2018 18:15:53 +0000 (02:15 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 10 Apr 2018 17:36:39 +0000 (12:36 -0500)
commit046ff9e60b0c5548abbeec864dcc3da4fa7eef8c
treee1a68b7174b81524cfc3b0a62020ba06412a54a1
parent36e6f3d48ab5d405df7cc036ed5f9cf8d9bef852
PCI: Apply the new generic I/O management on PCI IO hosts

BugLink: https://bugs.launchpad.net/bugs/1762758
After introducing the new generic I/O space management (Logical PIO), the
original PCI MMIO relevant helpers need to be updated based on the new
interfaces defined in logical PIO.

Adapt the corresponding code to match the changes introduced by logical
PIO.

Tested-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Zhichang Yuan <yuanzhichang@hisilicon.com>
Signed-off-by: Gabriele Paoloni <gabriele.paoloni@huawei.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de> # earlier draft
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
(cherry picked from commit 5745392e0c2b78e0d73203281d5c42cbd6993194)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/pci/pci.c
include/asm-generic/io.h