Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 20 Jun 2018 20:31:25 -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 1fVjlC-0003fW-KM for speck@linutronix.de; Wed, 20 Jun 2018 22:31:24 +0200 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 w5KKT8Rn099092 for ; Wed, 20 Jun 2018 20:31:16 GMT Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2jmr2mpa1k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 20 Jun 2018 20:31:16 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w5KKVF3I010961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 20 Jun 2018 20:31:15 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w5KKVFxZ020712 for ; Wed, 20 Jun 2018 20:31:15 GMT Date: Wed, 20 Jun 2018 16:31:14 -0400 From: Konrad Rzeszutek Wilk Subject: [MODERATED] Re: [PATCH 1/2] L1TF KVM v2 1 Message-ID: <20180620203114.GB28309@char.us.oracle.com> References: <20180620164207.31771-1-pbonzini@redhat.com> <20180620164207.31771-2-pbonzini@redhat.com> <20180620201309.GR30690@tassilo.jf.intel.com> MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Wed, Jun 20, 2018 at 10:16:33PM +0200, speck for Thomas Gleixner wrote: > On Wed, 20 Jun 2018, speck for Andi Kleen wrote: > > > + > > > +/* > > > + * The L1D cache is 32 KiB on Skylake, but to flush it we have to read in > > > + * 64 KiB because the replacement algorithm is not exactly LRU. > > > + */ > > > +#define L1D_CACHE_ORDER 4 > > > +static void *__read_mostly empty_zero_pages; > > > > I thought we agreed to remove this? We should be only using the MSR based flush > > methods, as microcode updates are needed in any case for other things. > > And when are those microcode updates materializing? As far as I know they > are still in limbo, but you might have a better answer. The microcode is out already. The GPZv4 micrcode also had L1 CMD FLUSH implemented in it. > > If that stuff goes public early and micro code updates are not available > then we have absolutely nothing. > > Thanks, > > tglx