diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-05-06 17:52:26 +0200 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2014-06-09 17:45:36 -0400 |
commit | 7939831eacd81fccbd7a956b30c7bb3abb9079db (patch) | |
tree | 83b0badcb3e2c274c769bbb325b79e5a0f11d382 /drivers/platform | |
parent | 0ca849ea4fb86d9ee61435559f7159ed627895c3 (diff) | |
download | op-kernel-dev-7939831eacd81fccbd7a956b30c7bb3abb9079db.zip op-kernel-dev-7939831eacd81fccbd7a956b30c7bb3abb9079db.tar.gz |
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/pvpanic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/pvpanic.c b/drivers/platform/x86/pvpanic.c index c9f6e51..073a90a 100644 --- a/drivers/platform/x86/pvpanic.c +++ b/drivers/platform/x86/pvpanic.c @@ -70,6 +70,7 @@ pvpanic_panic_notify(struct notifier_block *nb, unsigned long code, static struct notifier_block pvpanic_panic_nb = { .notifier_call = pvpanic_panic_notify, + .priority = 1, /* let this called before broken drm_fb_helper */ }; |