Re: [PATCH v3 03/15] powerpc/align: Convert emulate_spe() to user_access_begin

2021-04-10 Thread Michael Ellerman
On Fri, 12 Mar 2021 13:25:11 + (UTC), Christophe Leroy wrote: > This patch converts emulate_spe() to using user_access_begin > logic. > > Since commit 662bbcb2747c ("mm, sched: Allow uaccess in atomic with > pagefault_disable()"), might_fault() doesn't fire when called from > sections where pa

[PATCH v3 03/15] powerpc/align: Convert emulate_spe() to user_access_begin

2021-03-12 Thread Christophe Leroy
This patch converts emulate_spe() to using user_access_begin logic. Since commit 662bbcb2747c ("mm, sched: Allow uaccess in atomic with pagefault_disable()"), might_fault() doesn't fire when called from sections where pagefaults are disabled, which must be the case when using _inatomic variants of