summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorSuzuki K. Poulose2015-03-18 13:24:39 +0100
committerWill Deacon2015-03-27 14:44:24 +0100
commitfc17c839448e498393009e06ca30a204eefaccee (patch)
tree9e83c56f317e2ad5bfde9341c3711df57665f95b /arch/arm64
parentarm-cci: Rearrange code for splitting PMU vs driver code (diff)
downloadkernel-qcow2-linux-fc17c839448e498393009e06ca30a204eefaccee.tar.gz
kernel-qcow2-linux-fc17c839448e498393009e06ca30a204eefaccee.tar.xz
kernel-qcow2-linux-fc17c839448e498393009e06ca30a204eefaccee.zip
arm-cci: Abstract the CCI400 PMU specific definitions
CCI400 has different event specifications for PMU, for revsion 0 and revision 1. As of now, we check the revision every single time before using the parameters for the PMU. This patch abstracts the details of the pmu models in a struct (cci_pmu_model) and stores the information in cci_pmu at initialisation time, avoiding multiple probe operations. Tested-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Punit Agrawal <punit.agrawal@arm.com> Reviewed-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions