All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] i2c: imx: Fix handling of arbitration loss
@ 2020-10-02 15:23 ` Christian Eggers
  0 siblings, 0 replies; 34+ messages in thread
From: Christian Eggers @ 2020-10-02 15:23 UTC (permalink / raw)
  To: Oleksij Rempel, Shawn Guo, Sascha Hauer, Fabio Estevam,
	Uwe Kleine-König
  Cc: Pengutronix Kernel Team, NXP Linux Team, linux-i2c,
	linux-arm-kernel, linux-kernel

Changes in v2:
---------------
- Don't accidently clear additional status flags on Vybrid
  (reported by Uwe Kleine-Koenig)


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



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

end of thread, other threads:[~2020-10-06 12:53 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-02 15:23 [PATCH v2 0/3] i2c: imx: Fix handling of arbitration loss Christian Eggers
2020-10-02 15:23 ` Christian Eggers
2020-10-02 15:23 ` [PATCH v2 1/3] i2c: imx: Fix reset of I2SR_IAL flag Christian Eggers
2020-10-02 15:23   ` Christian Eggers
2020-10-05  8:05   ` Krzysztof Kozlowski
2020-10-05  8:05     ` Krzysztof Kozlowski
2020-10-06  6:05   ` Uwe Kleine-König
2020-10-06  6:05     ` Uwe Kleine-König
2020-10-06 10:51     ` [PATCH v3 0/3] i2c: imx: Fix handling of arbitration loss Christian Eggers
2020-10-06 10:51       ` Christian Eggers
2020-10-06 10:51       ` [PATCH v3 1/3] i2c: imx: Fix reset of I2SR_IAL flag Christian Eggers
2020-10-06 10:51         ` Christian Eggers
2020-10-06 12:06         ` David Laight
2020-10-06 12:06           ` David Laight
2020-10-06 12:30           ` Christian Eggers
2020-10-06 12:30             ` Christian Eggers
2020-10-06 12:46           ` Uwe Kleine-König
2020-10-06 12:46             ` Uwe Kleine-König
2020-10-06 12:52             ` David Laight
2020-10-06 12:52               ` David Laight
2020-10-06 10:51       ` [PATCH v3 2/3] i2c: imx: Check for I2SR_IAL after every byte Christian Eggers
2020-10-06 10:51         ` Christian Eggers
2020-10-06 10:51       ` [PATCH v3 3/3] i2c: imx: Don't generate STOP condition if arbitration has been lost Christian Eggers
2020-10-06 10:51         ` Christian Eggers
2020-10-02 15:23 ` [PATCH v2 2/3] i2c: imx: Check for I2SR_IAL after every byte Christian Eggers
2020-10-02 15:23   ` Christian Eggers
2020-10-05  8:07   ` Krzysztof Kozlowski
2020-10-05  8:07     ` Krzysztof Kozlowski
2020-10-05  9:25     ` Christian Eggers
2020-10-05  9:25       ` Christian Eggers
2020-10-02 15:23 ` [PATCH v2 3/3] i2c: imx: Don't generate STOP condition if arbitration has been lost Christian Eggers
2020-10-02 15:23   ` Christian Eggers
2020-10-05  8:16   ` Krzysztof Kozlowski
2020-10-05  8:16     ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.