Re: [PATCH v3 05/16] PCI: dwc: meson: Use cached PCIe capability offset

[email protected] Mon, 20 Jul 2026 15:17:31 +0000
Newsgroups org.infradead.lists.linux-amlogic,dev.linux.lists.imx,org.kernel.vger.linux-pci
Message-ID <[email protected]>
> dw_pcie_host_init() calls pp->ops->init (meson_pcie_host_init) before
> caching the offset. Therefore, inside .init we must call
> dw_pcie_get_pcie_cap() to obtain the offset (the helper will perform the
> DBI read and cache the result). This is safe because the hardware is
> already enabled by the driver's own initialization.
> 
> Signed-off-by: Hans Zhang <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=5


_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic