diff options
| author | Jinhui Guo <guojinhui.liam@bytedance.com> | 2025-10-21 15:57:14 +0800 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2025-10-27 14:17:15 +0100 |
| commit | d3429178ee51dd7155445d15a5ab87a45fae3c73 (patch) | |
| tree | 6df7ea0a5f6c9c2861089d37f73a8faa8cbb0149 /rust/macros/helpers.rs | |
| parent | 3f124b4ef8d8a8e8cbf94672fb4ce5bf498b3ed1 (diff) | |
i2c: designware: Disable SMBus interrupts to prevent storms from mis-configured firmware
When probing the I2C master, disable SMBus interrupts to prevent
storms caused by broken firmware mis-configuring IC_SMBUS=1; the
handler never services them and a mis-configured SMBUS Master
extend-clock timeout or SMBUS Slave extend-clock timeout can
flood the CPU.
Signed-off-by: Jinhui Guo <guojinhui.liam@bytedance.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20251021075714.3712-2-guojinhui.liam@bytedance.com
Diffstat (limited to 'rust/macros/helpers.rs')
0 files changed, 0 insertions, 0 deletions
