From: Ingo Molnar <mingo@kernel.org>
To: Dave Hansen <dave.hansen@intel.com>
Cc: the arch/x86 maintainers <x86@kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
"Yu, Yu-cheng" <yu-cheng.yu@intel.com>,
"Yu, Fenghua" <fenghua.yu@intel.com>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>, Borislav Petkov <bp@alien8.de>
Subject: Re: x86 fpu: command-line parameters broken post-FPU-rewrite
Date: Wed, 9 Dec 2015 09:32:10 +0100 [thread overview]
Message-ID: <20151209083209.GB15254@gmail.com> (raw)
In-Reply-To: <566740E1.40608@intel.com>
* Dave Hansen <dave.hansen@intel.com> wrote:
> Hey Ingo,
>
> We were starting to look at reenabling XSAVES support and tried to use the
> 'noxsave' and 'noxsaves' kernel command-line options. The rewrite moved the FPU
> initialization to before we even are parsing command-line options, even the
> early_param()s.
>
> Do you have any preferences on how it gets fixed?
>
> The most obvious thing would be to just defer as much of the FPU setup as we can
> until after parse_early_param() has happened. The only other think I can think
> of doing would be to try to do some *really* early, simple, command-line parsing
> to look for 'noxsave' and friends.
>
> Thoughts?
Hm, so given that having the FPU operational is key to a functioning kernel (and
other kernel subsystems may make use of FPU functionality), I'd rather bring
option parsing earlier than change the FPU setup sequence. FPU setup should be
done when we identify the CPU - not 'very late' as we used to.
Thanks,
Ingo
next prev parent reply other threads:[~2015-12-09 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 20:43 x86 fpu: command-line parameters broken post-FPU-rewrite Dave Hansen
2015-12-09 8:32 ` Ingo Molnar [this message]
2015-12-09 19:14 ` Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151209083209.GB15254@gmail.com \
--to=mingo@kernel.org \
--cc=bp@alien8.de \
--cc=dave.hansen@intel.com \
--cc=fenghua.yu@intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=yu-cheng.yu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.