]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: dwc: Add helper to find the Vendor Specific Extended Capability (VSEC)
authorShradha Todi <shradha.t@samsung.com>
Fri, 21 Feb 2025 13:15:45 +0000 (18:45 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Mon, 3 Mar 2025 20:02:58 +0000 (20:02 +0000)
commitefaf16de43f59992afd37b4b8beb30ef511ddbfd
tree80030a19a2c0e2845aa3766074091e9a7388356a
parent5d2b978ff9b13b1286c6e1c753b331f4bd98d7ff
PCI: dwc: Add helper to find the Vendor Specific Extended Capability (VSEC)

The new dw_pcie_find_vsec_capability() helper will be used within
different DWC APIs to find the VSEC capabilities like PTM, RAS, etc.

Co-developed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Shradha Todi <shradha.t@samsung.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Tested-by: Hrishikesh Deleep <hrishikesh.d@samsung.com>
Link: https://lore.kernel.org/r/20250221131548.59616-3-shradha.t@samsung.com
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/dwc/pcie-designware.c