irq_create_fwspec_mapping() in 4.8-rc2

Marc Zyngier marc.zyngier at arm.com
Fri Sep 2 07:47:45 PDT 2016


On 02/09/16 15:29, Andras Szemzo wrote:
> Hi,
> 
>> On 02 Sep 2016, at 16:15, Marc Zyngier <marc.zyngier at arm.com> 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...



More information about the linux-arm-kernel mailing list