RE: Why Linux kernel forced to enter X2APIC mode( just because ofbooting cpu has supported x2apic) without depending on BIOS' setting inMSR->x2apic enablement bit ?

From: Zhang, Lin-Bao (Linux Kernel R&D)
Date: Wed Dec 19 2012 - 05:36:37 EST


Hi Yinghai ,

Actually ,my question like this:
OS can really enable x2apic correctly without BIOS' help in this case :
BIOS has claimed definitely it doesn't enable x2apic ,but OS feel it can enable x2apic(based on BSP supports x2apic) ).

If Linux don't need BIOS' help , how did linux kernel reach this action?
I am reading this related code, I just see Linux kernel judge cpu_has_x2apic() ,if yes, it will set MSR, certainly , IR works right.
We can think BIOS' supporting is not necessary ?

Thanks very much .
-- Bob(LinBao Zhang)
HP linux kernel enginner

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/