Thread (24 messages) read the whole thread 24 messages, 4 authors, 2025-02-06

Re: [PATCH 4/8] KVM: arm64: Remove VHE host restore of CPACR_EL1.SMEN

From: Mark Brown <broonie@kernel.org>
Date: 2025-02-04 17:23:15
Also in: stable

On Tue, Feb 04, 2025 at 03:20:56PM +0000, Mark Rutland wrote:
When KVM is in VHE mode, the host kernel tries to save and restore the
configuration of CPACR_EL1.SMEN (i.e. CPTR_EL2.SMEN when HCR_EL2.E2H=1)
across kvm_arch_vcpu_load_fp() and kvm_arch_vcpu_put_fp(), since the
configuration may be clobbered by hyp when running a vCPU. This logic
has historically been broken, and is currently redundant.
Reviewed-by: Mark Brown <broonie@kernel.org>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help