[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.1905311045240.1962@cbobk.fhfr.pm>
Date: Fri, 31 May 2019 10:47:21 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Josh Poimboeuf <jpoimboe@...hat.com>
cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
the arch/x86 maintainers <x86@...nel.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
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 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?
Thanks,
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists