Skip to content

Commit 288efd3

Browse files
committed
chore: Regather fingerprints
MSR_PLATFORM_INFO (MSR index: 0xCE) was mistakenly excluded from guest CPU config dump. While refactoring `UNDUMPABLE_MSR_RANGES`, we made it dumped. On the gathered fingerprints, only MSR_PLATFORM_INFO[31] is set and it enumerates CPUID faulting support. For the support in kernel, see the following link: torvalds/linux@90218ac77d05 Signed-off-by: Takahiro Itazuri <[email protected]>
1 parent 7cc160d commit 288efd3

12 files changed

+58
-10
lines changed

tests/data/cpu_template_helper/fingerprint_AMD_MILAN_4.14host.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"firecracker_version": "1.8.0-dev",
3-
"kernel_version": "4.14.336-256.559.amzn2.x86_64",
3+
"kernel_version": "4.14.336-257.562.amzn2.x86_64",
44
"microcode_version": "0xa0011d1",
55
"bios_version": "1.0",
66
"bios_revision": "0.69",
@@ -1248,6 +1248,10 @@
12481248
"addr": "0x9e",
12491249
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
12501250
},
1251+
{
1252+
"addr": "0xce",
1253+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
1254+
},
12511255
{
12521256
"addr": "0x140",
12531257
"bitmap": "0b0000000000000000000000000000000000000000000000000000000000000000"

tests/data/cpu_template_helper/fingerprint_AMD_MILAN_5.10host.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"firecracker_version": "1.8.0-dev",
3-
"kernel_version": "5.10.209-198.858.amzn2.x86_64",
3+
"kernel_version": "5.10.210-201.852.amzn2.x86_64",
44
"microcode_version": "0xa0011d1",
55
"bios_version": "1.0",
66
"bios_revision": "0.69",
@@ -1394,6 +1394,10 @@
13941394
"addr": "0x9e",
13951395
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
13961396
},
1397+
{
1398+
"addr": "0xce",
1399+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
1400+
},
13971401
{
13981402
"addr": "0x140",
13991403
"bitmap": "0b0000000000000000000000000000000000000000000000000000000000000000"

tests/data/cpu_template_helper/fingerprint_AMD_MILAN_6.1host.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,10 @@
14401440
"addr": "0x9e",
14411441
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
14421442
},
1443+
{
1444+
"addr": "0xce",
1445+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
1446+
},
14431447
{
14441448
"addr": "0x140",
14451449
"bitmap": "0b0000000000000000000000000000000000000000000000000000000000000000"

tests/data/cpu_template_helper/fingerprint_INTEL_CASCADELAKE_4.14host.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"firecracker_version": "1.8.0-dev",
3-
"kernel_version": "4.14.336-256.559.amzn2.x86_64",
3+
"kernel_version": "4.14.336-257.562.amzn2.x86_64",
44
"microcode_version": "0x5003604",
55
"bios_version": "1.0",
66
"bios_revision": "3.80",
@@ -930,6 +930,10 @@
930930
"addr": "0x9e",
931931
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
932932
},
933+
{
934+
"addr": "0xce",
935+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
936+
},
933937
{
934938
"addr": "0x10a",
935939
"bitmap": "0b0000000000000000000000000000000000000110000010101010110001101011"

tests/data/cpu_template_helper/fingerprint_INTEL_CASCADELAKE_5.10host.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"firecracker_version": "1.8.0-dev",
3-
"kernel_version": "5.10.209-198.858.amzn2.x86_64",
3+
"kernel_version": "5.10.210-201.852.amzn2.x86_64",
44
"microcode_version": "0x5003604",
55
"bios_version": "1.0",
66
"bios_revision": "3.80",
@@ -1122,6 +1122,10 @@
11221122
"addr": "0x9e",
11231123
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
11241124
},
1125+
{
1126+
"addr": "0xce",
1127+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
1128+
},
11251129
{
11261130
"addr": "0x10a",
11271131
"bitmap": "0b0000000000000000000000000000000000000100000010101010000011101011"

tests/data/cpu_template_helper/fingerprint_INTEL_CASCADELAKE_6.1host.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,10 @@
11221122
"addr": "0x9e",
11231123
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
11241124
},
1125+
{
1126+
"addr": "0xce",
1127+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
1128+
},
11251129
{
11261130
"addr": "0x10a",
11271131
"bitmap": "0b0000000000000000000000000000000000000100000010101010000011101011"

tests/data/cpu_template_helper/fingerprint_INTEL_ICELAKE_4.14host.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"firecracker_version": "1.8.0-dev",
3-
"kernel_version": "4.14.336-256.559.amzn2.x86_64",
3+
"kernel_version": "4.14.336-257.562.amzn2.x86_64",
44
"microcode_version": "0xd0003b9",
55
"bios_version": "1.0",
6-
"bios_revision": "1.33",
6+
"bios_revision": "1.36",
77
"guest_cpu_config": {
88
"kvm_capabilities": [],
99
"cpuid_modifiers": [
@@ -884,6 +884,10 @@
884884
"addr": "0x9e",
885885
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
886886
},
887+
{
888+
"addr": "0xce",
889+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
890+
},
887891
{
888892
"addr": "0x10a",
889893
"bitmap": "0b0000000000000000000000000000000000000110000000101011110001101011"

tests/data/cpu_template_helper/fingerprint_INTEL_ICELAKE_5.10host.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"firecracker_version": "1.8.0-dev",
3-
"kernel_version": "5.10.209-198.858.amzn2.x86_64",
3+
"kernel_version": "5.10.210-201.852.amzn2.x86_64",
44
"microcode_version": "0xd0003b9",
55
"bios_version": "1.0",
6-
"bios_revision": "1.33",
6+
"bios_revision": "1.36",
77
"guest_cpu_config": {
88
"kvm_capabilities": [],
99
"cpuid_modifiers": [
@@ -1214,6 +1214,10 @@
12141214
"addr": "0x9e",
12151215
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
12161216
},
1217+
{
1218+
"addr": "0xce",
1219+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
1220+
},
12171221
{
12181222
"addr": "0x10a",
12191223
"bitmap": "0b0000000000000000000000000000000000000100000000101010000011101011"

tests/data/cpu_template_helper/fingerprint_INTEL_ICELAKE_6.1host.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,10 @@
12141214
"addr": "0x9e",
12151215
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
12161216
},
1217+
{
1218+
"addr": "0xce",
1219+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
1220+
},
12171221
{
12181222
"addr": "0x10a",
12191223
"bitmap": "0b0000000000000000000000000000000000000100000000101010000011101011"

tests/data/cpu_template_helper/fingerprint_INTEL_SKYLAKE_4.14host.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"firecracker_version": "1.8.0-dev",
3-
"kernel_version": "4.14.336-256.559.amzn2.x86_64",
3+
"kernel_version": "4.14.336-257.562.amzn2.x86_64",
44
"microcode_version": "0x2007006",
55
"bios_version": "1.0",
66
"bios_revision": "3.80",
@@ -930,6 +930,10 @@
930930
"addr": "0x9e",
931931
"bitmap": "0b0000000000000000000000000000000000000000000000110000000000000000"
932932
},
933+
{
934+
"addr": "0xce",
935+
"bitmap": "0b0000000000000000000000000000000010000000000000000000000000000000"
936+
},
933937
{
934938
"addr": "0x10a",
935939
"bitmap": "0b0000000000000000000000000000000000000110000000000000110001001100"

0 commit comments

Comments
 (0)