UPSTREAM: arm64: perf: Support new DT compatibles
Wire up the new DT compatibles so we can present appropriate PMU names to userspace for the latest and greatest CPUs. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Link: https://lore.kernel.org/r/62d14ba12d847ec7f1fba7cb0b3b881b437e1cc5.1639490264.git.robin.murphy@arm.com Signed-off-by: Will Deacon <will@kernel.org> (cherry picked from commit 893c34b60a59cd0bdb496084f5c096be720bd244) Signed-off-by: Will Deacon <willdeacon@google.com> Bug: 238597093 Change-Id: I7aef375698c5192d4adbf551cae3ea9f8027f101
This commit is contained in:

committed by
Will Deacon

parent
ed931dc8ff
commit
936f1e35d1
@@ -1131,8 +1131,14 @@ PMUV3_INIT_SIMPLE(armv8_cortex_a75)
|
|||||||
PMUV3_INIT_SIMPLE(armv8_cortex_a76)
|
PMUV3_INIT_SIMPLE(armv8_cortex_a76)
|
||||||
PMUV3_INIT_SIMPLE(armv8_cortex_a77)
|
PMUV3_INIT_SIMPLE(armv8_cortex_a77)
|
||||||
PMUV3_INIT_SIMPLE(armv8_cortex_a78)
|
PMUV3_INIT_SIMPLE(armv8_cortex_a78)
|
||||||
|
PMUV3_INIT_SIMPLE(armv9_cortex_a510)
|
||||||
|
PMUV3_INIT_SIMPLE(armv9_cortex_a710)
|
||||||
|
PMUV3_INIT_SIMPLE(armv8_cortex_x1)
|
||||||
|
PMUV3_INIT_SIMPLE(armv9_cortex_x2)
|
||||||
PMUV3_INIT_SIMPLE(armv8_neoverse_e1)
|
PMUV3_INIT_SIMPLE(armv8_neoverse_e1)
|
||||||
PMUV3_INIT_SIMPLE(armv8_neoverse_n1)
|
PMUV3_INIT_SIMPLE(armv8_neoverse_n1)
|
||||||
|
PMUV3_INIT_SIMPLE(armv9_neoverse_n2)
|
||||||
|
PMUV3_INIT_SIMPLE(armv8_neoverse_v1)
|
||||||
|
|
||||||
PMUV3_INIT_SIMPLE(armv8_nvidia_carmel)
|
PMUV3_INIT_SIMPLE(armv8_nvidia_carmel)
|
||||||
PMUV3_INIT_SIMPLE(armv8_nvidia_denver)
|
PMUV3_INIT_SIMPLE(armv8_nvidia_denver)
|
||||||
@@ -1193,8 +1199,14 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = {
|
|||||||
{.compatible = "arm,cortex-a76-pmu", .data = armv8_cortex_a76_pmu_init},
|
{.compatible = "arm,cortex-a76-pmu", .data = armv8_cortex_a76_pmu_init},
|
||||||
{.compatible = "arm,cortex-a77-pmu", .data = armv8_cortex_a77_pmu_init},
|
{.compatible = "arm,cortex-a77-pmu", .data = armv8_cortex_a77_pmu_init},
|
||||||
{.compatible = "arm,cortex-a78-pmu", .data = armv8_cortex_a78_pmu_init},
|
{.compatible = "arm,cortex-a78-pmu", .data = armv8_cortex_a78_pmu_init},
|
||||||
|
{.compatible = "arm,cortex-a510-pmu", .data = armv9_cortex_a510_pmu_init},
|
||||||
|
{.compatible = "arm,cortex-a710-pmu", .data = armv9_cortex_a710_pmu_init},
|
||||||
|
{.compatible = "arm,cortex-x1-pmu", .data = armv8_cortex_x1_pmu_init},
|
||||||
|
{.compatible = "arm,cortex-x2-pmu", .data = armv9_cortex_x2_pmu_init},
|
||||||
{.compatible = "arm,neoverse-e1-pmu", .data = armv8_neoverse_e1_pmu_init},
|
{.compatible = "arm,neoverse-e1-pmu", .data = armv8_neoverse_e1_pmu_init},
|
||||||
{.compatible = "arm,neoverse-n1-pmu", .data = armv8_neoverse_n1_pmu_init},
|
{.compatible = "arm,neoverse-n1-pmu", .data = armv8_neoverse_n1_pmu_init},
|
||||||
|
{.compatible = "arm,neoverse-n2-pmu", .data = armv9_neoverse_n2_pmu_init},
|
||||||
|
{.compatible = "arm,neoverse-v1-pmu", .data = armv8_neoverse_v1_pmu_init},
|
||||||
{.compatible = "cavium,thunder-pmu", .data = armv8_thunder_pmu_init},
|
{.compatible = "cavium,thunder-pmu", .data = armv8_thunder_pmu_init},
|
||||||
{.compatible = "brcm,vulcan-pmu", .data = armv8_vulcan_pmu_init},
|
{.compatible = "brcm,vulcan-pmu", .data = armv8_vulcan_pmu_init},
|
||||||
{.compatible = "nvidia,carmel-pmu", .data = armv8_nvidia_carmel_pmu_init},
|
{.compatible = "nvidia,carmel-pmu", .data = armv8_nvidia_carmel_pmu_init},
|
||||||
|
Reference in New Issue
Block a user