diff options
| author | Jamin Lin <jamin_lin@aspeedtech.com> | 2025-02-25 15:56:21 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-03-09 14:36:53 +0100 |
| commit | 8e002a693198865632f6bed072c5473a6bb9cf45 (patch) | |
| tree | 33d16f79aaa9fcc5781d4b9ef6fc5dcef4a78375 /include/hw/misc/aspeed_hace.h | |
| parent | 7b5d6b47a6c99e3e3c843000c821e6549c8feb01 (diff) | |
| download | focaccia-qemu-8e002a693198865632f6bed072c5473a6bb9cf45.tar.gz focaccia-qemu-8e002a693198865632f6bed072c5473a6bb9cf45.zip | |
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>
Diffstat (limited to 'include/hw/misc/aspeed_hace.h')
| -rw-r--r-- | include/hw/misc/aspeed_hace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/misc/aspeed_hace.h b/include/hw/misc/aspeed_hace.h index d13fd3da07..5d4aa19cfe 100644 --- a/include/hw/misc/aspeed_hace.h +++ b/include/hw/misc/aspeed_hace.h @@ -50,6 +50,7 @@ struct AspeedHACEClass { uint32_t dest_mask; uint32_t key_mask; uint32_t hash_mask; + bool raise_crypt_interrupt_workaround; }; #endif /* ASPEED_HACE_H */ |