From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: SEP regression in kvm-20? Date: Mon, 23 Apr 2007 10:17:59 +0300 Message-ID: <462C5DA7.1040407@qumranet.com> References: <1177304168.17026.49.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Rusty Russell Return-path: In-Reply-To: <1177304168.17026.49.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Rusty Russell wrote: > Hi all, > > I note that Linux under kvm 20 doesn't use sysenter, while it did under > kvm 19. There's no "sep" in /proc/cpuinfo x86info does report sep, but arch/i386/kernel/cpu/intel.c has this to say: /* SEP CPUID bug: Pentium Pro reports SEP but doesn't have it until model 3 mask 3 */ if ((c->x86<<8 | c->x86_model<<4 | c->x86_mask) < 0x633) clear_bit(X86_FEATURE_SEP, c->x86_capability); whereas our cpu is cpu family : 6 model : 2 so, no SEP for you. I imagine we can bump the model and mask to 3. > and the vendor id looks kinda > random too: this looks like a cpuid problem? > I see a vendor_id : GenuineIntel ? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/