Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751922AbbEHCz7 (ORCPT ); Thu, 7 May 2015 22:55:59 -0400 Received: from mga11.intel.com ([192.55.52.93]:55930 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751313AbbEHCz5 (ORCPT ); Thu, 7 May 2015 22:55:57 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,387,1427785200"; d="scan'208";a="725730268" Message-ID: <554C24FA.9050709@linux.intel.com> Date: Fri, 08 May 2015 10:52:42 +0800 From: Xiao Guangrong User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org CC: rkrcmar@redhat.com, bsd@redhat.com, Yang Zhang , wanpeng.li@linux.intel.com Subject: Re: [PATCH 01/13] KVM: MMU: fix for CR4.SMEP=1, CR0.WP=0? References: <1430393772-27208-1-git-send-email-pbonzini@redhat.com> <1430393772-27208-2-git-send-email-pbonzini@redhat.com> In-Reply-To: <1430393772-27208-2-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 555 Lines: 17 On 04/30/2015 07:36 PM, Paolo Bonzini wrote: > smep_andnot_wp is initialized in kvm_init_shadow_mmu and shadow pages > should not be reused for different values of it. Thus, it has to be > added to the mask in kvm_mmu_pte_write. > Good catch! Reviewed-by: Xiao Guangrong -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/