]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI: dwc: ep: Expose integrated eDMA resources via EPC aux-resource API
authorKoichiro Den <den@valinux.co.jp>
Tue, 14 Apr 2026 14:15:10 +0000 (23:15 +0900)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 30 Apr 2026 16:18:41 +0000 (21:48 +0530)
commitec2075cfc629eed09d8865621be76ff2197781d6
treed2f7a284aca2df53a270a23629397c37ddce781a
parentbfb9502651f689c338ba3e8aeb07d31c46e0cdf6
PCI: dwc: ep: Expose integrated eDMA resources via EPC aux-resource API

Implement the EPC aux-resource API for DesignWare endpoint controllers
with integrated eDMA.

Currently, only report an interrupt-emulation doorbell register
(PCI_EPC_AUX_DOORBELL_MMIO), including its Linux IRQ and the write data
needed to trigger the interrupt.

If the DMA controller MMIO window is already exposed via a
platform-owned fixed BAR subregion, also provide the BAR number and
offset so EPF drivers can reuse it without reprogramming the BAR.

Signed-off-by: Koichiro Den <den@valinux.co.jp>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260414141514.1341429-4-den@valinux.co.jp
drivers/pci/controller/dwc/pcie-designware-ep.c