[PATCH v3 0/7] K230: add gsdma and decomp_gzip
Tao Ding <[email protected]>
| Newsgroups | org.nongnu.qemu-devel,org.nongnu.qemu-riscv |
|---|---|
| Message-ID | <[email protected]> |
Hi all, This patch series adds GSDMA and Decomp_gzip to the K230 board. Enable k230 to use k230_unzip to decompress files during the u-boot phase. This series includes the following features: *patch1: add K230 gsdma which supports sdma, gdma is temporarily not supported *patch2: add gsdma to K230 board *patch3: add K230 gsdma qtest *patch4: add K230 decomp_gzip which decompress data work with sdma *patch5: add decomp_gzip to K230 board *patch6: add K230 decomp_gzip qtest *patch7: add a noc-stub region in K230 board Patch-v2 is posted in: https://lore.kernel.org/qemu-devel/[email protected]/ Changes in v3: *patch1: Removed temporarily unimplemented GDMA register read and write. Print with qemu_log_mask for access register errors. *patch4: Print with qemu_log_mask for handle error ack signal. Tao Ding (7): hw/dma: add K230 gsdma hw/riscv: k230: add gsdma in K230 board tests/qtest: add test for K230 gsdma hw/misc: add K230 decomp gzip hw/riscv: k230: add decomp gzip in K230 board tests/qtest: add test for K230 decomp gzip hw/riscv: k230: add a noc stub region in K230 board MAINTAINERS | 6 + docs/system/riscv/k230.rst | 2 + hw/dma/Kconfig | 3 + hw/dma/k230_gsdma.c | 551 ++++++++++++++++++++++++++++ hw/dma/meson.build | 1 + hw/dma/trace-events | 6 + hw/misc/Kconfig | 3 + hw/misc/k230_decomp_gzip.c | 511 ++++++++++++++++++++++++++ hw/misc/meson.build | 1 + hw/misc/trace-events | 4 + hw/riscv/Kconfig | 2 + hw/riscv/k230.c | 38 +- include/hw/dma/k230_gsdma.h | 130 +++++++ include/hw/misc/k230_decomp_gzip.h | 92 +++++ include/hw/riscv/k230.h | 5 + tests/qtest/k230-decomp-gzip-test.c | 200 ++++++++++ tests/qtest/k230-gsdma-test.c | 201 ++++++++++ tests/qtest/meson.build | 2 +- 18 files changed, 1750 insertions(+), 8 deletions(-) create mode 100644 hw/dma/k230_gsdma.c create mode 100644 hw/misc/k230_decomp_gzip.c create mode 100644 include/hw/dma/k230_gsdma.h create mode 100644 include/hw/misc/k230_decomp_gzip.h create mode 100644 tests/qtest/k230-decomp-gzip-test.c create mode 100644 tests/qtest/k230-gsdma-test.c base-commit: 300438ffbb8d9430cac2fcc15cba6f482b2c0587 -- 2.43.0