Skip to content

Commit

Permalink
perf: hisi: Add support for HiSilicon SoC L3C PMU driver
Browse files Browse the repository at this point in the history
This patch adds support for L3C PMU driver in HiSilicon SoC chip, Each
L3C has own control, counter and interrupt registers and is an separate
PMU. For each L3C PMU, it has 8-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>
  • Loading branch information
Shaokun Zhang authored and Will Deacon committed Oct 19, 2017
1 parent 6ce4ef9 commit 2940bc4
Show file tree
Hide file tree
Showing 3 changed files with 465 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/perf/hisilicon/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
obj-$(CONFIG_HISI_PMU) += hisi_uncore_pmu.o
obj-$(CONFIG_HISI_PMU) += hisi_uncore_pmu.o hisi_uncore_l3c_pmu.o
Loading

0 comments on commit 2940bc4

Please sign in to comment.