diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2021-05-07 16:42:25 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-05-17 15:27:47 +1000 |
commit | 34f7f79827ec4db30cff9001dfba19f496473e8d (patch) | |
tree | 413b5e683c44bffdf055f3078b2d7f00ddfd811b /arch/powerpc/platforms/pseries/hotplug-memory.c | |
parent | powerpc/32s: Remove asm/book3s/32/hash.h (diff) | |
download | linux-dev-34f7f79827ec4db30cff9001dfba19f496473e8d.tar.xz linux-dev-34f7f79827ec4db30cff9001dfba19f496473e8d.zip |
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
Diffstat (limited to 'arch/powerpc/platforms/pseries/hotplug-memory.c')
0 files changed, 0 insertions, 0 deletions