qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] target/i386: Add Denverton-v2 (no MPX) CPU model
@ 2019-12-02  6:28 Tao Xu
  2019-11-15  8:33 ` [PATCH] target/i386: Remove monitor from some " Tao Xu
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Tao Xu @ 2019-12-02  6:28 UTC (permalink / raw)
  To: pbonzini, rth, ehabkost; +Cc: tao3.xu, qemu-devel

Because MPX is being removed from the linux kernel, remove MPX feature
from Denverton.

Signed-off-by: Tao Xu <tao3.xu@intel.com>
---
 target/i386/cpu.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 69f518a21a..06a3077f95 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3482,6 +3482,18 @@ static X86CPUDefinition builtin_x86_defs[] = {
         .features[FEAT_VMX_VMFUNC] = MSR_VMX_VMFUNC_EPT_SWITCHING,
         .xlevel = 0x80000008,
         .model_id = "Intel Atom Processor (Denverton)",
+        .versions = (X86CPUVersionDefinition[]) {
+            { .version = 1 },
+            {
+                .version = 2,
+                .props = (PropValue[]) {
+                    { "monitor", "off" },
+                    { "mpx", "off" },
+                    { /* end of list */ },
+                },
+            },
+            { /* end of list */ },
+        },
     },
     {
         .name = "Snowridge",
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-12-02  6:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02  6:28 [PATCH 1/4] target/i386: Add Denverton-v2 (no MPX) CPU model Tao Xu
2019-11-15  8:33 ` [PATCH] target/i386: Remove monitor from some " Tao Xu
2019-11-18 22:10   ` Eduardo Habkost
2019-11-19  3:11     ` Tao Xu
2019-12-02  6:35   ` Tao Xu
2019-12-02  6:28 ` [PATCH 2/4] target/i386: Remove monitor from some CPU models Tao Xu
2019-12-02  6:28 ` [PATCH 3/4] target/i386: Add new property note to versioned " Tao Xu
2019-12-02  6:28 ` [PATCH 4/4] target/i386: Add notes for " Tao Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).