Re: [PATCH 0/4] PCI: dwc: designware-plat: Use common mode field in struct dw_pcie

From: Manivannan Sadhasivam

Date: Fri May 15 2026 - 14:00:27 EST



On Sat, 02 May 2026 00:10:06 +0800, Hans Zhang wrote:
> Several DesignWare PCIe controller drivers (dra7xx, artpec6,
> designware-plat, and keembay) duplicated the device mode field
> in their private structures, while struct dw_pcie already contains
> this field. This led to:
> 1. Data redundancy and potential inconsistencies
> 2. Increased maintenance complexity
> 3. Error-prone device type checks
>
> [...]

Applied, thanks!

[1/4] PCI: dra7xx: Use common mode field in struct dw_pcie
commit: 3718315f58f8ad663cc9c0225e3a9f3fc365dc8c
[2/4] PCI: artpec6: Use common mode field in struct dw_pcie
commit: 5d47f6aeffdf55524fb1130666057266a741e97e
[3/4] PCI: dwc: Use common mode field in struct dw_pcie
commit: a8bf471f87f4c5c180641a2c6f7d82b1aa0f61fd
[4/4] PCI: keembay: Use common mode field in struct dw_pcie
commit: f02459d0342f94fbbc6296fca0f221783d3a37de

Best regards,
--
Manivannan Sadhasivam <mani@xxxxxxxxxx>