]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: dwc: Prepare the driver for enabling ECAM mechanism using iATU 'CFG Shift Feature'
authorKrishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
Tue, 23 Sep 2025 11:26:52 +0000 (16:56 +0530)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 25 Sep 2025 13:03:52 +0000 (18:33 +0530)
commitf6fd357f7afbeb34a633e5688a23b9d7eb49d558
tree15838c883e2704d94c5415ba4f6e239bbd931777
parentc96992a24beca0768c1c42ad25d6a466e17ec70f
PCI: dwc: Prepare the driver for enabling ECAM mechanism using iATU 'CFG Shift Feature'

In order to enable PCIe ECAM mechanism in DWC driver as per the 'CFG Shift
Feature' documented in Designware databook r5.20a, sec 3.10.10.3, prepare
the driver to handle the one time iATU setup and creating ECAM window.

Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
[mani: splitted the preparatory code into a separate commit for bisectability]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20250923-controller-dwc-ecam-v10-2-e84390ba75fa@kernel.org
drivers/pci/controller/dwc/Kconfig
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pci/controller/dwc/pcie-designware.c
drivers/pci/controller/dwc/pcie-designware.h