* Re: Opteron bug
@ 2004-06-20 13:07 Manfred Spraul
2004-06-20 21:49 ` Andi Kleen
0 siblings, 1 reply; 8+ messages in thread
From: Manfred Spraul @ 2004-06-20 13:07 UTC (permalink / raw)
To: Andi Kleen; +Cc: linux-kernel, R. J. Wysocki
Andi wrote:
>The kernel never uses backwards REP prefixes.
>
>
Huh? memmove uses backwards rep movsb on x86-64, at least in 2.6.5:
http://lxr.linux.no/source/arch/x86_64/lib/memmove.c?v=2.6.5;a=x86_64#L8
i386 is similar:
http://lxr.linux.no/source/include/asm-i386/string.h?v=2.6.5#L297
But the bug appears to be so rare that it shouldn't matter - lets wait
for the microcode update. Btw, is there a runtime microcode updater for
Opteron cpus, similar to the Intel microcode driver?
--
Manfred
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Opteron bug
2004-06-20 13:07 Opteron bug Manfred Spraul
@ 2004-06-20 21:49 ` Andi Kleen
0 siblings, 0 replies; 8+ messages in thread
From: Andi Kleen @ 2004-06-20 21:49 UTC (permalink / raw)
To: Manfred Spraul; +Cc: linux-kernel, rjwysocki
On Sun, 20 Jun 2004 15:07:59 +0200
Manfred Spraul <manfred@colorfullife.com> wrote:
> Andi wrote:
>
> >The kernel never uses backwards REP prefixes.
> >
> >
> Huh? memmove uses backwards rep movsb on x86-64, at least in 2.6.5:
Hmm, you're right. I forgot that. Ok, I will change it, although
it's unlikely to be a real problem.
> But the bug appears to be so rare that it shouldn't matter - lets wait
> for the microcode update. Btw, is there a runtime microcode updater for
> Opteron cpus, similar to the Intel microcode driver?
AMD seems to only release microcode updates to BIOS vendors.
-Andi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Opteron bug
@ 2004-06-19 20:29 R. J. Wysocki
2004-06-20 13:22 ` Andi Kleen
0 siblings, 1 reply; 8+ messages in thread
From: R. J. Wysocki @ 2004-06-19 20:29 UTC (permalink / raw)
To: linux-kernel; +Cc: ak, discuss
Hi,
I hope everyone interested in the development for Opteron is aware of the bug
described here:
http://www.3dchips.net/content/story.php?id=3927
Yours,
rjw
--
Rafael J. Wysocki,
SiSK
[tel. (+48) 605 053 693]
----------------------------
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
-- Richard P. Feynman
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Opteron bug
2004-06-19 20:29 R. J. Wysocki
@ 2004-06-20 13:22 ` Andi Kleen
2004-06-20 11:47 ` R. J. Wysocki
0 siblings, 1 reply; 8+ messages in thread
From: Andi Kleen @ 2004-06-20 13:22 UTC (permalink / raw)
To: R. J. Wysocki; +Cc: linux-kernel, discuss
On Sat, 19 Jun 2004 22:29:14 +0200
"R. J. Wysocki" <rjwysocki@sisk.pl> wrote:
> Hi,
>
> I hope everyone interested in the development for Opteron is aware of the bug
> described here:
>
> http://www.3dchips.net/content/story.php?id=3927
The kernel never uses backwards REP prefixes.
-Andi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Opteron bug
2004-06-20 13:22 ` Andi Kleen
@ 2004-06-20 11:47 ` R. J. Wysocki
2004-06-20 12:02 ` Jakub Jelinek
2004-06-20 13:49 ` Andi Kleen
0 siblings, 2 replies; 8+ messages in thread
From: R. J. Wysocki @ 2004-06-20 11:47 UTC (permalink / raw)
To: Andi Kleen; +Cc: linux-kernel, discuss
On Sunday 20 of June 2004 15:22, Andi Kleen wrote:
> On Sat, 19 Jun 2004 22:29:14 +0200
>
> "R. J. Wysocki" <rjwysocki@sisk.pl> wrote:
> > Hi,
> >
> > I hope everyone interested in the development for Opteron is aware of the
> > bug described here:
> >
> > http://www.3dchips.net/content/story.php?id=3927
>
> The kernel never uses backwards REP prefixes.
So it doesn't matter. :-)
Well, is there any case in which the gcc can produce such stuff?
rjw
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Opteron bug
2004-06-20 11:47 ` R. J. Wysocki
@ 2004-06-20 12:02 ` Jakub Jelinek
[not found] ` <200406210254.53124.vda@port.imtp.ilyichevsk.odessa.ua>
2004-06-20 13:49 ` Andi Kleen
1 sibling, 1 reply; 8+ messages in thread
From: Jakub Jelinek @ 2004-06-20 12:02 UTC (permalink / raw)
To: R. J. Wysocki; +Cc: Andi Kleen, linux-kernel, discuss
On Sun, Jun 20, 2004 at 01:47:17PM +0200, R. J. Wysocki wrote:
> Well, is there any case in which the gcc can produce such stuff?
GCC doesn't ever generate std instruction (only cld), though users
can use it in inline assembly or assembly source file.
AFAIK x86_64 glibc doesn't use it at all either.
Jakub
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Opteron bug
2004-06-20 11:47 ` R. J. Wysocki
2004-06-20 12:02 ` Jakub Jelinek
@ 2004-06-20 13:49 ` Andi Kleen
1 sibling, 0 replies; 8+ messages in thread
From: Andi Kleen @ 2004-06-20 13:49 UTC (permalink / raw)
To: R. J. Wysocki; +Cc: linux-kernel, discuss
On Sun, 20 Jun 2004 13:47:17 +0200
"R. J. Wysocki" <rjwysocki@sisk.pl> wrote:
> On Sunday 20 of June 2004 15:22, Andi Kleen wrote:
> > On Sat, 19 Jun 2004 22:29:14 +0200
> >
> > "R. J. Wysocki" <rjwysocki@sisk.pl> wrote:
> > > Hi,
> > >
> > > I hope everyone interested in the development for Opteron is aware of the
> > > bug described here:
> > >
> > > http://www.3dchips.net/content/story.php?id=3927
> >
> > The kernel never uses backwards REP prefixes.
>
> So it doesn't matter. :-)
Some user space program could still use it.
You'll have to live with that. CPUs like all other complex
systems have bugs.
> Well, is there any case in which the gcc can produce such stuff?
With inline assembly only I guess.
-Andi
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-06-21 5:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-20 13:07 Opteron bug Manfred Spraul
2004-06-20 21:49 ` Andi Kleen
-- strict thread matches above, loose matches on Subject: below --
2004-06-19 20:29 R. J. Wysocki
2004-06-20 13:22 ` Andi Kleen
2004-06-20 11:47 ` R. J. Wysocki
2004-06-20 12:02 ` Jakub Jelinek
[not found] ` <200406210254.53124.vda@port.imtp.ilyichevsk.odessa.ua>
2004-06-21 5:29 ` Jakub Jelinek
2004-06-20 13:49 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox