From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH 1/1] ARM: OMAP3: PM: don't explicitly enable the IO-chain interrupt Date: Fri, 29 Jun 2012 09:07:14 -0500 Message-ID: <87y5n6ky99.fsf@ti.com> References: <1340933123-30401-1-git-send-email-javier@dowhile0.org> <87obo2mg61.fsf@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from na3sys009aog108.obsmtp.com ([74.125.149.199]:59180 "EHLO na3sys009aog108.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752201Ab2F2OHB (ORCPT ); Fri, 29 Jun 2012 10:07:01 -0400 Received: by ghbz2 with SMTP id z2so2903574ghb.34 for ; Fri, 29 Jun 2012 07:07:00 -0700 (PDT) In-Reply-To: (Javier Martinez Canillas's message of "Fri, 29 Jun 2012 15:25:02 +0200") Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Javier Martinez Canillas Cc: Javier Martinez Canillas , Paul Walmsley , Tony Lindgren , Russell King , Tero Kristo , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Javier Martinez Canillas writes: > On Fri, Jun 29, 2012 at 2:55 PM, Kevin Hilman wrote: >> +Paul >> >> Javier Martinez Canillas writes: >> >>> commit 99b59df0 ARM: OMAP3: PM: fix shared PRCM interrupt leave disabled at boot >>> >>> set the IRQ_NOAUTOEN flag to the PCRM IO-chain irq to avoid this >>> interrupt until the PM core code is ready to handle the interrupts. >>> >>> It seems that this is not needed anymore after the OMAP PRCM I/O chain >>> code re-implementation introduced on merge commit: >>> >>> 9a17d88 Merge tag 'omap-devel-c-for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/ >>> >>> The IRQ_NOAUTOEN flags is not set for the PRCM I/O irq anymore on the >>> new implementation. This has the effect that a request_irq() for the >>> PRCM I/O chain irq will auto-enable the requested IRQ and a later call >>> to enable_irq() will lead to the following warning: >> >> I noticed that warning too, but I don't think $SUBJECT patch is the >> right fix. >> >> We still need the IRQ_NOAUTOEN so that cases where PM is not enabled, >> the IO chain interrupts are not enabled. >> >> Looking closer, it looks like the merge of omap-devel-c-for-3.6 removed >> the IRQ_NOAUTOEN in the merge resolution, which wasn't right. >> >> I'll cook up a fix for this. >> >> Kevin >> >> > > Hi Kevin, > > Yes, I can confirme you that the IRQ_NOAUTOEN was gone. I didn't know > if the right solution was to set that flag again or to just remove the > duplicated enable_irq(). I should had tag my patch with RFC instead of > PATCH I guess :-) No worries. I just sent a patch adding back the IRQ_NOAUTOEN. Thanks for reporting the bug. I had noticed the boot time errors to but had not yet got to looking into them. Your patch made me dig deeper. Thanks, Kevin