Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751384AbaKKPpo (ORCPT ); Tue, 11 Nov 2014 10:45:44 -0500 Received: from mail-pd0-f172.google.com ([209.85.192.172]:61216 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751152AbaKKPpm (ORCPT ); Tue, 11 Nov 2014 10:45:42 -0500 From: Kevin Hilman To: Boris Brezillon Cc: Kevin Cernekee , Alexandre Belloni , Thomas Gleixner , Jason Cooper , linux-sh@vger.kernel.org, Florian Fainelli , Ralf Baechle , Sergei Shtylyov , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Maxime Bizon , Jonas Gorski , linux-mips@linux-mips.org, Nicolas Ferre , Olof Johansson , Arnd Bergmann Subject: Re: [PATCH] irqchip: atmel-aic: fix irqdomain initialization References: <20141110230301.GV4068@piout.net> <1415712816-9202-1-git-send-email-boris.brezillon@free-electrons.com> Date: Tue, 11 Nov 2014 07:45:37 -0800 In-Reply-To: <1415712816-9202-1-git-send-email-boris.brezillon@free-electrons.com> (Boris Brezillon's message of "Tue, 11 Nov 2014 14:33:36 +0100") Message-ID: <7hioiloi5a.fsf@deeprootsystems.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Boris Brezillon writes: > First of all IRQCHIP_SKIP_SET_WAKE is not a valid irq_gc_flags and thus > should not be passed as the last argument of > irq_alloc_domain_generic_chips. > > Then pass the correct handler (handle_fasteoi_irq) to > irq_alloc_domain_generic_chips instead of manually re-setting it in the > initialization loop. > > And eventually initialize default irq flags to the pseudo standard: > IRQ_REQUEST | IRQ_PROBE | IRQ_AUTOEN. > > Signed-off-by: Boris Brezillon > --- > Hello Kevin, > > This patch has not been tested yet but it should solve the issue you've > experienced with the IRQ_GC_BE_IO flag and the atmel-aic driver. > > I'll test it tomorrow and let you know if it actually works. Well, it at least boots on my xplained and my sama5d35-ek: Tested-by: Kevin Hilman I'll let Jason pick this up as a fix through his tree. Kevin -- 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/