RE: [PATCH v3 4/4] bus/pci: add VFIO sparse mmap support

2023-05-29 Thread Xia, Chenbo
> -Original Message- > From: Li, Miao > Sent: Friday, May 26, 2023 12:31 AM > To: dev@dpdk.org > Cc: sk...@marvell.com; tho...@monjalon.net; david.march...@redhat.com; > ferruh.yi...@amd.com; Xia, Chenbo ; Cao, Yahui > ; Burakov, Anatoly > Subject: [PATCH v3 4/4] bus/pci: add VFIO sparse

Re: [PATCH v3 4/4] bus/pci: add VFIO sparse mmap support

2023-05-28 Thread Cao, Yahui
On 5/26/2023 12:31 AM, Miao Li wrote: 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-