Merge ~paelzer/ubuntu/+source/libvirt:lp-1921880-1921754-amd-epyc-1922907-stepping-parsing-GROOVY into ubuntu/+source/libvirt:ubuntu/groovy-devel
- Git
- lp:~paelzer/ubuntu/+source/libvirt
- lp-1921880-1921754-amd-epyc-1922907-stepping-parsing-GROOVY
- Merge into ubuntu/groovy-devel
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Christian Ehrhardt | ||||||||
Approved revision: | 251a44900667d1cf12b60fb28436cc324f410d54 | ||||||||
Merge reported by: | Christian Ehrhardt | ||||||||
Merged at revision: | 251a44900667d1cf12b60fb28436cc324f410d54 | ||||||||
Proposed branch: | ~paelzer/ubuntu/+source/libvirt:lp-1921880-1921754-amd-epyc-1922907-stepping-parsing-GROOVY | ||||||||
Merge into: | ubuntu/+source/libvirt:ubuntu/groovy-devel | ||||||||
Diff against target: |
452 lines (+400/-0) 8 files modified
debian/changelog (+10/-0) debian/patches/series (+6/-0) debian/patches/ubuntu/lp-1921754-cpumap-Add-support-for-ibrs-CPU-feature.patch (+59/-0) debian/patches/ubuntu/lp-1921880-cpu_map-Add-EPYC-Milan-x86-CPU-model.patch (+129/-0) debian/patches/ubuntu/lp-1921880-cpu_map-Add-support-for-fsrm-CPU-feature.patch (+73/-0) debian/patches/ubuntu/lp-1921880-cpu_map-Fix-spelling-of-svme-addr-chk-feature.patch (+51/-0) debian/patches/ubuntu/lp-1921880-cpu_map-Install-x86_EPYC-Milan.xml.patch (+39/-0) debian/patches/ubuntu/lp-1921880-cpumap-Add-support-for-svme-addr-check-CPU-feature.patch (+33/-0) |
||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robie Basak | sru | Approve | |
Canonical Server | Pending | ||
git-ubuntu developers | Pending | ||
Review via email: mp+401374@code.launchpad.net |
Commit message
Description of the change
Christian Ehrhardt (paelzer) wrote : | # |
Robie Basak (racb) : | # |
Christian Ehrhardt (paelzer) wrote : | # |
Thanks for the Review Robie!
FYI tests also completed (again in a more complete fashion) and LGTM:
prep (x86_64) : Pass 25 F/S/N 0/0/0 - RC 0 (15 min 44428 lin)
migrate (x86_64) : Pass 720 F/S/N 36/0/0 - RC 36 (496 min 820003 lin)
cross (x86_64) : Pass 58 F/S/N 0/1/2 - RC 0 (82 min 100241 lin)
misc (x86_64) : Pass 219 F/S/N 0/0/0 - RC 0 (84 min 120581 lin)
prep (s390x) : Pass 25 F/S/N 0/0/0 - RC 0 (14 min 31196 lin)
migrate (s390x) : Pass 804 F/S/N 0/15/0 - RC 0 (311 min 517498 lin)
cross (s390x) : Pass 62 F/S/N 0/1/1 - RC 0 (94 min 93721 lin)
misc (s390x) : Pass 199 F/S/N 2/0/0 - RC 2 (78 min 94668 lin)
The 36 fails in x86 are an issue with postcopy-
The 2 fails on s390x are a real issue in Hirsute guests, but not due to these updates.
The tests above included F/G/H releases.
Christian Ehrhardt (paelzer) wrote : | # |
Hirsute is completed, uploading this one
To ssh://git.
* [new tag] upload/
Uploading to ubuntu (via ftp to upload.ubuntu.com):
Uploading libvirt_
Uploading libvirt_
Uploading libvirt_
Uploading libvirt_
Successfully uploaded packages.
Christian Ehrhardt (paelzer) wrote : | # |
This is in F/G-proposed, setting the MP to merged
Preview Diff
1 | diff --git a/debian/changelog b/debian/changelog | |||
2 | index 95eef86..a93ad0d 100644 | |||
3 | --- a/debian/changelog | |||
4 | +++ b/debian/changelog | |||
5 | @@ -1,3 +1,13 @@ | |||
6 | 1 | libvirt (6.6.0-1ubuntu3.5) groovy; urgency=medium | ||
7 | 2 | |||
8 | 3 | * d/p/u/lp-1921754*: add EPYC-Rome-v2 as v1 missed IBRS and thereby fails | ||
9 | 4 | on some HW/Guest combinations e.g. Windows 10 on Threadripper | ||
10 | 5 | (LP: #1921754) | ||
11 | 6 | * d/p/u/lp-1921880*: add EPYC-Milan features and named cpu type support | ||
12 | 7 | (LP: #1921880) | ||
13 | 8 | |||
14 | 9 | -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Wed, 07 Apr 2021 13:33:46 +0200 | ||
15 | 10 | |||
16 | 1 | libvirt (6.6.0-1ubuntu3.4) groovy; urgency=medium | 11 | libvirt (6.6.0-1ubuntu3.4) groovy; urgency=medium |
17 | 2 | 12 | ||
18 | 3 | * d/p/lp1915811-*: Fix NUMA topology population for machines with high number | 13 | * d/p/lp1915811-*: Fix NUMA topology population for machines with high number |
19 | diff --git a/debian/patches/series b/debian/patches/series | |||
20 | index 9841757..02c394a 100644 | |||
21 | --- a/debian/patches/series | |||
22 | +++ b/debian/patches/series | |||
23 | @@ -50,3 +50,9 @@ ubuntu/lp-1901242-util-Fix-logic-in-virFileSetCOW.patch | |||
24 | 50 | ubuntu/lp-1913266-qemu-Add-virtio-related-options-to-vsock.patch | 50 | ubuntu/lp-1913266-qemu-Add-virtio-related-options-to-vsock.patch |
25 | 51 | ubuntu/lp1915811-01-virnuma-Don-t-work-around-numa_node_to_cpus.patch | 51 | ubuntu/lp1915811-01-virnuma-Don-t-work-around-numa_node_to_cpus.patch |
26 | 52 | ubuntu/lp1915811-02-virnuma-Use-numa_nodes_ptr-when-checking-av.patch | 52 | ubuntu/lp1915811-02-virnuma-Use-numa_nodes_ptr-when-checking-av.patch |
27 | 53 | ubuntu/lp-1921754-cpumap-Add-support-for-ibrs-CPU-feature.patch | ||
28 | 54 | ubuntu/lp-1921880-cpu_map-Add-support-for-fsrm-CPU-feature.patch | ||
29 | 55 | ubuntu/lp-1921880-cpumap-Add-support-for-svme-addr-check-CPU-feature.patch | ||
30 | 56 | ubuntu/lp-1921880-cpu_map-Add-EPYC-Milan-x86-CPU-model.patch | ||
31 | 57 | ubuntu/lp-1921880-cpu_map-Install-x86_EPYC-Milan.xml.patch | ||
32 | 58 | ubuntu/lp-1921880-cpu_map-Fix-spelling-of-svme-addr-chk-feature.patch | ||
33 | diff --git a/debian/patches/ubuntu/lp-1921754-cpumap-Add-support-for-ibrs-CPU-feature.patch b/debian/patches/ubuntu/lp-1921754-cpumap-Add-support-for-ibrs-CPU-feature.patch | |||
34 | 53 | new file mode 100644 | 59 | new file mode 100644 |
35 | index 0000000..5cd251d | |||
36 | --- /dev/null | |||
37 | +++ b/debian/patches/ubuntu/lp-1921754-cpumap-Add-support-for-ibrs-CPU-feature.patch | |||
38 | @@ -0,0 +1,59 @@ | |||
39 | 1 | From 5c17a7ba41670f3182186c06e621995b5d03fc95 Mon Sep 17 00:00:00 2001 | ||
40 | 2 | From: Tim Wiederhake <twiederh@redhat.com> | ||
41 | 3 | Date: Mon, 22 Feb 2021 13:20:09 +0100 | ||
42 | 4 | Subject: [PATCH] cpumap: Add support for ibrs CPU feature | ||
43 | 5 | |||
44 | 6 | Signed-off-by: Tim Wiederhake <twiederh@redhat.com> | ||
45 | 7 | Reviewed-by: Jiri Denemark <jdenemar@redhat.com> | ||
46 | 8 | |||
47 | 9 | Origin: upstream, https://libvirt.org/git/?p=libvirt.git;a=commit;h=5c17a7ba | ||
48 | 10 | Bug-Ubuntu: https://bugs.launchpad.net/bugs/1921754 | ||
49 | 11 | Last-Update: 2021-04-07 | ||
50 | 12 | |||
51 | 13 | --- | ||
52 | 14 | src/cpu_map/x86_features.xml | 3 +++ | ||
53 | 15 | tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-guest.xml | 1 + | ||
54 | 16 | tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-host.xml | 1 + | ||
55 | 17 | 3 files changed, 5 insertions(+) | ||
56 | 18 | |||
57 | 19 | diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml | ||
58 | 20 | index 5cfa07502a..b03a6b065d 100644 | ||
59 | 21 | --- a/src/cpu_map/x86_features.xml | ||
60 | 22 | +++ b/src/cpu_map/x86_features.xml | ||
61 | 23 | @@ -507,6 +507,9 @@ | ||
62 | 24 | <feature name='ibpb'> | ||
63 | 25 | <cpuid eax_in='0x80000008' ebx='0x00001000'/> | ||
64 | 26 | </feature> | ||
65 | 27 | + <feature name='ibrs'> | ||
66 | 28 | + <cpuid eax_in='0x80000008' ebx='0x00004000'/> | ||
67 | 29 | + </feature> | ||
68 | 30 | <feature name='amd-stibp'> | ||
69 | 31 | <cpuid eax_in='0x80000008' ebx='0x00008000'/> | ||
70 | 32 | </feature> | ||
71 | 33 | diff --git a/tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-guest.xml b/tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-guest.xml | ||
72 | 34 | index 6d95b508b2..40e7912398 100644 | ||
73 | 35 | --- a/tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-guest.xml | ||
74 | 36 | +++ b/tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-guest.xml | ||
75 | 37 | @@ -17,6 +17,7 @@ | ||
76 | 38 | <feature policy='require' name='topoext'/> | ||
77 | 39 | <feature policy='require' name='perfctr_nb'/> | ||
78 | 40 | <feature policy='require' name='invtsc'/> | ||
79 | 41 | + <feature policy='require' name='ibrs'/> | ||
80 | 42 | <feature policy='require' name='amd-ssbd'/> | ||
81 | 43 | <feature policy='require' name='lbrv'/> | ||
82 | 44 | <feature policy='require' name='svm-lock'/> | ||
83 | 45 | diff --git a/tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-host.xml b/tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-host.xml | ||
84 | 46 | index 65eaeabdd0..9f8108cdaa 100644 | ||
85 | 47 | --- a/tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-host.xml | ||
86 | 48 | +++ b/tests/cputestdata/x86_64-cpuid-EPYC-7502-32-Core-host.xml | ||
87 | 49 | @@ -18,6 +18,7 @@ | ||
88 | 50 | <feature name='topoext'/> | ||
89 | 51 | <feature name='perfctr_nb'/> | ||
90 | 52 | <feature name='invtsc'/> | ||
91 | 53 | + <feature name='ibrs'/> | ||
92 | 54 | <feature name='amd-ssbd'/> | ||
93 | 55 | <feature name='lbrv'/> | ||
94 | 56 | <feature name='svm-lock'/> | ||
95 | 57 | -- | ||
96 | 58 | 2.31.1 | ||
97 | 59 | |||
98 | diff --git a/debian/patches/ubuntu/lp-1921880-cpu_map-Add-EPYC-Milan-x86-CPU-model.patch b/debian/patches/ubuntu/lp-1921880-cpu_map-Add-EPYC-Milan-x86-CPU-model.patch | |||
99 | 0 | new file mode 100644 | 60 | new file mode 100644 |
100 | index 0000000..50710d5 | |||
101 | --- /dev/null | |||
102 | +++ b/debian/patches/ubuntu/lp-1921880-cpu_map-Add-EPYC-Milan-x86-CPU-model.patch | |||
103 | @@ -0,0 +1,129 @@ | |||
104 | 1 | From f321a4822e9fa6542e48a78611989ecd9acaa83a Mon Sep 17 00:00:00 2001 | ||
105 | 2 | From: Jiri Denemark <jdenemar@redhat.com> | ||
106 | 3 | Date: Mon, 1 Mar 2021 19:20:51 +0100 | ||
107 | 4 | Subject: [PATCH] cpu_map: Add EPYC-Milan x86 CPU model | ||
108 | 5 | MIME-Version: 1.0 | ||
109 | 6 | Content-Type: text/plain; charset=UTF-8 | ||
110 | 7 | Content-Transfer-Encoding: 8bit | ||
111 | 8 | |||
112 | 9 | Introduced in QEMU 6.0.0 by 623972ceae091b31331ae4a1dc94fe5cbb891937 | ||
113 | 10 | |||
114 | 11 | Signed-off-by: Jiri Denemark <jdenemar@redhat.com> | ||
115 | 12 | Reviewed-by: Ján Tomko <jtomko@redhat.com> | ||
116 | 13 | |||
117 | 14 | Backport-Note: only whitespace damage | ||
118 | 15 | Origin: backport, https://libvirt.org/git/?p=libvirt.git;a=commit;h=f321a482 | ||
119 | 16 | Bug-Ubuntu: https://bugs.launchpad.net/bugs/1921880 | ||
120 | 17 | Last-Update: 2021-04-07 | ||
121 | 18 | |||
122 | 19 | --- | ||
123 | 20 | src/cpu_map/index.xml | 1 + | ||
124 | 21 | src/cpu_map/x86_EPYC-Milan.xml | 92 ++++++++++++++++++++++++++++++++++ | ||
125 | 22 | 2 files changed, 93 insertions(+) | ||
126 | 23 | create mode 100644 src/cpu_map/x86_EPYC-Milan.xml | ||
127 | 24 | |||
128 | 25 | --- /dev/null | ||
129 | 26 | +++ b/src/cpu_map/x86_EPYC-Milan.xml | ||
130 | 27 | @@ -0,0 +1,92 @@ | ||
131 | 28 | +<cpus> | ||
132 | 29 | + <model name='EPYC-Milan'> | ||
133 | 30 | + <decode host='on' guest='on'/> | ||
134 | 31 | + <signature family='25' model='1'/> | ||
135 | 32 | + <vendor name='AMD'/> | ||
136 | 33 | + <feature name='3dnowprefetch'/> | ||
137 | 34 | + <feature name='abm'/> | ||
138 | 35 | + <feature name='adx'/> | ||
139 | 36 | + <feature name='aes'/> | ||
140 | 37 | + <feature name='amd-ssbd'/> | ||
141 | 38 | + <feature name='amd-stibp'/> | ||
142 | 39 | + <feature name='apic'/> | ||
143 | 40 | + <feature name='arat'/> | ||
144 | 41 | + <feature name='avx'/> | ||
145 | 42 | + <feature name='avx2'/> | ||
146 | 43 | + <feature name='bmi1'/> | ||
147 | 44 | + <feature name='bmi2'/> | ||
148 | 45 | + <feature name='clflush'/> | ||
149 | 46 | + <feature name='clflushopt'/> | ||
150 | 47 | + <feature name='clwb'/> | ||
151 | 48 | + <feature name='clzero'/> | ||
152 | 49 | + <feature name='cmov'/> | ||
153 | 50 | + <feature name='cr8legacy'/> | ||
154 | 51 | + <feature name='cx16'/> | ||
155 | 52 | + <feature name='cx8'/> | ||
156 | 53 | + <feature name='de'/> | ||
157 | 54 | + <feature name='erms'/> | ||
158 | 55 | + <feature name='f16c'/> | ||
159 | 56 | + <feature name='fma'/> | ||
160 | 57 | + <feature name='fpu'/> | ||
161 | 58 | + <feature name='fsgsbase'/> | ||
162 | 59 | + <feature name='fsrm'/> | ||
163 | 60 | + <feature name='fxsr'/> | ||
164 | 61 | + <feature name='fxsr_opt'/> | ||
165 | 62 | + <feature name='ibpb'/> | ||
166 | 63 | + <feature name='ibrs'/> | ||
167 | 64 | + <feature name='invpcid'/> | ||
168 | 65 | + <feature name='lahf_lm'/> | ||
169 | 66 | + <feature name='lm'/> | ||
170 | 67 | + <feature name='mca'/> | ||
171 | 68 | + <feature name='mce'/> | ||
172 | 69 | + <feature name='misalignsse'/> | ||
173 | 70 | + <feature name='mmx'/> | ||
174 | 71 | + <feature name='mmxext'/> | ||
175 | 72 | + <feature name='movbe'/> | ||
176 | 73 | + <feature name='msr'/> | ||
177 | 74 | + <feature name='mtrr'/> | ||
178 | 75 | + <feature name='npt'/> | ||
179 | 76 | + <feature name='nrip-save'/> | ||
180 | 77 | + <feature name='nx'/> | ||
181 | 78 | + <feature name='osvw'/> | ||
182 | 79 | + <feature name='pae'/> | ||
183 | 80 | + <feature name='pat'/> | ||
184 | 81 | + <feature name='pcid'/> | ||
185 | 82 | + <feature name='pclmuldq'/> | ||
186 | 83 | + <feature name='pdpe1gb'/> | ||
187 | 84 | + <feature name='perfctr_core'/> | ||
188 | 85 | + <feature name='pge'/> | ||
189 | 86 | + <feature name='pku'/> | ||
190 | 87 | + <feature name='pni'/> | ||
191 | 88 | + <feature name='popcnt'/> | ||
192 | 89 | + <feature name='pse'/> | ||
193 | 90 | + <feature name='pse36'/> | ||
194 | 91 | + <feature name='rdpid'/> | ||
195 | 92 | + <feature name='rdrand'/> | ||
196 | 93 | + <feature name='rdseed'/> | ||
197 | 94 | + <feature name='rdtscp'/> | ||
198 | 95 | + <feature name='sep'/> | ||
199 | 96 | + <feature name='sha-ni'/> | ||
200 | 97 | + <feature name='smap'/> | ||
201 | 98 | + <feature name='smep'/> | ||
202 | 99 | + <feature name='sse'/> | ||
203 | 100 | + <feature name='sse2'/> | ||
204 | 101 | + <feature name='sse4.1'/> | ||
205 | 102 | + <feature name='sse4.2'/> | ||
206 | 103 | + <feature name='sse4a'/> | ||
207 | 104 | + <feature name='ssse3'/> | ||
208 | 105 | + <feature name='svm'/> | ||
209 | 106 | + <feature name='svme-addr-check'/> | ||
210 | 107 | + <feature name='syscall'/> | ||
211 | 108 | + <feature name='tsc'/> | ||
212 | 109 | + <feature name='umip'/> | ||
213 | 110 | + <feature name='vme'/> | ||
214 | 111 | + <feature name='wbnoinvd'/> | ||
215 | 112 | + <feature name='xgetbv1'/> | ||
216 | 113 | + <feature name='xsave'/> | ||
217 | 114 | + <feature name='xsavec'/> | ||
218 | 115 | + <feature name='xsaveerptr'/> | ||
219 | 116 | + <feature name='xsaveopt'/> | ||
220 | 117 | + <feature name='xsaves'/> | ||
221 | 118 | + </model> | ||
222 | 119 | +</cpus> | ||
223 | 120 | --- a/src/cpu_map/index.xml | ||
224 | 121 | +++ b/src/cpu_map/index.xml | ||
225 | 122 | @@ -66,6 +66,7 @@ | ||
226 | 123 | <include filename="x86_EPYC.xml"/> | ||
227 | 124 | <include filename="x86_EPYC-IBPB.xml"/> | ||
228 | 125 | <include filename="x86_EPYC-Rome.xml"/> | ||
229 | 126 | + <include filename='x86_EPYC-Milan.xml'/> | ||
230 | 127 | |||
231 | 128 | <!-- Hygon CPU models --> | ||
232 | 129 | <include filename="x86_Dhyana.xml"/> | ||
233 | diff --git a/debian/patches/ubuntu/lp-1921880-cpu_map-Add-support-for-fsrm-CPU-feature.patch b/debian/patches/ubuntu/lp-1921880-cpu_map-Add-support-for-fsrm-CPU-feature.patch | |||
234 | 0 | new file mode 100644 | 130 | new file mode 100644 |
235 | index 0000000..72a6c0f | |||
236 | --- /dev/null | |||
237 | +++ b/debian/patches/ubuntu/lp-1921880-cpu_map-Add-support-for-fsrm-CPU-feature.patch | |||
238 | @@ -0,0 +1,73 @@ | |||
239 | 1 | From 8c5c660b99101544d8cfcb8edbe48688c04bee25 Mon Sep 17 00:00:00 2001 | ||
240 | 2 | From: Tim Wiederhake <twiederh@redhat.com> | ||
241 | 3 | Date: Wed, 6 Jan 2021 11:05:06 +0100 | ||
242 | 4 | Subject: [PATCH] cpu_map: Add support for fsrm CPU feature | ||
243 | 5 | |||
244 | 6 | Signed-off-by: Tim Wiederhake <twiederh@redhat.com> | ||
245 | 7 | Reviewed-by: Jiri Denemark <jdenemar@redhat.com> | ||
246 | 8 | |||
247 | 9 | Origin: upstream, https://libvirt.org/git/?p=libvirt.git;a=commit;h=8c5c660b | ||
248 | 10 | Bug-Ubuntu: https://bugs.launchpad.net/bugs/1921880 | ||
249 | 11 | Last-Update: 2021-04-07 | ||
250 | 12 | |||
251 | 13 | --- | ||
252 | 14 | src/cpu_map/x86_features.xml | 3 +++ | ||
253 | 15 | tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml | 2 +- | ||
254 | 16 | tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml | 1 + | ||
255 | 17 | tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml | 1 + | ||
256 | 18 | 4 files changed, 6 insertions(+), 1 deletion(-) | ||
257 | 19 | |||
258 | 20 | diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml | ||
259 | 21 | index a55f52b16c..b0bf22d916 100644 | ||
260 | 22 | --- a/src/cpu_map/x86_features.xml | ||
261 | 23 | +++ b/src/cpu_map/x86_features.xml | ||
262 | 24 | @@ -339,6 +339,9 @@ | ||
263 | 25 | <feature name='avx512-4fmaps'> | ||
264 | 26 | <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000008'/> | ||
265 | 27 | </feature> | ||
266 | 28 | + <feature name='fsrm'> | ||
267 | 29 | + <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000010'/> | ||
268 | 30 | + </feature> | ||
269 | 31 | <feature name='md-clear'> <!-- md_clear --> | ||
270 | 32 | <cpuid eax_in='0x07' ecx_in='0x00' edx='0x00000400'/> | ||
271 | 33 | </feature> | ||
272 | 34 | diff --git a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml | ||
273 | 35 | index ce65579bcc..33bd1013f0 100644 | ||
274 | 36 | --- a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml | ||
275 | 37 | +++ b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-disabled.xml | ||
276 | 38 | @@ -1,7 +1,7 @@ | ||
277 | 39 | <!-- Features disabled by QEMU --> | ||
278 | 40 | <cpudata arch='x86'> | ||
279 | 41 | <cpuid eax_in='0x00000001' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x0804c1fc' edx='0xb0600000'/> | ||
280 | 42 | - <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02001000' ecx='0x00400010' edx='0x00000000'/> | ||
281 | 43 | + <cpuid eax_in='0x00000007' ecx_in='0x00' eax='0x00000000' ebx='0x02001000' ecx='0x00400010' edx='0x00000010'/> | ||
282 | 44 | <cpuid eax_in='0x0000000f' ecx_in='0x01' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000006'/> | ||
283 | 45 | <cpuid eax_in='0x80000007' ecx_in='0x00' eax='0x00000000' ebx='0x00000000' ecx='0x00000000' edx='0x00000100'/> | ||
284 | 46 | </cpudata> | ||
285 | 47 | diff --git a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml | ||
286 | 48 | index 9b75ace710..3a71b28cfb 100644 | ||
287 | 49 | --- a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml | ||
288 | 50 | +++ b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-guest.xml | ||
289 | 51 | @@ -24,6 +24,7 @@ | ||
290 | 52 | <feature policy='require' name='sha-ni'/> | ||
291 | 53 | <feature policy='require' name='ospke'/> | ||
292 | 54 | <feature policy='require' name='rdpid'/> | ||
293 | 55 | + <feature policy='require' name='fsrm'/> | ||
294 | 56 | <feature policy='require' name='stibp'/> | ||
295 | 57 | <feature policy='require' name='arch-capabilities'/> | ||
296 | 58 | <feature policy='require' name='xsaves'/> | ||
297 | 59 | diff --git a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml | ||
298 | 60 | index efbf9d363b..1582de0422 100644 | ||
299 | 61 | --- a/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml | ||
300 | 62 | +++ b/tests/cputestdata/x86_64-cpuid-Ice-Lake-Server-host.xml | ||
301 | 63 | @@ -25,6 +25,7 @@ | ||
302 | 64 | <feature name='sha-ni'/> | ||
303 | 65 | <feature name='ospke'/> | ||
304 | 66 | <feature name='rdpid'/> | ||
305 | 67 | + <feature name='fsrm'/> | ||
306 | 68 | <feature name='stibp'/> | ||
307 | 69 | <feature name='arch-capabilities'/> | ||
308 | 70 | <feature name='xsaves'/> | ||
309 | 71 | -- | ||
310 | 72 | 2.31.1 | ||
311 | 73 | |||
312 | diff --git a/debian/patches/ubuntu/lp-1921880-cpu_map-Fix-spelling-of-svme-addr-chk-feature.patch b/debian/patches/ubuntu/lp-1921880-cpu_map-Fix-spelling-of-svme-addr-chk-feature.patch | |||
313 | 0 | new file mode 100644 | 74 | new file mode 100644 |
314 | index 0000000..8d23051 | |||
315 | --- /dev/null | |||
316 | +++ b/debian/patches/ubuntu/lp-1921880-cpu_map-Fix-spelling-of-svme-addr-chk-feature.patch | |||
317 | @@ -0,0 +1,51 @@ | |||
318 | 1 | From b5abf9a192248b1005f63a7102d2627375d70fe5 Mon Sep 17 00:00:00 2001 | ||
319 | 2 | From: Jiri Denemark <jdenemar@redhat.com> | ||
320 | 3 | Date: Thu, 4 Mar 2021 08:43:09 +0100 | ||
321 | 4 | Subject: [PATCH] cpu_map: Fix spelling of svme-addr-chk feature | ||
322 | 5 | |||
323 | 6 | Commit a208176ca1d9eedf8aa6bf12fde6a7a9579ab549 introduced this feature | ||
324 | 7 | with an incorrect "svme-addr-check" spelling. | ||
325 | 8 | |||
326 | 9 | Signed-off-by: Jiri Denemark <jdenemar@redhat.com> | ||
327 | 10 | Reviewed-by: Tim Wiederhake <twiederh@redhat.com> | ||
328 | 11 | |||
329 | 12 | Backport-Note: sync_qemu_cpu_i386 didn't exist before v6.10 | ||
330 | 13 | Origin: backport, https://libvirt.org/git/?p=libvirt.git;a=commit;h=b5abf9a1 | ||
331 | 14 | Bug-Ubuntu: https://bugs.launchpad.net/bugs/1921880 | ||
332 | 15 | Last-Update: 2021-04-07 | ||
333 | 16 | |||
334 | 17 | --- | ||
335 | 18 | src/cpu_map/sync_qemu_i386.py | 2 +- | ||
336 | 19 | src/cpu_map/x86_EPYC-Milan.xml | 2 +- | ||
337 | 20 | src/cpu_map/x86_features.xml | 2 +- | ||
338 | 21 | 3 files changed, 3 insertions(+), 3 deletions(-) | ||
339 | 22 | |||
340 | 23 | diff --git a/src/cpu_map/x86_EPYC-Milan.xml b/src/cpu_map/x86_EPYC-Milan.xml | ||
341 | 24 | index 53f0cd6aac..3055e175fa 100644 | ||
342 | 25 | --- a/src/cpu_map/x86_EPYC-Milan.xml | ||
343 | 26 | +++ b/src/cpu_map/x86_EPYC-Milan.xml | ||
344 | 27 | @@ -76,7 +76,7 @@ | ||
345 | 28 | <feature name='sse4a'/> | ||
346 | 29 | <feature name='ssse3'/> | ||
347 | 30 | <feature name='svm'/> | ||
348 | 31 | - <feature name='svme-addr-check'/> | ||
349 | 32 | + <feature name='svme-addr-chk'/> | ||
350 | 33 | <feature name='syscall'/> | ||
351 | 34 | <feature name='tsc'/> | ||
352 | 35 | <feature name='umip'/> | ||
353 | 36 | diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml | ||
354 | 37 | index c43520d08f..e98b84f3ef 100644 | ||
355 | 38 | --- a/src/cpu_map/x86_features.xml | ||
356 | 39 | +++ b/src/cpu_map/x86_features.xml | ||
357 | 40 | @@ -554,7 +554,7 @@ | ||
358 | 41 | <feature name='pfthreshold'> | ||
359 | 42 | <cpuid eax_in='0x8000000a' edx='0x00001000'/> | ||
360 | 43 | </feature> | ||
361 | 44 | - <feature name='svme-addr-check'> | ||
362 | 45 | + <feature name='svme-addr-chk'> | ||
363 | 46 | <cpuid eax_in='0x8000000a' edx='0x10000000'/> | ||
364 | 47 | </feature> | ||
365 | 48 | |||
366 | 49 | -- | ||
367 | 50 | 2.31.1 | ||
368 | 51 | |||
369 | diff --git a/debian/patches/ubuntu/lp-1921880-cpu_map-Install-x86_EPYC-Milan.xml.patch b/debian/patches/ubuntu/lp-1921880-cpu_map-Install-x86_EPYC-Milan.xml.patch | |||
370 | 0 | new file mode 100644 | 52 | new file mode 100644 |
371 | index 0000000..263e151 | |||
372 | --- /dev/null | |||
373 | +++ b/debian/patches/ubuntu/lp-1921880-cpu_map-Install-x86_EPYC-Milan.xml.patch | |||
374 | @@ -0,0 +1,39 @@ | |||
375 | 1 | From d3de79dbfc20dc4dfc19154b16079861c542b71e Mon Sep 17 00:00:00 2001 | ||
376 | 2 | From: Jiri Denemark <jdenemar@redhat.com> | ||
377 | 3 | Date: Tue, 2 Mar 2021 10:32:42 +0100 | ||
378 | 4 | Subject: [PATCH] cpu_map: Install x86_EPYC-Milan.xml | ||
379 | 5 | |||
380 | 6 | Signed-off-by: Jiri Denemark <jdenemar@redhat.com> | ||
381 | 7 | Reviewed-by: Pavel Hrdina <phrdina@redhat.com> | ||
382 | 8 | |||
383 | 9 | Backport-Note: Groovy is pre-meson so the patch needed to be adapted to | ||
384 | 10 | fit the Make based build, the same that we've done in patch | ||
385 | 11 | ubuntu/lp-1887490-cpu_map-Defined-and-enable-EPYC-Rome-model.patch | ||
386 | 12 | Origin: backport, https://libvirt.org/git/?p=libvirt.git;a=commit;h=d3de79db | ||
387 | 13 | Bug-Ubuntu: https://bugs.launchpad.net/bugs/1921880 | ||
388 | 14 | Last-Update: 2021-04-07 | ||
389 | 15 | |||
390 | 16 | --- | ||
391 | 17 | src/cpu_map/meson.build | 1 + | ||
392 | 18 | 1 file changed, 1 insertion(+) | ||
393 | 19 | |||
394 | 20 | --- a/src/Makefile.in | ||
395 | 21 | +++ b/src/Makefile.in | ||
396 | 22 | @@ -5561,6 +5561,7 @@ cpumap_DATA = \ | ||
397 | 23 | cpu_map/x86_Dhyana.xml \ | ||
398 | 24 | cpu_map/x86_EPYC.xml \ | ||
399 | 25 | cpu_map/x86_EPYC-IBPB.xml \ | ||
400 | 26 | + cpu_map/x86_EPYC-Milan.xml \ | ||
401 | 27 | cpu_map/x86_EPYC-Rome.xml \ | ||
402 | 28 | cpu_map/x86_Haswell.xml \ | ||
403 | 29 | cpu_map/x86_Haswell-IBRS.xml \ | ||
404 | 30 | --- a/src/cpu_map/Makefile.inc.am | ||
405 | 31 | +++ b/src/cpu_map/Makefile.inc.am | ||
406 | 32 | @@ -29,6 +29,7 @@ cpumap_DATA = \ | ||
407 | 33 | cpu_map/x86_Dhyana.xml \ | ||
408 | 34 | cpu_map/x86_EPYC.xml \ | ||
409 | 35 | cpu_map/x86_EPYC-IBPB.xml \ | ||
410 | 36 | + cpu_map/x86_EPYC-Milan.xml \ | ||
411 | 37 | cpu_map/x86_EPYC-Rome.xml \ | ||
412 | 38 | cpu_map/x86_Haswell.xml \ | ||
413 | 39 | cpu_map/x86_Haswell-IBRS.xml \ | ||
414 | diff --git a/debian/patches/ubuntu/lp-1921880-cpumap-Add-support-for-svme-addr-check-CPU-feature.patch b/debian/patches/ubuntu/lp-1921880-cpumap-Add-support-for-svme-addr-check-CPU-feature.patch | |||
415 | 0 | new file mode 100644 | 40 | new file mode 100644 |
416 | index 0000000..5e5420e | |||
417 | --- /dev/null | |||
418 | +++ b/debian/patches/ubuntu/lp-1921880-cpumap-Add-support-for-svme-addr-check-CPU-feature.patch | |||
419 | @@ -0,0 +1,33 @@ | |||
420 | 1 | From 5ac6ab2fde63881d3c5cc7372a0d0e59618feb55 Mon Sep 17 00:00:00 2001 | ||
421 | 2 | From: Tim Wiederhake <twiederh@redhat.com> | ||
422 | 3 | Date: Mon, 22 Feb 2021 13:20:10 +0100 | ||
423 | 4 | Subject: [PATCH] cpumap: Add support for svme-addr-check CPU feature | ||
424 | 5 | |||
425 | 6 | Signed-off-by: Tim Wiederhake <twiederh@redhat.com> | ||
426 | 7 | Reviewed-by: Jiri Denemark <jdenemar@redhat.com> | ||
427 | 8 | |||
428 | 9 | Origin: upstream, https://libvirt.org/git/?p=libvirt.git;a=commit;h=5ac6ab2f | ||
429 | 10 | Bug-Ubuntu: https://bugs.launchpad.net/bugs/1921880 | ||
430 | 11 | Last-Update: 2021-04-07 | ||
431 | 12 | |||
432 | 13 | --- | ||
433 | 14 | src/cpu_map/x86_features.xml | 3 +++ | ||
434 | 15 | 1 file changed, 3 insertions(+) | ||
435 | 16 | |||
436 | 17 | diff --git a/src/cpu_map/x86_features.xml b/src/cpu_map/x86_features.xml | ||
437 | 18 | index b03a6b065d..c43520d08f 100644 | ||
438 | 19 | --- a/src/cpu_map/x86_features.xml | ||
439 | 20 | +++ b/src/cpu_map/x86_features.xml | ||
440 | 21 | @@ -554,6 +554,9 @@ | ||
441 | 22 | <feature name='pfthreshold'> | ||
442 | 23 | <cpuid eax_in='0x8000000a' edx='0x00001000'/> | ||
443 | 24 | </feature> | ||
444 | 25 | + <feature name='svme-addr-check'> | ||
445 | 26 | + <cpuid eax_in='0x8000000a' edx='0x10000000'/> | ||
446 | 27 | + </feature> | ||
447 | 28 | |||
448 | 29 | <!-- IA32_ARCH_CAPABILITIES features --> | ||
449 | 30 | <feature name='rdctl-no'> | ||
450 | 31 | -- | ||
451 | 32 | 2.31.1 | ||
452 | 33 |
PPA: https:/ /launchpad. net/~ci- train-ppa- service/ +archive/ ubuntu/ 4525