Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752190AbbGWGeu (ORCPT ); Thu, 23 Jul 2015 02:34:50 -0400 Received: from mga03.intel.com ([134.134.136.65]:46537 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbbGWGel (ORCPT ); Thu, 23 Jul 2015 02:34:41 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,528,1432623600"; d="scan'208";a="611301806" Message-ID: <55B089C4.5000200@linux.intel.com> Date: Thu, 23 Jul 2015 14:29:24 +0800 From: Xiao Guangrong User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Paolo Bonzini , Alex Williamson CC: gleb@kernel.org, mtosatti@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, bsd@redhat.com, lersek@redhat.com, jordan.l.justen@intel.com, edk2-devel@lists.sourceforge.net, Xiao Guangrong Subject: Re: [PATCH 1/3] KVM: MTRR: fix memory type handling if MTRR is completely disabled References: <1436988356-4565-1-git-send-email-guangrong.xiao@linux.intel.com> <1437019818.1391.544.camel@redhat.com> <55B087D4.80106@redhat.com> In-Reply-To: <55B087D4.80106@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: 1026 Lines: 28 On 07/23/2015 02:21 PM, Paolo Bonzini wrote: > > > On 16/07/2015 06:10, Alex Williamson wrote: >> On Thu, 2015-07-16 at 03:25 +0800, Xiao Guangrong wrote: >>>> From: Xiao Guangrong >>>> >>>> Currently code uses default memory type if MTRR is fully disabled, >>>> fix it by using UC instead >>>> >>>> Signed-off-by: Xiao Guangrong >>>> --- >> Seems to work for me. I don't see a 0th patch, but for the series: >> >> Tested-by: Alex Williamson > > In fact this is the same quirk already implemented for SVM as > KVM_QUIRK_CD_NW_CLEARED, so we can reuse the bit. Sounds good to me. I will drop the new bit and reuse as your suggestion. And i think we need document this whole staff in API.txt ... -- 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/