[MODERATED] Re: qemu patch for mb_clear
Josh Poimboeuf <[email protected]>
| Newsgroups | org.kernel.lore.historical-speck |
|---|---|
| Message-ID | <20190301143729.r3onrecxplx3pvly@treble> |
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.
--
Josh