From patchwork Wed Oct 23 15:00:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 177303 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp882097ill; Wed, 23 Oct 2019 08:28:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzt0vPZnQvM6v1AX8WOSRcAp2xl524RE64seT1wiwYSVM/EM7j1c7fIW5Pb17cQbW9OlhSN X-Received: by 2002:a50:eb42:: with SMTP id z2mr37876862edp.291.1571844482301; Wed, 23 Oct 2019 08:28:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571844482; cv=none; d=google.com; s=arc-20160816; b=OEK+C4FD9Kle4HcIoVSzTKM8BLJorCYi5VS4hwelZJzdrF6gZJkhS07wmIuQ5xZ/j6 sS2is9RLrScNZHJHM6IQwcr1VSV7/tZmp6u6TJ/Sm2Tq3SFN4FuBh6aLCzNs7gkEqUb6 RxV/fSDUorMuN1DT6oq1acVaCI4+xymqOcicye3VdJCcKGFi/kFZtytqZhAjL+HtRgm+ V9jtGq02iRLdbhcxlQGB3orCjz6H84FCz3M/8PMcU86W3pXmuygaBSHUkMQIkCsXG66K XdhX+g40QTX3I9h0NhcHKmZw2Nyqcf3JfIvznU3BfecK57G7t8hfKT8dWcseyx4O5JvZ C91Q== 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:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=EixSCP/+s4Pul7ok7q0wZeyo8cfwDyotG9VjfWeZAIo=; b=g+egy4rpiH5qpJ2mIIDpbT2FOyzpns6vqVlfnDeXB6exU50gJwv/vOLTtRUw5X1+9X 5ea9yNedyACOB1bXh/0CtJ3DU9ui7g2EivpLcNd4HTA+ioGNXYzIo9crNAwDiBWSlHU3 wYqQwdqArRpYldkFEcpthLNeakVID7kJW0jVxc+1goWo5ObFiMlptNlCDkRJk9jSGdKf fEzRaplFvYAhg6fzAvAdP/OevCbklp7Y26ISO7U95iHxtSlpg7qBVaTSTSM54hjSzrYr N1TCpXFSFhQbmobJ7J6d6mIzaPgVOiRCyRkmI78sY7zSqClUSbLGk2ExfHuXgUZfsVPt Xwrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GlbSIzeR; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m12si5602758ejc.123.2019.10.23.08.28.02 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Oct 2019 08:28:02 -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=pass header.i=@linaro.org header.s=google header.b=GlbSIzeR; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNIYK-0005ub-LD for patch@linaro.org; Wed, 23 Oct 2019 11:28:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35106) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNI8r-00086C-Vf for qemu-devel@nongnu.org; Wed, 23 Oct 2019 11:01:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNI8q-0001EG-Ul for qemu-devel@nongnu.org; Wed, 23 Oct 2019 11:01:41 -0400 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]:35196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNI8q-0001BV-N4 for qemu-devel@nongnu.org; Wed, 23 Oct 2019 11:01:40 -0400 Received: by mail-qk1-x743.google.com with SMTP id w2so20045124qkf.2 for ; Wed, 23 Oct 2019 08:01:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EixSCP/+s4Pul7ok7q0wZeyo8cfwDyotG9VjfWeZAIo=; b=GlbSIzeRKSN/EHYUAeDY7EnT8G2ux3tThi7Ui+TJAxomVtmu7TRpeE52UIwqz4aDcr 469KLYqwpj3BoNTWyfywn0cHwFt2SvViu15RU8ayL4i6KJFRtaYiSYQ7mcfogCzpUvib mqLFyGotWK4wklkSCUEsjMaZrOHoVtDra4ZGUgNlGDlEcaby9FsVA2xW+59FE5styI/P zWbuM5dF8JWYSZB/zblE3Xv6jBFhcYBXSJlof+R3eRHVXDg1Qrdujt4kxm6p8TJnGYqy eIj87hd1XxUL0hlnclvAi6A/WPrYaQofwKUnX7BpJP0e/ViK6xWdYhe6J2ZMEe75oBel 2ffQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EixSCP/+s4Pul7ok7q0wZeyo8cfwDyotG9VjfWeZAIo=; b=VFsQ3QhxGSJEZF8yHZLtvAJMSbWC5yk3tOYH64l8KMYARLurDyI8uJ5sT6C+stzESd l3Y3MQ0eiecxh00/48arl20qYphm8RlHKGcCLZjB4K8Dwf0tDchz9IWNUxZO332tKbdR 35/TAfdMayvwJ2/i+I4Mre1a41fYnixtSEtVA5qaxoWvG0/kdjp/7QnnDmKjx8yKTRQQ AfZ5i7BJxf/mzTlw6mm6bwFkO4zR+Kst0NV2piFmLS0AXUa7h+RkrAPDUoSKCWtJiDdM 8JFYT3+pIzZuQtWdw0DcuGT1Suej46PXod2hykZvLWZshr2WEXg6WiLV8L9zJbxVklo/ 3Ejg== X-Gm-Message-State: APjAAAWtnfjbTttfOLV3r5yysaqy9maQm4hz2EKCI2RYulGmJtqFXO1Q 4ReCa45NF0bdqzJK7LzB6XV61bxkgVA= X-Received: by 2002:a37:6554:: with SMTP id z81mr3910082qkb.9.1571842893582; Wed, 23 Oct 2019 08:01:33 -0700 (PDT) Received: from localhost.localdomain (198-4-20-64.static.cosmoweb.net. [64.20.4.198]) by smtp.gmail.com with ESMTPSA id l189sm11030168qke.69.2019.10.23.08.01.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 08:01:32 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v9 23/24] linux-user/arm: Rebuild hflags for TARGET_WORDS_BIGENDIAN Date: Wed, 23 Oct 2019 11:00:56 -0400 Message-Id: <20191023150057.25731-24-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191023150057.25731-1-richard.henderson@linaro.org> References: <20191023150057.25731-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::743 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: , Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Continue setting, but not relying upon, env->hflags. Signed-off-by: Richard Henderson --- linux-user/arm/cpu_loop.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/linux-user/arm/cpu_loop.c b/linux-user/arm/cpu_loop.c index e28c45cd4a..7be4071751 100644 --- a/linux-user/arm/cpu_loop.c +++ b/linux-user/arm/cpu_loop.c @@ -440,6 +440,7 @@ void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs) } else { env->cp15.sctlr_el[1] |= SCTLR_B; } + arm_rebuild_hflags(env); #endif ts->stack_base = info->start_stack;