Commit 785d21b
committed
Merge tag 'vfio-v6.2-rc1' of https://github.com/awilliam/linux-vfio
Pull VFIO updates from Alex Williamson:
- Replace deprecated git://github.com link in MAINTAINERS (Palmer
Dabbelt)
- Simplify vfio/mlx5 with module_pci_driver() helper (Shang XiaoJing)
- Drop unnecessary buffer from ACPI call (Rafael Mendonca)
- Correct latent missing include issue in iova-bitmap and fix support
for unaligned bitmaps. Follow-up with better fix through refactor
(Joao Martins)
- Rework ccw mdev driver to split private data from parent structure,
better aligning with the mdev lifecycle and allowing us to remove a
temporary workaround (Eric Farman)
- Add an interface to get an estimated migration data size for a
device, allowing userspace to make informed decisions, ex. more
accurately predicting VM downtime (Yishai Hadas)
- Fix minor typo in vfio/mlx5 array declaration (Yishai Hadas)
- Simplify module and Kconfig through consolidating SPAPR/EEH code and
config options and folding virqfd module into main vfio module (Jason
Gunthorpe)
- Fix error path from device_register() across all vfio mdev and sample
drivers (Alex Williamson)
- Define migration pre-copy interface and implement for vfio/mlx5
devices, allowing portions of the device state to be saved while the
device continues operation, towards reducing the stop-copy state size
(Jason Gunthorpe, Yishai Hadas, Shay Drory)
- Implement pre-copy for hisi_acc devices (Shameer Kolothum)
- Fixes to mdpy mdev driver remove path and error path on probe (Shang
XiaoJing)
- vfio/mlx5 fixes for incorrect return after copy_to_user() fault and
incorrect buffer freeing (Dan Carpenter)
* tag 'vfio-v6.2-rc1' of https://github.com/awilliam/linux-vfio: (42 commits)
vfio/mlx5: error pointer dereference in error handling
vfio/mlx5: fix error code in mlx5vf_precopy_ioctl()
samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()
hisi_acc_vfio_pci: Enable PRE_COPY flag
hisi_acc_vfio_pci: Move the dev compatibility tests for early check
hisi_acc_vfio_pci: Introduce support for PRE_COPY state transitions
hisi_acc_vfio_pci: Add support for precopy IOCTL
vfio/mlx5: Enable MIGRATION_PRE_COPY flag
vfio/mlx5: Fallback to STOP_COPY upon specific PRE_COPY error
vfio/mlx5: Introduce multiple loads
vfio/mlx5: Consider temporary end of stream as part of PRE_COPY
vfio/mlx5: Introduce vfio precopy ioctl implementation
vfio/mlx5: Introduce SW headers for migration states
vfio/mlx5: Introduce device transitions of PRE_COPY
vfio/mlx5: Refactor to use queue based data chunks
vfio/mlx5: Refactor migration file state
vfio/mlx5: Refactor MKEY usage
vfio/mlx5: Refactor PD usage
vfio/mlx5: Enforce a single SAVE command at a time
vfio: Extend the device migration protocol with PRE_COPY
...34 files changed
Lines changed: 1792 additions & 646 deletions
File tree
- drivers
- gpu/drm/i915/gvt
- s390
- cio
- crypto
- vfio
- fsl-mc
- pci
- hisilicon
- mlx5
- platform
- include
- linux
- mlx5
- uapi/linux
- samples/vfio-mdev
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21781 | 21781 | | |
21782 | 21782 | | |
21783 | 21783 | | |
21784 | | - | |
| 21784 | + | |
21785 | 21785 | | |
21786 | 21786 | | |
21787 | 21787 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1465 | 1465 | | |
1466 | 1466 | | |
1467 | 1467 | | |
1468 | | - | |
1469 | 1468 | | |
1470 | 1469 | | |
1471 | 1470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| |||
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
73 | | - | |
| 82 | + | |
74 | 83 | | |
75 | 84 | | |
76 | 85 | | |
| |||
106 | 115 | | |
107 | 116 | | |
108 | 117 | | |
109 | | - | |
| 118 | + | |
110 | 119 | | |
111 | 120 | | |
112 | 121 | | |
| |||
121 | 130 | | |
122 | 131 | | |
123 | 132 | | |
124 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
125 | 150 | | |
126 | 151 | | |
127 | 152 | | |
128 | 153 | | |
129 | 154 | | |
130 | | - | |
| 155 | + | |
131 | 156 | | |
132 | | - | |
| 157 | + | |
133 | 158 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
| 159 | + | |
185 | 160 | | |
186 | 161 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | 162 | | |
205 | 163 | | |
206 | 164 | | |
207 | | - | |
| 165 | + | |
208 | 166 | | |
209 | 167 | | |
210 | 168 | | |
| |||
213 | 171 | | |
214 | 172 | | |
215 | 173 | | |
216 | | - | |
217 | | - | |
218 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
219 | 184 | | |
220 | | - | |
| 185 | + | |
221 | 186 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
226 | 191 | | |
227 | | - | |
| 192 | + | |
228 | 193 | | |
229 | | - | |
| 194 | + | |
230 | 195 | | |
231 | 196 | | |
232 | 197 | | |
233 | 198 | | |
234 | 199 | | |
235 | 200 | | |
| 201 | + | |
| 202 | + | |
236 | 203 | | |
| 204 | + | |
237 | 205 | | |
238 | | - | |
239 | 206 | | |
240 | 207 | | |
241 | 208 | | |
242 | 209 | | |
243 | 210 | | |
244 | | - | |
| 211 | + | |
245 | 212 | | |
246 | | - | |
| 213 | + | |
247 | 214 | | |
| 215 | + | |
248 | 216 | | |
249 | 217 | | |
250 | | - | |
251 | | - | |
252 | 218 | | |
253 | 219 | | |
254 | 220 | | |
255 | 221 | | |
256 | 222 | | |
257 | 223 | | |
258 | 224 | | |
259 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
260 | 230 | | |
261 | 231 | | |
262 | 232 | | |
| |||
274 | 244 | | |
275 | 245 | | |
276 | 246 | | |
277 | | - | |
| 247 | + | |
| 248 | + | |
278 | 249 | | |
279 | 250 | | |
280 | 251 | | |
| |||
287 | 258 | | |
288 | 259 | | |
289 | 260 | | |
290 | | - | |
291 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
292 | 265 | | |
293 | 266 | | |
294 | 267 | | |
| |||
326 | 299 | | |
327 | 300 | | |
328 | 301 | | |
329 | | - | |
| 302 | + | |
| 303 | + | |
330 | 304 | | |
331 | 305 | | |
332 | 306 | | |
333 | 307 | | |
334 | 308 | | |
335 | 309 | | |
336 | | - | |
| 310 | + | |
337 | 311 | | |
338 | 312 | | |
339 | 313 | | |
| |||
0 commit comments