linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Tony Luck <tony.luck@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, Peter Anvin <hpa@zytor.com>,
	Borislav Petkov <bp@alien8.de>,
	linux-edac <linux-edac@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	the arch/x86 maintainers <x86@kernel.org>,
	Dan Williams <dan.j.williams@intel.com>,
	Dave Jiang <dave.jiang@intel.com>
Subject: [V2] x86/mce: Fix set_mce_nospec() to avoid #GP fault
Date: Fri, 31 Aug 2018 09:57:59 -0700	[thread overview]
Message-ID: <CA+55aFyu0gwg4hSmx7yMmryGb0EKYfg7Jp3FE9YafR9U=7v9Ng@mail.gmail.com> (raw)

Ack. This looks good with the big comment and explanation.

             Linus

On Fri, Aug 31, 2018 at 9:55 AM Luck, Tony <tony.luck@intel.com> wrote:
>
> The trick with flipping bit 63 to avoid loading the address of the
> 1:1 mapping of the poisoned page while we update the 1:1 map used
> to work when we wanted to unmap the page. But it falls down horribly
> when we try to directly set the page as uncacheable.
> [ ... ]

             reply	other threads:[~2018-08-31 16:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-31 16:57 Linus Torvalds [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-08-31 16:55 [V2] x86/mce: Fix set_mce_nospec() to avoid #GP fault Luck, Tony

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='CA+55aFyu0gwg4hSmx7yMmryGb0EKYfg7Jp3FE9YafR9U=7v9Ng@mail.gmail.com' \
    --to=torvalds@linux-foundation.org \
    --cc=bp@alien8.de \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=tony.luck@intel.com \
    --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;
as well as URLs for NNTP newsgroup(s).