selftests/powerpc: Load Monitor Register Tests
authorJack Miller <jack@codezen.org>
Thu, 9 Jun 2016 02:31:10 +0000 (12:31 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Jun 2016 05:30:50 +0000 (15:30 +1000)
commit16c19a2e983346c547501795aadffde1977b058d
tree42a926653bd231df7ff29dab555bf4c007a28b10
parentbd3ea317fddfd0f2044f94bed294b90c4bc8e69e
selftests/powerpc: Load Monitor Register Tests

Adds two tests. One is a simple test to ensure that the new registers
LMRR and LMSER are properly maintained. The other actually uses the
existing EBB test infrastructure to test that LMRR and LMSER behave as
documented.

Signed-off-by: Jack Miller <jack@codezen.org>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/pmu/ebb/.gitignore
tools/testing/selftests/powerpc/pmu/ebb/Makefile
tools/testing/selftests/powerpc/pmu/ebb/ebb_lmr.c [new file with mode: 0644]
tools/testing/selftests/powerpc/pmu/ebb/ebb_lmr.h [new file with mode: 0644]
tools/testing/selftests/powerpc/pmu/ebb/ebb_lmr_regs.c [new file with mode: 0644]
tools/testing/selftests/powerpc/reg.h