Displaying 1 result from an estimated 1 matches for "vdpasim_get_vq_notif".
2023 Jan 29
1
[PATCH v3 2/2] vdpasim: support doorbell mapping
...s racy.
Thanks
>         spin_lock(&vdpasim->lock);
>         vdpasim->status = 0;
>         vdpasim_do_reset(vdpasim);
> @@ -672,11 +708,34 @@ static int vdpasim_dma_unmap(struct vdpa_device *vdpa, unsigned int asid,
>         return 0;
>  }
>
> +static pgprot_t vdpasim_get_vq_notification_pgprot(struct vdpa_device *vdpa,
> +                                                  u16 qid, pgprot_t prot)
> +{
> +       /*
> +        * We use normal RAM pages to emulate the vq notification area, so
> +        * just keep the pgprot as it mmaped.
> +        */
> +...