aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2019-02-07 16:01:21 +0000
committerWill Deacon <[email protected]>2019-10-08 12:25:03 +0100
commitd3ec3a08fa700c8b46abb137dce4e2514a6f9668 (patch)
treeb2a7d312cb9bbafbfe0564a59fdc1ef0d1b2a411 /tools/perf/util/trace-event-scripting.c
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce (diff)
arm64: KVM: Trap VM ops when ARM64_WORKAROUND_CAVIUM_TX2_219_TVM is set
In order to workaround the TX2-219 erratum, it is necessary to trap TTBRx_EL1 accesses to EL2. This is done by setting HCR_EL2.TVM on guest entry, which has the side effect of trapping all the other VM-related sysregs as well. To minimize the overhead, a fast path is used so that we don't have to go all the way back to the main sysreg handling code, unless the rest of the hypervisor expects to see these accesses. Cc: <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions