From nobody Wed Apr 16 15:36:26 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1572599016; cv=none; d=zoho.com; s=zohoarc; b=F4pxCRs0CpEc8u5tOlp9c/ytfbii1VYIBCFdLaXU6xvILvMe/g7+EQYeZHyupFFiiNOm4EZG0WlsItPggKs672QPCD5KAE1MPNXPsTBIAwvg1dGmMjlQMgulBd59ApLYH0zNEmabnxd7X8ipgjlVvCYyrx2GykOTYW12QNUGsT8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1572599016; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=rrO+qwPM4Kmir6VZyxAXUgGXFxnOGGraCt67S9SJoFU=; b=SKowJdVGc7gioN8mO7hKOx9M26JepxkH4BdEQM8pBkofaVM6hDq0RsDkJY1LvJ2twSw5QKHEXRdr9UtvgC87hE7bHjj9IXZbmhTqNmYoDBSGHrVetvj0m3hUDB4jrlElm+TPrNl5AOLuVI7a1iIkpU3FxKc//vnA7lv++wney6w= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1572599016460719.8916657266661; Fri, 1 Nov 2019 02:03:36 -0700 (PDT) Received: from localhost ([::1]:58918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQSqF-00050s-3C for importer@patchew.org; Fri, 01 Nov 2019 05:03:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56555) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQSez-0001BZ-AU for qemu-devel@nongnu.org; Fri, 01 Nov 2019 04:51:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQSey-0000cW-7Z for qemu-devel@nongnu.org; Fri, 01 Nov 2019 04:51:57 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:34564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQSey-0000YI-1U for qemu-devel@nongnu.org; Fri, 01 Nov 2019 04:51:56 -0400 Received: by mail-wr1-x42d.google.com with SMTP id e6so7115071wrw.1 for ; Fri, 01 Nov 2019 01:51:55 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id d20sm8818922wra.4.2019.11.01.01.51.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2019 01:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=rrO+qwPM4Kmir6VZyxAXUgGXFxnOGGraCt67S9SJoFU=; b=j0tRb9cYn0tON9ckOzHCr5Ts/qCfHuQDrbSQ+54FfC2KjXdrQAfyjZJPdXoWPDBVOC uSRshks7jQNS9WqrhPbWGfxOaTSwCx7KRrrlKOMHb41WLfh0e31Y1hGmcJ6g6DLOtM5B /bqnZyyj6kvY/UPqt4JHwl8GfDR01RlmKRAeT8xbR1qTsbwrMdhqvkVhSJZGNx3s3y2q twEyPw7+yBv90QJl7JMnSfpJ2wlIIzDQbvL76og+s0rVTEjKcJGgjQmQOMnmNDmf5dxi Qgi3PCqk5FVt7pz3xFxi9BpnlS4EfvcLpVXaWcxVtl2lqUZXsvnVU867iVlFZyj8Eiy3 LngQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rrO+qwPM4Kmir6VZyxAXUgGXFxnOGGraCt67S9SJoFU=; b=RIJdYeJB5/HbTWT+xF/xC67V4GoSk+1ITVUdyqwGajSseYZId6+RHfQOIm3rXSnm13 iAeA5tP21MsWp7FsEERwGUeRB325en4GcT2f/s+1ACMlCu7mdoCmhgbODd97GwEe8pE+ sVEyx7IZzEvvUwV4W6Qtz23WmDSNcqTYXUPdAMGMLVhtm3ilRu747c69cg+eATKICu81 q6sauiIZQS17P7FwhTRkwDFLKn/rvvfCi66cZw+C1z/gMK5GGKgMJDy29R4mDdlDHi4a i5lJ2gS7GTMXSx4kGA7ivW6Frc4SWvnxoEltKzDBOTz6Vb5FsvBMgSPE19+UJCWYTqGr CtwQ== X-Gm-Message-State: APjAAAXMDAw6iV32LqooNDUZ+MpJ6D7/Q67bGIAh54PRRGyimrQEyeJS z0TlkDMVKxOAMTiqe6OPugb8fnPvRj02hSLD X-Google-Smtp-Source: APXvYqyqsqAOnRR4X+DdEQqZjgbkMzsM31C8nQvGGSwkwDv3x2CozhGP9xrbYwVIkbkXT3VUj44JuQ== X-Received: by 2002:adf:ff81:: with SMTP id j1mr607945wrr.98.1572598314758; Fri, 01 Nov 2019 01:51:54 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 10/11] hw/arm/boot: Rebuild hflags when modifying CPUState at boot Date: Fri, 1 Nov 2019 08:51:39 +0000 Message-Id: <20191101085140.5205-11-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191101085140.5205-1-peter.maydell@linaro.org> References: <20191101085140.5205-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42d X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) From: "Edgar E. Iglesias" Rebuild hflags when modifying CPUState at boot. Fixes: e979972a6a Signed-off-by: Edgar E. Iglesias Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Luc Michel Message-id: 20191031040830.18800-2-edgar.iglesias@xilinx.com Signed-off-by: Peter Maydell --- hw/arm/boot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/boot.c b/hw/arm/boot.c index c264864c11d..ef6724960c0 100644 --- a/hw/arm/boot.c +++ b/hw/arm/boot.c @@ -786,6 +786,7 @@ static void do_cpu_reset(void *opaque) info->secondary_cpu_reset_hook(cpu, info); } } + arm_rebuild_hflags(env); } } =20 --=20 2.20.1