For example, the TCMU will use the map area as ISCSI commands & data ringdiff --git a/drivers/uio/uio.c b/drivers/uio/uio.cHow does this help?
index fba021f..6ca0ae0 100644
--- a/drivers/uio/uio.c
+++ b/drivers/uio/uio.c
@@ -708,6 +708,8 @@ static int uio_mmap(struct file *filep, struct vm_area_struct *vma)
case UIO_MEM_LOGICAL:
case UIO_MEM_VIRTUAL:
return uio_mmap_logical(vma);
+ case UIO_MEM_CUSTOM:
+ return 0;
Can you provide an update to the documentation inYes, I will update this.
Documentation/driver-api/uio-howto.rst to show how to use this?
thanks,
greg k-h