aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorVladimir Murzin <[email protected]>2016-09-01 15:29:03 +0100
committerChristoffer Dall <[email protected]>2016-09-08 12:53:00 +0200
commitcb96408da4e11698674abd04aeac941c1bed2038 (patch)
treeed5ceea688d8bdc385003354782437adadb3b9aa /tools/perf/util/scripting-engines/trace-event-python.c
parentcf0ba18a441410aeaf3ef97eead3a3fa5381f46f (diff)
arm64: KVM: VHE: reset PSTATE.PAN on entry to EL2
SCTLR_EL2.SPAN bit controls what happens with the PSTATE.PAN bit on an exception. However, this bit has no effect on the PSTATE.PAN when HCR_EL2.E2H or HCR_EL2.TGE is unset. Thus when VHE is used and exception taken from a guest PSTATE.PAN bit left unchanged and we continue with a value guest has set. To address that always reset PSTATE.PAN on entry from EL1. Fixes: 1f364c8c48a0 ("arm64: VHE: Add support for running Linux in EL2 mode") Signed-off-by: Vladimir Murzin <[email protected]> Reviewed-by: James Morse <[email protected]> Acked-by: Marc Zyngier <[email protected]> Cc: <[email protected]> # v4.6+ Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions