[Letux-kernel] Bug in i2c_device_probe

Tony Lindgren tony at atomide.com
Mon Jun 11 09:07:44 CEST 2018


* H. Nikolaus Schaller <hns at goldelico.com> [180610 08:33]:
> Hi Tony,
> I've observed this message on the Pyra with letux-4.17.0-lpae kernel:
> 
> [    1.806477] platform 48070000.i2c: Retrying from deferred list
> [    1.813802] ------------[ cut here ]------------
> [    1.818666] WARNING: CPU: 1 PID: 778 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0x78/0x100

Yes that needs to be fixed for all omap5 for the IRQ_TYPE_NONE
users. We just need to set the proper EDGE/LEVEL and the
direction for them in the omap5.dtsi file.

> The code has a comment:
> 
> 1015		/* Make it clear that broken DTs are... broken */
> 1016		WARN_ON(*type == IRQ_TYPE_NONE);
> 
> This would mean that something in the core DT is broken as we import the omap5-common.dtsi.
> 
> I have researched a little:
...
> Should this be #interrupt-cells = <2>?

No we just need to stop using IRQ_TYPE_NONE :)

Regards,

Tony


More information about the Letux-kernel mailing list