From mboxrd@z Thu Jan 1 00:00:00 1970 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 11:30:05 -0000 Received: from mga05.intel.com ([192.55.52.43]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ga8iX-0005vM-22 for speck@linutronix.de; Fri, 21 Dec 2018 01:31:05 +0100 Date: Thu, 20 Dec 2018 16:31:01 -0800 From: Andi Kleen Subject: [MODERATED] qemu patch for mb_clear Message-ID: <20181221003101.GA32181@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: 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,