From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJbZe-0007bj-51 for qemu-devel@nongnu.org; Fri, 28 Feb 2014 23:31:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJbZW-0004s6-Jr for qemu-devel@nongnu.org; Fri, 28 Feb 2014 23:30:54 -0500 Received: from cantor2.suse.de ([195.135.220.15]:37230 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJbZW-0004rd-Ch for qemu-devel@nongnu.org; Fri, 28 Feb 2014 23:30:46 -0500 Message-ID: <53117403.2000506@suse.de> Date: Sat, 01 Mar 2014 06:45:39 +0100 From: Alexander Graf MIME-Version: 1.0 References: <20140228191425.GK17184@ERROL.INI.CMU.EDU> <20140301042533.GA24140@crash.ini.cmu.edu> In-Reply-To: <20140301042533.GA24140@crash.ini.cmu.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qemu: x86: report lapic version as 0x14 instead of 0x11 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gabriel L. Somlo" Cc: "pbonzini@redhat.com" , "qemu-devel@nongnu.org" , "mst@redhat.com" Gabriel L. Somlo wrote: > On Sat, Mar 01, 2014 at 11:44:33AM +0800, Alexander Graf wrote: > >> Deja vu :). Should we really set this to thd least compatible version or rather to a current one that resembles roughly what we support? Otherwise patches like this will come up for every new osx release. >> >> What is the version in Haswell? >> > > I don't know specifically about Haswell, but OS X has been checking > for lapic_version >= 14 ever since 10.5, same check, same number. > > The latest Intel manual I could find (Feb.2014) says (Vol 3A, page 10-11) > that the version is contained in bits 0-8 of the version register, and > that values are 0x00 for the 82489 discrete apic, and 0x10 - 0x15 for > integrated apic, all other values are reserved. > > So I guess we could make it 0x15 and be done with it for a (hopefully) > long time :) > Sounds good to me :) Alex