Re: [PATCH] selftests/powerpc: Add test of mitigation patching

2021-06-06 Thread Michael Ellerman
On Fri, 7 May 2021 16:42:25 +1000, Michael Ellerman wrote: > We recently discovered some of our mitigation patching was not safe > against other CPUs running concurrently. > > Add a test which enable/disables all mitigations in a tight loop while > also running some stress load. On an unpatched

[PATCH] selftests/powerpc: Add test of mitigation patching

2021-05-07 Thread Michael Ellerman
We recently discovered some of our mitigation patching was not safe against other CPUs running concurrently. Add a test which enable/disables all mitigations in a tight loop while also running some stress load. On an unpatched system this almost always leads to an oops and panic/reboot, but we