public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: linux-kernel@vger.kernel.org, mingo@elte.hu, tglx@linuxtronix.de,
	hpa@zytor.com
Subject: [PATCH] x86: Relegate CONFIG_PAT to EMBEDDED
Date: Sun, 11 Oct 2009 08:43:11 -0700	[thread overview]
Message-ID: <20091011084311.0ab3c3ea@infradead.org> (raw)

>From 3385e0ae9596dc0538023166c800b0f8d2accce2 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Sun, 11 Oct 2009 08:40:15 -0700
Subject: [PATCH] x86: Relegate CONFIG_PAT to EMBEDDED

PAT support (which got added to CPUs over 10 years ago) is no longer
really optional in that more and more things are depending on PAT
just working, including newer versions of X. Having this as a regular
config option just no longer makes sense.

This patch relegates CONFIG_PAT to the EMBEDDED category, in the hope
to eventually completely retire it.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
---
 arch/x86/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 4427956..16d9d40 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1393,7 +1393,8 @@ config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT
 
 config X86_PAT
 	bool
-	prompt "x86 PAT support"
+	default y
+	prompt "x86 PAT support" if EMBEDDED
 	depends on MTRR
 	---help---
 	  Use PAT attributes to setup page level cache control.
-- 
1.6.2.5



-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

             reply	other threads:[~2009-10-11 15:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-11 15:43 Arjan van de Ven [this message]
2009-10-11 17:04 ` [PATCH] x86: Relegate CONFIG_PAT to EMBEDDED Roland Dreier
2009-10-11 17:19   ` Robert Hancock
2009-10-11 17:33   ` Arjan van de Ven
2009-10-11 18:47     ` Henrique de Moraes Holschuh
2009-10-12 11:10     ` [tip:x86/pat] x86: Relegate CONFIG_PAT and CONFIG_MTRR configurability " tip-bot for Arjan van de Ven
2009-10-12 17:28       ` H. Peter Anvin
2009-10-12 17:45         ` Arjan van de Ven
2009-10-12 17:56           ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091011084311.0ab3c3ea@infradead.org \
    --to=arjan@infradead.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linuxtronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox