Skip to contentSkip to conversation

i386/x86-64: Removes 'enable_timer_pin_1' command-line option.

PATCH In review Luiz Fernando Capitulino 2 participants 2 messages Jan 9, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386/x86-64: Removes 'enable_timer_pin_1' command-line option.

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.

 Documentation/kernel-parameters.txt |    6 ------
 arch/i386/kernel/setup.c            |    2 --
 arch/x86_64/kernel/setup.c          |    2 --
 3 files changed, 10 deletions(-)
Documentation/kernel-parameters.txt +0 -6
index a482fde..b91d243 100644
@@ -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.
arch/i386/kernel/setup.c +0 -2
index 27c956d..f21d159 100644
@@ -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))
arch/x86_64/kernel/setup.c +0 -2
index 64c4534..66ef97c 100644
@@ -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))
Signature · 1 line
Luiz Fernando N. Capitulino
#1 lore raw
Quoted 4 lines · Luiz Fernando Capitulino

Hi,

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

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

-Andi