]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/misc/aspeed_hace: Support to dump plaintext and digest for better debugging
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 15 May 2025 08:09:48 +0000 (16:09 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 25 May 2025 21:39:11 +0000 (23:39 +0200)
commit22370d29e83753e4072457541ab59189edcd3947
treef7f4d453d07a49fc8c8da0356f697c901f1a74b2
parent555167a8fde2bf6c27d0df035324743ed5bfbb0d
hw/misc/aspeed_hace: Support to dump plaintext and digest for better debugging

1. Added "hace_hexdump()" to dump a contiguous buffer using qemu_hexdump.
2. Added "hace_iov_hexdump()" to flatten and dump scatter-gather source vectors.
3. Introduced a new trace event: "aspeed_hace_hexdump".

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250515081008.583578-17-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/misc/aspeed_hace.c
hw/misc/trace-events