linux/drivers/vdpa/pds
Xiong Weimin 6601d5a008 vdpa/pds: check virtqueue notify mapping
vp_modern_map_vq_notify() can fail and return NULL.  Check the notify
mapping while adding a pds vDPA device and use the existing teardown path
instead of storing a NULL doorbell pointer in the virtqueue state.

Signed-off-by: Xiong Weimin <xiongweimin@kylinos.cn>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260806005809.1875257-1-xiongweimin@kylinos.cn>
2026-09-07 18:54:02 -04:00
..
aux_drv.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
aux_drv.h pds_vdpa: add support for vdpa and vdpamgmt interfaces 2023-06-27 10:47:09 -04:00
cmds.c pds_vdpa: add vdpa config client commands 2023-06-27 10:47:09 -04:00
cmds.h vdpa: Remove unused declarations 2024-09-25 07:07:43 -04:00
debugfs.c pds_vdpa: fix up format-truncation complaint 2023-12-01 09:55:01 -05:00
debugfs.h pds_vdpa: add support for vdpa and vdpamgmt interfaces 2023-06-27 10:47:09 -04:00
Makefile pds_vdpa: protect Makefile from unconfigured debugfs 2023-08-10 15:24:27 -04:00
vdpa_dev.c vdpa/pds: check virtqueue notify mapping 2026-09-07 18:54:02 -04:00
vdpa_dev.h vdpa/pds: fixes for VF vdpa flr-aer handling 2024-03-19 02:45:49 -04:00