From: Ian Campbell Subject: Re: Intel: Overly restrictive test for availablility of CPUID masking MSRs? Date: Tue, 2 Mar 2010 15:35:59 +0000 Message-ID: <1267544159.11737.24344.camel@zakaz.uk.xensource.com> References: <1267538500.11737.24008.camel@zakaz.uk.xensource.com> <1267539106.11737.24050.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1267539106.11737.24050.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Rob Hoes , Jun Nakajima , Liping Ke List-Id: xen-devel@lists.xenproject.org On Tue, 2010-03-02 at 14:11 +0000, Ian Campbell wrote: > > Is there a more precise way of detecting the presence of this > > capability? I've seen: > > family > 0x6 || (model > 0x17 || (model = 0x17 && stepping >= 4)) > > suggested but this looks like it matches exactly the same set of > > processors as the "eax < 0x00010674" in the code before aab9fbd6ffa0 > > which was apparently too lenient? Or alternatively, is there any reason we can't just use wrmsr_safe instead to gracefully handle processors which can't cope? Ian.