Re: [PATCH 3/3] powerpc: Load Monitor Register Tests

2016-05-04 Thread Michael Neuling
On Wed, 2016-05-04 at 21:31 +1000, Michael Ellerman wrote: > On Wed, 2016-05-04 at 20:43 +1000, Michael Neuling wrote: > > > > On Mon, 2016-04-18 at 16:08 -0500, Jack Miller wrote: > > > > > > > > +int ebb_lmr(void) > > > +{ > > > + int i; > > > + > > > + SKIP_IF(!ebb_is_supported()); > > We ski

Re: [PATCH 3/3] powerpc: Load Monitor Register Tests

2016-05-04 Thread Michael Ellerman
On Wed, 2016-05-04 at 20:43 +1000, Michael Neuling wrote: > On Mon, 2016-04-18 at 16:08 -0500, Jack Miller wrote: > > +int ebb_lmr(void) > > +{ > > + int i; > > + > > + SKIP_IF(!ebb_is_supported()); > > We skip this test currently as EBB is not enabled on POWER9. > > On POWER8 we enable EBB

Re: [PATCH 3/3] powerpc: Load Monitor Register Tests

2016-05-04 Thread Michael Neuling
On Mon, 2016-04-18 at 16:08 -0500, Jack Miller wrote: > 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-

[PATCH 3/3] powerpc: Load Monitor Register Tests

2016-04-18 Thread Jack Miller
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 --- tools/testing/selftests/powerpc/pmu/ebb/Make

[PATCH 3/3] powerpc: Load Monitor Register Tests

2016-04-18 Thread Jack Miller
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 --- tools/testing/selftests/powerpc/pmu/ebb/Make

Re: [PATCH 3/3] powerpc: Load Monitor Register Tests

2016-04-15 Thread Madhavan Srinivasan
On Tuesday 12 April 2016 12:27 AM, Jack Miller wrote: > 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

[PATCH 3/3] powerpc: Load Monitor Register Tests

2016-04-11 Thread Jack Miller
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 --- tools/testing/selftests/powerpc/pmu/ebb/Make