The following changes since commit 3c5a5e213e5f08fbfe70728237f7799ac70f5b99:
Merge tag 'audio-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2025-05-25 09:51:07 -0400)
are available in the Git repository at:
https://github.com/legoater/qemu/ tags/pull-aspeed-20250526
for you to fetch changes up to 8eaea4012c215a610b2bd6dcc7812e805e14dd0c:
docs: Remove ast2700fc from Aspeed family boards (2025-05-25 23:39:11 +0200)
----------------------------------------------------------------
aspeed queue:
* Fixed memory leaks in qtest tests
* Reworked and fixed HACE (crypto) model for AST2700 SoC
* Extended HACE qtest tests
* Fixed RAM size detection on BE hosts
* Added network backends to ast2700fc machine
* Mapped main SoC memory into system memory on multi SoC machines
----------------------------------------------------------------
Fabiano Rosas (1):
tests/qtest/ast2700-smc-test: Fix leak
Jamin Lin (32):
tests/qtest/aspeed_smc-test: Fix memory leaks
hw/misc/aspeed_hace: Remove unused code for better readability
hw/misc/aspeed_hace: Improve readability and consistency in variable naming
hw/misc/aspeed_hace: Ensure HASH_IRQ is always set to prevent firmware hang
hw/misc/aspeed_hace: Extract direct mode hash buffer setup into helper function
hw/misc/aspeed_hace: Extract SG-mode hash buffer setup into helper function
hw/misc/aspeed_hace: Extract digest write and iov unmap into helper function
hw/misc/aspeed_hace: Extract non-accumulation hash execution into helper function
hw/misc/aspeed_hace: Extract accumulation-mode hash execution into helper function
hw/misc/aspeed_hace: Introduce 64-bit hash source address helper function
hw/misc/aspeed_hace: Rename R_HASH_DEST to R_HASH_DIGEST and introduce 64-bit hash digest address helper
hw/misc/aspeed_hace: Support accumulative mode for direct access mode
hw/misc/aspeed_hace: Move register size to instance class and dynamically allocate regs
hw/misc/aspeed_hace: Add support for source, digest, key buffer 64 bit addresses
hw/misc/aspeed_hace: Support DMA 64 bits dram address
hw/misc/aspeed_hace: Add trace-events for better debugging
hw/misc/aspeed_hace: Support to dump plaintext and digest for better debugging
tests/qtest: Reorder aspeed test list
test/qtest: Introduce a new aspeed-hace-utils.c to place common testcases
test/qtest/hace: Specify explicit array sizes for test vectors and hash results
test/qtest/hace: Adjust test address range for AST1030 due to SRAM limitations
test/qtest/hace: Add SHA-384 test cases for ASPEED HACE model
test/qtest/hace: Add SHA-384 tests for AST2600
test/qtest/hace: Add tests for AST1030
test/qtest/hace: Update source data and digest data type to 64-bit
test/qtest/hace: Support 64-bit source and digest addresses for AST2700
test/qtest/hace: Support to test upper 32 bits of digest and source addresses
test/qtest/hace: Support to validate 64-bit hmac key buffer addresses
test/qtest/hace: Add tests for AST2700
hw/intc/aspeed: Set impl.min_access_size to 4
hw/intc/aspeed Fix coding style
hw/arm/aspeed_ast27x0: Fix RAM size detection failure on BE hosts
Steven Lee (6):
hw/arm/aspeed_ast2700-fc: Add network support
hw/arm/aspeed_ast2700-fc: Reduce ca35 ram size to align with ast2700a1
hw/arm/aspeed_ast27x0: Fix unimplemented region overlap with vbootrom
hw/arm/aspeed_ast27x0-fc: Map ca35 memory into system memory
hw/arm/fby35: Map BMC memory into system memory
docs: Remove ast2700fc from Aspeed family boards
docs/system/arm/aspeed.rst | 2 +-
include/hw/misc/aspeed_hace.h | 11 +-
tests/qtest/aspeed-hace-utils.h | 84 ++++++
hw/arm/aspeed_ast27x0-fc.c | 10 +-
hw/arm/aspeed_ast27x0.c | 14 +-
hw/arm/fby35.c | 1 +
hw/intc/aspeed_intc.c | 12 +-
hw/misc/aspeed_hace.c | 479 +++++++++++++++++++----------
tests/qtest/aspeed-hace-utils.c | 646 ++++++++++++++++++++++++++++++++++++++++
tests/qtest/aspeed_hace-test.c | 577 +++++++----------------------------
tests/qtest/aspeed_smc-test.c | 5 +
tests/qtest/ast2700-hace-test.c | 98 ++++++
tests/qtest/ast2700-smc-test.c | 1 +
hw/misc/trace-events | 8 +
tests/qtest/meson.build | 13 +-
15 files changed, 1314 insertions(+), 647 deletions(-)
create mode 100644 tests/qtest/aspeed-hace-utils.h
create mode 100644 tests/qtest/aspeed-hace-utils.c
create mode 100644 tests/qtest/ast2700-hace-test.c