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

From: Ingo Molnar
Date: Mon Jan 28 2013 - 05:11:25 EST



* Yinghai Lu <yinghai@xxxxxxxxxx> wrote:

> 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

The code looks good to me, but the changelog is still lacking:

> HP has systems that work with x2apic phys mode and BIOS set
> ACPI_FADT_APIC_PHYSICAL in FADT table, and all cpuid < 255,
> the spec requires BIOS only put system on xapic mode. Kernel

Which spec?

> will set to x2apic logical mode instead of x2apic phys mode.

Which has exactly what bad effect on users of these systems?

You left out the most important information from the changelog:
why do users care, what good does the patch do?

Thanks,

Ingo
--
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/