[GIT PULL] VFIO fixes for v6.1-rc6

From: Alex Williamson
Date: Mon Nov 14 2022 - 14:43:24 EST


The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc:

Linux 6.1-rc4 (2022-11-06 15:07:11 -0800)

are available in the Git repository at:

https://github.com/awilliam/linux-vfio.git tags/vfio-v6.1-rc6

for you to fetch changes up to e806e223621e4f5105170df69d7311dc3fb4bbb4:

vfio/pci: Check the device set open count on reset (2022-11-10 12:03:36 -0700)

----------------------------------------------------------------
VFIO fixes for v6.1-rc6

- Fixes for potential container registration leak for drivers not
implementing a close callback, duplicate container de-registrations,
and a regression in support for bus reset on last device close from
a device set. (Anthony DeRossi)

----------------------------------------------------------------
Anthony DeRossi (3):
vfio: Fix container device registration life cycle
vfio: Export the device set open count
vfio/pci: Check the device set open count on reset

drivers/vfio/pci/vfio_pci_core.c | 10 +++++-----
drivers/vfio/vfio_main.c | 26 +++++++++++++++++++++-----
include/linux/vfio.h | 1 +
3 files changed, 27 insertions(+), 10 deletions(-)