> -----Original Message----- > From: Miao Li <miao...@intel.com> > Sent: Thursday, May 25, 2023 10:01 PM > To: dev@dpdk.org > Cc: Sunil Kumar Kori <sk...@marvell.com>; tho...@monjalon.net; > david.march...@redhat.com; ferruh.yi...@amd.com; > chenbo....@intel.com; yahui....@intel.com; Anatoly Burakov > <anatoly.bura...@intel.com> > Subject: [EXT] [PATCH v3 3/4] bus/pci: introduce helper for MMIO read and > write > > External Email > > ---------------------------------------------------------------------- > From: Chenbo Xia <chenbo....@intel.com> > > The MMIO regions may not be mmap-able for VFIO-PCI devices. > In this case, the driver should explicitly do read and write to access these > regions. > > Signed-off-by: Chenbo Xia <chenbo....@intel.com> > --- > drivers/bus/pci/bsd/pci.c | 22 +++++++++++++++ > drivers/bus/pci/linux/pci.c | 46 ++++++++++++++++++++++++++++++ > drivers/bus/pci/linux/pci_init.h | 10 +++++++ > drivers/bus/pci/linux/pci_uio.c | 22 +++++++++++++++ > drivers/bus/pci/linux/pci_vfio.c | 36 ++++++++++++++++++++++++ > drivers/bus/pci/rte_bus_pci.h | 48 ++++++++++++++++++++++++++++++++ > drivers/bus/pci/version.map | 3 ++ > 7 files changed, 187 insertions(+) > Acked-by: Sunil Kumar Kori <sk...@marvell.com>
... [snipped] ... > 2.25.1