[PATCH v2 04/21] arm64: bpf: Add support for generating reads of TPIDRRO_EL0

Linus Walleij linusw at kernel.org
Wed Sep 30 13:53:06 PDT 2026


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

> In preparation for storing 'current' in TPIDRRO_EL0, add support for the
> instruction encoding of "MRS Rt, TPIDRRO_EL0" to the BPF JIT.
>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Signed-off-by: Will Deacon <will at kernel.org>

Add to the commit message something like, "so that BPF programs
can get a pointer to current."?
Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list