Re: remove set_fs() for h8300

From: Arnd Bergmann
Date: Fri Aug 20 2021 - 07:06:26 EST


On Tue, Aug 17, 2021 at 7:21 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> On Fri, Jul 09, 2021 at 01:53:09PM +0200, Christoph Hellwig wrote:
> > Hi all,
> >
> > this series removes support for the deprecated set_fs address space
> > override on h8300. Because h8300 doesn't actually have different
> > address spaces to start with as a pure nommu port the changes are
> > pretty simple.
> >
> > Compile tested only.
>
> Any comments?

It took me a while to figure out that this works on architectures that
define CONFIG_UACCESS_MEMCPY, as they get the asm-generic
version of get_kernel_nofault(). Maybe add that to the changelog,
plus my

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>

Do you have more of these? I'm happy to take them through the
asm-generic tree, at least for architectures with no response from
the maintainers (not m68k, which looks too complex). I did partial
patches for sh and sparc at some point to remove the set_fs() callers,
but got stuck when I tried doing ia64 and didn't submit any of these.

Arnd