Re: [PATCH] x86: Relegate CONFIG_PAT to EMBEDDED

From: Henrique de Moraes Holschuh
Date: Sun Oct 11 2009 - 14:49:45 EST


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