diff options
| author | Marc Zyngier <[email protected]> | 2025-04-30 10:59:15 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2025-05-07 07:16:44 +0000 |
| commit | ffea7c73d181db273be8b306be6bc573dfe2257b (patch) | |
| tree | c992cb283d9e60ba0e66dc9bc6f595878faa1873 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | KVM: arm64: selftest: Don't try to disable AArch64 support (diff) | |
| download | kernel-ffea7c73d181db273be8b306be6bc573dfe2257b.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
