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

Jamin Lin posted 4 patches 3 hours ago
Failed in applying to current master (apply log)
hw/i3c/core.c            |  2 +-
hw/i3c/dw-i3c.c          |  2 +-
hw/i3c/mock-i3c-target.c | 10 +++++++---
3 files changed, 9 insertions(+), 5 deletions(-)
[PATCH v1 0/4] hw/i3c: Trace fixes and readability improvements from review feedback
Posted by Jamin Lin 3 hours ago
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.

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 | 10 +++++++---
 3 files changed, 9 insertions(+), 5 deletions(-)

-- 
2.43.0