[PATCH] KVM: arm64: Add missing memory barriers when switching to pKVM's hyp pgd
Marc Zyngier
maz at kernel.org
Thu Jan 4 11:34:16 PST 2024
On Thu, 4 Jan 2024 16:42:20 +0000, Will Deacon wrote:
> In commit f320bc742bc23 ("KVM: arm64: Prepare the creation of s1
> mappings at EL2"), pKVM switches from a temporary host-provided
> page-table to its own page-table at EL2. Since there is only a single
> TTBR for the nVHE hypervisor, this involves disabling and re-enabling
> the MMU in __pkvm_init_switch_pgd().
>
> Unfortunately, the memory barriers here are not quite correct.
> Specifically:
>
> [...]
Applied to next, thanks!
[1/1] KVM: arm64: Add missing memory barriers when switching to pKVM's hyp pgd
commit: 040113fa32f27096f531c377001936e0d7964597
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list