suspend-vs-iommu: prevent suspend if we could not resume
authorPavel Machek <pavel@suse.cz>
Thu, 29 May 2008 07:30:21 +0000 (00:30 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Jun 2008 11:02:48 +0000 (13:02 +0200)
commitf529626a86d61897862aa1bbbb4537773209238e
treea584cd385e87a9c6205aafdc47a08f2b92201cc2
parentdb9f600b96c16bb3c7f094e294fbdd370226ad86
suspend-vs-iommu: prevent suspend if we could not resume

iommu/gart support misses suspend/resume code, which can do bad stuff,
including memory corruption on resume.  Prevent system suspend in case we
would be unable to resume.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Tested-by: Patrick <ragamuffin@datacomm.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-gart_64.c