Re: [PATCH 3/6] powerpc/64s: Patch barrier_nospec in modules

2018-05-03 Thread Michal Suchánek
On Tue, 24 Apr 2018 14:15:56 +1000 Michael Ellerman wrote: > From: Michal Suchanek > > Note that unlike RFI which is patched only in kernel the nospec state > reflects settings at the time the module was loaded. > > Iterating all modules and re-patching every time the settings change > is not

[PATCH 3/6] powerpc/64s: Patch barrier_nospec in modules

2018-04-23 Thread Michael Ellerman
From: Michal Suchanek Note that unlike RFI which is patched only in kernel the nospec state reflects settings at the time the module was loaded. Iterating all modules and re-patching every time the settings change is not implemented. Based on lwsync patching. Signed-off-by: Michal Suchanek Si