qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>,
	David Gibson <david@gibson.dropbear.id.au>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, clg@kaod.org,
	bharata@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH v3] spapr: disable decrementer during reset
Date: Tue, 18 Jul 2017 21:01:59 +1000	[thread overview]
Message-ID: <1500375719.2865.115.camel@kernel.crashing.org> (raw)
In-Reply-To: <8760eqe2og.fsf@abhimanyu.i-did-not-set--mail-host-address--so-tickle-me>

On Tue, 2017-07-18 at 10:56 +0530, Nikunj A Dadhania wrote:
> In case of reboot, all CPUs are resumed after reboot. So we check the
> next condition cpu_has_work() in cpu_thread_is_idle(), where we see a
> DECR interrupt and remove the CPU from halted state as the CPU has work.

Shouldn't we put them back in the stopped state then ?

Cheers,
Ben.

  reply	other threads:[~2017-07-18 11:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17  4:16 [Qemu-devel] [PATCH v3] spapr: disable decrementer during reset Nikunj A Dadhania
2017-07-18  4:46 ` David Gibson
2017-07-18  5:17   ` Nikunj A Dadhania
2017-07-18  5:23   ` Nikunj A Dadhania
2017-07-18  6:50     ` David Gibson
2017-07-19  3:50       ` Nikunj A Dadhania
2017-07-19  4:32         ` David Gibson
2017-09-14  6:02           ` Nikunj A Dadhania
2017-07-18  5:26   ` Nikunj A Dadhania
2017-07-18 11:01     ` Benjamin Herrenschmidt [this message]
2017-09-27 20:36 ` Cédric Le Goater

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=1500375719.2865.115.camel@kernel.crashing.org \
    --to=benh@kernel.crashing.org \
    --cc=bharata@linux.vnet.ibm.com \
    --cc=clg@kaod.org \
    --cc=david@gibson.dropbear.id.au \
    --cc=nikunj@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).