Commit eb05db9
chore: Update fingerprint for CPUID.0x80000021:ECX on AMD / 5.10 kernel
KVM added support for CPUID leaf 0x80000021 [1] and synthesized
TSA_{SQ,L1}_NO bits on ECX [2]. However, the second patch has a bug
where TSA_{SQ,L1}_NO bits are 1st and 2nd bits [3] but exposed as 11th
and 12th bits. This bug happened because it used to be software-defined
word (not hardware-defined). Recently, the kernel added another bit
(X86_FWEATURE_IBPB_EXIT_TO_USER) for VMScape that is not a hardware-
defined bit but a software-defined bit.
We update the fingerprints for now to make the fingerprint test pass,
but will fix the bug. So we'll need to update again once the fix
arrives.
[1]: amazonlinux/linux@6457a8c
[2]: amazonlinux/linux@6fea1a4
[3]: https://www.amd.com/content/dam/amd/en/documents/resources/bulletin/technical-guidance-for-mitigating-transient-scheduler-attacks.pdf
[4]: amazonlinux/linux@ac60717
Signed-off-by: Takahiro Itazuri <[email protected]>1 parent d749db4 commit eb05db9
File tree
2 files changed
+12
-13
lines changed- tests/data/cpu_template_helper
2 files changed
+12
-13
lines changedLines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
1494 | 1494 | | |
1495 | 1495 | | |
1496 | 1496 | | |
1497 | | - | |
| 1497 | + | |
1498 | 1498 | | |
1499 | 1499 | | |
1500 | 1500 | | |
1501 | 1501 | | |
1502 | 1502 | | |
1503 | 1503 | | |
1504 | 1504 | | |
1505 | | - | |
1506 | 1505 | | |
1507 | 1506 | | |
1508 | 1507 | | |
| |||
1635 | 1634 | | |
1636 | 1635 | | |
1637 | 1636 | | |
1638 | | - | |
| 1637 | + | |
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
1402 | 1402 | | |
1403 | 1403 | | |
1404 | 1404 | | |
1405 | | - | |
| 1405 | + | |
1406 | 1406 | | |
1407 | 1407 | | |
1408 | 1408 | | |
| |||
1542 | 1542 | | |
1543 | 1543 | | |
1544 | 1544 | | |
1545 | | - | |
| 1545 | + | |
0 commit comments