]> git.baikalelectronics.ru Git - kernel.git/commit
perf: hisi: Add support for HiSilicon SoC HHA PMU driver
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Thu, 19 Oct 2017 11:05:19 +0000 (19:05 +0800)
committerWill Deacon <will.deacon@arm.com>
Thu, 19 Oct 2017 16:06:35 +0000 (17:06 +0100)
commit9cdc8af63153f05add857e5e7ad1be5f025db510
treea06bcc3b3f431ff9cbbfa016648c455c5bdac8c8
parent08df31722a1eb5b7e1a7b5cd8858978ff03b35c9
perf: hisi: Add support for HiSilicon SoC HHA PMU driver

L3 cache coherence is maintained by Hydra Home Agent (HHA) in HiSilicon
SoC. This patch adds support for HHA PMU driver, Each HHA has own
control, counter and interrupt registers and is an separate PMU. For
each HHA PMU, it has 16-programable counters and each counter is
free-running. Interrupt is supported to handle counter (48-bits)
overflow.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Anurup M <anurup.m@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/hisilicon/Makefile
drivers/perf/hisilicon/hisi_uncore_hha_pmu.c [new file with mode: 0644]
include/linux/cpuhotplug.h