回覆: [PATCH v2 7/9] i3c: mipi-i3c-hci: Program AST2700 IBI termination threshold

From: Billy Tsai

Date: Tue Nov 17 2026 - 22:32:33 EST


> what's happen if device A have payload 4 bytes and device B have payload
> 8 bytes, you set payload thld to 8. if device A raise IBI, what's happen
> if device have not sent out earily termniate?

Device A is still protected, just at a coarser granularity.

ASPEED_I3C_MST_MRL's termination length is one controller-wide
register, not a per-device limit, and aspeed_i3c_ibi_grow_threshold()
only ever grows it, never shrinks it back down. Once device B
registers for up to 8 bytes, every device sharing the bus is capped at
8.

A well-behaved device A terminating its own 4-byte payload never
reaches that threshold. A misbehaving one is still forced to stop,
just at 8 bytes instead of its own 4: the threshold backstops an
unbounded payload IBI, it doesn't enforce each device's own length.

Thanks

Billy Tsai