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

From: Linus Walleij

Date: Wed Sep 30 2026 - 19:38:25 EST


On Fri, Sep 18, 2026 at 6:14 PM Will Deacon <will@xxxxxxxxxx> wrote:

> From: Mostafa Saleh <smostafa@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Will Deacon <will@xxxxxxxxxx>

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij