[MODERATED] Re: qemu patch for mb_clear
Josh Poimboeuf <[email protected]>
| Newsgroups | org.kernel.lore.historical-speck |
|---|---|
| Message-ID | <20190301151114.sqo6kb5dbsp3ilxh@treble> |
On Fri, Mar 01, 2019 at 08:37:29AM -0600, Josh Poimboeuf wrote:
> On Thu, Dec 20, 2018 at 04:31:01PM -0800, speck for Andi Kleen wrote:
> >
> > For reference here is the qemu patch needed for using MB_CLEAR in a KVM
> > guest.
> >
> > -Andi
> >
> > diff --git a/target/i386/cpu.c b/target/i386/cpu.c
> > index 677a3bd5fb25..77a1149e4bb3 100644
> > --- a/target/i386/cpu.c
> > +++ b/target/i386/cpu.c
> > @@ -1038,7 +1038,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
> > .feat_names = {
> > NULL, NULL, "avx512-4vnniw", "avx512-4fmaps",
> > NULL, NULL, NULL, NULL,
> > - NULL, NULL, NULL, NULL,
> > + NULL, NULL, "mbclear", NULL,
> > NULL, NULL, NULL, NULL,
> > NULL, NULL, "pconfig", NULL,
> > NULL, NULL, NULL, NULL,
>
> Is this still the latest version of the qemu patch? I assume this needs
> to be updated to MD_CLEAR.
Also:
- A patch title and description would be helpful.
- Calling it "md-clear" (with the dash) would be preferable, as people
constantly get confused when the names differ (and apparently qemu
uses dashes instead of underscores).
--
Josh