linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i386/x86-64: Removes 'enable_timer_pin_1' command-line option.
@ 2006-01-09 13:39 Luiz Fernando Capitulino
  2006-01-09 15:03 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Fernando Capitulino @ 2006-01-09 13:39 UTC (permalink / raw)
  To: akpm; +Cc: ak, 76306.1226, petero2, lkml

 Hi,

 Commit 66759a01adbfe8828dd063e32cf5ed3f46696181 added two new command-line
options, IIUC:

 disable_timer_pin_1: used to disable PIN 1 of the APIC timer, only had
real effect on non-ATI chipsets, becuase the commit also added code to
disable the PIN automatically on ATI chipsets

 enable_timer_pin_1: used to enable PIN 1 of the APIC timer, only had
real effect on ATI chipsets, where the PIN was automatically disabled.

 But commit 1619cca2921f6927f4240e03f413d4165c7002fc removed the
automatic detection of ATI chipsets, so think "enable_timer_pin_1" is
useless now.

 This patch removes it, completing the work of the last commit.

Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>

 Documentation/kernel-parameters.txt |    6 ------
 arch/i386/kernel/setup.c            |    2 --
 arch/x86_64/kernel/setup.c          |    2 --
 3 files changed, 10 deletions(-)

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index a482fde..b91d243 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -167,12 +167,6 @@ running once the system is up.
 			override platform specific driver.
 			See also Documentation/acpi-hotkey.txt.
 
-	enable_timer_pin_1 [i386,x86-64]
-			Enable PIN 1 of APIC timer
-			Can be useful to work around chipset bugs
-			(in particular on some ATI chipsets).
-			The kernel tries to set a reasonable default.
-
 	disable_timer_pin_1 [i386,x86-64]
 			Disable PIN 1 of APIC timer
 			Can be useful to work around chipset bugs.
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c
index 27c956d..f21d159 100644
--- a/arch/i386/kernel/setup.c
+++ b/arch/i386/kernel/setup.c
@@ -859,8 +859,6 @@ static void __init parse_cmdline_early (
 
 		if (!memcmp(from, "disable_timer_pin_1", 19))
 			disable_timer_pin_1 = 1;
-		if (!memcmp(from, "enable_timer_pin_1", 18))
-			disable_timer_pin_1 = -1;
 
 		/* disable IO-APIC */
 		else if (!memcmp(from, "noapic", 6))
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index 64c4534..66ef97c 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -339,8 +339,6 @@ static __init void parse_cmdline_early (
 
 		if (!memcmp(from, "disable_timer_pin_1", 19))
 			disable_timer_pin_1 = 1;
-		if (!memcmp(from, "enable_timer_pin_1", 18))
-			disable_timer_pin_1 = -1;
 
 		if (!memcmp(from, "nolapic", 7) ||
 		    !memcmp(from, "disableapic", 11))

-- 
Luiz Fernando N. Capitulino

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] i386/x86-64: Removes 'enable_timer_pin_1' command-line option.
  2006-01-09 13:39 [PATCH] i386/x86-64: Removes 'enable_timer_pin_1' command-line option Luiz Fernando Capitulino
@ 2006-01-09 15:03 ` Andi Kleen
  0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2006-01-09 15:03 UTC (permalink / raw)
  To: Luiz Fernando Capitulino; +Cc: akpm, 76306.1226, petero2, lkml

On Monday 09 January 2006 14:39, Luiz Fernando Capitulino wrote:
>  Hi,
> 
>  Commit 66759a01adbfe8828dd063e32cf5ed3f46696181 added two new command-line
> options, IIUC:

Better keep it for now in case we change the defaults again.

-Andi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-09 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-09 13:39 [PATCH] i386/x86-64: Removes 'enable_timer_pin_1' command-line option Luiz Fernando Capitulino
2006-01-09 15:03 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).