On Wed, Feb 9, 2022 at 3:44 PM Michal Simek <michal.simek@xxxxxxxxxx> wrote: > On 2/9/22 15:40, Arnd Bergmann wrote: > > On Wed, Feb 9, 2022 at 2:50 PM Michal Simek <monstr@xxxxxxxxx> wrote: > >> > >> Hi Arnd, > >> > >> po 17. 1. 2022 v 14:28 odesílatel Arnd Bergmann <arnd@xxxxxxxxxx> napsal: > >>> > >>> From: Arnd Bergmann <arnd@xxxxxxxx> > >>> > >>> I picked microblaze as one of the architectures that still > >>> use set_fs() and converted it not to. > >> > >> Can you please update the commit message because what is above is not > >> the right one? > > > > Ah, sorry about that. I think you can copy from the openrisc patch, > > see https://lore.kernel.org/lkml/20220208064905.199632-1-shorne@xxxxxxxxx/ > > Please do it. You are the author of this patch and we should follow the process. Done. Looking at it again, I wonder if it would help to use the __get_kernel_nofault() and __get_kernel_nofault() helpers as the default in include/asm-generic/uaccess.h. I see it's identical to the openrisc version and would probably be the same for some of the other architectures that have no other use for set_fs(). That may help to do a bulk remove of set_fs for alpha, arc, csky, h8300, hexagon, nds32, nios2, um and extensa, leaving only ia64, sparc and sh. Arnd