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)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 4 Jun 2008 11:11:47 +0000 (13:11 +0200)
commitcd76374e9de4501acc74f833dc6cb5e7a5dca115
tree6ba421850f01a6c67f28b60b7822e1c0188efed9
parentbe524fb96081e9e511d993ebf39b05a32b19476e
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