c480ed
From 7084115edc91fd3cff8ba35af1fc705c917973cf Mon Sep 17 00:00:00 2001
c480ed
Message-Id: <7084115edc91fd3cff8ba35af1fc705c917973cf@dist-git>
c480ed
From: Jiri Denemark <jdenemar@redhat.com>
c480ed
Date: Fri, 21 Jun 2019 09:25:41 +0200
c480ed
Subject: [PATCH] cputest: Add support for MSR features to cpu-parse.sh
c480ed
MIME-Version: 1.0
c480ed
Content-Type: text/plain; charset=UTF-8
c480ed
Content-Transfer-Encoding: 8bit
c480ed
c480ed
The script just parses whatever cpu-gather.sh printed out.
c480ed
c480ed
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
c480ed
Reviewed-by: Ján Tomko <jtomko@redhat.com>
c480ed
(cherry picked from commit 8904492e21537f3b820e577964e67ad670fa640b)
c480ed
c480ed
https://bugzilla.redhat.com/show_bug.cgi?id=1697627
c480ed
c480ed
Conflicts:
c480ed
	tests/cputestdata/cpu-parse.sh
c480ed
            - no need to update this script downstream
c480ed
c480ed
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
c480ed
Message-Id: <55c3125aef5a2d7bf7b2d7a6fc5c868af7903447.1561068591.git.jdenemar@redhat.com>
c480ed
Reviewed-by: Ján Tomko <jtomko@redhat.com>
c480ed
---
c480ed
 tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268.xml | 1 +
c480ed
 1 file changed, 1 insertion(+)
c480ed
c480ed
diff --git a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268.xml b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268.xml
c480ed
index 75472d44fe..f1261da891 100644
c480ed
--- a/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268.xml
c480ed
+++ b/tests/cputestdata/x86_64-cpuid-Xeon-Platinum-8268.xml
c480ed
@@ -51,4 +51,5 @@
c480ed
   <cpuid eax_in='0x80000008' ecx_in='0x00' eax='0x0000302e' ebx='0x00000000' ecx='0x00000000' edx='0x00000000'/>
c480ed
   <cpuid eax_in='0x80860000' ecx_in='0x00' eax='0x00000b54' ebx='0x00000f3c' ecx='0x00000064' edx='0x00000000'/>
c480ed
   <cpuid eax_in='0xc0000000' ecx_in='0x00' eax='0x00000b54' ebx='0x00000f3c' ecx='0x00000064' edx='0x00000000'/>
c480ed
+  <msr index='0x10a' edx='0x00000000' eax='0x0000002b'/>
c480ed
 </cpudata>
c480ed
-- 
c480ed
2.22.0
c480ed