All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about Xen S3 and resume code - Linux dom0 never exits the xen_safe_halt hypercall after resume
@ 2011-06-16 22:57 Konrad Rzeszutek Wilk
  2011-06-17  2:21 ` Tian, Kevin
  0 siblings, 1 reply; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-06-16 22:57 UTC (permalink / raw)
  To: kevin.tian, ke.yu, xen-devel

I've been eyeing the ACPI S3/S5 code to see what would be necessary to
retool, and while testing I found something strange..

I've stuck the code on

 git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git devel/acpi-s3.v1

I found out that if I don't have this patch:

commit 9f301b0a0081676dfc71b7f0898295e6bcba391a
Author: Yu Ke <ke.yu@intel.com>
Date:   Thu Jun 16 17:15:26 2011 -0400

    xen/acpi: add xen acpi processor driver

(which is in the devel/acpi-s3.v0 branch).

the hypervisor, after an S3 resume sits forever in the default_idle. The
Linux dom0 is stuck looping (I think) around SCHEDOP_block hypercall.

http://darnok.org/xen/devel.acpi-s3.v1.serial.log

If that patch above is present and I've cpufreq=xen on the Xen
hypervisor then Linux kernel gets unstuck and returns to userspace:

http://darnok.org/xen/devel.acpi-s3.v0.serial.log

(however, if I set cpuidle=0 cpufreq=none on the hypervisor line and
have the 9f301b0a0081676dfc71b7f0898295e6bcba391a patch it still
gets stuck).

I figured that the primary reason the guest is allowed to
exit is SCHEDOP_block loop is b/c the pm_idle call is set to the
acp_processor_idle which does "something" extra after the machine comes
out of a S3 suspend.

Any ideas?

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

end of thread, other threads:[~2011-07-01  2:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 22:57 Question about Xen S3 and resume code - Linux dom0 never exits the xen_safe_halt hypercall after resume Konrad Rzeszutek Wilk
2011-06-17  2:21 ` Tian, Kevin
2011-06-20 12:36   ` Konrad Rzeszutek Wilk
2011-06-20 23:22     ` Tian, Kevin
2011-06-30  5:34       ` Tian, Kevin
2011-06-30 16:31         ` Konrad Rzeszutek Wilk
2011-06-30 22:13           ` Konrad Rzeszutek Wilk
2011-07-01  2:11             ` Tian, Kevin
2011-07-01  2:10           ` Tian, Kevin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.