Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Jun Sun <jsun@mvista.com>
To: Steven Seeger <sseeger@stellartec.com>
Cc: linux-mips@linux-mips.org, jsun@mvista.com
Subject: Re: wait on vr4181 part 2
Date: Mon, 28 Apr 2003 10:24:21 -0700	[thread overview]
Message-ID: <20030428102421.A29907@mvista.com> (raw)
In-Reply-To: <089f01c30da9$e237d5d0$3501a8c0@wssseeger>; from sseeger@stellartec.com on Mon, Apr 28, 2003 at 10:16:18AM -0700

On Mon, Apr 28, 2003 at 10:16:18AM -0700, Steven Seeger wrote:
> If there is no wait, then what's that in arch/mips/vr4181/osprey/reset.c ?

Simple - it is a bug. :)

I got a confirmation from NEC that Vr4181 does _not_ have wait instruction.
It should generate an exception though.

In the halt case, kernel is probably in such a zombie state that we
don't even see the exception.

Jun

> void nec_osprey_halt(void)
> {
> 	printk("KERN_NOTICE "\n** You can safely turn off the power.\n");
> 	while(1)
> 		__asm__(".set\tmips3\n\t"
> 			"wait\n\t"
> 			".set\tmips0");
> }
> 
> Steve
> 

  parent reply	other threads:[~2003-04-28 17:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-28 16:25 crosscompile doesn't work :( Gabor Kerenyi
2003-04-28 17:16 ` wait on vr4181 part 2 Steven Seeger
2003-04-28 17:16   ` Steven Seeger
2003-04-28 17:24   ` Jun Sun [this message]
2003-04-28 19:47 ` crosscompile doesn't work :( Jeff Baitis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030428102421.A29907@mvista.com \
    --to=jsun@mvista.com \
    --cc=linux-mips@linux-mips.org \
    --cc=sseeger@stellartec.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox