Messages in this thread |  | | From | Michael Ellerman <> | Subject | Re: [PATCH] powerpc/uaccess: Fix __get_user() with CONFIG_CC_HAS_ASM_GOTO_OUTPUT | Date | Sun, 16 May 2021 08:43:53 +1000 |
| |
On Sat, 8 May 2021 09:25:32 +0000 (UTC), Christophe Leroy wrote: > Building kernel mainline with GCC 11 leads to following failure > when starting 'init': > > init[1]: bad frame in sys_sigreturn: 7ff5a900 nip 001083cc lr 001083c4 > Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b > > This is an issue due to a segfault happening in > __unsafe_restore_general_regs() in a loop copying registers from user > to kernel: > > [...]
Applied to powerpc/fixes.
[1/1] powerpc/uaccess: Fix __get_user() with CONFIG_CC_HAS_ASM_GOTO_OUTPUT https://git.kernel.org/powerpc/c/7315e457d6bc342d06ba0b7ee498221c5237a547
cheers
|  |