]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: iproc: Invalidate correct PAXB inbound windows
authorRoman Bacik <roman.bacik@broadcom.com>
Thu, 1 Oct 2020 06:00:53 +0000 (11:30 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 30 Nov 2020 18:25:01 +0000 (18:25 +0000)
commita5f3fa6166bd5dd7ad7fa572816464a3d5af6c27
tree2adeaae2e99b2698c714732ce2e37626165ccd8a
parentc1aba408e1e9f56862e8a8b100d87fe21c02a142
PCI: iproc: Invalidate correct PAXB inbound windows

Second stage bootloaders prior to Linux boot may use all inbound windows
including IARR1/IMAP1. We need to ensure that all previous configuration
of inbound windows are invalidated during the initialization stage of
the Linux iProc PCIe driver so let's add a fix to define and invalidate
IARR1/IMAP1 because it is currently missing, fixing the issue.

Link: https://lore.kernel.org/r/20201001060054.6616-3-srinath.mannam@broadcom.com
Fixes: 23b75974986b ("PCI: iproc: Invalidate PAXB address mapping")
Signed-off-by: Roman Bacik <roman.bacik@broadcom.com>
Signed-off-by: Srinath Mannam <srinath.mannam@broadcom.com>
[lorenzo.pieralisi@arm.com: commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/pcie-iproc.c