Skip to contentSkip to conversation

PCI: dwc: Add rockchip to the RAS DES allowed vendor list

PATCH Applied Niklas Cassel 2 participants 2 messages Feb 25, 2025 – Feb 26, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: dwc: Add rockchip to the RAS DES allowed vendor list

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.

---
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(+)
include/linux/pcie-dwc.h +2 -0
index 6436e7fadc75..15d27a509769 100644
@@ -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 */
Signature · 1 line
2.48.1
#1 lore raw

Hello,

Quoted 7 lines

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