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 17:09:30 -0000 Received: from aserp2130.oracle.com ([141.146.126.79]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ghHM8-0005Ll-JC for speck@linutronix.de; Wed, 09 Jan 2019 18:09:29 +0100 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id x09H95aW061790 for ; Wed, 9 Jan 2019 17:09:21 GMT Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2130.oracle.com with ESMTP id 2ptj3e2tyj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 09 Jan 2019 17:09:21 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id x09H9K0T000899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 9 Jan 2019 17:09:20 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x09H9KuZ016487 for ; Wed, 9 Jan 2019 17:09:20 GMT Date: Wed, 9 Jan 2019 12:09:19 -0500 From: Konrad Rzeszutek Wilk Subject: [MODERATED] Re: qemu patch for mb_clear Message-ID: <20190109170919.GU23427@char.us.oracle.com> References: <20181221003101.GA32181@tassilo.jf.intel.com> MIME-Version: 1.0 In-Reply-To: <20181221003101.GA32181@tassilo.jf.intel.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: 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. I thought it was called 'MD_CLEAR' ? > > -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,