public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/3] i2c: imx: Fix handling of arbitration loss
@ 2020-09-17 12:13 Christian Eggers
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Eggers @ 2020-09-17 12:13 UTC (permalink / raw)
  To: Oleksij Rempel, Shawn Guo, Sascha Hauer, Fabio Estevam
  Cc: linux-arm-kernel, linux-kernel, NXP Linux Team,
	Pengutronix Kernel Team, linux-i2c

On my (noisy) system, I2C arbitration losses happen quite often. In it's
current implementation, the IAL flags is partly handled, but has a
number of shortcomings:

1. The driver runs unnecessarily in a timeout when waiting for an
interrupt.

2. The driver performs 500 ms busy-waiting without any value.

3. Arbitration loss errors may be reported one transfer later than they
occured.

Best regards
Christian



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH 0/3] i2c: imx: Fix handling of arbitration loss
@ 2020-09-17 12:20 Christian Eggers
  2020-09-25  7:03 ` Oleksij Rempel
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Eggers @ 2020-09-17 12:20 UTC (permalink / raw)
  To: Oleksij Rempel, Shawn Guo, Sascha Hauer, Fabio Estevam
  Cc: linux-arm-kernel, linux-kernel, NXP Linux Team,
	Pengutronix Kernel Team, linux-i2c

On my (noisy) system, I2C arbitration losses happen quite often. In it's
current implementation, the IAL flag is partly handled, but has a
number of shortcomings:

1. The driver runs unnecessarily in a timeout when waiting for an
interrupt.

2. The driver performs 500 ms busy-waiting without any value.

3. Arbitration loss errors may be reported one transfer later than they
occured.

Best regards
Christian



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-09-25  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-17 12:13 [PATCH 0/3] i2c: imx: Fix handling of arbitration loss Christian Eggers
  -- strict thread matches above, loose matches on Subject: below --
2020-09-17 12:20 Christian Eggers
2020-09-25  7:03 ` Oleksij Rempel

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