> -----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 3/4] bus/pci: introduce helper for MMIO read and > write > > External Email > > ---------------------------------------------------------------------- > From: Chenbo Xia <[email protected]> > > 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 <[email protected]> > --- > 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 <[email protected]>
... [snipped] ... > 2.25.1

