From patchwork Fri Sep 2 14:47:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 9311115 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5486560760 for ; Fri, 2 Sep 2016 14:49:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44BA6297C4 for ; Fri, 2 Sep 2016 14:49:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 382B4297C6; Fri, 2 Sep 2016 14:49:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C678C297C4 for ; Fri, 2 Sep 2016 14:49:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bfplQ-0000MA-CU; Fri, 02 Sep 2016 14:48:16 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bfplI-0000Gy-3s for linux-arm-kernel@lists.infradead.org; Fri, 02 Sep 2016 14:48:09 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 155D0A5E; Fri, 2 Sep 2016 07:47:47 -0700 (PDT) Received: from [10.1.207.16] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 98F463F21A; Fri, 2 Sep 2016 07:47:46 -0700 (PDT) Subject: Re: irq_create_fwspec_mapping() in 4.8-rc2 To: Andras Szemzo References: <483F737F-9868-4E8A-A831-AA3F6F410AFF@gmail.com> <57C98975.5020607@arm.com> <9FCA11A3-B677-42EA-80DB-674AC8E489E8@gmail.com> From: Marc Zyngier Organization: ARM Ltd Message-ID: <57C99111.3030105@arm.com> Date: Fri, 2 Sep 2016 15:47:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: <9FCA11A3-B677-42EA-80DB-674AC8E489E8@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160902_074808_231768_1A748DB6 X-CRM114-Status: GOOD ( 13.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP On 02/09/16 15:29, Andras Szemzo wrote: > Hi, > >> On 02 Sep 2016, at 16:15, Marc Zyngier wrote: >> >> So this is the interrupt that gets a mismatch. > > Yes. > >> Is there any other device in your system that uses the same interrupt? >> Where can I see your full DT file? > > There is no other device using pioC 11. > Here is the DT: > > http://pastebin.com/G7Z0hF5v Can you try this patch and report the values you find? Thanks, M. diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 4752b43..d79d780 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -623,7 +623,8 @@ unsigned int irq_create_fwspec_mapping(struct irq_fwspec *fwspec) return virq; } - pr_warn("type mismatch, failed to map hwirq-%lu for %s!\n", + pr_warn("type mismatch (%u/%u), failed to map hwirq-%lu for %s!\n", + type, irq_get_trigger_type(virq), hwirq, of_node_full_name(to_of_node(fwspec->fwnode))); return 0; }