]> git.ipfire.org Git - thirdparty/qemu.git/commit
test/qtest/hace: Support to test upper 32 bits of digest and source addresses
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 15 May 2025 08:09:58 +0000 (16:09 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 25 May 2025 21:39:11 +0000 (23:39 +0200)
commit88d8515fb76ca7b3de8a4cc89264e8494655567e
tree4dd8f948897ae4e622bded3a5dbd26cb96ac27c3
parent5ced818e42ddb9516137e68556eb03c16a486758
test/qtest/hace: Support to test upper 32 bits of digest and source addresses

Added "src_hi" and "dest_hi" fields to "AspeedMasks" for 64-bit addresses test.
Updated "aspeed_test_addresses" to validate "HACE_HASH_SRC_HI" and
"HACE_HASH_DIGEST_HI".
Ensured correct masking of 64-bit addresses by checking both lower and upper
32-bit registers.

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-27-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
tests/qtest/aspeed-hace-utils.c
tests/qtest/aspeed-hace-utils.h