qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] target/i386: Remove split lock detect in Snowridge CPU model
@ 2021-06-30  1:20 Chenyi Qiang
  2021-08-11 20:03 ` Eduardo Habkost
  0 siblings, 1 reply; 2+ messages in thread
From: Chenyi Qiang @ 2021-06-30  1:20 UTC (permalink / raw)
  To: Eduardo Habkost, Paolo Bonzini, Richard Henderson; +Cc: Xiaoyao Li, qemu-devel

At present, there's no mechanism intelligent enough to virtualize split
lock detection correctly. Remove it in Snowridge CPU model to avoid the
feature exposure.

Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
---
 target/i386/cpu.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index a9fe1662d3..c3b527b7b0 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3698,6 +3698,14 @@ static const X86CPUDefinition builtin_x86_defs[] = {
                     { /* end of list */ },
                 },
             },
+            {
+                .version = 4,
+                .note = "no split lock detect",
+                .props = (PropValue[]) {
+                    { "split-lock-detect", "off" },
+                    { /* end of list */ },
+                },
+            },
             { /* end of list */ },
         },
     },
-- 
2.17.1



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

end of thread, other threads:[~2021-08-11 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-30  1:20 [PATCH] target/i386: Remove split lock detect in Snowridge CPU model Chenyi Qiang
2021-08-11 20:03 ` Eduardo Habkost

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).