]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22cea9530d7a0bf57f46586117831a635aa1e8cd
tree42a926653bd231df7ff29dab555bf4c007a28b10
parent57afe9ce677f7ae986aa7fa3f577a9d2bebaeee0
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