Intel IOMMU Suspend/Resume Support - DMAR
authorFenghua Yu <fenghua.yu@intel.com>
Fri, 27 Mar 2009 21:22:42 +0000 (14:22 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 3 Apr 2009 20:45:54 +0000 (21:45 +0100)
commitf59c7b69bcba31cd355ababe067202b9895d6102
tree4f06ceb6ab9a135acd9b316c806aaa99c097b373
parent8f912ba4d7cdaf7d31cf39fe5a9b7732308a256d
Intel IOMMU Suspend/Resume Support - DMAR

This patch implements the suspend and resume feature for Intel IOMMU
DMAR. It hooks to kernel suspend and resume interface. When suspend happens, it
saves necessary hardware registers. When resume happens, it restores the
registers and restarts IOMMU by enabling translation, setting up root entry, and
re-enabling queued invalidation.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c
include/linux/intel-iommu.h