> -----Original Message-----
> From: Miao Li <[email protected]>
> Sent: Thursday, May 25, 2023 10:01 PM
> To: [email protected]
> Cc: Sunil Kumar Kori <[email protected]>; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; Anatoly Burakov
> <[email protected]>
> 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 <[email protected]>
> Signed-off-by: Chenbo Xia <[email protected]>
> ---
>  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 <[email protected]>
...
[snipped]
...

> 2.25.1

Reply via email to