Skip to contentSkip to conversation

target/i386/cpu: Fix notes for CPU models

PATCH Applied Han Han 4 participants 5 messages Dec 19, 2024 – Dec 23, 2024

lore
Share & tools
lore

Han Han

author
#0 lore raw

PATCH 1/1 target/i386/cpu: Fix notes for CPU models

---
 target/i386/cpu.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
target/i386/cpu.c +2 -1
index 5253399459..820571761d 100644
@@ -3691,6 +3691,7 @@ static const X86CPUDefinition builtin_x86_defs[] = {
             },
             {
                 .version = 4,
+                .note = "IBRS, EPT switching, no TSX",
                 .props = (PropValue[]) {
                     { "vmx-eptp-switching", "on" },
                     { /* end of list */ }
@@ -3825,7 +3826,7 @@ static const X86CPUDefinition builtin_x86_defs[] = {
               },
             },
             { .version = 4,
-              .note = "ARCH_CAPABILITIES, no TSX",
+              .note = "ARCH_CAPABILITIES, EPT switching, no TSX",
               .props = (PropValue[]) {
                   { "vmx-eptp-switching", "on" },
                   { /* end of list */ }
Signature · 1 line
2.47.1
#1 lore raw

On 19/12/24 09:51, Han Han wrote:

Fixes 644e3c5d812 ("missing vmx features for Skylake-Server and Cascadelake-Server")
Quoted 26 lines
---
  target/i386/cpu.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
target/i386/cpu.c +2 -1
index 5253399459..820571761d 100644
@@ -3691,6 +3691,7 @@ static const X86CPUDefinition builtin_x86_defs[] = {
              },
              {
                  .version = 4,
+                .note = "IBRS, EPT switching, no TSX",
                  .props = (PropValue[]) {
                      { "vmx-eptp-switching", "on" },
                      { /* end of list */ }
@@ -3825,7 +3826,7 @@ static const X86CPUDefinition builtin_x86_defs[] = {
                },
              },
              { .version = 4,
-              .note = "ARCH_CAPABILITIES, no TSX",
+              .note = "ARCH_CAPABILITIES, EPT switching, no TSX",
                .props = (PropValue[]) {
                    { "vmx-eptp-switching", "on" },
                    { /* end of list */ }
Reviewed-by
#2 lore raw
Quoted 25 lines · Philippe Mathieu-Daudé

On 19/12/24 09:51, Han Han wrote:

Fixes 644e3c5d812 ("missing vmx features for Skylake-Server and

Cascadelake-Server")

Quoted 20 lines

---
  target/i386/cpu.c | 3 ++-

  1 file changed, 2 insertions(+), 1 deletion(-)
target/i386/cpu.c +1 -0
index 5253399459..820571761d 100644
@@ -3691,6 +3691,7 @@ static const X86CPUDefinition builtin_x86_defs[]
 = {
               },
               {
                   .version = 4,
+                .note = "IBRS, EPT switching, no TSX",
                   .props = (PropValue[]) {
                       { "vmx-eptp-switching", "on" },

                      { /* end of list */ }

target/i386/cpu.c +0 -0
@@ -3825,7 +3826,7 @@ static const X86CPUDefinition builtin_x86_defs[]
 = {
Quoted 9 lines
Quoted 8 lines
target/i386/cpu.c +1 -1
                 },
               },
               { .version = 4,
-              .note = "ARCH_CAPABILITIES, no TSX",
+              .note = "ARCH_CAPABILITIES, EPT switching, no TSX",
                 .props = (PropValue[]) {
                     { "vmx-eptp-switching", "on" },

                    { /* end of list */ }

Looks good to me.

author
#4 lore raw
Quoted 12 lines · Michael Tokarev

19.12.2024 11:51, Han Han wrote:
...

Applied to the trivial-patches tree, thank you!

Please do Cc: qemu-devel@ the next time.

OK. Thanks for your advice

/mjt