Skip to content

Misc fixes for Xen grant DMA-mapping layer

Oleksandr Tyshchenko lkml xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen/virtio: Fix n_pages calculation in xen_grant_dma_map(unmap)_page()drivers/xen/grant-dma-ops.c+3 -27 replies
2/2xen/virtio: Fix potential deadlock when accessing xen_grant_dma_devicesdrivers/xen/grant-dma-ops.c+19 -52 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchStefano StabelliniJuergen Gross
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Misc fixes for Xen grant DMA-mapping layer

From: Oleksandr Tyshchenko <[email protected]>

Hello all.

These are several fixes I collected when playing with virtio-net device using Xen grant mappings.

Tested with both virtio-blk and virtio-net devices.

Oleksandr Tyshchenko (2):
xen/virtio: Fix n_pages calculation in xen_grant_dma_map(unmap)_page() xen/virtio: Fix potential deadlock when accessing
xen_grant_dma_devices

 drivers/xen/grant-dma-ops.c | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1