On Wed, 27 Oct 2021 17:24:10 +1000, Russell Currey wrote: > The mitigation-patching.sh script in the powerpc selftests toggles > all mitigations on and off simultaneously, revealing that rfi_flush > and stf_barrier cannot safely operate at the same time due to races > in updating the static key. > > On some systems, the static key code throws a warning and the kernel > remains functional. On others, the kernel will hang or crash. > > [...]
Applied to powerpc/next. [1/1] powerpc/security: Use a mutex for interrupt exit code patching https://git.kernel.org/powerpc/c/3c12b4df8d5e026345a19886ae375b3ebc33c0b6 cheers