diff mbox

irq_create_fwspec_mapping() in 4.8-rc2

Message ID 57C99111.3030105@arm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marc Zyngier Sept. 2, 2016, 2:47 p.m. UTC
On 02/09/16 15:29, Andras Szemzo wrote:
> Hi,
> 
>> On 02 Sep 2016, at 16:15, Marc Zyngier <marc.zyngier@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?


Thanks,

	M.

Comments

Andras Szemzo Sept. 2, 2016, 2:52 p.m. UTC | #1
> 
> Can you try this patch and report the values you find?
> 
Sure, here is the output:

irq: type mismatch (2/3), failed to map hwirq-11 for /soc/pinctrl@0x400e0e00/gpio@0x400e1200!
diff mbox

Patch

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