Skip to content

hw/i3c: Trace fixes and readability improvements from review feedback

Jamin Lin qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 5 repliesSuperseded

Changes in v2 from the cover letter

1. Fix review issue.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hw/i3c/dw-i3c: Use ROUND_UP() for RX buffer allocation alignmenthw/i3c/dw-i3c.c+1 -10 replies
2/4hw/i3c/mock-i3c-target: Set num_sent in TX callback to fix trace reportinghw/i3c/mock-i3c-target.c+2 -01 reply
3/4hw/i3c/core: Initialize num_sent in i3c_send_byte()hw/i3c/core.c+1 -10 replies
4/4hw/i3c/mock-i3c-target: Simplify GETMRL byte extraction logichw/i3c/mock-i3c-target.c+6 -30 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJithu Joseph
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] hw/i3c: Trace fixes and readability improvements from review feedback

This small series applies a few follow-up cleanups and bug fixes to the I3C subsystem based on recent review feedback.

The series is based on the aspeed-next branch from:
https://github.com/legoater/qemu.git

v1:
1. Improve trace correctness/determinism by ensuring num_sent is always initialized and reported properly.
2. Replace a couple of less readable expressions with clearer helpers/logic, without changing behavior.

v2:
1. Fix review issue.

Jamin Lin (4):
hw/i3c/dw-i3c: Use ROUND_UP() for RX buffer allocation alignment hw/i3c/mock-i3c-target: Set num_sent in TX callback to fix trace
reporting
hw/i3c/core: Initialize num_sent in i3c_send_byte() hw/i3c/mock-i3c-target: Simplify GETMRL byte extraction logic

 hw/i3c/core.c            |  2 +-
 hw/i3c/dw-i3c.c          |  2 +-
 hw/i3c/mock-i3c-target.c | 11 ++++++++---
 3 files changed, 10 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0