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

Michael Ellerman mpe at ellerman.id.au
Wed May 4 21:31:04 AEST 2016


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 in the PMU code. Should we do this elsewhere for
> POWER9 since EBB doesn't directly require the PMU?

Probably. But we will need to check that if the PMU code is *not* enabled we
still do the context switching of EBB regs correctly. We probably do, but I
don't now for sure.

cheers



More information about the Linuxppc-dev mailing list