aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-designware.c
diff options
context:
space:
mode:
authorFrank Li <[email protected]>2025-07-10 19:13:48 +0000
committerManivannan Sadhasivam <[email protected]>2025-07-21 13:21:38 +0000
commit234b9258c6907cabbb2594ee366286d35ff056f3 (patch)
tree52bfa7a7e6d9216206b257defa915921947e62fa /drivers/pci/controller/dwc/pcie-designware.c
parentPCI: imx6: Add helper function imx_pcie_add_lut_by_rid() (diff)
downloadkernel-234b9258c6907cabbb2594ee366286d35ff056f3.tar.gz
kernel-234b9258c6907cabbb2594ee366286d35ff056f3.zip
PCI: imx6: Add LUT configuration for MSI/IOMMU in Endpoint mode
Add LUT entry for MSI/IOMMU in Endpoint mode by calling imx_pcie_add_lut_by_rid() helper function. Since only one physical function is supported in the Endpoint mode for now, '0' is passed as the Device ID. This sets up a single LUT entry required for MSI/IOMMU. The Endpoint function can operate without LUT configuration if neither IOMMU nor MSI is used by the platform. This LUT configuration is used for the EP doorbell feature by allowing the Root Complex to trigger the doorbell on the Endpoint with the help of the Endpoint MSI controller. Signed-off-by: Frank Li <[email protected]> [mani: reworded the comments & commit message and dropped tested-by tag] Signed-off-by: Manivannan Sadhasivam <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-designware.c')
0 files changed, 0 insertions, 0 deletions