Subject: irq_create_fwspec_mapping() in 4.8-rc2

From: [email-masked] (Marc Zyngier)
Date: Fri, 2 Sep 2016 15:47:45 +0100

On 02/09/16 15:29, Andras Szemzo wrote:
> Hi,
> 
>> On 02 Sep 2016, at 16:15, Marc Zyngier <[email-masked]> 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?

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;
 	}

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...