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: Yinghai Lu
Date: Wed Dec 19 2012 - 11:05:33 EST


On Wed, Dec 19, 2012 at 2:36 AM, Zhang, Lin-Bao (Linux Kernel R&D)
<linbao.zhang@xxxxxx> wrote:
> 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) ).

how does BIOS cleaim?

disable that in CPUID?

>
> If Linux don't need BIOS' help , how did linux kernel reach this action?

need DMAR table to enable intr remapping.
--- ioapic only have 8 bits for dst.
--
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/