[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YbH0acLmGq6PUMbJ@hirez.programming.kicks-ass.net>
Date: Thu, 9 Dec 2021 13:19:53 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Borislav Petkov <bp@...en8.de>
Cc: Tony Luck <tony.luck@...el.com>, X86 ML <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 00/12] x86/mce: Correct the noinstr annotation
On Wed, Dec 08, 2021 at 12:13:31PM +0100, Borislav Petkov wrote:
> From: Borislav Petkov <bp@...e.de>
>
> Hi folks,
>
> here's v1 with the instrumentation "sandwiching" documented, as
> requested by peterz.
>
> Tony, I'd appreciate making sure nothing in them breaks your injection
> workflows before I queue them. And it shouldn't but... :-)
>
> Thx.
>
> Changelog:
> ==========
>
> here's a first preliminary (it is based on some random 5.16-rc0 commit
> and is tested only in qemu) of the series which correct all the noinstr
> annotation of the #MC handler.
>
> Since it calls a bunch of external facilities, the strategy is to mark
> mce-specific functions called by the #MC handler as noinstr and when
> they "call out" so to speak, to do a begin/end sandwich around that
> call.
>
Looked ok. I think some of the comments can be improved to clarify the
noinstr usage in MCE in general, but that's about it.
Powered by blists - more mailing lists