Skip to content

Commit c127040

Browse files
committed
CI: enhance allowed CPU features on ARM guests
Signed-off-by: Luminita Voicu <[email protected]>
1 parent 0a6759a commit c127040

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

tests/integration_tests/functional/test_cpu_features.py

+11-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,17 @@ def _check_cpuid_x86(test_microvm, expected_cpu_count, expected_htt):
2626

2727

2828
def _check_cpu_features_arm(test_microvm):
29-
expected_cpu_features = {
30-
"Flags": "fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp "
31-
"asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs",
32-
}
29+
if utils.get_instance_type() == "m6g.metal":
30+
expected_cpu_features = {
31+
"Flags": "fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp "
32+
"asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs",
33+
}
34+
else:
35+
expected_cpu_features = {
36+
"Flags": "fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp "
37+
"asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp "
38+
"sha512 asimdfhm dit uscat ilrcpc flagm ssbs",
39+
}
3340

3441
utils.check_guest_cpuid_output(
3542
test_microvm, "lscpu", None, ":", expected_cpu_features

0 commit comments

Comments
 (0)