[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2 of 3] apic: remove 'enabled_via_apicbase' variable



> >So if you don't have x2apic, then it is wrong to disable the LAPIC mode?
> >What about older hardware?
> I guess I wasn't very clear in my description.  In older hardware
> without x2apic, it is correct to simply twiddle the ENABLE bit in
> the APICBASE MSR.  However, with x2apic mode enabled, setting the
> ENABLE bit from 1 to 0 while leaving the EXTD bit set will result in
> a protection fault which will propagate to a general protection
> fault the same codepath will be called in the fault handler.  As a
> result, the current code in disable_local_APIC will result in a GPF
> if the BIOS boots with LAPICs disabled (fine as per the spec for
> compatibility) and xen decided to take advantage of x2apic mode.

Ok. You might also point to the appropiate section of the x2APIC
spec about this. I think it is 2.7.1.2


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.