[PATCH] KVM: arm64: Set HCR_EL2.BSU to Inner Shareable for guests
Marc Zyngier
maz at kernel.org
Mon Oct 26 05:00:58 PDT 2026
On Fri, 16 Oct 2026 09:15:58 +0100, Fuad Tabba wrote:
> KVM sets HCR_EL2.BSU to Inner Shareable for guests, so that a guest's
> barriers cover the TLB and I-cache invalidations that HCR_EL2.FB
> broadcasts. However, since HCR_BSU_IS became an alias of the generated
> HCR_EL2_BSU_IS, it is the unshifted field value 0b01, which sets bit
> 0 (VM, already set) and leaves BSU at 0b00. A guest's DSB NSH is then
> not required to wait for a broadcast TLBI to complete on other CPUs.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Set HCR_EL2.BSU to Inner Shareable for guests
commit: 00e73757518020273ccf6308a51f214e58c21ad5
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list