Ganesh Goudar <ganes...@linux.ibm.com> writes: > Add test for real address or control memory address access > error handling, using NX-GZIP engine. > > The error is injected by accessing the control memory address > using illegal instruction, on successful handling the process > attempting to access control memory address using illegal > instruction receives SIGBUS. > > Signed-off-by: Ganesh Goudar <ganes...@linux.ibm.com> > --- > tools/testing/selftests/powerpc/Makefile | 3 +- > tools/testing/selftests/powerpc/mce/Makefile | 6 +++ > .../selftests/powerpc/mce/inject-ra-err.c | 42 +++++++++++++++++++ > .../selftests/powerpc/mce/inject-ra-err.sh | 19 +++++++++ > 4 files changed, 69 insertions(+), 1 deletion(-) > create mode 100644 tools/testing/selftests/powerpc/mce/Makefile > create mode 100644 tools/testing/selftests/powerpc/mce/inject-ra-err.c > create mode 100755 tools/testing/selftests/powerpc/mce/inject-ra-err.sh
This breaks the selftests build: https://github.com/ruscur/linux-ci/runs/3204665920?check_suite_focus=true make[2]: Entering directory '/linux/tools/testing/selftests/powerpc/mce' powerpc-linux-gnu-gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"77349a6"' -I/linux/tools/testing/selftests/powerpc/include inject-ra-err.c -o /output/kselftest/powerpc/mce/inject-ra-err Error: inject-ra-err.c:11:25: fatal error: asm/vas-api.h: No such file or directory cheers