Re: [PATCH] x86/apic: check FADT settings after enable x2apic

From: Yinghai Lu
Date: Mon Jan 28 2013 - 01:57:25 EST


On Sun, Jan 27, 2013 at 9:05 PM, Wang, Song-Bo (Stoney)
<song-bo.wang@xxxxxx> wrote:
> Hi Yinghai, hpa and others,
>
> Would you please review the patch on detecting x2apic FADT settings?
>
> We meet a BIOS system which works on x2apic physical mode by setting the bit ACPI_FADT_APIC_PHYSICAL in FADT table.
> And for those systems with all cpuid < 255, the spec requires BIOS's default mode in xapic.
> The kernel detects the default mode and do some initializations and will call enable_IR_x2apic and change the mode to x2apic successfully.

Hi, Peter and Ingo,

I checked the patch, and looks right.

I updated the changelog and simplify the code a little bit.

Please check if you can put it into tip:x86/apic

Thanks

Yinghai

Attachment: wang_hp_x2apic.patch
Description: Binary data