Message ID | 20210504055312.306823-10-david@gibson.dropbear.id.au |
---|---|
State | Accepted |
Commit | e81f17a3f616a4f2c803aafed60500ac45df9b3d |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp3499200jao; Mon, 3 May 2021 23:14:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+GT9URJbjZelGmTQvKodU0/ePzgsvV3mytSN0D24bO+G0EQ8N1fvQD6wUSEwPObryiz+j X-Received: by 2002:a67:68c5:: with SMTP id d188mr20679857vsc.0.1620108888538; Mon, 03 May 2021 23:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620108888; cv=none; d=google.com; s=arc-20160816; b=xeeIMh2gcuWaS0W9SI2c2OupG9rpCIPrGKPh5npUsKqiNLlC318lMVEzGEE6nm6Opz m+2XQcUnFR4pYJIwwwIwTElppnYb8d2qxNDhPirKInxsfXDHE42LE3AyXVV5vgiXmptW ZtIOPa75tA92yJ52mvr4K5/fnNLHRUJrH4rekmDK0Tmr6+ribWaauD+DtJWACje2MOd1 KpFMhss0pW6H0EGpKcyLOj9fpI4II/a5hiUt5Kwdn88eg5vw4HrLzrQ9Mz5LQGqVy6gb WwTkANEfh1efr66gC6zTZ9XmvTC61xJkOUwiXA/WfpXEaDmS4MvzpOgXmBhEcawpvqxV bknA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=9y3N4F/FY7Vj8/etbIIHxbTGNHhVyqibT4CSCl4FoVo=; b=sHpkVvvU8gYeFh73JooilZQ2xABg7YHgj2LpGHi16FMLPkPmpS/f/XS2liFoQjFgBi JsT6TUC2ovVzeIJuznE8eIhfOFt5B/j1rV8qYJdMVjfC3lXcJ7yHPAvRFpF3he78ZpR3 oPigEb8/BWJattrt+fXVD8HxfPpD8fEXkm2eAr6LMh+Cu7tIdBsNSw9YLDcAzISyrH3W QeHhyAN/3sOo9aDdMiGA20xg9Lu5isj0c6cz+dCeo4duLkBNx+Uwz3JDxLCXNbNs/jrY +MOzEsXQdvZcqmfrg1ePQBdAEVuiBgYL6RbpvjwHQycgeIyuP/SRiJsJBEYaE2/n9cA7 Di2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gibson.dropbear.id.au header.s=201602 header.b="o/ETwZDh"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u11si6949360vse.172.2021.05.03.23.14.48 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 May 2021 23:14:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@gibson.dropbear.id.au header.s=201602 header.b="o/ETwZDh"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:53056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1ldoKV-0004Cx-Tc for patch@linaro.org; Tue, 04 May 2021 02:14:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dgibson@ozlabs.org>) id 1ldnzy-0005EV-UG; Tue, 04 May 2021 01:53:36 -0400 Received: from ozlabs.org ([2401:3900:2:1::2]:48167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dgibson@ozlabs.org>) id 1ldnzu-0004gH-Lj; Tue, 04 May 2021 01:53:33 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 4FZ8CK2mzGz9sWl; Tue, 4 May 2021 15:53:17 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1620107597; bh=EaUDafy/8AJuydSXL0bhyrdgLP0aiUNh84eXCOph83Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o/ETwZDh4AmO7IMxZqN8i0QaMbHqt+DtMsK+fsYLRU3AhIeclTVNhHgSBUR23JDn+ ebpO/iCjsEQGvccAicEv2hWnXbvnNKBx5+uilUgm8F9CoO5IXd2FJFR4HT/Fg09H6t A4wuEF/9jy6ToTTIzWPKxi5UXWpREAFaMH7jFbpQ= From: David Gibson <david@gibson.dropbear.id.au> To: peter.maydell@linaro.org, groug@kaod.org Subject: [PULL 09/46] hw/ppc/spapr_rtas: Update hflags after setting msr Date: Tue, 4 May 2021 15:52:35 +1000 Message-Id: <20210504055312.306823-10-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210504055312.306823-1-david@gibson.dropbear.id.au> References: <20210504055312.306823-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2401:3900:2:1::2; envelope-from=dgibson@ozlabs.org; helo=ozlabs.org X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Richard Henderson <richard.henderson@linaro.org>, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson <david@gibson.dropbear.id.au> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
None
|
expand
|
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];