Blame SOURCES/0033-tests-update-lscpu-test-for-RHEL8.patch

1d474f
From b30f84e240bd60a23508797e33a4777cbaa50949 Mon Sep 17 00:00:00 2001
1d474f
From: Karel Zak <kzak@redhat.com>
1d474f
Date: Tue, 17 Dec 2019 10:53:47 +0100
1d474f
Subject: [PATCH] tests: update lscpu test for RHEL8
1d474f
1d474f
The test is originally from upstream (~v2.35), but RHEL-8 uses older
1d474f
version with a little different output -- RHEL-8 has no vulnerability
1d474f
fields and it counts cache sizes  in different way.
1d474f
1d474f
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1739443
1d474f
Signed-off-by: Karel Zak <kzak@redhat.com>
1d474f
---
1d474f
 tests/expected/lscpu/lscpu-s390-nested-virt | 57 ++++++++++-----------
1d474f
 1 file changed, 26 insertions(+), 31 deletions(-)
1d474f
1d474f
diff --git a/tests/expected/lscpu/lscpu-s390-nested-virt b/tests/expected/lscpu/lscpu-s390-nested-virt
1d474f
index 2665fd8dc..a6ab04f0b 100644
1d474f
--- a/tests/expected/lscpu/lscpu-s390-nested-virt
1d474f
+++ b/tests/expected/lscpu/lscpu-s390-nested-virt
1d474f
@@ -1,34 +1,29 @@
1d474f
-CPU op-mode(s):                  32-bit, 64-bit
1d474f
-CPU(s):                          2
1d474f
-On-line CPU(s) list:             0,1
1d474f
-Thread(s) per core:              1
1d474f
-Core(s) per socket:              1
1d474f
-Socket(s) per book:              1
1d474f
-Book(s) per drawer:              1
1d474f
-Drawer(s):                       2
1d474f
-NUMA node(s):                    1
1d474f
-Vendor ID:                       IBM/S390
1d474f
-Machine type:                    2964
1d474f
-CPU dynamic MHz:                 5000
1d474f
-CPU static MHz:                  5000
1d474f
-BogoMIPS:                        3033.00
1d474f
-Hypervisor:                      KVM/Linux
1d474f
-Hypervisor vendor:               KVM
1d474f
-Virtualization type:             full
1d474f
-Dispatching mode:                horizontal
1d474f
-L1d cache:                       256 KiB
1d474f
-L1i cache:                       192 KiB
1d474f
-L2d cache:                       4 MiB
1d474f
-L2i cache:                       4 MiB
1d474f
-L3 cache:                        64 MiB
1d474f
-L4 cache:                        480 MiB
1d474f
-NUMA node0 CPU(s):               0,1
1d474f
-Vulnerability L1tf:              Not affected
1d474f
-Vulnerability Meltdown:          Not affected
1d474f
-Vulnerability Spec store bypass: Not affected
1d474f
-Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
1d474f
-Vulnerability Spectre v2:        Mitigation; execute trampolines
1d474f
-Flags:                           esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx
1d474f
+CPU op-mode(s):      32-bit, 64-bit
1d474f
+CPU(s):              2
1d474f
+On-line CPU(s) list: 0,1
1d474f
+Thread(s) per core:  1
1d474f
+Core(s) per socket:  1
1d474f
+Socket(s) per book:  1
1d474f
+Book(s) per drawer:  1
1d474f
+Drawer(s):           2
1d474f
+NUMA node(s):        1
1d474f
+Vendor ID:           IBM/S390
1d474f
+Machine type:        2964
1d474f
+CPU dynamic MHz:     5000
1d474f
+CPU static MHz:      5000
1d474f
+BogoMIPS:            3033.00
1d474f
+Hypervisor:          KVM/Linux
1d474f
+Hypervisor vendor:   KVM
1d474f
+Virtualization type: full
1d474f
+Dispatching mode:    horizontal
1d474f
+L1d cache:           128K
1d474f
+L1i cache:           96K
1d474f
+L2d cache:           2048K
1d474f
+L2i cache:           2048K
1d474f
+L3 cache:            65536K
1d474f
+L4 cache:            491520K
1d474f
+NUMA node0 CPU(s):   0,1
1d474f
+Flags:               esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx
1d474f
 
1d474f
 # The following is the parsable format, which can be fed to other
1d474f
 # programs. Each different item in every column has an unique ID
1d474f
-- 
1d474f
2.21.0
1d474f