Re: [patch 00/18] entry: Consolidate and rework syscall entry handling

From: Heiko Carstens

Date: Mon Aug 31 2026 - 04:58:24 EST


On Thu, Aug 27, 2026 at 03:22:35PM -0700, H. Peter Anvin wrote:
> This isn't a hard thing to solve in any way: replacing the pointer argument
> with a two-element structure return would do the trick. As far as I know,
> *all* architectures that support Linux support returning structures with two
> register-sized values in registers.

That is unfortunately not true. The s390 ABI defines that structures,
regardless of size, are returned in a return value buffer allocated by
the caller.