[PATCH] arm64: tls: Fix context-switching of tpidrro_el0 when kpti is enabled
Catalin Marinas
catalin.marinas at arm.com
Thu Nov 14 04:42:37 PST 2024
On Thu, 14 Nov 2024 09:53:32 +0000, Will Deacon wrote:
> Commit 18011eac28c7 ("arm64: tls: Avoid unconditional zeroing of
> tpidrro_el0 for native tasks") tried to optimise the context switching
> of tpidrro_el0 by eliding the clearing of the register when switching
> to a native task with kpti enabled, on the erroneous assumption that
> the kpti trampoline entry code would already have taken care of the
> write.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: tls: Fix context-switching of tpidrro_el0 when kpti is enabled
https://git.kernel.org/arm64/c/67ab51cbdfee
--
Catalin
More information about the linux-arm-kernel
mailing list