[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <859e8211-2c56-8dd5-d6fb-33e4358e4128@pengutronix.de>
Date: Fri, 12 Jun 2020 14:18:06 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Wolfram Sang <wsa@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>
Cc: Fabio Estevam <festevam@...il.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Oleksij Rempel <linux@...pel-privat.de>,
Oleksij Rempel <o.rempel@...gutronix.de>,
NXP Linux Team <linux-imx@....com>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Shawn Guo <shawnguo@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org
Subject: Re: [PATCH] i2c: imx: Fix external abort on early interrupt
On 6/12/20 1:51 PM, Wolfram Sang wrote:
>
>> This basically kills the concept of devm for interrupts. Some other
>
> It only works when you can ensure you have all interrupts disabled (and
> none pending) in remove() or the error paths of probe() etc.
But when requesting the interrupt as shared the interrupt handler can get called
any time, even if you have disabled the IRQ source in your IP core....The shared
IRQ debug code tests this.
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 |
Powered by blists - more mailing lists