]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: Use generic config accessors
authorRob Herring <robh@kernel.org>
Fri, 21 Aug 2020 03:53:53 +0000 (21:53 -0600)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 8 Sep 2020 15:37:02 +0000 (16:37 +0100)
commit9f61c3df9c679379ebb59099329ed4f0fa00fbcf
treec9c33ceb13b0df90bba6760f3ded80916e5e87a4
parentf43343a44b404ae3bda953f0c3288bb2795fcd4e
PCI: dwc: Use generic config accessors

Now that all the platforms with custom config access handling define
their own pci_ops, let's split the default config accessors to use
different pci_ops for root and child buses. With this, we can use the
generic config accessors. The child bus accesses mainly require a
.map_bus() hook to reconfigure the iATU on each config space access.

Link: https://lore.kernel.org/r/20200821035420.380495-14-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Jingoo Han <jingoohan1@gmail.com>
Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pcie-designware-host.c