Hi Marc, Am 19.07.22 um 08:52 schrieb Marc Kleine-Budde:
The question is: Why runs the IRQ based transfer into a timeout? The kernel that produces the crash has ecfbd3cf3b8b ("spi: bcm2835: Enable shared interrupt support") applied (which was reverted on mainline in a later patch).
thank for your report. Unfortunately i don't have an answer to your question, but maybe this is related:
https://github.com/raspberrypi/linux/commit/c643a3603dcbe6d0feada33915cef1ef896b865e
I'll create a patch to fix the NULL pointer deref. As a interrupt based transfer might run into a timeout for other reasons, too. So better avoid a kernel crash in that case.
Yes, please
regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ linux-rpi-kernel mailing list linux-rpi-kernel@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel