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

Alexey Kardashevskiy aik at ozlabs.ru
Wed Oct 12 15:58:26 AEDT 2016


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

Please comment. Thanks.

Alexey Kardashevskiy (2):
  powerpc/iommu: Stop using @current in mm_iommu_xxx
  powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown

 arch/powerpc/include/asm/mmu_context.h | 19 +++----
 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    | 90 ++++++++++++++++++++++++++++------
 5 files changed, 107 insertions(+), 70 deletions(-)

-- 
2.5.0.rc3



More information about the Linuxppc-dev mailing list