]> git.baikalelectronics.ru Git - kernel.git/commit
pvpanic: Set high notifier priority
authorTakashi Iwai <tiwai@suse.de>
Tue, 6 May 2014 15:52:26 +0000 (17:52 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Mon, 9 Jun 2014 21:45:36 +0000 (17:45 -0400)
commit780821e3dd33490a50e03a49da21dac17b837456
tree83b0badcb3e2c274c769bbb325b79e5a0f11d382
parent753807d3dec55b05d9d41e51b6f5d7df8f917f9f
pvpanic: Set high notifier priority

We've observed the missing pvpanic call at panic, and it turned out
that this was blocked by the broken notifier of drm_fb_helper, where
scheduling may be called during switching to the fb console.
It's fairly difficult to fix the drm_fb problem and a quick fix isn't
foreseen, a simpler solution for the missing pvpanic call would be
just to call this earlier.

In order to assure that, this patch sets a higher priority to pvpanic
notifier_block.  Once when the issue of drm_fb is resolved, we can
remove this priority again.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/pvpanic.c