mbox series

[vfio,0/2] vfio/pds: Reset related fixes/improvements

Message ID 20240308182149.22036-1-brett.creeley@amd.com (mailing list archive)
Headers show
Series vfio/pds: Reset related fixes/improvements | expand

Message

Brett Creeley March 8, 2024, 6:21 p.m. UTC
This mini-series adds a fix for a patch that was recently accepted that
I missed during initial testing. The link can be found here:
https://lore.kernel.org/kvm/20240228003205.47311-2-brett.creeley@amd.com/

Also, remove the unnecessary deferred reset logic.

Brett Creeley (2):
  vfio/pds: Make sure migration file isn't accessed after reset
  vfio/pds: Refactor/simplify reset logic

 drivers/vfio/pci/pds/dirty.c    |  6 ++---
 drivers/vfio/pci/pds/lm.c       | 13 ++++++++++
 drivers/vfio/pci/pds/lm.h       |  1 +
 drivers/vfio/pci/pds/pci_drv.c  | 27 ++++----------------
 drivers/vfio/pci/pds/vfio_dev.c | 45 +++++++--------------------------
 drivers/vfio/pci/pds/vfio_dev.h |  8 ++----
 6 files changed, 33 insertions(+), 67 deletions(-)

Comments

Alex Williamson March 11, 2024, 8:23 p.m. UTC | #1
On Fri, 8 Mar 2024 10:21:47 -0800
Brett Creeley <brett.creeley@amd.com> wrote:

> This mini-series adds a fix for a patch that was recently accepted that
> I missed during initial testing. The link can be found here:
> https://lore.kernel.org/kvm/20240228003205.47311-2-brett.creeley@amd.com/
> 
> Also, remove the unnecessary deferred reset logic.
> 
> Brett Creeley (2):
>   vfio/pds: Make sure migration file isn't accessed after reset
>   vfio/pds: Refactor/simplify reset logic
> 
>  drivers/vfio/pci/pds/dirty.c    |  6 ++---
>  drivers/vfio/pci/pds/lm.c       | 13 ++++++++++
>  drivers/vfio/pci/pds/lm.h       |  1 +
>  drivers/vfio/pci/pds/pci_drv.c  | 27 ++++----------------
>  drivers/vfio/pci/pds/vfio_dev.c | 45 +++++++--------------------------
>  drivers/vfio/pci/pds/vfio_dev.h |  8 ++----
>  6 files changed, 33 insertions(+), 67 deletions(-)
> 

Applied to vfio next branch for v6.9.  Thanks,

Alex