linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.5.39 - make MCE options arch dependent
@ 2002-09-29 23:12 Phil Oester
  2002-09-29 23:19 ` Dave Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Phil Oester @ 2002-09-29 23:12 UTC (permalink / raw)
  To: linux-kernel, torvalds

No need to see P4 or Athlon options if you don't have one...

-Phil


--- linux-2.5.39-orig/arch/i386/config.in       Fri Sep 27 14:49:42 2002
+++ linux-2.5.39/arch/i386/config.in    Sun Sep 29 15:55:44 2002
@@ -187,8 +187,12 @@
 fi
 
 bool 'Machine Check Exception' CONFIG_X86_MCE
-dep_bool 'Check for non-fatal errors on Athlon/Duron' CONFIG_X86_MCE_NONFATAL $CONFIG_X86_MCE
-dep_bool 'check for P4 thermal throttling interrupt.' CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_UP_APIC
+if [ "$CONFIG_MK7" = "y" ]; then
+   dep_bool 'Check for non-fatal errors on Athlon/Duron' CONFIG_X86_MCE_NONFATAL $CONFIG_X86_MCE
+fi
+if [ "$CONFIG_MPENTIUM4" = "y" ]; then
+   dep_bool 'Check for P4 thermal throttling interrupt' CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_UP_APIC
+fi 


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

* Re: [PATCH] 2.5.39 - make MCE options arch dependent
  2002-09-29 23:12 [PATCH] 2.5.39 - make MCE options arch dependent Phil Oester
@ 2002-09-29 23:19 ` Dave Jones
  2002-09-29 23:25 ` Richard Gooch
  2002-09-30 13:03 ` Alan Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Dave Jones @ 2002-09-29 23:19 UTC (permalink / raw)
  To: Phil Oester; +Cc: linux-kernel, torvalds

On Sun, Sep 29, 2002 at 04:12:06PM -0700, Phil Oester wrote:
 > No need to see P4 or Athlon options if you don't have one...
 > 
 > -Phil

Broken. Vendor kernels compile for 386, but include both these
options, so the same kernel can run on P4/Athlon and use
these options.

		Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

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

* Re: [PATCH] 2.5.39 - make MCE options arch dependent
  2002-09-29 23:12 [PATCH] 2.5.39 - make MCE options arch dependent Phil Oester
  2002-09-29 23:19 ` Dave Jones
@ 2002-09-29 23:25 ` Richard Gooch
  2002-09-30 13:03 ` Alan Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Gooch @ 2002-09-29 23:25 UTC (permalink / raw)
  To: Phil Oester; +Cc: linux-kernel, torvalds

Phil Oester writes:
> No need to see P4 or Athlon options if you don't have one...
> 
> --- linux-2.5.39-orig/arch/i386/config.in       Fri Sep 27 14:49:42 2002
> +++ linux-2.5.39/arch/i386/config.in    Sun Sep 29 15:55:44 2002
> @@ -187,8 +187,12 @@
>  fi
>  
>  bool 'Machine Check Exception' CONFIG_X86_MCE
> -dep_bool 'Check for non-fatal errors on Athlon/Duron' CONFIG_X86_MCE_NONFATAL $CONFIG_X86_MCE
> -dep_bool 'check for P4 thermal throttling interrupt.' CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_UP_APIC
> +if [ "$CONFIG_MK7" = "y" ]; then
> +   dep_bool 'Check for non-fatal errors on Athlon/Duron' CONFIG_X86_MCE_NONFATAL $CONFIG_X86_MCE
> +fi
> +if [ "$CONFIG_MPENTIUM4" = "y" ]; then
> +   dep_bool 'Check for P4 thermal throttling interrupt' CONFIG_X86_MCE_P4THERMAL $CONFIG_X86_MCE $CONFIG_X86_UP_APIC
> +fi 

But now I can't build a "generic" kernel which supports both these
features.

				Regards,

					Richard....
Permanent: rgooch@atnf.csiro.au
Current:   rgooch@ras.ucalgary.ca

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

* Re: [PATCH] 2.5.39 - make MCE options arch dependent
  2002-09-29 23:12 [PATCH] 2.5.39 - make MCE options arch dependent Phil Oester
  2002-09-29 23:19 ` Dave Jones
  2002-09-29 23:25 ` Richard Gooch
@ 2002-09-30 13:03 ` Alan Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2002-09-30 13:03 UTC (permalink / raw)
  To: Phil Oester; +Cc: linux-kernel, Linus Torvalds

On Mon, 2002-09-30 at 00:12, Phil Oester wrote:
> No need to see P4 or Athlon options if you don't have one..

This makes little sense. The P4 and K7 MCE handling can be built into
any kernel tree and will correctly work. That means you can build things
into a generic kernel not just a per processor kernel, which for any
number of systems becomes unmanagable



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

end of thread, other threads:[~2002-09-30 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-29 23:12 [PATCH] 2.5.39 - make MCE options arch dependent Phil Oester
2002-09-29 23:19 ` Dave Jones
2002-09-29 23:25 ` Richard Gooch
2002-09-30 13:03 ` Alan Cox

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).