Skip to content

Commit b0c191e

Browse files
committed
fix(test): Fix DS bit position
The Debug Store (DS) bit is enumerated on CPUID.01H:EDX[21]. CPUID.01H:EDX[20] is a reserved bit. Signed-off-by: Takahiro Itazuri <[email protected]>
1 parent b70e15a commit b0c191e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration_tests/functional/test_cpu_features_x86_64.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def check_masked_features(test_microvm, cpu_template):
701701
),
702702
(0x1, 0x0, "edx",
703703
(1 << 18) | # PSN
704-
(1 << 20) | # DS
704+
(1 << 21) | # DS
705705
(1 << 22) | # ACPI
706706
(1 << 27) | # SS
707707
(1 << 29) | # TM
@@ -787,7 +787,7 @@ def check_masked_features(test_microvm, cpu_template):
787787
),
788788
(0x1, 0x0, "edx",
789789
(1 << 18) | # PSN
790-
(1 << 20) | # DS
790+
(1 << 21) | # DS
791791
(1 << 22) | # ACPI
792792
(1 << 27) | # SS
793793
(1 << 29) | # TM

0 commit comments

Comments
 (0)