mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org, r.marek@assembler.cz,
	ricardo.neri-calderon@linux.intel.com, rkrcmar@redhat.com,
	Janakarajan.Natarajan@amd.com, bp@suse.de, x86@kernel.org,
	hpa@zytor.com, mingo@redhat.com,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH] clarify how insecure CPU is
Date: Tue, 9 Jan 2018 00:44:30 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.20.1801090043160.2253@nanos> (raw)
In-Reply-To: <20180108230355.GA25349@amd>

On Tue, 9 Jan 2018, Pavel Machek wrote:

> On Mon 2018-01-08 21:27:25, Thomas Gleixner wrote:
> > On Mon, 8 Jan 2018, Pavel Machek wrote:
> > 
> > > 
> > > First, what is going on with X86_BUG_AMD_E400 and X86_BUG_AMD_APIC_C1E
> > > ? They seem to refer to the same bug, perhaps comment should mention
> > > that? (Do we need two flags for one bug?)
> > > 
> > > Next, maybe X86_BUG_CPU_INSECURE is a bit too generic? This seems to
> > > address "Meltdown" problem, but not "Spectre". Should it be limited to
> > > PPro and newer Intel CPUs?
> > > 
> > > Should another erratum be added for "Spectre"? This is present even on
> > > AMD CPUs, but should not be present in 486, maybe Pentium, and some
> > > Atom chips?
> > > 
> > > Plus... is this reasonable interface?
> > > 
> > > bugs		: cpu_insecure
> > 
> > We've renamed it to meltdown already and added spectre_v1/v2 bits for the
> > rest of the mess.
> 
> Could you explain (best with code comment) what is going on with
> X86_BUG_AMD_E400 and X86_BUG_AMD_APIC_C1E ? They seem to refer to the
> same bug.

Sorry, that;s really not the time for this.

> Plus, as I explained: "bugs: meltdown, spectre" seems to be bad idea,
> as userland application can not easily tell between "no bug" and "bug
> not known to kernel".

https://lkml.kernel.org/r/20180107214913.096657732@linutronix.de
https://lkml.kernel.org/r/20180107214913.177414879@linutronix.de

Thanks,

	tglx

  reply	other threads:[~2018-01-08 23:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-08 20:10 Pavel Machek
2018-01-08 20:27 ` Thomas Gleixner
2018-01-08 23:03   ` Pavel Machek
2018-01-08 23:44     ` Thomas Gleixner [this message]
2018-03-03 21:06       ` Pavel Machek
2018-03-04  7:34         ` Thomas Gleixner
2018-03-04  8:51           ` Pavel Machek
2018-03-04  9:29             ` Borislav Petkov
2018-03-04 14:01               ` Pavel Machek
2018-03-04 14:27                 ` 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=alpine.DEB.2.20.1801090043160.2253@nanos \
    --to=tglx@linutronix.de \
    --cc=Janakarajan.Natarajan@amd.com \
    --cc=bp@suse.de \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pavel@ucw.cz \
    --cc=r.marek@assembler.cz \
    --cc=ricardo.neri-calderon@linux.intel.com \
    --cc=rkrcmar@redhat.com \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.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®