mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David Woodhouse <dwmw@amazon.co.uk>,
	LKML <linux-kernel@vger.kernel.org>,
	Ingo Molnar <mingo@kernel.org>,
	Greg KH <gregkh@linuxfoundation.org>
Subject: Re: [GIT pull] x86/pti updates for 4.15
Date: Sun, 14 Jan 2018 22:01:44 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.20.1801142201050.2371@nanos> (raw)
In-Reply-To: <CA+55aFzWgquv4i6Mab6bASqYXg3ErV3XDFEYf=GEcCDQg5uAtw@mail.gmail.com>

On Sun, 14 Jan 2018, Linus Torvalds wrote:
> On Sun, Jan 14, 2018 at 7:27 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> >
> >    git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus
> 
> So I do think this:
> 
>         $(warning CONFIG_RETPOLINE=y, but not supported by the
> compiler. Toolchain update recommended.)
> 
> needs to be removed.
> 
> Yes, yes, I understand why it's warning. It's still both annoying and wrong.
> 
> It's wrong because it will just make people turn off RETPOLINE, and
> the asm updates - and return stack clearing - that are independent of
> the compiler are likely the most important parts because they are
> likely the ones easiest to target.
> 
> And it's annoying because most people won't be able to do anything
> about it. The number of people building their own compiler? Very
> small. So if their distro hasn't got a compiler yet (and pretty much
> nobody does), the warning is just annoying crap.
> 
> It is already properly reported as part of the sysfs interface. The
> compile-time warning only encourages bad things.

Good point. I'll queue a patch to that effect or do you just want to do
that yourself?

Thanks,

	tglx

  reply	other threads:[~2018-01-14 21:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-14 15:27 Thomas Gleixner
2018-01-14 20:59 ` Linus Torvalds
2018-01-14 21:01   ` Thomas Gleixner [this message]
2018-01-14 21:12     ` Linus Torvalds
2018-01-14 21:15       ` David Woodhouse
2018-01-14 23:16       ` Thomas Gleixner
2018-01-14 21:33   ` [tip:x86/pti] x86/retpoline: Remove compile time warning tip-bot for Thomas Gleixner

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=alpine.DEB.2.20.1801142201050.2371@nanos \
    --to=tglx@linutronix.de \
    --cc=dwmw@amazon.co.uk \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --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®