public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.29: can't resume from suspend with DMAR (intel iommu) enabled
@ 2009-03-24 19:58 Andrew Lutomirski
  2009-03-24 20:03 ` Rafael J. Wysocki
  2009-03-24 20:32 ` Ingo Molnar
  0 siblings, 2 replies; 32+ messages in thread
From: Andrew Lutomirski @ 2009-03-24 19:58 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 600 bytes --]

On vanilla 2.6.29 (on Ubuntu 8.10), on a Lenovo x200s, my system is
completely hosed on resume.  It appears that even hard disk IO didn't
work (trying to do *anything* including getting a dmesg trace just
spewed sda io errors to the console).  Hence no trace.  I did an
alt-sysrq-b and the screen went blank and the machine just started
beeping at me.

Resume works much better with intel_iommu=off.  (I remember seeing a
patch go by that purported to fix resume with IOMMU enabled, but it
didn't work for me.)

I'd be happy to try to make a better bug report if anyone has any bright ideas.

--Andy

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 20060 bytes --]

^ permalink raw reply	[flat|nested] 32+ messages in thread
* [patch 0/2] Intel IOMMU Suspend/Resume Support
@ 2009-03-25 18:45 fenghua.yu
  2009-03-25 18:45 ` [patch 1/2] Intel IOMMU Suspend/Resume Support for DMAR fenghua.yu
  0 siblings, 1 reply; 32+ messages in thread
From: fenghua.yu @ 2009-03-25 18:45 UTC (permalink / raw)
  To: mingo, dwmw2, amluto, kyle, mgross; +Cc: linux-kernel, iommu

Current Intel IOMMU does not support suspend and resume. In S3 event, kernel
crashes when IOMMU is enabled. The attached patch set implements the suspend and
resume feature for Intel IOMMU. 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.

This patch set is applied to the tip tree.

-- 


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2009-04-11 17:15 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 19:58 2.6.29: can't resume from suspend with DMAR (intel iommu) enabled Andrew Lutomirski
2009-03-24 20:03 ` Rafael J. Wysocki
2009-03-24 20:32 ` Ingo Molnar
2009-03-24 20:36   ` Yu, Fenghua
2009-03-24 20:40     ` Kyle McMartin
2009-04-10 22:46       ` David Woodhouse
2009-04-10 23:21         ` Yu, Fenghua
2009-04-11  0:48         ` Suresh Siddha
2009-04-11  2:12           ` David Woodhouse
2009-03-24 22:36   ` [PATCH 1/2] Intel IOMMU Suspend/Resume Support for DMAR Fenghua Yu
2009-03-24 22:37   ` [PATCH 2/2] Intel IOMMU Suspend/Resume Support for Queued Invalidation Fenghua Yu
2009-03-25 17:32   ` 2.6.29: can't resume from suspend with DMAR (intel iommu) enabled mark gross
2009-03-25 17:38     ` Ingo Molnar
2009-03-25 17:53   ` David Woodhouse
2009-03-25 17:59     ` Ingo Molnar
2009-03-25 18:03       ` David Woodhouse
2009-03-25 18:07         ` Ingo Molnar
2009-03-25 18:10           ` David Woodhouse
2009-03-25 18:20             ` Ingo Molnar
2009-03-25 18:42               ` Ingo Molnar
2009-04-06 20:56       ` David Woodhouse
2009-04-07  7:56         ` Matthew Garrett
2009-04-07 11:10           ` David Woodhouse
2009-04-10 21:27           ` David Woodhouse
2009-04-11  6:04           ` David Woodhouse
2009-04-11 14:38             ` Kyle McMartin
2009-04-11 16:52               ` David Woodhouse
2009-04-11 17:14                 ` Kyle McMartin
  -- strict thread matches above, loose matches on Subject: below --
2009-03-25 18:45 [patch 0/2] Intel IOMMU Suspend/Resume Support fenghua.yu
2009-03-25 18:45 ` [patch 1/2] Intel IOMMU Suspend/Resume Support for DMAR fenghua.yu
2009-03-25 20:12   ` Ingo Molnar
2009-03-25 23:47     ` David Woodhouse
2009-03-26  9:58       ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox