[lkml]   [2009]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86: Relegate CONFIG_PAT to EMBEDDED
On Sun, 11 Oct 2009, Arjan van de Ven wrote:
> MTRR and PAT support (which got added to CPUs over 10 years ago) are no
> longer really optional in that more and more things are depending on PAT
> just working, including various drivers and newer versions of X. (to not
> even speak of MTRR)

Please take a look at early_init_intel() in arch/x86/kernel/cpu/intel.c.
it disables PAT for what must amount to more than a *million* of
machines. It certainly includes all Centrino laptops, for example(!).

FYI, these computers will be with us for at least 10 years, still. I
still have users of Mobile Pentium II reporting bugs on thinkpad-acpi,
and I know of a *huge* number of active Pentium II and Pentium III
desktops in Brazil. My 5-year-old ThinkPad T43 (Centrino, Pentium M)
cheerfully reports "PAT not supported by CPU" at boot if I decide to
waste memory by enabling CONFIG_X86_PAT.

So, unless that blacklist can be drastically reduced somehow, can we
*please* fix anything that depends on PAT "just working"? Because as
far as the kernel is concerned right now, way too many machines can't
even dream of using PAT.

"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh

 \ /
  Last update: 2009-10-11 20:51    [W:0.248 / U:0.076 seconds]
©2003-2011 Jasper Spaans