vhost-user-gpu: Add blob resource and shared memory support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 2 repliesIn review
- v33 patches 9 repliesSuperseded
- v23 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 5 replies | Superseded |
Changes in v4 from the cover letter
- Document map/unmap ordering in commit message
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vhost: Fix SHMEM_MAP transaction ordering and resulting deadlockhw/ hw/ | +12 | 2 replies | |
| 2/3 | vhost-user-gpu: Add shared memory region supporthw/ | +11 | 0 replies | |
| 3/3 | vhost-user-gpu: Forward RESOURCE_BLOB and CONTEXT_INIT flagshw/ | +6 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Albert Esteve | Manos Pitsidianakis |
|---|---|---|
| 1/3 | R-b T-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/3] vhost-user-gpu: Add blob resource and shared memory support
Add blob resource support to the vhost-user-gpu device, enabling Vulkan pass-through via Venus with a vhost-user backend such as vhost-device-gpu.
Patch 1 fixes a deadlock that occurs when the memory region transaction commit triggers ADD_MEM_REG back to the backend while it is still blocked waiting for the SHMEM_MAP reply.
Patches 2-3 register a shared memory region for SHMEM_MAP/UNMAP operations and forward the RESOURCE_BLOB and CONTEXT_INIT feature flags from the backend to the guest.
Dorinda Bassey (1):
vhost: Fix SHMEM_MAP transaction ordering and resulting deadlock
Matej Hrica (2):
vhost-user-gpu: Add shared memory region support
vhost-user-gpu: Forward RESOURCE_BLOB and CONTEXT_INIT flags
hw/display/vhost-user-gpu.c | 17 +++++++++++++++++ hw/virtio/vhost-user.c | 20 ++------------------ hw/virtio/vhost.c | 10 ++++++++++ 3 files changed, 29 insertions(+), 18 deletions(-)
Changes in v4:
- Document map/unmap ordering in commit message
Changes in v3:
- Reordered patches: bugfix first, then features
- Added Fixes tag
Changes in v2:
- Reordered patches: shmem support before feature flags
- Use virtio_new_shmem_region() helper
- Drop explicit transaction begin/commit wrapping
--
2.52.0