Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Wait instruction on 5kc
@ 2002-02-27 15:02 Andre.Messerschmidt
  2002-02-27 18:24 ` Carsten Langgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Andre.Messerschmidt @ 2002-02-27 15:02 UTC (permalink / raw)
  To: linux-mips

Hi.

Is there a patch available for the wait instruction bug in the 5kc (RTL
Revision >= 2.1)? 
As a hack I changed it to nop (in r4k_wait() ), but I believe there is a
clever solution for this. 

regards
--
Andre Messerschmidt

Application Engineer
Infineon Technologies AG

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

* Re: Wait instruction on 5kc
  2002-02-27 15:02 Wait instruction on 5kc Andre.Messerschmidt
@ 2002-02-27 18:24 ` Carsten Langgaard
  2002-02-28 11:38   ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Langgaard @ 2002-02-27 18:24 UTC (permalink / raw)
  To: Andre.Messerschmidt; +Cc: linux-mips

Andre.Messerschmidt@infineon.com wrote:

> Hi.
>
> Is there a patch available for the wait instruction bug in the 5kc (RTL
> Revision >= 2.1)?

It's been fixed in RTL revision >=2.3.

>
> As a hack I changed it to nop (in r4k_wait() ), but I believe there is a
> clever solution for this.

You can remove CPU_5KC from the case statement in check_wait in the file
arch/mips/kernel/setup.c

>
> regards
> --
> Andre Messerschmidt
>
> Application Engineer
> Infineon Technologies AG

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

* Re: Wait instruction on 5kc
  2002-02-27 18:24 ` Carsten Langgaard
@ 2002-02-28 11:38   ` Ralf Baechle
  0 siblings, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2002-02-28 11:38 UTC (permalink / raw)
  To: Carsten Langgaard; +Cc: Andre.Messerschmidt, linux-mips

On Wed, Feb 27, 2002 at 07:24:52PM +0100, Carsten Langgaard wrote:

> > As a hack I changed it to nop (in r4k_wait() ), but I believe there is a
> > clever solution for this.
> 
> You can remove CPU_5KC from the case statement in check_wait in the file
> arch/mips/kernel/setup.c

Is there a way to probe for this bug, for example based on the ProductId
register?

  Ralf

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

end of thread, other threads:[~2002-02-28 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-27 15:02 Wait instruction on 5kc Andre.Messerschmidt
2002-02-27 18:24 ` Carsten Langgaard
2002-02-28 11:38   ` Ralf Baechle

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