summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOliver Upton <oupton@google.com>2022-02-03 17:41:57 +0000
committerMarc Zyngier <maz@kernel.org>2022-02-08 14:23:41 +0000
commit7dabf02f43a1670d13282463fc0106f01dfd6f9c (patch)
tree1051af3f34505cffca6918de7024352ca7d7c9b4 /tools/perf/scripts/python
parentf24adc65c5568a8d94e2693f5441de80f1ffe0d3 (diff)
KVM: arm64: Emulate the OS Lock
The OS lock blocks all debug exceptions at every EL. To date, KVM has not implemented the OS lock for its guests, despite the fact that it is mandatory per the architecture. Simple context switching between the guest and host is not appropriate, as its effects are not constrained to the guest context. Emulate the OS Lock by clearing MDE and SS in MDSCR_EL1, thereby blocking all but software breakpoint instructions. Signed-off-by: Oliver Upton <oupton@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220203174159.2887882-5-oupton@google.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions