diff options
author | Benjamin Herrenschmidt | 2019-02-15 17:16:43 +0100 |
---|---|---|
committer | David Gibson | 2019-02-25 23:21:24 +0100 |
commit | 1e7fd61d97fd4b25c7c8f70eed6a3ffd50893b74 (patch) | |
tree | fbd707eb07dc2e36c25076334c3dadac7799e9c3 /hw/ppc/ppc.c | |
parent | target/ppc: Move "wakeup reset" code to a separate function (diff) | |
download | qemu-1e7fd61d97fd4b25c7c8f70eed6a3ffd50893b74.tar.gz qemu-1e7fd61d97fd4b25c7c8f70eed6a3ffd50893b74.tar.xz qemu-1e7fd61d97fd4b25c7c8f70eed6a3ffd50893b74.zip |
target/ppc: Rename "in_pm_state" to "resume_as_sreset"
To better reflect what this does, as it's specific to some of the
P7/P8/P9 PM states, not generic.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20190215161648.9600-6-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/ppc.c')
-rw-r--r-- | hw/ppc/ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c index cffdc3914a..12439dbe5d 100644 --- a/hw/ppc/ppc.c +++ b/hw/ppc/ppc.c @@ -776,7 +776,7 @@ static inline void cpu_ppc_hdecr_excp(PowerPCCPU *cpu) * interrupts in a PM state. Not only they don't cause a * wakeup but they also get effectively discarded. */ - if (!env->in_pm_state) { + if (!env->resume_as_sreset) { ppc_set_irq(cpu, PPC_INTERRUPT_HDECR, 1); } } |