diff options
author | Marc Zyngier <[email protected]> | 2023-02-09 17:58:16 +0000 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2023-02-11 10:13:29 +0000 |
commit | d9552fe133f9f7c357460b041e2d3b20310adf8d (patch) | |
tree | be2a0d3d3db5083e7a596dc9b29d1286b9815e8a /tools/perf/scripts/python/stackcollapse.py | |
parent | 9da117eec9243f41c349071773784ca5f9c5d473 (diff) |
KVM: arm64: nv: Emulate PSTATE.M for a guest hypervisor
We can no longer blindly copy the VCPU's PSTATE into SPSR_EL2 and return
to the guest and vice versa when taking an exception to the hypervisor,
because we emulate virtual EL2 in EL1 and therefore have to translate
the mode field from EL2 to EL1 and vice versa.
This requires keeping track of the state we enter the guest, for which
we transiently use a dedicated flag.
Reviewed-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Alexandru Elisei <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions