All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabien Chouteau <chouteau@adacore.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] [SPARC] Improve "ta 0" shutdown
Date: Mon, 14 Nov 2011 10:37:29 +0100	[thread overview]
Message-ID: <4EC0E159.2030906@adacore.com> (raw)
In-Reply-To: <CAAu8pHuLQeks7eaJr_fa99LFx=Qfh9i_hepim8E6miJuQvBcRA@mail.gmail.com>

On 13/11/2011 10:43, Blue Swirl wrote:
> On Thu, Nov 3, 2011 at 15:17, Fabien Chouteau <chouteau@adacore.com> wrote:
>> This patch replace the previous implementation with this simplified and
>> more complete version (no shutdown when psret == 1).
> 
> In order to get in 1.0, the change should be limited to adding only a
> psret check to current helper_shutdown(). This way it should be also
> possible to retain the CPU feature check in translation time instead
> of pushing it to do_interrupt path, so it should be a better for
> performance anyway.
>

The purpose of this feature is to know when we get to this error state
(trap when interrupts disabled), if we abort with an error message or
just shutdown the emulator. In any case it's the end of the emulation,
it happens only once, so performance is not important here.

For 1.0, I can do another intermediate patch.

-- 
Fabien Chouteau

  reply	other threads:[~2011-11-14  9:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 15:17 [Qemu-devel] [PATCH] [SPARC] Improve "ta 0" shutdown Fabien Chouteau
2011-11-13  9:43 ` Blue Swirl
2011-11-14  9:37   ` Fabien Chouteau [this message]
2011-11-19 14:01     ` Blue Swirl
  -- strict thread matches above, loose matches on Subject: below --
2011-11-03 15:14 Fabien Chouteau
2011-11-03 15:10 Fabien Chouteau

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=4EC0E159.2030906@adacore.com \
    --to=chouteau@adacore.com \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.