From: Randy Dunlap <rdunlap@infradead.org>
To: Andi Kleen <ak@linux.intel.com>,
Linus Torvalds <torvalds@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Kosina <jikos@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
David Woodhouse <dwmw@amazon.co.uk>,
Rusty Russell <rusty@rustcorp.com.au>,
"Van De Ven, Arjan" <arjan.van.de.ven@intel.com>,
Jessica Yu <jeyu@kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Revert "module: Add retpoline tag to VERMAGIC"
Date: Wed, 24 Jan 2018 11:21:33 -0800 [thread overview]
Message-ID: <72742ccd-febe-7421-dcd1-595959de42e4@infradead.org> (raw)
In-Reply-To: <20180124181735.GB26209@tassilo.jf.intel.com>
On 01/24/2018 10:17 AM, Andi Kleen wrote:
> diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
> index e4dc26185aa7..9064b20473a7 100644
> --- a/arch/x86/kernel/cpu/bugs.c
> +++ b/arch/x86/kernel/cpu/bugs.c
> @@ -93,6 +93,18 @@ static const char *spectre_v2_strings[] = {
>
> static enum spectre_v2_mitigation spectre_v2_enabled = SPECTRE_V2_NONE;
>
> +/* A module has been loaded. Disable reporting that we're good. */
> +void disable_retpoline(void)
> +{
> + spectre_v2_enabled = SPECTRE_V2_NONE;
> + pr_err("system may be vunerable to spectre\n");
vulnerable
> +}
--
~Randy
next prev parent reply other threads:[~2018-01-24 19:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-24 14:28 Greg Kroah-Hartman
2018-01-24 15:44 ` Andi Kleen
2018-01-24 17:00 ` Linus Torvalds
2018-01-24 18:17 ` Andi Kleen
2018-01-24 19:21 ` Randy Dunlap [this message]
2018-01-24 19:31 ` David Woodhouse
2018-01-25 8:43 ` Thomas Gleixner
2018-01-26 0:20 ` Jessica Yu
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=72742ccd-febe-7421-dcd1-595959de42e4@infradead.org \
--to=rdunlap@infradead.org \
--cc=ak@linux.intel.com \
--cc=arjan.van.de.ven@intel.com \
--cc=dwmw@amazon.co.uk \
--cc=gregkh@linuxfoundation.org \
--cc=jeyu@kernel.org \
--cc=jikos@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®