![]() | ||||||||||
Messages in this thread |
Yinghai Lu wrote:
>>
>> This really should be handled through a CPU flag. Specifically, it
>> should be handled by disabling the PAT flag if PAT is unusable or
>> suspect of being unusable; it should *NOT* be stashed away in a
>> completely separate piece of code.
>
> PAT patches in x86.git latest, only support some intel CPUs.
>
> if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL &&
> (boot_cpu_data.x86 == 0xF ||
> (boot_cpu_data.x86 == 6 && boot_cpu_data.x86_model >= 15))) {
> if (cpu_has_pat) {
> return 1;
> }
> }
>
> should be moved to setup_64.c?
>
Yes, which in turn should be merged with the 32-bit code in cpu/*.c.
Personally I would prefer a blacklist rather than a whitelist, but
that's nitpicking.
-=hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
| |||||||||
| Last update: 2008-03-25 04:49 [from the cache] ©2003-2008 | ||||||||||