[PATCH v2 0/2] Use __u128 in arm64 UAPI headers

From: Will Deacon

Date: Fri Jun 26 2026 - 10:17:47 EST


Hi folks,

This is version two of the patch I previously sent here:

https://lore.kernel.org/r/20260619130835.5678-1-will@xxxxxxxxxx

I even briefly queued that version up, but it exploded spectacularly
when building the kselftests for arm64 [1] [2]. So the only change since
v1 is the addition of a preliminary patch that adds the '__u128' typedef
to the private copy of linux/types.h used by the tools/ directory.

I plan to take this all via the arm64 tree unless anybody objects.

Cheers,

Will

[1] https://lore.kernel.org/r/202606240441.7eZ1TIRM-lkp@xxxxxxxxx
[2] https://lore.kernel.org/r/ajvGS7UBpWzJtzkw@xxxxxxxxxxxxx

Cc: Arnd Bergmann <arnd@xxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Nick Desaulniers <nick.desaulniers+lkml@xxxxxxxxx>
Cc: David Matlack <dmatlack@xxxxxxxxxx>
Cc: Steffen Eiden <seiden@xxxxxxxxxxxxx>
Cc: Andreas Grapentin <gra@xxxxxxxxxxxxx>
Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: Dave Martin <dave.martin@xxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Cc: Marc Zyngier <maz@xxxxxxxxxx>

--->8

Will Deacon (2):
tools: linux/types.h: Add 128-bit integer types for arm64 UAPI
structures
arm64: uapi: Use __u128 instead of __uint128_t in UAPI headers

arch/arm64/include/uapi/asm/ptrace.h | 12 ++++++------
arch/arm64/include/uapi/asm/sigcontext.h | 6 +++---
tools/include/linux/types.h | 5 +++++
3 files changed, 14 insertions(+), 9 deletions(-)

--
2.55.0.rc0.799.gd6f94ed593-goog