Re: [PATCH 31/31] module: move the set_fs hack for flush_icache_range to m68k

2020-05-11 Thread Christoph Hellwig
On Mon, May 11, 2020 at 05:24:30PM +0200, Geert Uytterhoeven wrote: > > Btw, do you know what part of flush_icache_range relied on set_fs? > > Do any of the m68k maintainers have an idea how to handle that in > > a nicer way when we can split the implementations? > > arch/m68k/mm/cache.c:virt_to_p

Re: [PATCH 31/31] module: move the set_fs hack for flush_icache_range to m68k

2020-05-11 Thread Geert Uytterhoeven
Hi Christoph, On Mon, May 11, 2020 at 5:11 PM Christoph Hellwig wrote: > On Mon, May 11, 2020 at 09:40:39AM +0200, Geert Uytterhoeven wrote: > > On Sun, May 10, 2020 at 9:57 AM Christoph Hellwig wrote: > > > > > > flush_icache_range generally operates on kernel addresses, but for some > > > reas

Re: [PATCH 31/31] module: move the set_fs hack for flush_icache_range to m68k

2020-05-11 Thread Christoph Hellwig
On Mon, May 11, 2020 at 09:40:39AM +0200, Geert Uytterhoeven wrote: > On Sun, May 10, 2020 at 9:57 AM Christoph Hellwig wrote: > > > > flush_icache_range generally operates on kernel addresses, but for some > > reason m68k needed a set_fs override. Move that into the m68k code > > insted of keepi

Re: [PATCH 31/31] module: move the set_fs hack for flush_icache_range to m68k

2020-05-11 Thread Geert Uytterhoeven
On Sun, May 10, 2020 at 9:57 AM Christoph Hellwig wrote: > > flush_icache_range generally operates on kernel addresses, but for some > reason m68k needed a set_fs override. Move that into the m68k code > insted of keeping it in the module loader. > > Signed-off-by: Christoph Hellwig Reviewed-by

[PATCH 31/31] module: move the set_fs hack for flush_icache_range to m68k

2020-05-10 Thread Christoph Hellwig
flush_icache_range generally operates on kernel addresses, but for some reason m68k needed a set_fs override. Move that into the m68k code insted of keeping it in the module loader. Signed-off-by: Christoph Hellwig --- arch/m68k/mm/cache.c | 4 kernel/module.c | 8 2 files ch