diff mbox series

[4/4] perf/dwc_pcie: Add support for QCOM vendor devices

Message ID 20240731-dwc_pmu_fix-v1-4-ca47d153e5b2@quicinc.com (mailing list archive)
State Superseded
Headers show
Series perf/dwc_pcie: Fix registration issue in multi PCIe controller instances | expand

Commit Message

Krishna Chaitanya Chundru July 31, 2024, 4:23 a.m. UTC
Update the vendor table with QCOM PCIe vendorid.

Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
---
 drivers/perf/dwc_pcie_pmu.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Yicong Yang Aug. 15, 2024, 1:51 p.m. UTC | #1
On 2024/7/31 12:23, Krishna chaitanya chundru wrote:
> Update the vendor table with QCOM PCIe vendorid.
> 
> Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>

Reviewed-by: Yicong Yang <yangyicong@hisilicon.com>

> ---
>  drivers/perf/dwc_pcie_pmu.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/perf/dwc_pcie_pmu.c b/drivers/perf/dwc_pcie_pmu.c
> index aa1010b44bcb..ea73ae5c45c5 100644
> --- a/drivers/perf/dwc_pcie_pmu.c
> +++ b/drivers/perf/dwc_pcie_pmu.c
> @@ -107,6 +107,7 @@ struct dwc_pcie_vendor_id {
>  
>  static const struct dwc_pcie_vendor_id dwc_pcie_vendor_ids[] = {
>  	{.vendor_id = PCI_VENDOR_ID_ALIBABA },
> +	{.vendor_id = PCI_VENDOR_ID_QCOM },
>  	{} /* terminator */
>  };
>  
>
diff mbox series

Patch

diff --git a/drivers/perf/dwc_pcie_pmu.c b/drivers/perf/dwc_pcie_pmu.c
index aa1010b44bcb..ea73ae5c45c5 100644
--- a/drivers/perf/dwc_pcie_pmu.c
+++ b/drivers/perf/dwc_pcie_pmu.c
@@ -107,6 +107,7 @@  struct dwc_pcie_vendor_id {
 
 static const struct dwc_pcie_vendor_id dwc_pcie_vendor_ids[] = {
 	{.vendor_id = PCI_VENDOR_ID_ALIBABA },
+	{.vendor_id = PCI_VENDOR_ID_QCOM },
 	{} /* terminator */
 };