From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.lixom.net (lixom.net [66.141.50.11]) by ozlabs.org (Postfix) with ESMTP id 464DCDE054 for ; Tue, 18 Mar 2008 11:29:07 +1100 (EST) Date: Mon, 17 Mar 2008 19:36:19 -0500 From: Olof Johansson To: Anton Blanchard Subject: Re: [PATCH] Fix PMU + soft interrupt disable bug Message-ID: <20080318003619.GB671@lixom.net> References: <20080317042709.GA10594@kryten> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20080317042709.GA10594@kryten> Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Mar 16, 2008 at 11:27:09PM -0500, Anton Blanchard wrote: > > Since the PMU is an NMI now, it can come at any time we are only soft > disabled. We must hard disable around the two places we allow the kernel > stack SLB and r1 to go out of sync. Otherwise the PMU exception can > force a kernel stack SLB into another slot. > > Signed-off-by: Anton Blanchard Acked-by: Olof Johansson This fixes some problems we've seen with multi-slb hits when running oprofile.