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 :) --Gabriel