Commit 1082650
committed
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio fixes from Michael Tsirkin:
"The biggest thing here is the adminq change - but it looks like the
only way to avoid headq blocking causing indefinite stalls.
This fixes three issues:
- Prevent admin commands on one VF blocking another.
This prevents a bad VF from blocking a good one, as well as fixing
a scalability issue with large # of VFs
- Correctly return error on command failure on octeon. We used to
treat failed commands as a success.
- Fix modpost warning when building virtio_dma_buf. Harmless, but the
fix is trivial"
* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
virtio_pci_modern: remove admin queue serialization lock
virtio_pci_modern: use completion instead of busy loop to wait on admin cmd result
virtio_pci_modern: pass cmd as an identification token
virtio_pci_modern: create admin queue of queried size
virtio: create admin queues alongside other virtqueues
virtio_pci: pass vq info as an argument to vp_setup_vq()
virtio: push out code to vp_avq_index()
virtio_pci_modern: treat vp_dev->admin_vq.info.vq pointer as static
virtio_pci: introduce vector allocation fallback for slow path virtqueues
virtio_pci: pass vector policy enum to vp_find_one_vq_msix()
virtio_pci: pass vector policy enum to vp_find_vqs_msix()
virtio_pci: simplify vp_request_msix_vectors() call a bit
virtio_pci: push out single vq find code to vp_find_one_vq_msix()
vdpa/octeon_ep: Fix error code in octep_process_mbox()
virtio: add missing MODULE_DESCRIPTION() macroFile tree
7 files changed
+240
-162
lines changed- drivers
- vdpa/octeon_ep
- virtio
- include/linux
7 files changed
+240
-162
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | 308 | | |
315 | 309 | | |
316 | | - | |
| 310 | + | |
317 | 311 | | |
318 | 312 | | |
319 | 313 | | |
| |||
326 | 320 | | |
327 | 321 | | |
328 | 322 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | 323 | | |
333 | 324 | | |
334 | 325 | | |
| |||
344 | 335 | | |
345 | 336 | | |
346 | 337 | | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | 338 | | |
351 | 339 | | |
352 | 340 | | |
| |||
524 | 512 | | |
525 | 513 | | |
526 | 514 | | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | 515 | | |
531 | 516 | | |
532 | 517 | | |
| |||
562 | 547 | | |
563 | 548 | | |
564 | 549 | | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | 550 | | |
572 | 551 | | |
573 | 552 | | |
574 | | - | |
| 553 | + | |
575 | 554 | | |
576 | 555 | | |
577 | 556 | | |
| |||
582 | 561 | | |
583 | 562 | | |
584 | 563 | | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | 564 | | |
589 | 565 | | |
590 | 566 | | |
| |||
0 commit comments