Searched hist:"34 f7f798" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/powerpc/security/ |
H A D | mitigation-patching.sh | 34f7f798 Fri May 07 01:42:25 CDT 2021 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add test of mitigation patching
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 also check if the kernel becomes tainted in case we have a non-fatal oops.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210507064225.1556312-1-mpe@ellerman.id.au
|
H A D | Makefile | 34f7f798 Fri May 07 01:42:25 CDT 2021 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add test of mitigation patching
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 also check if the kernel becomes tainted in case we have a non-fatal oops.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210507064225.1556312-1-mpe@ellerman.id.au
|