This is v2 of: https://patchwork.ozlabs.org/patch/895765/
Changes: - Patch 1 is new. - Patch 2 uses the new macro introduced in the first patch. The output message has also been slightly tweaked to make things clearer. - Naveen Naveen N. Rao (2): selftests/powerpc: Move UCONTEXT_NIA() into utils.h selftests/powerpc: Add test to verify rfi flush across a system call tools/testing/selftests/powerpc/Makefile | 3 +- .../testing/selftests/powerpc/include/utils.h | 18 +++ .../primitives/load_unaligned_zeropad.c | 8 - .../selftests/powerpc/security/Makefile | 7 + .../selftests/powerpc/security/rfi_flush.c | 132 +++++++++++++++ tools/testing/selftests/powerpc/utils.c | 153 ++++++++++++++++++ 6 files changed, 312 insertions(+), 9 deletions(-) create mode 100644 tools/testing/selftests/powerpc/security/Makefile create mode 100644 tools/testing/selftests/powerpc/security/rfi_flush.c -- 2.17.0