[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 15/17] hw/ppc/spapr_rtas: Update hflags after setting msr
From: |
Richard Henderson |
Subject: |
[PATCH v4 15/17] hw/ppc/spapr_rtas: Update hflags after setting msr |
Date: |
Mon, 15 Mar 2021 12:46:13 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/ppc/spapr_rtas.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/spapr_rtas.c
index 8a79f9c628..6ec3e71757 100644
--- a/hw/ppc/spapr_rtas.c
+++ b/hw/ppc/spapr_rtas.c
@@ -51,6 +51,7 @@
#include "target/ppc/mmu-hash64.h"
#include "target/ppc/mmu-book3s-v3.h"
#include "migration/blocker.h"
+#include "helper_regs.h"
static void rtas_display_character(PowerPCCPU *cpu, SpaprMachineState *spapr,
uint32_t token, uint32_t nargs,
@@ -163,6 +164,7 @@ static void rtas_start_cpu(PowerPCCPU *callcpu,
SpaprMachineState *spapr,
cpu_synchronize_state(CPU(newcpu));
env->msr = (1ULL << MSR_SF) | (1ULL << MSR_ME);
+ hreg_compute_hflags(env);
/* Enable Power-saving mode Exit Cause exceptions for the new CPU */
lpcr = env->spr[SPR_LPCR];
--
2.25.1
- Re: [PATCH v4 10/17] target/ppc: Create helper_scv, (continued)
- [PATCH v4 13/17] target/ppc: Remove env->immu_idx and env->dmmu_idx, Richard Henderson, 2021/03/15
- [PATCH v4 14/17] hw/ppc/pnv_core: Update hflags after setting msr, Richard Henderson, 2021/03/15
- [PATCH v4 11/17] target/ppc: Put LPCR[GTSE] in hflags, Richard Henderson, 2021/03/15
- [PATCH v4 12/17] target/ppc: Remove MSR_SA and MSR_AP from hflags, Richard Henderson, 2021/03/15
- [PATCH v4 16/17] linux-user/ppc: Fix msr updates for signal handling, Richard Henderson, 2021/03/15
- [PATCH v4 15/17] hw/ppc/spapr_rtas: Update hflags after setting msr,
Richard Henderson <=
- [PATCH v4 17/17] target/ppc: Validate hflags with CONFIG_DEBUG_TCG, Richard Henderson, 2021/03/15
- Re: [PATCH v4 00/17] target/ppc: Fix truncation of env->hflags, Cédric Le Goater, 2021/03/16