[PATCH] KVM: arm64: Make L1Ip feature in CTR_EL0 writable from userspace

Sebastian Ott sebott at redhat.com
Fri Oct 18 01:38:35 PDT 2024


On Thu, 17 Oct 2024, Shameer Kolothum wrote:
> Only allow userspace to set VIPT(0b10) or PIPT(0b11) for L1Ip based on
> what hardware reports as both AIVIVT (0b01) and VPIPT (0b00) are
> documented as reserved.
>
> Using a VIPT for Guest where hardware reports PIPT may lead to over
> invalidation, but is still correct. Hence, we can allow downgrading
> PIPT to VIPT, but not the other way around.
>
> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi at huawei.com>

Reviewed-by: Sebastian Ott <sebott at redhat.com>


More information about the linux-arm-kernel mailing list