Re: [PATCH v3 4/7] powerpc/dt_cpu_ftrs: Set current thread fscr bits

2022-03-09 Thread Michael Ellerman
Christophe Leroy writes: > Le 21/05/2020 à 03:43, Alistair Popple a écrit : >> Setting the FSCR bit directly in the SPR only sets it during the initial >> boot and early init of the kernel but not for the init process or any >> subsequent kthreads. This is because the thread_struct for those is >>

Re: [PATCH v3 4/7] powerpc/dt_cpu_ftrs: Set current thread fscr bits

2022-03-09 Thread Christophe Leroy
Hi, Le 21/05/2020 à 03:43, Alistair Popple a écrit : Setting the FSCR bit directly in the SPR only sets it during the initial boot and early init of the kernel but not for the init process or any subsequent kthreads. This is because the thread_struct for those is copied from the current thread_s

[PATCH v3 4/7] powerpc/dt_cpu_ftrs: Set current thread fscr bits

2020-05-20 Thread Alistair Popple
Setting the FSCR bit directly in the SPR only sets it during the initial boot and early init of the kernel but not for the init process or any subsequent kthreads. This is because the thread_struct for those is copied from the current thread_struct setup at boot which doesn't reflect any changes ma