From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753045AbbIHUdu (ORCPT ); Tue, 8 Sep 2015 16:33:50 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:36590 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552AbbIHUds (ORCPT ); Tue, 8 Sep 2015 16:33:48 -0400 Subject: Re: [PATCH 3/9] KVM: x86: add pcommit support To: Xiao Guangrong References: <1440132611-26052-1-git-send-email-guangrong.xiao@linux.intel.com> <1440132611-26052-4-git-send-email-guangrong.xiao@linux.intel.com> <55ED729F.2020107@redhat.com> <55EEEDEF.4070902@linux.intel.com> Cc: gleb@kernel.org, mtosatti@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org From: Paolo Bonzini Message-ID: <55EF4628.4070607@redhat.com> Date: Tue, 8 Sep 2015 22:33:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55EEEDEF.4070902@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/09/2015 16:17, Xiao Guangrong wrote: > > BTW, the spec saied: > > | IA32_VMX_PROCBASED_CTLS2[53] (which enumerates support for the > 1-setting of “PCOMMIT exiting”) is > | always the same as CPUID.07H:EBX.PCOMMIT[bit 22]. Thus, software can > set “PCOMMIT exiting” to 1 > | if and only if the PCOMMIT instruction is enumerated via CPUID Thanks. Can you add it to the commit message ("allow L1 to catch this instruction for L2 if, as required by the spec, L1 can enumerate the PCOMMIT instruction via CPUID"). Paolo