Re: [PATCH] i2c: iproc: fix race between client unreg and isr

From: Wolfram Sang
Date: Mon Jul 27 2020 - 14:14:00 EST

> Can you confirm that even if we have irq pending at the i2c IP core
> level, as long as we execute Step 2. below (to disable/mask all slave
> interrupts), after 'enable_irq' is called, we still will not receive any
> further i2c slave interrupt?

This is HW dependant. From my tests with Renesas HW, this is not the
case. But the actual error case was impossible to trigger for me, so
far. I might try again later. But even in the worst case, I would only
get a "spurious interrupt" and not an NULL-ptr OOPS.

Attachment: signature.asc
Description: PGP signature