diff options
author | Marc Zyngier <maz@kernel.org> | 2022-02-08 18:56:04 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-03-08 13:32:48 +0000 |
commit | a639027a1be1d68437e1c2cac6ed16306c84ab3c (patch) | |
tree | b10a445d69819b6afe8a4d91fe4b4afc5377d1f5 /drivers/perf/Kconfig | |
parent | 1280f12f56a15abde23503ba876343e5f201c9c2 (diff) | |
download | linux-a639027a1be1d68437e1c2cac6ed16306c84ab3c.tar.gz linux-a639027a1be1d68437e1c2cac6ed16306c84ab3c.tar.bz2 linux-a639027a1be1d68437e1c2cac6ed16306c84ab3c.zip |
drivers/perf: Add Apple icestorm/firestorm CPU PMU driver
Add a new, weird and wonderful driver for the equally weird Apple
PMU HW. Although the PMU itself is functional, we don't know much
about the events yet, so this can be considered as yet another
random number generator...
Nonetheless, it can reliably count at least cycles and instructions
in the usually wonky big-little way. For anything else, it of course
supports raw event numbers.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/Kconfig')
-rw-r--r-- | drivers/perf/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index e1a0c44bc686..d4fa0dabb05f 100644 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@ -146,6 +146,13 @@ config MARVELL_CN10K_TAD_PMU Provides support for Last-Level cache Tag-and-data Units (LLC-TAD) performance monitors on CN10K family silicons. +config APPLE_M1_CPU_PMU + bool "Apple M1 CPU PMU support" + depends on ARM_PMU && ARCH_APPLE + help + Provides support for the non-architectural CPU PMUs present on + the Apple M1 SoCs and derivatives. + source "drivers/perf/hisilicon/Kconfig" endmenu |