Re: [PATCH 2/6] powerpc/64s: Add support for ori barrier_nospec patching

2018-05-01 Thread Michael Ellerman
Michal Suchánek writes: > On Tue, 24 Apr 2018 14:15:55 +1000 > Michael Ellerman wrote: > >> From: Michal Suchanek >> >> Based on the RFI patching. This is required to be able to disable the >> speculation barrier. > > why do you not patch the nospec barrier which is included as part of > the RF

Re: [PATCH 2/6] powerpc/64s: Add support for ori barrier_nospec patching

2018-04-26 Thread Michal Suchánek
Hello, On Tue, 24 Apr 2018 14:15:55 +1000 Michael Ellerman wrote: > From: Michal Suchanek > > Based on the RFI patching. This is required to be able to disable the > speculation barrier. why do you not patch the nospec barrier which is included as part of the RFI flush code? I think when deb

[PATCH 2/6] powerpc/64s: Add support for ori barrier_nospec patching

2018-04-23 Thread Michael Ellerman
From: Michal Suchanek Based on the RFI patching. This is required to be able to disable the speculation barrier. Only one barrier type is supported and it does nothing when the firmware does not enable it. Also re-patching modules is not supported So the only meaningful thing that can be done is