Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759392AbZA3CNn (ORCPT ); Thu, 29 Jan 2009 21:13:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754075AbZA3CNf (ORCPT ); Thu, 29 Jan 2009 21:13:35 -0500 Received: from gate.crashing.org ([63.228.1.57]:59827 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754054AbZA3CNe (ORCPT ); Thu, 29 Jan 2009 21:13:34 -0500 Subject: Re: 2.6.28-rt on PowerPC From: Benjamin Herrenschmidt To: avorontsov@ru.mvista.com Cc: Steven Rostedt , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org In-Reply-To: <20090129213429.GA29014@oksana.dev.rtsoft.ru> References: <20090129213429.GA29014@oksana.dev.rtsoft.ru> Content-Type: text/plain Date: Fri, 30 Jan 2009 13:11:50 +1100 Message-Id: <1233281510.18767.17.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 858 Lines: 25 > This is trivially solved by converting arch/powerpc/sysdev/ipic.c > back to spinlocks (ipic_lock). > > Assuming that converting-back is automatic, there are few other > chained interrupt controllers you might want to convert-back: > > arch/powerpc/sysdev/i8259.c (i8259_lock) > arch/powerpc/sysdev/mpic.c (mpic_lock) > arch/powerpc/sysdev/qe_lib/qe_ic.c (qe_ic_lock) Except that a bunch of those can be both primary and chained... It's simply not a solution to have to "convert" interrupt controller code to use a different locking scheme depending on whether they are chained or primary... 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/