[PATCH kernel v5 0/6] powerpc/spapr/vfio: Put pages on VFIO container shutdown

Alexey Kardashevskiy aik at ozlabs.ru
Fri Nov 11 23:32:11 AEDT 2016


These patches are to fix a bug when pages stay pinned hours
after QEMU which requested pinning exited.

The only change to v4 is it is now 6 patches and mm is
referenced rather later than sooner.

Please comment. Thanks.

Alexey Kardashevskiy (6):
  powerpc/iommu: Pass mm_struct to init/cleanup helpers
  powerpc/iommu: Stop using @current in mm_iommu_xxx
  vfio/spapr: Postpone allocation of userspace version of TCE table
  vfio/spapr: Postpone default window creation
  vfio/spapr: Reference mm in tce_container
  powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown

 arch/powerpc/include/asm/mmu_context.h |  20 ++-
 arch/powerpc/kernel/setup-common.c     |   2 +-
 arch/powerpc/mm/mmu_context_book3s64.c |   6 +-
 arch/powerpc/mm/mmu_context_iommu.c    |  60 ++-----
 drivers/vfio/vfio_iommu_spapr_tce.c    | 316 ++++++++++++++++++++++-----------
 5 files changed, 240 insertions(+), 164 deletions(-)

-- 
2.5.0.rc3



More information about the Linuxppc-dev mailing list