summaryrefslogtreecommitdiffstats
path: root/drivers/perf
diff options
context:
space:
mode:
authorIlkka Koskinen <ilkka@os.amperecomputing.com>2024-10-09 01:18:22 +0200
committerWill Deacon <will@kernel.org>2024-10-29 14:01:14 +0100
commit83d511c3ca0cb70a55d8b0ae3e753448fb00272b (patch)
tree1cca8fe0ae4b340d74f33ff094019d1fc70cdf6a /drivers/perf
parentARM: pmuv3: Add missing write_pmuacr() (diff)
downloadlinux-83d511c3ca0cb70a55d8b0ae3e753448fb00272b.tar.xz
linux-83d511c3ca0cb70a55d8b0ae3e753448fb00272b.zip
perf/dwc_pcie: Add support for Ampere SoCs
Add support for Ampere SoCs by adding Ampere's vendor ID to the vendor list. Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com> Link: https://lore.kernel.org/r/20241008231824.5102-2-ilkka@os.amperecomputing.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf')
-rw-r--r--drivers/perf/dwc_pcie_pmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/perf/dwc_pcie_pmu.c b/drivers/perf/dwc_pcie_pmu.c
index 126d2c3516ad..edb5a809c928 100644
--- a/drivers/perf/dwc_pcie_pmu.c
+++ b/drivers/perf/dwc_pcie_pmu.c
@@ -106,6 +106,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_AMPERE },
{.vendor_id = PCI_VENDOR_ID_QCOM },
{} /* terminator */
};