Skip to content

powerpc/iommu: Stop crashing the host when VM is terminated

Alexey Kardashevskiy kvm-ppc linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2powerpc/iommu: Allocate it_map by vmallocarch/powerpc/kernel/iommu.c+3 -122 replies
2/2powerpc/iommu: Do not immediately panic when failed IOMMU table allocationarch/powerpc/kernel/iommu.c arch/powerpc/platforms/cell/iommu.c arch/powerpc/platforms/pasemi/iommu.c +3 more+26 -154 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDavid GibsonLeonardo Bras
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH kernel 0/2] powerpc/iommu: Stop crashing the host when VM is terminated

Killing a VM on a host under memory pressure kills a host which is annoying. 1/2 reduces the chances, 2/2 eliminates panic() on ioda2.

This is based on sha1
f40ddce88593 Linus Torvalds "Linux 5.11".

Please comment. Thanks.

Alexey Kardashevskiy (2):
powerpc/iommu: Allocate it_map by vmalloc powerpc/iommu: Do not immediately panic when failed IOMMU table
allocation

 arch/powerpc/kernel/iommu.c               | 19 ++++++-------------
 arch/powerpc/platforms/cell/iommu.c       |  3 ++-
 arch/powerpc/platforms/pasemi/iommu.c     |  4 +++-
 arch/powerpc/platforms/powernv/pci-ioda.c | 15 ++++++++-------
 arch/powerpc/platforms/pseries/iommu.c    | 10 +++++++---
 arch/powerpc/sysdev/dart_iommu.c          |  3 ++-
 6 files changed, 28 insertions(+), 26 deletions(-)
Signature · 1 line
2.17.1