From: Suzuki K. Poulose Date: Wed, 18 Mar 2015 12:24:39 +0000 (+0000) Subject: arm-cci: Abstract the CCI400 PMU specific definitions X-Git-Tag: omap-for-v4.2/o2_dc~52^2~3^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc17c839448e498393009e06ca30a204eefaccee;p=pandora-kernel.git 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 Acked-by: Punit Agrawal Reviewed-by: Will Deacon Signed-off-by: Suzuki K. Poulose Signed-off-by: Will Deacon --- Reading git-diff-tree failed