[PATCH v2 05/21] KVM: arm64: Protect TPIDRRO_EL0 across guest entry/exit

Linus Walleij linusw at kernel.org
Wed Sep 30 13:55:12 PDT 2026


On Fri, Sep 18, 2026 at 6:14 PM Will Deacon <will at kernel.org> wrote:

> From: Mostafa Saleh <smostafa at google.com>
>
> To prepare for using TPIDRRO_EL0 to hold 'current' and repurposing
> SP_EL0 as an overflow stack pointer, eagerly switch both registers when
> entering and exiting the guest.
>
> Signed-off-by: Mostafa Saleh <smostafa at google.com>
> Signed-off-by: Will Deacon <will at kernel.org>

Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list