]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/misc/aspeed_hace: Fix boot issue in the Crypto Manager Self Test
authorJamin Lin <jamin_lin@aspeedtech.com>
Tue, 25 Feb 2025 07:56:21 +0000 (15:56 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 9 Mar 2025 13:36:53 +0000 (14:36 +0100)
commit8e002a693198865632f6bed072c5473a6bb9cf45
tree33d16f79aaa9fcc5781d4b9ef6fc5dcef4a78375
parent7b5d6b47a6c99e3e3c843000c821e6549c8feb01
hw/misc/aspeed_hace: Fix boot issue in the Crypto Manager Self Test

Currently, it does not support the CRYPT command. Instead, it only sends an
interrupt to notify the firmware that the crypt command has completed.
It is a temporary workaround to resolve the boot issue in the Crypto Manager
Self Test.

Introduce a new "use_crypt_workaround" class attribute and set it to true in
the AST2700 HACE model to enable this workaround by default for AST2700.

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/20250225075622.305515-5-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/misc/aspeed_hace.c
include/hw/misc/aspeed_hace.h