On Wed, Dec 06, 2023 at 10:38:56AM +0200, Yishai Hadas wrote: > Expose vfio_pci_core_iowrite/read##size() to let it be used by drivers. > > This functionality is needed to enable direct access to some physical > BAR of the device with the proper locks/checks in place. > > The next patches from this series will use this functionality on a data > path flow when a direct access to the BAR is needed. > > Signed-off-by: Yishai Hadas <yishaih@xxxxxxxxxx> > --- > drivers/vfio/pci/vfio_pci_rdwr.c | 50 +++++++++++++++++--------------- > include/linux/vfio_pci_core.h | 19 ++++++++++++ > 2 files changed, 45 insertions(+), 24 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason