qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 4/4] target/i386: Add notes for versioned CPU models


From: Tao Xu
Subject: Re: [PATCH v3 4/4] target/i386: Add notes for versioned CPU models
Date: Thu, 13 Feb 2020 14:55:04 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 2/12/2020 5:00 PM, Igor Mammedov wrote:
On Wed, 12 Feb 2020 16:13:28 +0800
Tao Xu <address@hidden> wrote:

Add which features are added or removed in this version. Remove the
changed model-id in versioned CPU models, to keep the model name
unchanged at /proc/cpuinfo inside the VM.

Signed-off-by: Tao Xu <address@hidden>
---

Changes in v2:
     - correct the note of Cascadelake v3 (Xiaoyao)
---
  target/i386/cpu.c | 54 ++++++++++++++++++++++-------------------------
  1 file changed, 25 insertions(+), 29 deletions(-)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 81a039beb6..739ef4ce91 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
[...]
@@ -3142,6 +3130,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
          .versions = (X86CPUVersionDefinition[]) {
              { .version = 1 },
              { .version = 2,
+              .note = "ARCH_CAPABILITIES",

what's ARCH_CAPABILITIES?


These are some features exposed by MSR_IA32_ARCH_CAPABILITIES. For Cascadelake, these are "rdctl-no" "ibrs-all" "skip-l1dfl-vmentry" "mds-no"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]