Re: [PATCH v3 4/4] compat: remove some compat entry points

From: Arnd Bergmann
Date: Wed May 19 2021 - 17:01:25 EST


On Wed, May 19, 2021 at 10:33 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> On Mon, May 17 2021 at 22:33, Arnd Bergmann wrote:
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> >
> > These are all handled correctly when calling the native
> > system call entry point, so remove the special cases.
> > arch/x86/entry/syscall_x32.c | 2 ++
> > arch/x86/entry/syscalls/syscall_32.tbl | 6 ++--
> > arch/x86/entry/syscalls/syscall_64.tbl | 4 +--
>
> That conflicts with
>
> https://lore.kernel.org/lkml/20210517073815.97426-1-masahiroy@xxxxxxxxxx/
>
> which I'm picking up. We have more changes in that area coming in.

Ok, thanks for the heads-up. I'll try a merge or rebase to see how this can be
handled. If both the drivers/net and drivers/media get picked up for 5.14, maybe
the rebased patches can go through -mm on top, along with the final
removal of compat_alloc_user_space()/copy_in_user(). If not, I suppose these
four patches can also wait another release.

Arnd