Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 13 Aug 2018 13:34:40 -0000 Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fpCzW-00076T-Fp for speck@linutronix.de; Mon, 13 Aug 2018 15:34:38 +0200 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1E8D18197039 for ; Mon, 13 Aug 2018 13:34:32 +0000 (UTC) Received: from [10.36.112.29] (ovpn-112-29.ams2.redhat.com [10.36.112.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 57FB220389E0 for ; Mon, 13 Aug 2018 13:34:31 +0000 (UTC) Subject: [MODERATED] Re: Change conditional to always? References: <20180810202831.GF530@char.us.oracle.com> <20180810202931.GA30350@char.us.oracle.com> From: Paolo Bonzini Message-ID: <65a00430-3e06-60fa-1724-15176fb95df1@redhat.com> Date: Mon, 13 Aug 2018 15:34:29 +0200 MIME-Version: 1.0 In-Reply-To: <20180810202931.GA30350@char.us.oracle.com> Content-Type: multipart/mixed; boundary="nfK8Ag3NgEYLu9mkMUmJ50ALjIUtR7u6a"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --nfK8Ag3NgEYLu9mkMUmJ50ALjIUtR7u6a Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 10/08/2018 22:29, speck for Konrad Rzeszutek Wilk wrote: > With the combination of spectrev1 to bring various host and guest date > in the L1 and then L1TF slurping is the choice of using conditional > good? >=20 > That is I could see the guest trapping in the emulation code - and > the condional would stay at false - which means we don't do IA32_PRED_C= MD > flush and end up providing a nice way for the guest to slurp up data. Emulation should cause the cache flush to happen (see x86_emulate_instruction). Paolo --nfK8Ag3NgEYLu9mkMUmJ50ALjIUtR7u6a--