All of lore.kernel.org
 help / color / mirror / Atom feed
* Regression, bisected: hyperv shutdown panics guest
@ 2013-02-07 10:54 Florian Westphal
  2013-02-07 12:43 ` KY Srinivasan
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Westphal @ 2013-02-07 10:54 UTC (permalink / raw)
  To: Feng Hong; +Cc: ebiederm, Kees Cook, linux-kernel, kys, haiyangz

With 3.7, hyperv guest shutdown no longer works.
Instead, guest kernel throws a bunch of "BUG: scheduling-while-atomic"
errors and then dies.

reverting

commit 6c0c0d4d1080840eabb3d055d2fd81911111c5fd
Author: hongfeng <hongfeng@marvell.com>
Date:   Thu Oct 4 17:12:25 2012 -0700
poweroff: fix bug in orderly_poweroff()

fixes this problem.

Greping for users of orderly_poweroff() shows that hyperv isn't
the only caller that invokes the function from irq context.

In fact, kdoc for orderly_poweroff says:

* This may be called from any context to trigger a system shutdown.
* If the orderly shutdown fails, it will force an immediate shutdown.

Any suggestions on how to properly fix this?

Thanks,
Florian

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

end of thread, other threads:[~2013-02-07 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 10:54 Regression, bisected: hyperv shutdown panics guest Florian Westphal
2013-02-07 12:43 ` KY Srinivasan

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.