[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 14/17] hw/ppc/pnv_core: Update hflags after setting msr
From: |
David Gibson |
Subject: |
Re: [PATCH v4 14/17] hw/ppc/pnv_core: Update hflags after setting msr |
Date: |
Mon, 22 Mar 2021 15:27:15 +1100 |
On Mon, Mar 15, 2021 at 12:46:12PM -0600, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Applied to ppc-for-6.0, thanks.
> ---
> hw/ppc/pnv_core.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/hw/ppc/pnv_core.c b/hw/ppc/pnv_core.c
> index bd2bf2e044..8c2a15a0fb 100644
> --- a/hw/ppc/pnv_core.c
> +++ b/hw/ppc/pnv_core.c
> @@ -29,6 +29,7 @@
> #include "hw/ppc/pnv_xscom.h"
> #include "hw/ppc/xics.h"
> #include "hw/qdev-properties.h"
> +#include "helper_regs.h"
>
> static const char *pnv_core_cpu_typename(PnvCore *pc)
> {
> @@ -55,8 +56,8 @@ static void pnv_core_cpu_reset(PnvCore *pc, PowerPCCPU *cpu)
> env->gpr[3] = PNV_FDT_ADDR;
> env->nip = 0x10;
> env->msr |= MSR_HVB; /* Hypervisor mode */
> -
> env->spr[SPR_HRMOR] = pc->hrmor;
> + hreg_compute_hflags(env);
>
> pcc->intc_reset(pc->chip, cpu);
> }
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- Re: [PATCH v4 01/17] target/ppc: Move helper_regs.h functions out-of-line, (continued)
- [PATCH v4 09/17] target/ppc: Put dbcr0 single-step bits into hflags, Richard Henderson, 2021/03/15
- [PATCH v4 07/17] target/ppc: Disconnect hflags from MSR, Richard Henderson, 2021/03/15
- [PATCH v4 10/17] target/ppc: Create helper_scv, Richard Henderson, 2021/03/15
- [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
- Re: [PATCH v4 14/17] hw/ppc/pnv_core: Update hflags after setting msr,
David Gibson <=
- [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, 2021/03/15
- [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