mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/8] i2c: nomadik: fix several issues in fault handling, optimize layout
@ 2026-11-03  8:29 Dmitry Guzman
  2026-11-03  8:29 ` [PATCH 1/8] i2c: nomadik: optimize struct layout, change unsigned char into u8 Dmitry Guzman
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Dmitry Guzman @ 2026-11-03  8:29 UTC (permalink / raw)
  To: Linus Walleij, Andi Shyti, srinidhi kasagar, Ben Dooks, Andrea Gallo
  Cc: linux-i2c, linux-arm-kernel, linux-kernel, Dmitry Guzman

This patchset fixes several issues in i2c-nomadik driver.

Patches #1..#5 were previously submitted as a part of a patchset that
introduces detailed fault reporting feature in i2c-nomadik and
i2c-designware drivers and i2c-core.

In patch #5, the new structure declaration is moved to different place
to make it independent of patch #3 (avoid merge conflicts).

Patches #6..#8 fix other pre-existing issues found by AI review of that
patchset.

All patches are mutually independent and may be applied separately.

Patch #1 Optimize struct layout.
Patch #2 Remove automatic retransfer on failures.
Patch #3 Fix error codes returned by xfer() callback.
Patch #4 Avoid excessive prints by replacing dev_err() with dev_dbg() on
	I2C faults.
Patch #5 Add quirks that describe hardware limitations of the controller.
Patch #6 Handle PM runtime errors.
Patch #7 Fix race condition with IRQ handler.
Patch #8 Fix possible long busy-wait loop in interrupt handler.

Link to the patch set that patches 1..5 were submitted in:

https://lore.kernel.org/r/20260903-i2c-fault-reporting-v2-0-fedeb91792e6@mobileye.com

Signed-off-by: Dmitry Guzman <Dmitry.Guzman@mobileye.com>
---
Dmitry Guzman (8):
      i2c: nomadik: optimize struct layout, change unsigned char into u8
      i2c: nomadik: do not try to retransmit I2C message series on errors
      i2c: nomadik: return proper fault codes
      i2c: nomadik: change print level for fault messages to debug
      i2c: nomadik: add quirks max_len=2047 and no_zero_len_read
      i2c: nomadik: handle pm_runtime errors
      i2c: nomadik: fix race condition with interrupt handler
      i2c: nomadik: reduce FIFO flush timeout to avoid long interrupt handling

 drivers/i2c/busses/i2c-nomadik.c | 105 +++++++++++++++++++++++----------------
 1 file changed, 62 insertions(+), 43 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261025-i2c-nomadik-fixes-73121cc61408

Best regards,
--  
Dmitry Guzman <Dmitry.Guzman@mobileye.com>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-11-05  8:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03  8:29 [PATCH 0/8] i2c: nomadik: fix several issues in fault handling, optimize layout Dmitry Guzman
2026-11-03  8:29 ` [PATCH 1/8] i2c: nomadik: optimize struct layout, change unsigned char into u8 Dmitry Guzman
2026-11-03  8:29 ` [PATCH 2/8] i2c: nomadik: do not try to retransmit I2C message series on errors Dmitry Guzman
2026-11-03  8:29 ` [PATCH 3/8] i2c: nomadik: return proper fault codes Dmitry Guzman
2026-11-03  8:29 ` [PATCH 4/8] i2c: nomadik: change print level for fault messages to debug Dmitry Guzman
2026-11-03  8:29 ` [PATCH 5/8] i2c: nomadik: add quirks max_len=2047 and no_zero_len_read Dmitry Guzman
2026-11-05  8:40   ` Linus Walleij
2026-11-03  8:29 ` [PATCH 6/8] i2c: nomadik: handle pm_runtime errors Dmitry Guzman
2026-11-05  8:42   ` Linus Walleij
2026-11-05  8:51     ` Wolfram Sang
2026-11-03  8:29 ` [PATCH 7/8] i2c: nomadik: fix race condition with interrupt handler Dmitry Guzman
2026-11-05  8:42   ` Linus Walleij
2026-11-03  8:29 ` [PATCH 8/8] i2c: nomadik: reduce FIFO flush timeout to avoid long interrupt handling Dmitry Guzman
2026-11-05  8:44   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®