[GIT PULL] VFIO fixes for v5.2-rc5

From: Alex Williamson
Date: Tue Jun 11 2019 - 13:54:34 EST


Hi Linus,

The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a:

Linux 5.2-rc3 (2019-06-02 13:55:33 -0700)

are available in the Git repository at:

git://github.com/awilliam/linux-vfio.git tags/vfio-v5.2-rc5

for you to fetch changes up to 5715c4dd66a315515eedef3fc4cbe1bf4620f009:

vfio/mdev: Synchronize device create/remove with parent removal (2019-06-06 12:32:37 -0600)

----------------------------------------------------------------
VFIO fixes for v5.2-rc5

- Fix mdev device create/remove paths to provide initialized device for
parent driver create callback and correct ordering of device removal
from bus prior to initiating removal by parent. Also resolve races
between parent removal and device create/remove paths. (Parav Pandit)

----------------------------------------------------------------
Parav Pandit (3):
vfio/mdev: Improve the create/remove sequence
vfio/mdev: Avoid creating sysfs remove file on stale device removal
vfio/mdev: Synchronize device create/remove with parent removal

drivers/vfio/mdev/mdev_core.c | 136 ++++++++++++++++++---------------------
drivers/vfio/mdev/mdev_private.h | 4 +-
drivers/vfio/mdev/mdev_sysfs.c | 6 +-
3 files changed, 69 insertions(+), 77 deletions(-)