tools/virtio: cleanups, fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | tools/virtio: fix up compiler.h stubtools/ | +6 | 0 replies | |
| 2/14 | virtio: make it self-containedinclude/ | +2 | 0 replies | |
| 3/14 | tools/virtio: use kernel's virtio.htools/ | +1 | 0 replies | |
| 4/14 | tools/virtio: add struct module forward declarationtools/ | +2 | 0 replies | |
| 5/14 | tools/virtio: stub DMA mapping functionstools/ | +4 | 0 replies | |
| 6/14 | tools/virtio: add dev_WARN_ONCE and is_vmalloc_addr stubstools/ | +9 | 0 replies | |
| 7/14 | tools/virtio: add ucopysize.h stubtools/ | +21 | 0 replies | |
| 8/14 | tools/virtio: pass KCFLAGS to module buildtools/ | +2 | 0 replies | |
| 9/14 | tools/virtio: add struct cpumask to cpumask.htools/ | +4 | 0 replies | |
| 10/14 | tools/virtio: stub might_sleep and synchronize_rcutools/ | +7 | 0 replies | |
| 11/14 | tools/virtio: switch to kernel's virtio_config.htools/ | +1 | 0 replies | |
| 12/14 | virtio_features: make it self-containedinclude/ | +2 | 0 replies | |
| 13/14 | tools/virtio: fix up oot buildtools/ tools/ | +13 | 0 replies | |
| 14/14 | tools/virtio: add device, device_driver stubstools/ | +8 | 0 replies |
Reviews trailers per patch
None of the 14 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jason Wang |
|---|---|
| Series | A-b |
| 1/14 | |
| 2/14 | |
| 3/14 | |
| 4/14 | |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | |
| 11/14 | |
| 12/14 | |
| 13/14 | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/14] tools/virtio: cleanups, fixes
Recent virtio changes brought about build errors for tools/virtio, as usual. I did some refactoring to hopefully reduce maintainance load going forward.
Adding stubs is tedious and seemed a perfect fit for cursor - so I used it for that, then rewrote some commits and accepted others. commit logs I've rewritten.
Found and fixed a couple of minor bugs while doing this - that part's all mine.
Michael S. Tsirkin (14):
tools/virtio: fix up compiler.h stub
virtio: make it self-contained
tools/virtio: use kernel's virtio.h tools/virtio: add struct module forward declaration tools/virtio: stub DMA mapping functions tools/virtio: add dev_WARN_ONCE and is_vmalloc_addr stubs tools/virtio: add ucopysize.h stub
tools/virtio: pass KCFLAGS to module build tools/virtio: add struct cpumask to cpumask.h tools/virtio: stub might_sleep and synchronize_rcu tools/virtio: switch to kernel's virtio_config.h
virtio_features: make it self-contained tools/virtio: fix up oot build
tools/virtio: add device, device_driver stubs
include/linux/virtio.h | 2 + include/linux/virtio_features.h | 2 + tools/virtio/Makefile | 8 ++- tools/virtio/linux/compiler.h | 6 ++ tools/virtio/linux/cpumask.h | 4 ++ tools/virtio/linux/device.h | 8 +++ tools/virtio/linux/dma-mapping.h | 4 ++ tools/virtio/linux/kernel.h | 16 +++++ tools/virtio/linux/module.h | 2 + tools/virtio/linux/ucopysize.h | 21 ++++++ tools/virtio/linux/virtio.h | 73 +-------------------- tools/virtio/linux/virtio_config.h | 102 +---------------------------- tools/virtio/oot-stubs.h | 10 +++ 13 files changed, 82 insertions(+), 176 deletions(-) create mode 100644 tools/virtio/linux/ucopysize.h create mode 100644 tools/virtio/oot-stubs.h
Signature · 1 line
MST