mbox series

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

Message ID 20221005174823.1800761-1-olekstysh@gmail.com (mailing list archive)
Headers show
Series Misc fixes for Xen grant DMA-mapping layer | expand

Message

Oleksandr Tyshchenko Oct. 5, 2022, 5:48 p.m. UTC
From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>

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(-)

Comments

Juergen Gross Oct. 7, 2022, 5:19 a.m. UTC | #1
On 05.10.22 19:48, Oleksandr Tyshchenko wrote:
> From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
> 
> 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(-)
> 

Series pushed to xen/tip.git for-linus-6.1


Juergen