Browse Source

tests/qtest/ast2700-hace-test: Use ast2700-evb alias for AST2700 HACE tests

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>
Link: https://lore.kernel.org/qemu-devel/20260211021527.119674-7-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
master
Jamin Lin 2 months ago
committed by Cédric Le Goater
parent
commit
7c79c954aa
  1. 22
      tests/qtest/ast2700-hace-test.c

22
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)

Loading…
Cancel
Save