[EXT] [PATCH v3 4/4] bus/pci: add VFIO sparse mmap support
Sunil Kumar Kori
skori at marvell.com
Mon May 29 08:17:10 CEST 2023
> -----Original Message-----
> From: Miao Li <miao.li at intel.com>
> Sent: Thursday, May 25, 2023 10:01 PM
> To: dev at dpdk.org
> Cc: Sunil Kumar Kori <skori at marvell.com>; thomas at monjalon.net;
> david.marchand at redhat.com; ferruh.yigit at amd.com;
> chenbo.xia at intel.com; yahui.cao at intel.com; Anatoly Burakov
> <anatoly.burakov at intel.com>
> Subject: [EXT] [PATCH v3 4/4] bus/pci: add VFIO sparse mmap support
>
> External Email
>
> ----------------------------------------------------------------------
> This patch adds sparse mmap support in PCI bus. Sparse mmap is a capability
> defined in VFIO which allows multiple mmap areas in one VFIO region.
>
> In this patch, the sparse mmap regions are mapped to one continuous virtual
> address region that follows device-specific BAR layout. So, driver can still
> access all mapped sparse mmap regions by using 'bar_base_address +
> bar_offset'.
>
> Signed-off-by: Miao Li <miao.li at intel.com>
> Signed-off-by: Chenbo Xia <chenbo.xia at intel.com>
> ---
> drivers/bus/pci/linux/pci_vfio.c | 104 +++++++++++++++++++++++++++----
> drivers/bus/pci/private.h | 2 +
> 2 files changed, 94 insertions(+), 12 deletions(-)
>
Acked-by: Sunil Kumar Kori <skori at marvell.com>
...
[snipped]
...
> 2.25.1
More information about the dev
mailing list