summaryrefslogtreecommitdiffstats
path: root/drivers/perf/hisilicon/hisi_uncore_pmu.c
diff options
context:
space:
mode:
authorJunhao He <hejunhao3@huawei.com>2023-06-15 20:59:24 +0800
committerWill Deacon <will@kernel.org>2023-06-16 12:27:37 +0100
commit1a51688474c0d395b864e98236335fba712e29bf (patch)
tree521264bb714b1aa06e759d68c83d1d5895187016 /drivers/perf/hisilicon/hisi_uncore_pmu.c
parent7e51d05e43f19f394b3b0df01a22225143f9c5b5 (diff)
downloadlinux-stable-1a51688474c0d395b864e98236335fba712e29bf.tar.gz
linux-stable-1a51688474c0d395b864e98236335fba712e29bf.tar.bz2
linux-stable-1a51688474c0d395b864e98236335fba712e29bf.zip
drivers/perf: hisi: Add support for HiSilicon H60PA and PAv3 PMU driver
Compared to the original PA device, H60PA offers higher bandwidth. The H60PA is a new device and we use HID to differentiate them. The events supported by PAv3 and PAv2 are different. The PAv3 PMU removed some events which are supported by PAv2 PMU. The older PA PMU driver will probe v3 as v2. Therefore PA events displayed by "perf list" cannot work properly. We add the HISI0275 HID for PAv3 PMU to distinguish different. For each H60PA PMU, except for the overflow interrupt register, other functions of the H60PA PMU are the same as the original PA PMU module. It has 8-programable counters and each counter is free-running. Interrupt is supported to handle counter (64-bits) overflow. Signed-off-by: Junhao He <hejunhao3@huawei.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Yicong Yang <yangyicong@hisilicon.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20230615125926.29832-2-hejunhao3@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/hisilicon/hisi_uncore_pmu.c')
0 files changed, 0 insertions, 0 deletions