Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757214Ab2EDAKf (ORCPT ); Thu, 3 May 2012 20:10:35 -0400 Received: from gate.crashing.org ([63.228.1.57]:46586 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755455Ab2EDAKe (ORCPT ); Thu, 3 May 2012 20:10:34 -0400 Message-ID: <1336090207.18712.9.camel@pasglop> Subject: Re: [PATCH] powerpc: use local var instead of local_paca->irq_happened directly in __check_irq_replay From: Benjamin Herrenschmidt To: Wang Sheng-Hui Cc: Milton Miller , Grant Likely , Stephen Rothwell , Anton Blanchard , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Fri, 04 May 2012 10:10:07 +1000 In-Reply-To: <4FA31653.5090103@gmail.com> References: <4FA1E527.1090807@gmail.com> <1336011306.2653.3.camel@pasglop> <1336018961.2653.11.camel@pasglop> <4FA226A8.1080903@gmail.com> <4FA22CC5.3010107@gmail.com> <1336032561.18712.1.camel@pasglop> <4FA31653.5090103@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 26 On Fri, 2012-05-04 at 07:35 +0800, Wang Sheng-Hui wrote: > > No, Only comment the test, you must absolutely leave the > > __hard_irq_disable() call ! That's the whole point of the test, make > > sure we unconditionally disable to see if that fixes the problem, in > > which case that will tell us that we somewhere accidentally leave > > irq_happened set to 0x01 while irqs are hard enabled. > > It can work. > My system has been running for about 15 hours without crash. Ok, so now we need to understand under what circumstances we end up in a situation where paca->irq_happened is 0x01 and IRQs are hard enabled. I have a few ideas of things to look at but I'm also off for the week-end. I'll have a look next week. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/