On Sun, 2026-10-18 at 22:10 +0800, Tao Ding wrote:
> Hi, all
>
> This series fixes integer overflow, truncation, and underflow issues
> reported by Coverity in the K230 GZIP decompressor, its qtest, and
> GSDMA.
> https://lore.kernel.org/qemu-devel/5fc57f49cea0ac3542128d0e2208edd6d7484f7e.camel@wdc.com/
>
> Thanks.
>
> The patchv1 series is posted in:
> https://lore.kernel.org/qemu-devel/20261002140245.30214-1-dingtao0430@163.com/
>
> Changes in v2->v3:
> - Separate global and channel register handling to prevent unsigned
> address underflow
> when calculating GSDMA channel offsets.
>
> Tao Ding (5):
> hw/misc: fix calculating output address overflow in
> k230_decomp_gzip
> hw/misc: fix calculating input address overflow in k230_decomp_gzip
> hw/misc: use hwaddr for the k230_decomp_gzip input address
> qtest: fix k230_decomp_gzip test integer handling issues
> hw/dma: fix k230_gsdma integer handling issues
Thanks!
Applied to riscv-to-apply.next
Alistair
>
> hw/dma/k230_gsdma.c | 84 ++++++++++++++-------------
> --
> hw/misc/k230_decomp_gzip.c | 6 +--
> tests/qtest/k230-decomp-gzip-test.c | 2 +-
> 3 files changed, 46 insertions(+), 46 deletions(-)
>
>
> base-commit: 0a1ebd448b38afaa118597cbb633dbec24ef74d3