Re: [PATCH V2] x86/mce: Fix set_mce_nospec() to avoid #GP fault

From: Linus Torvalds
Date: Fri Aug 31 2018 - 12:58:15 EST

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


On Fri, Aug 31, 2018 at 9:55 AM Luck, Tony <tony.luck@xxxxxxxxx> 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.
> [ ... ]