From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3r0G82011VzDq60 for ; Wed, 4 May 2016 21:31:13 +1000 (AEST) Message-ID: <1462361464.1846.3.camel@ellerman.id.au> Subject: Re: [PATCH 3/3] powerpc: Load Monitor Register Tests From: Michael Ellerman To: Michael Neuling , Jack Miller , linuxppc-dev@lists.ozlabs.org Cc: anton@samba.org Date: Wed, 04 May 2016 21:31:04 +1000 In-Reply-To: <1462358630.4115.76.camel@neuling.org> References: <201604190414.NkLxbSQl%fengguang.wu@intel.com> <1461013724-12784-1-git-send-email-jack@codezen.org> <1461013724-12784-4-git-send-email-jack@codezen.org> <1462358630.4115.76.camel@neuling.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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