]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
perf/dwc_pcie: Add support for Ampere SoCs
authorIlkka Koskinen <ilkka@os.amperecomputing.com>
Tue, 8 Oct 2024 23:18:22 +0000 (23:18 +0000)
committerWill Deacon <will@kernel.org>
Tue, 29 Oct 2024 13:01:14 +0000 (13:01 +0000)
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>
drivers/perf/dwc_pcie_pmu.c

index 126d2c3516ad94788d8701be7b75b5b119d8bbf2..edb5a809c928c16656980fedbff34e0ef671bf06 100644 (file)
@@ -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 */
 };