[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5564116.e9OFvgDRbB@kreacher>
Date: Fri, 31 May 2019 10:57:17 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Jiri Kosina <jikos@...nel.org>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
the arch/x86 maintainers <x86@...nel.org>,
Pavel Machek <pavel@....cz>, Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
Linux PM <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andy Lutomirski <luto@...nel.org>
Subject: Re: [PATCH v4] x86/power: Fix 'nosmt' vs. hibernation triple fault during resume
On Friday, May 31, 2019 10:47:21 AM CEST Jiri Kosina wrote:
> On Fri, 31 May 2019, Josh Poimboeuf wrote:
>
> > > I disagree with that from the backwards compatibility point of view.
> > >
> > > I personally am quite frequently using differnet combinations of
> > > resumer/resumee kernels, and I've never been biten by it so far. I'd guess
> > > I am not the only one.
> > > Fixmap sort of breaks that invariant.
> >
> > Right now there is no backwards compatibility because nosmt resume is
> > already broken.
>
> Yeah, well, but that's "only" for nosmt kernels at least.
>
> > For "future" backwards compatibility we could just define a hard-coded
> > reserved fixmap page address, adjacent to the vsyscall reserved address.
> >
> > Something like this (not yet tested)? Maybe we could also remove the
> > resume_play_dead() hack?
>
> Does it also solve cpuidle case? I have no overview what all the cpuidle
> drivers might be potentially doing in their ->enter_dead() callbacks.
> Rafael?
There are just two of them, ACPI cpuidle and intel_idle, and they both should
be covered.
In any case, I think that this is the way to go here even though it may be somewhat
problematic to start with.
Cheers,
Rafael
Powered by blists - more mailing lists