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