From: "Luis R. Rodriguez" Subject: Re: [RFT] x86/pvh: disable all MTRR CPU features on cpuid for dom0 Date: Fri, 27 Mar 2015 19:08:47 +0100 Message-ID: <20150327180847.GF5622@wotan.suse.de> References: <1427412834-4624-1-git-send-email-mcgrof@do-not-panic.com> <5515158A.8090604@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YbYgc-0003ET-Qc for xen-devel@lists.xenproject.org; Fri, 27 Mar 2015 18:08:50 +0000 Content-Disposition: inline In-Reply-To: <5515158A.8090604@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: jgross@suse.com, "Luis R. Rodriguez" , david.vrabel@citrix.com, xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com List-Id: xen-devel@lists.xenproject.org On Fri, Mar 27, 2015 at 09:32:10AM +0100, Roger Pau Monn=E9 wrote: > El 27/03/15 a les 0.33, Luis R. Rodriguez ha escrit: > > From: "Luis R. Rodriguez" > > = > > Commit 586ab6a by Roger disabled the main MTRR CPU feature > > on the cpuid when on pvh in order to avoid having MTRR code > > run on the OS on dom0. This missed the fact that not all CPUs > > use this cpuid to identify MTRR support, this complets that. > > = > > This could in theory fix some potential issues where MTRR > > code was previously enabled, for instance running cat /proc/mtrr > > on a Linux system where MTRR was actually disabled. > = > AFAICT we will never support PVH on those CPU types, so I'm not sure if > it's worth disabling it. AMD K6, Centaur and VIA chips don't have the > necessary hardware extensions to allow running PVH guests. Great, should this be annotated? Luis