* Kernel 2.4 CPU Arch issues
@ 2003-07-20 22:52 William M. Quarles
0 siblings, 0 replies; 4+ messages in thread
From: William M. Quarles @ 2003-07-20 22:52 UTC (permalink / raw)
To: linux-kernel
Hi,
In the 2.4 kernel, is it possible for you to separate the Pentium II and
Pentium Pro as confiugration options, as you have done for the 2.6
kernel, or is it too late for that?
Thanks,
--
William M. Quarles
quarlewm@jmu.edu
wquarles@bucknell.edu
walrus@bellsouth.net
^ permalink raw reply [flat|nested] 4+ messages in thread
* Kernel 2.4 CPU Arch issues
@ 2003-07-20 22:57 William M. Quarles
2003-07-20 23:05 ` J.A. Magallon
0 siblings, 1 reply; 4+ messages in thread
From: William M. Quarles @ 2003-07-20 22:57 UTC (permalink / raw)
To: linux-kernel
Hi,
In the 2.4 kernel, is it possible for you to separate the Pentium II and
Pentium Pro as confiugration options, as you have done for the 2.6
kernel, or is it too late in the development for that?
Thanks,
--
William M. Quarles
quarlewm@jmu.edu
wquarles@bucknell.edu
walrus@bellsouth.net
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel 2.4 CPU Arch issues
2003-07-20 22:57 William M. Quarles
@ 2003-07-20 23:05 ` J.A. Magallon
2003-07-20 23:33 ` William M. Quarles
0 siblings, 1 reply; 4+ messages in thread
From: J.A. Magallon @ 2003-07-20 23:05 UTC (permalink / raw)
To: William M. Quarles; +Cc: linux-kernel
On 07.21, William M. Quarles wrote:
> Hi,
>
> In the 2.4 kernel, is it possible for you to separate the Pentium II and
> Pentium Pro as confiugration options, as you have done for the 2.6
> kernel, or is it too late in the development for that?
>
Something like this ?
--- linux-2.4.21-pre5-jam1/arch/i386/config.in.orig 2003-03-07 02:52:48.000000000 +0100
+++ linux-2.4.21-pre5-jam1/arch/i386/config.in 2003-03-07 02:57:27.000000000 +0100
@@ -31,7 +31,8 @@
586/K5/5x86/6x86/6x86MX CONFIG_M586 \
Pentium-Classic CONFIG_M586TSC \
Pentium-MMX CONFIG_M586MMX \
- Pentium-Pro/Celeron/Pentium-II CONFIG_M686 \
+ Pentium-Pro CONFIG_M686 \
+ Pentium-II/Celeron CONFIG_MPENTIUMII \
Pentium-III/Celeron(Coppermine) CONFIG_MPENTIUMIII \
Pentium-4 CONFIG_MPENTIUM4 \
K6/K6-II/K6-III CONFIG_MK6 \
@@ -106,6 +107,14 @@
define_bool CONFIG_X86_PPRO_FENCE y
define_bool CONFIG_X86_F00F_WORKS_OK y
fi
+if [ "$CONFIG_MPENTIUMII" = "y" ]; then
+ define_int CONFIG_X86_L1_CACHE_SHIFT 5
+ define_bool CONFIG_X86_HAS_TSC y
+ define_bool CONFIG_X86_GOOD_APIC y
+ define_bool CONFIG_X86_PGE y
+ define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
+ define_bool CONFIG_X86_F00F_WORKS_OK y
+fi
if [ "$CONFIG_MPENTIUMIII" = "y" ]; then
define_int CONFIG_X86_L1_CACHE_SHIFT 5
define_bool CONFIG_X86_HAS_TSC y
--- linux-2.4.21-pre5-jam1/arch/i386/Makefile.orig 2003-03-07 02:59:46.000000000 +0100
+++ linux-2.4.21-pre5-jam1/arch/i386/Makefile 2003-03-07 03:00:08.000000000 +0100
@@ -52,6 +52,10 @@
CFLAGS += -march=i686
endif
+ifdef CONFIG_MPENTIUMII
+CFLAGS += $(call check_gcc,-march=pentium2,-march=i686)
+endif
+
ifdef CONFIG_MPENTIUMIII
CFLAGS += -march=i686
endif
--- linux-2.4.21-pre5-jam1/Documentation/Configure.help.orig 2003-03-07 03:02:41.000000000 +0100
+++ linux-2.4.21-pre5-jam1/Documentation/Configure.help 2003-03-07 03:03:45.000000000 +0100
@@ -4203,7 +4203,8 @@
(time stamp counter) register.
- "Pentium-Classic" for the Intel Pentium.
- "Pentium-MMX" for the Intel Pentium MMX.
- - "Pentium-Pro" for the Intel Pentium Pro/Celeron/Pentium II.
+ - "Pentium-Pro" for the Intel Pentium Pro.
+ - "Pentium-II" for the Intel Pentium II/Celeron.
- "Pentium-III" for the Intel Pentium III
and Celerons based on the Coppermine core.
- "Pentium-4" for the Intel Pentium 4.
--
J.A. Magallon <jamagallon@able.es> \ Software is like sex:
werewolf.able.es \ It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-pre7-jam1m (gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-0.5mdk))
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel 2.4 CPU Arch issues
2003-07-20 23:05 ` J.A. Magallon
@ 2003-07-20 23:33 ` William M. Quarles
0 siblings, 0 replies; 4+ messages in thread
From: William M. Quarles @ 2003-07-20 23:33 UTC (permalink / raw)
To: J.A. Magallon; +Cc: linux-kernel
J.A. Magallon wrote:
> On 07.21, William M. Quarles wrote:
>
>>Hi,
>>
>>In the 2.4 kernel, is it possible for you to separate the Pentium II and
>>Pentium Pro as confiugration options, as you have done for the 2.6
>>kernel, or is it too late in the development for that?
>>
>
>
> Something like this ?
>
> --- linux-2.4.21-pre5-jam1/arch/i386/config.in.orig 2003-03-07 02:52:48.000000000 +0100
> +++ linux-2.4.21-pre5-jam1/arch/i386/config.in 2003-03-07 02:57:27.000000000 +0100
Señor (or señora?) Magallon,
Thank you for writing back. Am I to assume that this is essentially a
working patch that I could go ahead and apply to my kernel?
Thanks a lot,
--
William M. Quarles
quarlewm@jmu.edu
wquarles@bucknell.edu
walrus@bellsouth.net
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-07-20 23:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-20 22:52 Kernel 2.4 CPU Arch issues William M. Quarles
2003-07-20 22:57 William M. Quarles
2003-07-20 23:05 ` J.A. Magallon
2003-07-20 23:33 ` William M. Quarles
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).