Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757419AbXESAOV (ORCPT ); Fri, 18 May 2007 20:14:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754953AbXESAOO (ORCPT ); Fri, 18 May 2007 20:14:14 -0400 Received: from gate.crashing.org ([63.228.1.57]:58237 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754717AbXESAON (ORCPT ); Fri, 18 May 2007 20:14:13 -0400 Subject: Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver From: Benjamin Herrenschmidt To: Segher Boessenkool Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, Dave Liu , Sergei Shtylyov , linuxppc-dev@ozlabs.org, tglx@linutronix.de In-Reply-To: <51b3a75638604c9dd7ed60a10f0ed934@kernel.crashing.org> References: <200705172142.26739.sshtylyov@ru.mvista.com> <464CB071.5050504@ru.mvista.com> <9095839480a9686d9c40aa6143edb804@kernel.crashing.org> <464CB460.40905@ru.mvista.com> <97d47c2261fe9cd3f1a6c864278a6ab6@kernel.crashing.org> <1179464690.32247.370.camel@localhost.localdomain> <1179466769.3658.0.camel@localhost.localdomain> <1179472096.32247.394.camel@localhost.localdomain> <464DAD06.2060504@ru.mvista.com> <1179530872.32247.423.camel@localhost.localdomain> <51b3a75638604c9dd7ed60a10f0ed934@kernel.crashing.org> Content-Type: text/plain Date: Sat, 19 May 2007 10:13:16 +1000 Message-Id: <1179533596.32247.429.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 20 On Sat, 2007-05-19 at 01:49 +0200, Segher Boessenkool wrote: > > I find it extremely silly to implement it as edge anyway. The EE line > > is > > level triggered, and having a mix of edge and level on the same > > exception without a clean way to retrigger the DEC one other than > > waiting one tick is just causing trouble. > > It isn't edge triggered, it just automatically clears the > decrementer exception condition at its source when taken Which is exactly the same thing software-wise as edge triggered... 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/