[PATCH v2 0/2] Use __u128 in arm64 UAPI headers
Jeremy Linton
jeremy.linton at arm.com
Wed Sep 2 19:21:32 PDT 2026
Hi,
On 6/26/26 9:17 AM, Will Deacon wrote:
> Hi folks,
>
> This is version two of the patch I previously sent here:
>
> https://lore.kernel.org/r/20260619130835.5678-1-will@kernel.org
>
> 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.
This seems to be creating a interesting situation that the follow-on
commit:
10a47fb67340 tools: linux/types.h: Add 128-bit integer types for arm64
UAPI structures
Is missing from older kernel tooling/etc, which means the tools that end
up pulling this header in won't build on machines running 7.3 kernel
headers.
AKA, build/install master, switch back to an older branch and discover
say bpftool won't build anymore.
Thanks,
>
> Cheers,
>
> Will
>
> [1] https://lore.kernel.org/r/202606240441.7eZ1TIRM-lkp@intel.com
> [2] https://lore.kernel.org/r/ajvGS7UBpWzJtzkw@sirena.org.uk
>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: Arnaldo Carvalho de Melo <acme at redhat.com>
> Cc: Nick Desaulniers <nick.desaulniers+lkml at gmail.com>
> Cc: David Matlack <dmatlack at google.com>
> Cc: Steffen Eiden <seiden at linux.ibm.com>
> Cc: Andreas Grapentin <gra at linux.ibm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Dave Martin <dave.martin at arm.com>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Cc: Marc Zyngier <maz at kernel.org>
>
> --->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(-)
>
More information about the linux-arm-kernel
mailing list