public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* New bluesmoke patch available, implements MCE-without-MCA support
@ 2000-11-15 21:37 H. Peter Anvin
  2000-11-15 21:57 ` H. Peter Anvin
  2000-11-16 14:08 ` Maciej W. Rozycki
  0 siblings, 2 replies; 5+ messages in thread
From: H. Peter Anvin @ 2000-11-15 21:37 UTC (permalink / raw)
  To: linux-kernel

Hi everyone,

I have just released a second bluesmoke patch:

ftp://ftp.kernel.org/pub/linux/kernel/people/hpa/bluesmoke-2.4.0-test11-pre5-2.diff

This implements support for MCE on chips which don't support MCA (in
addition to enabling MCA for non-Intel chips, like Athlon, which
supports MCA.)

I would appreciate it if people who have chips with MCE but no MCA --
this includes older AMD chips and some Cyrix chips at the very least
-- would please be so kind and try this out.

	-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: New bluesmoke patch available, implements MCE-without-MCA support
  2000-11-15 21:37 New bluesmoke patch available, implements MCE-without-MCA support H. Peter Anvin
@ 2000-11-15 21:57 ` H. Peter Anvin
  2000-11-16 14:08 ` Maciej W. Rozycki
  1 sibling, 0 replies; 5+ messages in thread
From: H. Peter Anvin @ 2000-11-15 21:57 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <8uuvnk$1v8$1@cesium.transmeta.com>
By author:    "H. Peter Anvin" <hpa@zytor.com>
In newsgroup: linux.dev.kernel
>
> Hi everyone,
> 
> I have just released a second bluesmoke patch:
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/hpa/bluesmoke-2.4.0-test11-pre5-2.diff
> 
> This implements support for MCE on chips which don't support MCA (in
> addition to enabling MCA for non-Intel chips, like Athlon, which
> supports MCA.)
> 
> I would appreciate it if people who have chips with MCE but no MCA --
> this includes older AMD chips and some Cyrix chips at the very least
> -- would please be so kind and try this out.
> 

Me bad... I accidentally let a one-character typo (missing & sign)
in... I have generated a -3 version of this patch.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: New bluesmoke patch available, implements MCE-without-MCA support
@ 2000-11-16  0:56 Mikael Pettersson
  2000-11-16  1:02 ` H. Peter Anvin
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Pettersson @ 2000-11-16  0:56 UTC (permalink / raw)
  To: hpa, linux-kernel

On 15 Nov 2000, H. Peter Anvin wrote:

>This implements support for MCE on chips which don't support MCA (in
>addition to enabling MCA for non-Intel chips, like Athlon, which
>supports MCA.)
>
>I would appreciate it if people who have chips with MCE but no MCA --
>this includes older AMD chips and some Cyrix chips at the very least
>-- would please be so kind and try this out.

I have a K6-III which announces MCE but not MCA, so I was going to
test this on that machine.

However, both the K6-III manual and the K6 BIOS guide state quite
clearly that the K6 family only has a "stub" MCE implementation.
The MCE capability is announced, there are two MCE-related MSRs,
and there is a CR4.MCE flag, but none of it actually _does_ anything.

The new CPU detection code should probably clear FEATURE_MCE for K6 CPUs.
(We might consider it an AMD bug, but in their defense, they do state
that the stub implementation was done for "compatibility" reasons.)

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: New bluesmoke patch available, implements MCE-without-MCA support
  2000-11-16  0:56 Mikael Pettersson
@ 2000-11-16  1:02 ` H. Peter Anvin
  0 siblings, 0 replies; 5+ messages in thread
From: H. Peter Anvin @ 2000-11-16  1:02 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: hpa, linux-kernel

Mikael Pettersson wrote:
> 
> On 15 Nov 2000, H. Peter Anvin wrote:
> 
> >This implements support for MCE on chips which don't support MCA (in
> >addition to enabling MCA for non-Intel chips, like Athlon, which
> >supports MCA.)
> >
> >I would appreciate it if people who have chips with MCE but no MCA --
> >this includes older AMD chips and some Cyrix chips at the very least
> >-- would please be so kind and try this out.
> 
> I have a K6-III which announces MCE but not MCA, so I was going to
> test this on that machine.
> 
> However, both the K6-III manual and the K6 BIOS guide state quite
> clearly that the K6 family only has a "stub" MCE implementation.
> The MCE capability is announced, there are two MCE-related MSRs,
> and there is a CR4.MCE flag, but none of it actually _does_ anything.
> 
> The new CPU detection code should probably clear FEATURE_MCE for K6 CPUs.
> (We might consider it an AMD bug, but in their defense, they do state
> that the stub implementation was done for "compatibility" reasons.)
> 

Actually, that's just fine.  It won't cause any harm; all that will mean
is that it will never raise #MC.  Remember that a CPU should, in proper
operation, never raise #MC anyway!

Their implementation is a legal (albeit useless) implementation of MCE. 
No need to special-case it.

	-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: New bluesmoke patch available, implements MCE-without-MCA support
  2000-11-15 21:37 New bluesmoke patch available, implements MCE-without-MCA support H. Peter Anvin
  2000-11-15 21:57 ` H. Peter Anvin
@ 2000-11-16 14:08 ` Maciej W. Rozycki
  1 sibling, 0 replies; 5+ messages in thread
From: Maciej W. Rozycki @ 2000-11-16 14:08 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: linux-kernel

> I would appreciate it if people who have chips with MCE but no MCA --
> this includes older AMD chips and some Cyrix chips at the very least
> -- would please be so kind and try this out.

 Hmm, I've looked at the patch and I guess you may try to decode MSR#0 and
MSR#1 for Pentium processors (I may provide an example patch).  I believe
certain AMD processors support these registers, too.  I don't know how
other vendors treat MSR#0 and MSR#1 but given they were sufficiently
documented since the beginning, they may very well be pretty standard for
all of them.

 I'll try the patch at my Pentium machine, yet, but it runs so stable I
don't expect an MCE anytime soon. ;-}

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-11-16 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-15 21:37 New bluesmoke patch available, implements MCE-without-MCA support H. Peter Anvin
2000-11-15 21:57 ` H. Peter Anvin
2000-11-16 14:08 ` Maciej W. Rozycki
  -- strict thread matches above, loose matches on Subject: below --
2000-11-16  0:56 Mikael Pettersson
2000-11-16  1:02 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox