summaryrefslogtreecommitdiff
path: root/arch/arc/kernel/perf_event.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-11-18 17:36:11 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-08-27 14:59:07 +0530
commit9b28829d6da391f67a76dbba07a167e2b554bd10 (patch)
tree856949987dbe487c76ddfad11dac420711ffb61a /arch/arc/kernel/perf_event.c
parente525c37f8413b19130d0499c7467fed45a94579b (diff)
ARCv2: perf: Finally introduce HS perf unit
With all features in place, the ARC HS pct block can now be effectively allowed to be probed/used Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/perf_event.c')
-rw-r--r--arch/arc/kernel/perf_event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/perf_event.c
index 743065251e23..0c08bb1ce15a 100644
--- a/arch/arc/kernel/perf_event.c
+++ b/arch/arc/kernel/perf_event.c
@@ -551,6 +551,7 @@ static int arc_pmu_device_probe(struct platform_device *pdev)
#ifdef CONFIG_OF
static const struct of_device_id arc_pmu_match[] = {
{ .compatible = "snps,arc700-pct" },
+ { .compatible = "snps,archs-pct" },
{},
};
MODULE_DEVICE_TABLE(of, arc_pmu_match);
@@ -558,7 +559,7 @@ MODULE_DEVICE_TABLE(of, arc_pmu_match);
static struct platform_driver arc_pmu_driver = {
.driver = {
- .name = "arc700-pct",
+ .name = "arc-pct",
.of_match_table = of_match_ptr(arc_pmu_match),
},
.probe = arc_pmu_device_probe,