[PATCH] hw/char/riscv_htif: Fix htif_mm_write that causes infinite loop in ACT.

2024-09-27 Thread MingZhu Yan
Applications sometimes only write the lower 32-bit payload bytes, this is used in ACT tests. As a workaround, this refers to the solution of sail-riscv. if the payload is written a few times with the same value, we process the whole htif command anyway. Signed-off-by: MingZhu Yan --- hw/char

[PATCH] hw/char/riscv_htif: Fix htif_mm_write that causes infinite loop in ACT.

2024-09-27 Thread MingZhu Yan
Applications sometimes only write the lower 32-bit payload bytes, this is used in ACT tests. As a workaround, this refers to the solution of sail-riscv. if the payload is written a few times with the same value, we process the whole htif command anyway. Signed-off-by: MingZhu Yan --- hw/char