WSL2-Linux-Kernel/drivers/vfio
Alex Williamson 2ccdea040e vfio/pci: Virtualize Maximum Read Request Size
commit cf0d53ba49 upstream.

MRRS defines the maximum read request size a device is allowed to
make.  Drivers will often increase this to allow more data transfer
with a single request.  Completions to this request are bound by the
MPS setting for the bus.  Aside from device quirks (none known), it
doesn't seem to make sense to set an MRRS value less than MPS, yet
this is a likely scenario given that user drivers do not have a
system-wide view of the PCI topology.  Virtualize MRRS such that the
user can set MRRS >= MPS, but use MPS as the floor value that we'll
write to hardware.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-24 09:36:34 +02:00
..
mdev
pci vfio/pci: Virtualize Maximum Read Request Size 2018-04-24 09:36:34 +02:00
platform
Kconfig
Makefile
vfio.c
vfio_iommu_spapr_tce.c
vfio_iommu_type1.c vfio: disable filesystem-dax page pinning 2018-03-08 22:41:06 -08:00
vfio_spapr_eeh.c
virqfd.c