On 2/6/26 06:33, Jamin Lin wrote:
> Update AST2700 HACE qtests to use the "ast2700-evb" machine alias
> instead of a specific silicon revision.
>
> The AST2700 A1 and A2 revisions are compatible for the HACE model, so
> the tests do not depend on a particular EVB revision. Using the
> "ast2700-evb" alias ensures the tests always run the latest
> supported AST2700 silicon revision.
>
> Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Thanks,
C.
> ---
> tests/qtest/ast2700-hace-test.c | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/tests/qtest/ast2700-hace-test.c b/tests/qtest/ast2700-hace-test.c
> index a400e2962b..508a34dd6c 100644
> --- a/tests/qtest/ast2700-hace-test.c
> +++ b/tests/qtest/ast2700-hace-test.c
> @@ -23,57 +23,57 @@ static const struct AspeedMasks as2700_masks = {
> /* ast2700 */
> static void test_md5_ast2700(void)
> {
> - aspeed_test_md5("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_md5("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_sha256_ast2700(void)
> {
> - aspeed_test_sha256("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_sha256("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_sha256_sg_ast2700(void)
> {
> - aspeed_test_sha256_sg("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_sha256_sg("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_sha384_ast2700(void)
> {
> - aspeed_test_sha384("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_sha384("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_sha384_sg_ast2700(void)
> {
> - aspeed_test_sha384_sg("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_sha384_sg("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_sha512_ast2700(void)
> {
> - aspeed_test_sha512("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_sha512("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_sha512_sg_ast2700(void)
> {
> - aspeed_test_sha512_sg("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_sha512_sg("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_sha256_accum_ast2700(void)
> {
> - aspeed_test_sha256_accum("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_sha256_accum("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_sha384_accum_ast2700(void)
> {
> - aspeed_test_sha384_accum("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_sha384_accum("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_sha512_accum_ast2700(void)
> {
> - aspeed_test_sha512_accum("-machine ast2700a1-evb", 0x12070000, 0x400000000);
> + aspeed_test_sha512_accum("-machine ast2700-evb", 0x12070000, 0x400000000);
> }
>
> static void test_addresses_ast2700(void)
> {
> - aspeed_test_addresses("-machine ast2700a1-evb", 0x12070000, &as2700_masks);
> + aspeed_test_addresses("-machine ast2700-evb", 0x12070000, &as2700_masks);
> }
>
> int main(int argc, char **argv)