Re: [PATCH] media: atomisp: remove compat_ioctl32 code

From: Arnd Bergmann
Date: Mon May 17 2021 - 09:31:58 EST


On Mon, May 17, 2021 at 3:08 PM Christoph Hellwig <hch@xxxxxx> wrote:
>
> On Sun, May 16, 2021 at 10:47:43PM +0200, Arnd Bergmann wrote:
> > This is one of the last remaining users of compat_alloc_user_space()
> > and copy_in_user(), which are in the process of getting removed.
>
> Are you also going to resend the other compat_alloc_user_space removal
> patches? It would be great to see it buried ASAP.

Yes, I'm in the middle of rebasing and fixing that. I sent this one as it
was on the bottom of the branch and with no other dependencies. The
other bits are:

- kexec and numa syscalls, currently build testing after gcc-11 pointed out
a typo in the previous version.
- rewrite of socket/device compat ioctl handling, previous version had a
build failure and some minor checkpatch.pl issues
- overhaul of netdev ndo_do_ioctl, not strictly related but helps to prove
that the compat ioctl changes are correct and is probably a good idea
regardless, this needed a number of changes for bits I had missed the
first time around.
- a simple patch to remove the now obsolete helper functions,
needed a rebase for 5.13-rc1. If everything else gets merged for 5.14
this might be something that Andrew can pick up for sending late
in the merge window, or I'll send it for 5.15 through the asm-generic
tree.

I pushed it all for reference to

https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
compat-alloc-user-space-9

I should be able to patch-bomb everyone tomorrow unless the build bots
find more issues.

Arnd