[GIT PULL] vhost,vdpa: fixes

From: Michael S. Tsirkin
Date: Sat Oct 31 2020 - 15:59:55 EST


The following changes since commit 88a0d60c6445f315fbcfff3db792021bb3a67b28:

MAINTAINERS: add URL for virtio-mem (2020-10-21 10:48:11 -0400)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus

for you to fetch changes up to 0c86d774883fa17e7c81b0c8838b88d06c2c911e:

vdpasim: allow to assign a MAC address (2020-10-30 04:04:35 -0400)

----------------------------------------------------------------
vhost,vdpa: fixes

Fixes all over the place. A new UAPI is borderline: can also be
considered a new feature but also seems to be the only way we could come
up with to fix addressing for userspace - and it seems important to
switch to it now before userspace making assumptions about addressing
ability of devices is set in stone.

Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>

----------------------------------------------------------------
Dan Carpenter (1):
vhost_vdpa: Return -EFAULT if copy_from_user() fails

Jason Wang (3):
vdpa: introduce config op to get valid iova range
vhost: vdpa: report iova range
vdpa_sim: implement get_iova_range()

Jing Xiangfeng (1):
vdpa/mlx5: Fix error return in map_direct_mr()

Laurent Vivier (3):
vdpa_sim: Fix DMA mask
vdpasim: fix MAC address configuration
vdpasim: allow to assign a MAC address

Michael S. Tsirkin (1):
Revert "vhost-vdpa: fix page pinning leakage in error path"

Zhu Lingshan (1):
vdpa: handle irq bypass register failure case

drivers/vdpa/mlx5/core/mr.c | 5 +-
drivers/vdpa/vdpa_sim/vdpa_sim.c | 33 +++++++-
drivers/vhost/vdpa.c | 167 ++++++++++++++++++++++-----------------
include/linux/vdpa.h | 15 ++++
include/uapi/linux/vhost.h | 4 +
include/uapi/linux/vhost_types.h | 9 +++
6 files changed, 154 insertions(+), 79 deletions(-)