From cc033b100cbeb6c4b47316782db5ad6daf243d96 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Fri, 17 Mar 2017 11:29:02 +0100 Subject: [PATCH] cputest: Disable TSX on broken models Commit v3.1.0-26-gd60012b4e started filtering hle and rtm features from broken Intel Haswell CPUs. QEMU implemented similar functionality and thus it doesn't report rtm and hle features as enabled for Core i5-4670T CPU anymore. Signed-off-by: Jiri Denemark --- tests/cputestdata/x86_64-cpuid-Core-i5-4670T-disabled.xml | 1 + tests/cputestdata/x86_64-cpuid-Core-i5-4670T-enabled.xml | 2 +- tests/cputestdata/x86_64-cpuid-Core-i5-4670T.json | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/cputestdata/x86_64-cpuid-Core-i5-4670T-disabled.xml b/tests/cputestdata/x86_64-cpuid-Core-i5-4670T-disabled.xml index 601554a815..0c6b68a57b 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i5-4670T-disabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i5-4670T-disabled.xml @@ -2,5 +2,6 @@ + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i5-4670T-enabled.xml b/tests/cputestdata/x86_64-cpuid-Core-i5-4670T-enabled.xml index 8a714379c0..31893c0b87 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i5-4670T-enabled.xml +++ b/tests/cputestdata/x86_64-cpuid-Core-i5-4670T-enabled.xml @@ -1,7 +1,7 @@ - + diff --git a/tests/cputestdata/x86_64-cpuid-Core-i5-4670T.json b/tests/cputestdata/x86_64-cpuid-Core-i5-4670T.json index bfcfcfd46c..58b1d03691 100644 --- a/tests/cputestdata/x86_64-cpuid-Core-i5-4670T.json +++ b/tests/cputestdata/x86_64-cpuid-Core-i5-4670T.json @@ -5,7 +5,7 @@ "props": { "pfthreshold": false, "pku": false, - "rtm": true, + "rtm": false, "tsc_adjust": true, "tsc-deadline": true, "xstore-en": false, @@ -69,7 +69,7 @@ "avx512-4vnniw": false, "xsave": true, "erms": true, - "hle": true, + "hle": false, "nodeid_msr": false, "est": false, "svm_lock": false,