[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161117170458.5cz3wt762dvgauv5@pd.tnic>
Date: Thu, 17 Nov 2016 18:04:58 +0100
From: Borislav Petkov <bp@...en8.de>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: lockdep splat during suspend
On Thu, Nov 17, 2016 at 05:31:55PM +0100, Thomas Gleixner wrote:
> --- a/kernel/printk/printk.c
> +++ b/kernel/printk/printk.c
> @@ -2194,8 +2194,10 @@ void resume_console(void)
> */
> static int console_cpu_notify(unsigned int cpu)
> {
> - console_lock();
> - console_unlock();
> + if (!cpuhp_tasks_frozen) {
> + console_lock();
> + console_unlock();
> + }
> return 0;
> }
Reported-and-tested-by: Borislav Petkov <bp@...e.de>
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
Powered by blists - more mailing lists