[PATCH] KVM: arm64: Fix S1/S2 combination when FWB==1 and S2 has Device memory type
Oliver Upton
oliver.upton at linux.dev
Tue Nov 26 07:59:26 PST 2024
On Mon, 25 Nov 2024 09:47:56 +0000, Marc Zyngier wrote:
> The G.a revision of the ARM ARM had it pretty clear that HCR_EL2.FWB
> had no influence on "The way that stage 1 memory types and attributes
> are combined with stage 2 Device type and attributes." (D5.5.5).
>
> However, this wording was lost in further revisions of the architecture.
>
> Restore the intended behaviour, which is to take the strongest memory
> type of S1 and S2 in this case, as if FWB was 0. The specification is
> being fixed accordingly.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Fix S1/S2 combination when FWB==1 and S2 has Device memory type
https://git.kernel.org/kvmarm/kvmarm/c/6fc3a49f2385
--
Best,
Oliver
More information about the linux-arm-kernel
mailing list