]> 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)
commit07889c1afcd3cfaf9a5c5e32cdea75ca1cbcaf4a
tree42a926653bd231df7ff29dab555bf4c007a28b10
parentd6f7edecd97cfc7b3ec299d89fedb0fa7adf2486
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