]> git.ipfire.org Git - thirdparty/qemu.git/commit
test/qtest/hace: Add tests for AST2700
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 15 May 2025 08:10:00 +0000 (16:10 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 25 May 2025 21:39:11 +0000 (23:39 +0200)
commit5071c229106dc6fc46fd1b7667ffa12e0bc47b1d
tree0779f8cb01a087dcd0e6a4920edf2a3092aed5ed
parent823288fc136f8d4b165d2eb573306893e43bcdff
test/qtest/hace: Add tests for AST2700

The HACE models in AST2600 and AST2700 are nearly identical. Based on the
AST2600 test cases, new tests have been added for AST2700.

Implemented test functions for SHA-256, SHA-384, SHA-512, and MD5.
Added scatter-gather and accumulation test variants.
For AST2700, the HACE controller base address starts at "0x12070000", and
the DRAM start address is "0x4_00000000".

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Acked-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/qemu-devel/20250515081008.583578-29-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
tests/qtest/ast2700-hace-test.c [new file with mode: 0644]
tests/qtest/meson.build