]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: dwc: Add debugfs based Statistical Counter support for DWC
authorShradha Todi <shradha.t@samsung.com>
Fri, 21 Feb 2025 13:15:48 +0000 (18:45 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Thu, 6 Mar 2025 08:55:53 +0000 (08:55 +0000)
commit27491ac2ccd7e111a9c058e7654d372cbfcdad4c
tree92ae77b4993086369f41231dba642a8633639aff
parentd20ee8e2dbd6c41a1e48ac38c352689b1d3cbbe4
PCI: dwc: Add debugfs based Statistical Counter support for DWC

Add support to provide Statistical Counter interface to userspace.

This set of debug registers are part of the RAS DES feature present in
DesignWare PCIe controllers.

Co-developed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Shradha Todi <shradha.t@samsung.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tested-by: Hrishikesh Deleep <hrishikesh.d@samsung.com>
Link: https://lore.kernel.org/r/20250221131548.59616-6-shradha.t@samsung.com
[kwilczynski: commit log, tidy up code comments, update documentation,
squashed patch that checks if the event counter is supported from
https://lore.kernel.org/linux-pci/20250225171239.19574-3-manivannan.sadhasivam@linaro.org]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Documentation/ABI/testing/debugfs-dwc-pcie
drivers/pci/controller/dwc/pcie-designware-debugfs.c