public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI: dwc: Add rockchip to the RAS DES allowed vendor list
@ 2025-02-25 14:56 Niklas Cassel
  2025-02-26 14:36 ` Krzysztof Wilczyński
  0 siblings, 1 reply; 2+ messages in thread
From: Niklas Cassel @ 2025-02-25 14:56 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Manivannan Sadhasivam, Krzysztof Wilczyński, Shawn Lin,
	Niklas Cassel, linux-pci

Add PCI_VENDOR_ID_ROCKCHIP to the list of RAS DES vendor specific ids.

Tested using the RAS DES DWC debugfs changes that was merged recently.

drivers/perf/dwc_pcie_pmu.c driver has not been tested, but considering
RAS DES works in DWC debugfs, I see no reason why RAS DES shouldn't work
in drivers/perf/dwc_pcie_pmu.c.

Signed-off-by: Niklas Cassel <cassel@kernel.org>
---
Note: this depends on DWC debugfs patches that are queued up in branch
      controller/dwc and the PCI_VENDOR_ID_ROCKCHIP patch on branch
      controller/rockchip.

 include/linux/pcie-dwc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/pcie-dwc.h b/include/linux/pcie-dwc.h
index 6436e7fadc75..15d27a509769 100644
--- a/include/linux/pcie-dwc.h
+++ b/include/linux/pcie-dwc.h
@@ -28,6 +28,8 @@ static const struct dwc_pcie_vsec_id dwc_pcie_rasdes_vsec_ids[] = {
 	  .vsec_id = 0x02, .vsec_rev = 0x4 },
 	{ .vendor_id = PCI_VENDOR_ID_QCOM,
 	  .vsec_id = 0x02, .vsec_rev = 0x4 },
+	{ .vendor_id = PCI_VENDOR_ID_ROCKCHIP,
+	  .vsec_id = 0x02, .vsec_rev = 0x4 },
 	{ .vendor_id = PCI_VENDOR_ID_SAMSUNG,
 	  .vsec_id = 0x02, .vsec_rev = 0x4 },
 	{} /* terminator */
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PCI: dwc: Add rockchip to the RAS DES allowed vendor list
  2025-02-25 14:56 [PATCH] PCI: dwc: Add rockchip to the RAS DES allowed vendor list Niklas Cassel
@ 2025-02-26 14:36 ` Krzysztof Wilczyński
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Wilczyński @ 2025-02-26 14:36 UTC (permalink / raw)
  To: Niklas Cassel; +Cc: Bjorn Helgaas, Manivannan Sadhasivam, Shawn Lin, linux-pci

Hello,

> Add PCI_VENDOR_ID_ROCKCHIP to the list of RAS DES vendor specific ids.
> 
> Tested using the RAS DES DWC debugfs changes that was merged recently.
> 
> drivers/perf/dwc_pcie_pmu.c driver has not been tested, but considering
> RAS DES works in DWC debugfs, I see no reason why RAS DES shouldn't work
> in drivers/perf/dwc_pcie_pmu.c.

Applied to controller/dwc, thank you!

	Krzysztof

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-26 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 14:56 [PATCH] PCI: dwc: Add rockchip to the RAS DES allowed vendor list Niklas Cassel
2025-02-26 14:36 ` Krzysztof Wilczyński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox