Re: [PATCH] x86: introduce a new Linux defined feature flag forPAT support

From: Ingo Molnar
Date: Thu May 08 2008 - 09:09:37 EST



* Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> Subject: x86: cleanup PAT cpu validation
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Date: Thu, 08 May 2008 09:18:43 +0200
>
> Move the scattered checks for PAT support to a single function. Its
> moved to addon_cpuid_features.c as this file is shared between 32 and
> 64 bit.

thanks Thomas, i have applied your cleanup patch - looks good here too
and it booted fine on a few boxes.

(i did a small cleanup: changed the define to static const int)

Peter, what are your plans for a more general cleanup and 32-bit/64-bit
unification for the x86 CPU detection code - do you have any specific
ideas already? I suspect we want it all to end up unified under
arch/x86/kernel/cpu/, by moving the relevant bits of
arch/x86/kernel/setup_64.c there, right? It is no small task for sure.

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/