Re: [PATCH RESEND] x86/entry/ia32: Ensure s32 is sign extended to s64
From: Arnd Bergmann
Date: Wed Jan 10 2024 - 08:42:55 EST
On Wed, Jan 10, 2024, at 14:01, Nikolay Borisov wrote:
>
> This patch has been sent previously by Richard back in 2021 [0].
> However it
> seems to have been dropped at some point and never merged. So I'm
> resending again
> to consider it for merging given that io_pgetevents_time64 LTP test
> still fails.
>
>
> [0] https://lore.kernel.org/all/20210927161955.28494-1-rpalethorpe@xxxxxxxx/
Thank you for resending this, I hadn't noticed that this never
went in, but I also see that I still keep the same patch in
my testing tree.
I think the entire syscall entry logic needs a larger
cross-architecture overhaul to avoid these confusing macros
and make sure we get it right everywhere, but that's not
going to happen overnight, so this patch is what should
get merged and backported to LTS kernels first.
arnd