From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by ozlabs.org (Postfix) with ESMTP id C5723B7D20 for ; Tue, 8 Jun 2010 07:28:27 +1000 (EST) Received: by fxm5 with SMTP id 5so306815fxm.15 for ; Mon, 07 Jun 2010 14:28:25 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1275686352.2970.2.camel@eha.doredevelopment.dk> <20100605151031.2d562268@hina.wild-wind.fr.eu.org> <1275914058.2818.8.camel@eha.doredevelopment.dk> Date: Mon, 7 Jun 2010 23:28:23 +0200 Message-ID: Subject: Re: [RFC][PATCH] irq: support IRQ_NESTED_THREAD with non-threaded interrupt handlers From: Esben Haabendal To: Thomas Gleixner Content-Type: text/plain; charset=ISO-8859-1 Cc: joachim.eastwood@jotron.com, Peter Zijlstra , LKML , Esben Haabendal , linuxppc-dev@ozlabs.org, Marc Zyngier , Ingo Molnar , David Miller List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Jun 7, 2010 at 5:06 PM, Thomas Gleixner wrote: > Maybe you understand now, why I was pretty sure upfront, that your > approach was wrong even without knowing all the gory details ? :) I understand. There is a better solution, which is to use threaded interrupts where needed. But I must confess that I am disappointed that you still fail to see how the pca953x patch actually eliminates the need for serialization. But I don't think there is much point in going on about that. The phy driver should be rewritten to use a threaded handler, it will solve my particular problem. And in the meantime, I have been promised to get the phy interrupts ofloade= d to real CPU interrupt lines :-) Oh, I still think that the disable_irq_nosync documentaiton is misleading. Functions that are allowed in a particular context should not call function= s that are not allowed to be called in that context. But now I know :-) /Esben --=20 Esben Haabendal, Senior Software Consultant Dor=E9Development ApS, Ved Stranden 1, 9560 Hadsund, DK-Denmark Phone: +45 51 92 53 93, E-mail: eha@doredevelopment.dk WWW: http://www.doredevelopment.dk