[RFT PATCH v2 03/42] drivers: pci: host: ftpci100: convert IRQ masking to raw PCI config accessors
From: Linus Walleij <hidden>
Date: 2017-06-16 09:05:02
Also in:
linux-pci
From: Linus Walleij <hidden>
Date: 2017-06-16 09:05:02
Also in:
linux-pci
On Thu, Jun 8, 2017 at 4:13 PM, Lorenzo Pieralisi [off-list ref] wrote:
Current ftpci100 driver host bridge controller driver requires struct pci_bus to be created in order to mask and clear IRQs using standard PCI bus config accessors. This struct pci_bus dependency is fictitious and burdens the driver with unneeded constraints (eg to use separate APIs to create and scan the root bus). Add PCI raw config space accessors to PCIe ftpci100 driver and remove the fictitious struct pci_bus dependency. Signed-off-by: Lorenzo Pieralisi <redacted> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Linus Walleij <redacted>
This makes all kind of sense so: Acked-by: Linus Walleij <redacted> I'm hoping to be able to pull in your branch on my board tree and actually test it too. The semantic change is a bit scary. Yours, Linus Walleij