linux-stable/drivers
Gautam Dawar db9adcbf42 vdpa: multiple address spaces support
This patches introduces the multiple address spaces support for vDPA
device. This idea is to identify a specific address space via an
dedicated identifier - ASID.

During vDPA device allocation, vDPA device driver needs to report the
number of address spaces supported by the device then the DMA mapping
ops of the vDPA device needs to be extended to support ASID.

This helps to isolate the environments for the virtqueue that will not
be assigned directly. E.g in the case of virtio-net, the control
virtqueue will not be assigned directly to guest.

As a start, simply claim 1 virtqueue groups and 1 address spaces for
all vDPA devices. And vhost-vDPA will simply reject the device with
more than 1 virtqueue groups or address spaces.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Gautam Dawar <gdawar@xilinx.com>
Message-Id: <20220330180436.24644-7-gdawar@xilinx.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-05-31 12:44:27 -04:00
..
accessibility
acpi More power management updates for 5.19-rc1 2022-05-30 11:37:26 -07:00
amba
android
ata ata changes for 5.19-rc1 2022-05-23 14:14:50 -07:00
atm
auxdisplay
base cxl for 5.19 2022-05-27 21:24:19 -07:00
bcma
block virtio-blk: support mq_ops->queue_rqs() 2022-05-31 12:44:23 -04:00
bluetooth
bus ARM: driver changes for 5.19 2022-05-26 10:32:47 -07:00
cdrom
char This update includes the following changes: 2022-05-27 18:06:49 -07:00
clk dmaengine updates for v5.19-rc1 2022-05-29 11:38:27 -07:00
clocksource asm-generic changes for 5.19 2022-05-26 10:50:30 -07:00
comedi
connector
counter
cpufreq cpufreq: CPPC: Fix unused-function warning 2022-05-30 15:33:42 +02:00
cpuidle Merge branches 'pm-em' and 'pm-cpuidle' 2022-05-23 19:18:51 +02:00
crypto powerpc updates for 5.19 2022-05-28 11:27:17 -07:00
cxl
dax
dca
devfreq
dio
dma dmaengine updates for v5.19-rc1 2022-05-29 11:38:27 -07:00
dma-buf drm for 5.19-rc1 2022-05-25 16:18:27 -07:00
edac - A gargen variety of fixes which don't fit any other tip bucket: 2022-05-23 19:32:59 -07:00
eisa
extcon
firewire Merge branch 'for-linus' into for-next 2022-05-23 07:48:27 +02:00
firmware Yang Shi has improved the behaviour of khugepaged collapsing of readonly 2022-05-26 12:32:41 -07:00
fpga
fsi
gnss
gpio Pin control bulk changes for the v5.19 series: 2022-05-28 11:15:54 -07:00
gpu hyperv-next for 5.19 2022-05-28 11:39:01 -07:00
greybus
hid drm for 5.19-rc1 2022-05-25 16:18:27 -07:00
hsi
hv hv_balloon: Fix balloon_probe() and balloon_remove() error handling 2022-05-26 10:04:57 +00:00
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio Thermal control updates for 5.19-rc1 2022-05-24 16:19:30 -07:00
infiniband v5.19 pull request 2022-05-26 21:08:40 -07:00
input Input updates for 5.19 merge window: 2022-05-28 14:05:54 -07:00
interconnect
iommu dma-mapping updates for Linux 5.19 2022-05-25 19:18:36 -07:00
ipack
irqchip gpio updates for v5.19 2022-05-26 14:51:38 -07:00
isdn
leds
macintosh
mailbox mailbox: qcom-ipcc: Fix -Wunused-function with CONFIG_PM_SLEEP=n 2022-05-24 08:08:24 -05:00
mcb
md libnvdimm for 5.19 2022-05-27 15:49:30 -07:00
media Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
memory More power management updates for 5.19-rc1 2022-05-30 11:37:26 -07:00
memstick
message
mfd mfd: rt4831: Improve error reporting for problems during .remove() 2022-05-23 15:08:04 +01:00
misc powerpc updates for 5.19 2022-05-28 11:27:17 -07:00
mmc m68knommu: changes for linux 5.19 2022-05-30 10:56:18 -07:00
most
mtd spi: Updates for v5.19 2022-05-24 15:13:30 -07:00
mux
net asm-generic changes for 5.19 2022-05-26 10:50:30 -07:00
nfc
ntb
nubus
nvdimm cxl for 5.19 2022-05-27 21:24:19 -07:00
nvme v5.19 pull request 2022-05-26 21:08:40 -07:00
nvmem
of drm for 5.19-rc1 2022-05-25 16:18:27 -07:00
opp OPP updates for 5.19-rc1 2022-05-25 15:02:26 +02:00
parisc
parport
pci hyperv-next for 5.19 2022-05-28 11:39:01 -07:00
pcmcia
peci
perf arm64 updates for 5.19: 2022-05-23 21:06:11 -07:00
phy
pinctrl Pin control bulk changes for the v5.19 series: 2022-05-28 11:15:54 -07:00
platform Cleanups and fixes 2022-05-30 11:01:50 -07:00
pnp
power
powercap Merge branches 'pm-em' and 'pm-cpuidle' 2022-05-23 19:18:51 +02:00
pps
ps3
ptp ptp: ocp: Add firmware header checks 2022-05-24 11:39:54 -07:00
pwm
rapidio
ras
regulator Merge back reboot/poweroff notifiers rework for 5.19-rc1. 2022-05-25 14:38:29 +02:00
remoteproc
reset
rpmsg
rtc m68k updates for v5.19 2022-05-23 20:56:17 -07:00
s390 libnvdimm for 5.19 2022-05-27 15:49:30 -07:00
sbus
scsi hyperv-next for 5.19 2022-05-28 11:39:01 -07:00
sh
siox
slimbus
soc More power management updates for 5.19-rc1 2022-05-30 11:37:26 -07:00
soundwire
spi ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
spmi
ssb
staging sound updates for 5.19-rc1 2022-05-25 16:55:16 -07:00
target SCSI misc on 20220524 2022-05-25 19:09:48 -07:00
tc
tee ARM: driver changes for 5.19 2022-05-26 10:32:47 -07:00
thermal Additional thermal control update for 5.19-rc1 2022-05-30 11:34:13 -07:00
thunderbolt
tty Not a lot of material this cycle. Many singleton patches against various 2022-05-27 11:22:03 -07:00
uio
usb More ACPI updates for 5.19-rc1 2022-05-30 11:30:16 -07:00
vdpa vdpa: multiple address spaces support 2022-05-31 12:44:27 -04:00
vfio
vhost vdpa: multiple address spaces support 2022-05-31 12:44:27 -04:00
video fbdev fixes and updates for kernel v5.19-rc1 2022-05-30 12:46:49 -07:00
virt Misc hardening changes for 5.19-rc1 2022-05-25 13:56:57 -07:00
virtio virtio-vdpa: don't set callback if virtio doesn't need it 2022-05-31 12:44:26 -04:00
visorbus
vlynq
vme
w1
watchdog
xen dma-mapping updates for Linux 5.19 2022-05-25 19:18:36 -07:00
zorro
Kconfig
Makefile