[PATCH v2] KVM: arm64: Flush hyp bss section after initialization of variables in bss

Marc Zyngier maz at kernel.org
Tue Jan 21 00:40:50 PST 2025


On Tue, 21 Jan 2025 04:40:16 +0000, Lokesh Vutla wrote:
> To determine CPU features during initialization, the nVHE hypervisor
> utilizes sanitized values of the host's CPU features registers. These
> values, stored in u64 idaa64*_el1_sys_val variables are updated by the
> kvm_hyp_init_symbols() function at EL1. To ensure EL2 visibility with
> the MMU off, the data cache needs to be flushed after these updates.
> However, individually flushing each variable using
> kvm_flush_dcache_to_poc() is inefficient.
> 
> [...]

Applied to fixes, thanks!

[1/1] KVM: arm64: Flush hyp bss section after initialization of variables in bss
      commit: 9bcbb6104a344d3526e185ee1e7b985509914e90

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list