[linux dev-6.6 v1] i2c: npcm7xx: disable I2C interrupt before devm_request_irq

Andrew Jeffery andrew at codeconstruct.com.au
Tue Jul 16 13:26:57 AEST 2024


On Tue, 2024-07-09 at 13:54 +0300, Tomer Maimon wrote:
> This patch fix NPCM I2C driver issue that causing a soft lockup issue.
> 
> Upon investigation, it was found that during an I2C transaction, the BMC
> machine reboots unexpectedly, leaving the I2C module in an unchanged
> state. As a result, the I2C interrupt (IRQ) handler continues to be
> triggered. To address this, NPCM I2C probe function disable the I2C
> interrupt enable bit in the I2C module before invoking devm_request_irq
> function.
> 
> Signed-off-by: Tyrone Ting <kfting at nuvoton.com>
> Signed-off-by: Tomer Maimon <tmaimon77 at gmail.com>
> ---
>  drivers/i2c/busses/i2c-npcm7xx.c | 2 ++
>  1 file changed, 2 insertions(+)

What's the state of this patch with respect to upstream? Is this
something specific to the openbmc/linux dev-6.6 tree, or is there an
upstream equivalent? If the latter, can you please link to the relevant
patch?

Andrew


More information about the openbmc mailing list