diff options
author | Marc Zyngier <maz@kernel.org> | 2025-04-30 11:59:15 +0100 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-05-07 00:16:44 -0700 |
commit | ffea7c73d181db273be8b306be6bc573dfe2257b (patch) | |
tree | c992cb283d9e60ba0e66dc9bc6f595878faa1873 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b60e285b6acdec6d24fbde36d59f6d806f91cdc6 (diff) | |
download | linux-stable-ffea7c73d181db273be8b306be6bc573dfe2257b.tar.gz linux-stable-ffea7c73d181db273be8b306be6bc573dfe2257b.tar.bz2 linux-stable-ffea7c73d181db273be8b306be6bc573dfe2257b.zip |
KVM: arm64: Properly save/restore HCRX_EL2
Rather than restoring HCRX_EL2 to a fixed value on vcpu exit,
perform a full save/restore of the register, ensuring that
we don't lose bits that would have been set at some point in
the host kernel lifetime, such as the GCSEn bit.
Fixes: ff5181d8a2a82 ("arm64/gcs: Provide basic EL2 setup to allow GCS usage at EL0 and EL1")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250430105916.3815157-2-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions