aboutsummaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorPunit Agrawal <punit.agrawal@arm.com>2013-10-08 12:20:13 +0100
committerJon Medhurst <tixy@linaro.org>2014-03-31 13:58:20 +0100
commit9f496a8ab96ac3c94e1bd283e1816ae901355979 (patch)
tree3a9a93c56d60bfc7ce69213337df5500d9f31127 /drivers/bus
parent9c6756fbc53e880dfcbd091737d9f116435b99a4 (diff)
arm: cci: Make the PMU valid across all CPUs
The CCI PMU is not a CPU PMU. As such the CCI PMU events can be initiate from any proocessor. Set the valid_cpus mask to indicate this. Signed-off-by: Punit Agrawal <punit.agrawal@arm.com> Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/arm-cci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c
index 8965fb59bb3..bc8e1af279c 100644
--- a/drivers/bus/arm-cci.c
+++ b/drivers/bus/arm-cci.c
@@ -545,6 +545,7 @@ static int cci_pmu_init(struct arm_pmu *cci_pmu, struct platform_device *pdev)
cci_pmu->plat_device = pdev;
cci_pmu->num_events = pmu_get_max_counters();
+ cpumask_setall(&cci_pmu->valid_cpus);
return armpmu_register(cci_pmu, -1);
}