Re: [PATCH] i2c: designware: I2C unexpected interrupt handling will cause kernel panic

From: Andy Shevchenko
Date: Thu Nov 11 2021 - 11:14:04 EST


On Thu, Nov 11, 2021 at 02:57:59PM +0800, huangbibo wrote:
> I2C interrupts may be triggered unexpectedly,

> such as programs that directly access I2C registers,

Wow! What programs you are talking about? How comes they are doing this
weirdness in parallel with the OS running?

Can you elaborate, please?

> bus conflicts caused by hardware design defects, etc.
> These can cause null pointer reference errors and kernel panic.

--
With Best Regards,
Andy Shevchenko