Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 09 Jan 2019 21:45:13 -0000 Received: from mx1.redhat.com ([209.132.183.28]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ghLex-0004sL-HH for speck@linutronix.de; Wed, 09 Jan 2019 22:45:12 +0100 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0FE42AC5F0 for ; Wed, 9 Jan 2019 21:45:05 +0000 (UTC) Received: from [10.36.112.23] (ovpn-112-23.ams2.redhat.com [10.36.112.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0C5AD608C7 for ; Wed, 9 Jan 2019 21:45:03 +0000 (UTC) Subject: [MODERATED] Re: qemu patch for mb_clear References: <20181221003101.GA32181@tassilo.jf.intel.com> <20190109170919.GU23427@char.us.oracle.com> From: Paolo Bonzini Message-ID: <2a833765-3d5a-3664-dd5e-3a256a29ff4b@redhat.com> Date: Wed, 9 Jan 2019 22:44:59 +0100 MIME-Version: 1.0 In-Reply-To: <20190109170919.GU23427@char.us.oracle.com> Content-Type: multipart/mixed; boundary="3jDeX5R0w3NaClRAxpr5OANh6s0eK5FTh"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --3jDeX5R0w3NaClRAxpr5OANh6s0eK5FTh Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 09/01/19 18:09, speck for Konrad Rzeszutek Wilk 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 KV= M >> guest. >=20 > I thought it was called 'MD_CLEAR' ? >=20 >> >> -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] =3D { >> .feat_names =3D { >> 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, Are there any CPU families which will all have it (e.g. IceLake server, Cascade Lake?). Prerelease/prototype silicon does not count. Paolo --3jDeX5R0w3NaClRAxpr5OANh6s0eK5FTh--