mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
PCI: dwc: Add PCI ID for LECARC PCIe PMU
Add support for the PCIe PMU found on LECARC SoCs. LECARC platforms use the standard DesignWare PCIe Controller, and the existing DWC driver already handles the enumeration and basic functionality through the generic PCIe core. Hence, add the PCI vendor ID to the vendor-specific capability (VSEC) list, which enables the standard DWC RAS/DES feature detection. Signed-off-by: Brett Zhou <brett_zhou@lecomputing.com> Signed-off-by: Braden Zhang <braden_zhang@lecomputing.com> [mani: commit log] Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Link: https://patch.msgid.link/20260721-pcie-pmu-v5-1-570e44af7cde@lecomputing.com
This commit is contained in:
parent
9cb1b6a781
commit
6d99b19862
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include <linux/pci_ids.h>
|
||||
|
||||
#define PCI_VENDOR_ID_LECARC 0x0720
|
||||
|
||||
struct dwc_pcie_vsec_id {
|
||||
u16 vendor_id;
|
||||
u16 vsec_id;
|
||||
|
|
@ -32,6 +34,8 @@ static const struct dwc_pcie_vsec_id dwc_pcie_rasdes_vsec_ids[] = {
|
|||
.vsec_id = 0x02, .vsec_rev = 0x4 },
|
||||
{ .vendor_id = PCI_VENDOR_ID_SAMSUNG,
|
||||
.vsec_id = 0x02, .vsec_rev = 0x4 },
|
||||
{ .vendor_id = PCI_VENDOR_ID_LECARC,
|
||||
.vsec_id = 0x02, .vsec_rev = 0x4 },
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user