Jamin,

On 2/25/25 08:56, Jamin Lin wrote:
This patch series is from 
https://patchwork.kernel.org/project/qemu-devel/cover/[email protected]/.
To expedite the review process, I have separated the HACE patches portion from
the 
https://patchwork.kernel.org/project/qemu-devel/cover/[email protected]/
 patch series into this new patch series.

v4: Support HACE to AST2700

Jamin Lin (4):
   hw/misc/aspeed_hace: Fix coding style
   hw/misc/aspeed_hace: Add AST2700 support
   hw/arm/aspeed_ast27x0: Add HACE support for AST2700
   hw/misc/aspeed_hace: Fix boot issue in the Crypto Manager Self Test

  include/hw/misc/aspeed_hace.h |  2 ++
  hw/arm/aspeed_ast27x0.c       | 15 ++++++++++
  hw/misc/aspeed_hace.c         | 55 ++++++++++++++++++++++++++++++++---
  3 files changed, 68 insertions(+), 4 deletions(-)


The kernel reports a lot of errors when running the crypto tests on a
AST2700 A1 Soc. See the functional test logs :
$ grep alg: build/tests/functional/aarch64/test_aarch64_aspeed.AST2x00MachineSDK.test_aarch64_ast2700a1_evb_sdk_v09_05/console.log

    2025-03-12 10:10:42,705: [    2.206831] alg: skcipher: aspeed-ctr-tdes encryption 
test failed (wrong result) on test vector 0, cfg="in-place (one sglist)"
    2025-03-12 10:10:42,706: [    2.207328] alg: self-tests for ctr(des3_ede) 
using aspeed-ctr-tdes failed (rc=-22)
    2025-03-12 10:10:42,707: [    2.207894] alg: self-tests for ctr(des3_ede) 
using aspeed-ctr-tdes failed (rc=-22)
    2025-03-12 10:10:42,725: [    2.219342] alg: skcipher: aspeed-ctr-des encryption test 
failed (wrong result) on test vector 0, cfg="in-place (one sglist)"
    2025-03-12 10:10:42,725: [    2.219511] alg: self-tests for ctr(des) using 
aspeed-ctr-des failed (rc=-22)
    2025-03-12 10:10:42,725: [    2.219651] alg: self-tests for ctr(des) using 
aspeed-ctr-des failed (rc=-22)
    2025-03-12 10:10:42,733: [    2.224344] alg: skcipher: aspeed-ctr-aes encryption test 
failed (wrong result) on test vector 0, cfg="in-place (one sglist)"
    2025-03-12 10:10:42,734: [    2.224775] alg: self-tests for ctr(aes) using 
aspeed-ctr-aes failed (rc=-22)
    2025-03-12 10:10:42,734: [    2.225015] alg: self-tests for ctr(aes) using 
aspeed-ctr-aes failed (rc=-22)
    ...

What is something missing in the models ?

Thanks,

C.



Reply via email to