]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI: dwc: Record integrated eDMA register window
authorKoichiro Den <den@valinux.co.jp>
Tue, 14 Apr 2026 14:15:09 +0000 (23:15 +0900)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 30 Apr 2026 16:18:30 +0000 (21:48 +0530)
commitbfb9502651f689c338ba3e8aeb07d31c46e0cdf6
treec82c03b92593fa0ac53cef1946c7e0278eaeba49
parentcc07b903a646bf6592182b27c63457d92f128125
PCI: dwc: Record integrated eDMA register window

Some DesignWare PCIe controllers integrate an eDMA block whose registers
are located in a dedicated register window.

The EP-side aux-resource code exposes an interrupt-emulation doorbell
register (DOORBELL_MMIO) from that window. Its location is derived from
the start of the eDMA register window plus the doorbell offset already
provided by dw-edma, and the window size is used to validate the
computed register location.

Record the physical base and size of the integrated eDMA register window
in struct dw_pcie so the EP-side DesignWare aux-resource provider can
construct that doorbell resource.

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