Thread (13 messages) 13 messages, 2 authors, 2026-01-13

Re: [PATCH v6 2/5] PCI: dwc: Allow glue drivers to return mutable EPC features

From: Niklas Cassel <cassel@kernel.org>
Date: 2026-01-13 10:14:36
Also in: imx, linux-arm-msm, linux-omap, linux-pci, linux-renesas-soc, linux-rockchip, linux-tegra, lkml

On Tue, Jan 13, 2026 at 11:37:12AM +0900, Koichiro Den wrote:
The DesignWare EP midlayer needs to advertise additional capabilities at
the DWC layer (e.g. subrange_mapping) without duplicating the same bit
in every DWC-based glue driver and without copying feature structures.

Change dw_pcie_ep_ops.get_features() to return a mutable
struct pci_epc_features * and update all DWC-based glue drivers
accordingly. The DWC midlayer can then adjust/augment the returned
features while still exposing a const struct pci_epc_features * to the
PCI EPC core.

No functional change on its own.

Suggested-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Koichiro Den <redacted>
---
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help