i2c: aspeed: Late ack Tx done irqs and handle coalesced start with stop conditions
Status from this message: Applied to for-current, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 9 repliesApplied
- v32 patches 9 repliesSuperseded
Changes in v4 from the cover letter
+ Switch to use define macro instead of variable [Andrew]
+ Make the early ack conditionally to avoid unnecessary
writel()/readl() [Quan]
+ Add an extra empty line before the comment in patch 1 [Andrew]
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | i2c: aspeed: Handle the coalesced stop conditions with the start conditions.drivers/ | +32 | 2 replies | |
| 2/2 | i2c: aspeed: Acknowledge Tx done with and without ACK irq latedrivers/ | +20 | 5 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andrew Jeffery | Andi Shyti | Joel Stanley |
|---|---|---|---|
| Series | T-b | R-b | |
| 1/2 | R-b | R-b | |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 0/2] i2c: aspeed: Late ack Tx done irqs and handle coalesced start with stop conditions
This series consists of two patches to handle the below issues observed when testing with slave mode:
+ The coalesced stop condition with the start conditions
+ Early ack'ed of Tx done (ACK and NAK) causing "Unexpected Ack on read request".
This series was verified with ast2500 and ast2600.
The prior discussion could be found at:
https://lore.kernel.org/all/20231208033142.1673232-1-quan at os.amperecomputing.com/
v4:
+ Switch to use define macro instead of variable [Andrew]
+ Make the early ack conditionally to avoid unnecessary
writel()/readl() [Quan]
+ Add an extra empty line before the comment in patch 1 [Andrew]
v3:
+ Fix the unconditional write when ack the irqs [Andrew]
+ Handle the coalesced stop condition with the
start conditions [Andrew]
+ Refactor the code to enhance code readability [Quan]
+ Revised commit message [Quan]
v2:
+ Split these patches to separate series [Joel] + Added the Fixes lines [Joel] + Fixed multiline comment [Joel]
+ Refactor irq clearing code [Joel, Guenter]
+ Revised commit message [Joel, Quan]
v1:
+ These patches are first introduced from this disscusstion
https://lore.kernel.org/all/20210519074934.20712-1-quan at os.amperecomputing.com/
Quan Nguyen (2):
i2c: aspeed: Handle the coalesced stop conditions with the start
conditions.
i2c: aspeed: Acknowledge Tx done with and without ACK irq late
drivers/i2c/busses/i2c-aspeed.c | 75 +++++++++++++++++++++++---------- 1 file changed, 52 insertions(+), 23 deletions(-)
Signature · 1 line
2.35.1