From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH v1 0/2] KVM: VMX: require EPTP WB (write-back) support Date: Thu, 10 Aug 2017 16:23:09 +0200 Message-ID: <20170810142309.GA22461@flask> References: <20170810133512.13442-1-david@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Paolo Bonzini , Bandan Das To: David Hildenbrand Return-path: Received: from mx1.redhat.com ([209.132.183.28]:54242 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752357AbdHJOXN (ORCPT ); Thu, 10 Aug 2017 10:23:13 -0400 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 8983D78762 for ; Thu, 10 Aug 2017 14:23:13 +0000 (UTC) Content-Disposition: inline In-Reply-To: <20170810133512.13442-1-david@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 2017-08-10 15:35+0200, David Hildenbrand: > I also have a patch that allows VMX and nVMX to use the UC (unchached) > memory type. > . > However I am not sure if we have to take care of anything special in that > case? Any insights? We're modifying the EPT structure through cache in root mode and I think the cache would have to be manually flushed before entering non-root mode. And UC accesses are going to be slower, so I don't see the benefits for VMX. We can allow UC in nVMX as it will make no difference.