aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/perf
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2018-10-09 14:47:07 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2018-10-16 11:53:34 +0100
commit4afe8e79da920bdf6698b01bc668fffc6758f37b (patch)
treed2c1918b8acb95d4b5b36c103c82057cac9cd4a1 /drivers/perf
parentarm64: cpufeature: Fix handling of CTR_EL0.IDC field (diff)
downloadlinux-dev-4afe8e79da920bdf6698b01bc668fffc6758f37b.tar.xz
linux-dev-4afe8e79da920bdf6698b01bc668fffc6758f37b.zip
arm64: cpufeature: Trap CTR_EL0 access only where it is necessary
When there is a mismatch in the CTR_EL0 field, we trap access to CTR from EL0 on all CPUs to expose the safe value. However, we could skip trapping on a CPU which matches the safe value. Cc: Mark Rutland <mark.rutland@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions