Message ID | 20191024162724.31675-22-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 2e5dcf36280910b4c89662559c0db242d61ca8d0 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp2416725ocf; Thu, 24 Oct 2019 09:54:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVs4nCfol54dnn81yPphrIZ07I2gZiE+TBxDSz5zhMZr9jni/OcIW3d59gaR1l6245VD/L X-Received: by 2002:a17:906:2cca:: with SMTP id r10mr39583928ejr.108.1571936064653; Thu, 24 Oct 2019 09:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571936064; cv=none; d=google.com; s=arc-20160816; b=zYwBIvgw9/mCmi6qALLkDiVHwu4O7Asz2i3K6jP2jcTzysI5yLLbNhNNwtU2AZnM1m SfLyhsC4e83mcUpxfRJXTYhc+tm4Z5hzxH5LjOdQMnI/xuI3QhHswqpArbwh1Txd4yhx 09acXaaxaEjnTnpN+cK9gwTyQNQGfBHJArtPlcLzNlNBBOU/RYyeDvlX3duvCjgeq5wX 0/ePM2BibdsTb0qsqI6tf8GLii6ZEStW5RQ0l9Ed2ViucmUOkxQyMGT0fuNfVkOrZJdZ yTSmlu2cHJJ/8sYqNrnOAPggPp+YdNrhhQRivVN0UDYAuP38YS3+ffdhlRM+OHH7P/hH 5sFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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=WFUwsZ8ugMBSw4ZJiorvJWtT/rnVZy1+6h/U7Ubz84I=; b=unLJfes0ah1Do0iPvJqI0ae748VlycvlEmu7f1cmvET7kZMUoNk4CLnNIn4F/bH8gx ajx1TJfhRc4AVSq98fiT5j6i8Q/VT8LbkIjqXJYqzD48ixLx/7xgvvPu4QyY+dvhGA6Z lIyxyxAwVLdS/aJemNANnDI+Fjv/IPBYhTj+rLL72H9A1b120DDF2jsyowAZjqmy5Ht2 lzOcXPVNg/8jzv8LcnlBuKua2kUSepACf64a/NsUFjYBFyhYW7TgUHpC13qXan0Y0Tc2 6WACZ7O9MQP3SB6PqAzHBPTal43+plE5wPRWqDrE75XC1Aq0WdMKs/4SW4fvsSb6FFmK bNPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FvlpS+bp; 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: <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 h34si18291106ede.247.2019.10.24.09.54.24 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Oct 2019 09:54:24 -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=FvlpS+bp; 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]:48064 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 1iNgNT-00052T-1N for patch@linaro.org; Thu, 24 Oct 2019 12:54:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57955) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1iNfxt-0007YF-BX for qemu-devel@nongnu.org; Thu, 24 Oct 2019 12:27:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1iNfxr-0000qB-0H for qemu-devel@nongnu.org; Thu, 24 Oct 2019 12:27:57 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:40265) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <peter.maydell@linaro.org>) id 1iNfxq-0000pq-QM for qemu-devel@nongnu.org; Thu, 24 Oct 2019 12:27:54 -0400 Received: by mail-wm1-x342.google.com with SMTP id w9so2041310wmm.5 for <qemu-devel@nongnu.org>; Thu, 24 Oct 2019 09:27: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=WFUwsZ8ugMBSw4ZJiorvJWtT/rnVZy1+6h/U7Ubz84I=; b=FvlpS+bptjotcCUjpId8+EOAkiPi2lLIi++W0vtndEr+rR8s797acpZQ+qjW4LW5Ik 7qlbhU180njZNz1xLlsmwMxE7XToRmoZy2oht1zPwbf+UlhLB+l9kXa9rJkwLjd9oYjl byGR5/zw2kDZJBe0cIk2kEXFw/lYNxtYuNSPbLhe5gIZqcQgDljs4Wz1rvE1w5OHW/ZK yoM7H7HcEu3rGtGdqvaZYUw9bZ3QwgTbRP/1jUKh6LWHB0A2Atk7gSkuhr9p11cKDP44 s7DQQvmHEcaP+zzFzKq85nCHVHaWCmA6Z30ae0amaDsvjDNAs3MqvtlS/UXAlGWkg44p ZXhA== 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=WFUwsZ8ugMBSw4ZJiorvJWtT/rnVZy1+6h/U7Ubz84I=; b=ctPSe7hB/OabZF6PR4khgI7W0uFhbZ71nzkUQrVNTDgw1Afm0lM3Bkj9N7Er8IWChL B3QhAE29RDVZwQyo2MXqlkUL4o0r+/PezmGkZOvAs9p6mbiGQlhYFac7cytLh5ay75oK DrBcft8Sj53DXh9z13IabjxIE83RX4W1Tx6UQYOBXS7upsTPmF7RRGQfhql3KUjnG2TY ksPN4uBnZe1a/pQvbQDK+7lTHbFI/zA3h4ZHZJ1ypgdWetmv5PoBCfslxf5cdD659OBG OUfAzSNw3VQPfmIol3V8DtUmW6d4tVPk1jAI0dJqAQVlEt7bsfsSCBLWLb4EV1MElQ9n yOgQ== X-Gm-Message-State: APjAAAV2FAo4QU2eiFlK0t0bFei9ugnTq4IwmzCLZCCfI3TQHmz1J5/E 0z88HVMSjwVQ4e54B+19n+RNRDoX5yw= X-Received: by 2002:a1c:7719:: with SMTP id t25mr5531511wmi.56.1571934473623; Thu, 24 Oct 2019 09:27:53 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id r27sm42606124wrc.55.2019.10.24.09.27.52 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 09:27:53 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 21/51] target/arm: Rebuild hflags at Xscale SCTLR writes Date: Thu, 24 Oct 2019 17:26:54 +0100 Message-Id: <20191024162724.31675-22-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191024162724.31675-1-peter.maydell@linaro.org> References: <20191024162724.31675-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target-arm queue
|
expand
|
diff --git a/target/arm/helper.c b/target/arm/helper.c index aae7b62458f..c55783e5406 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -4174,6 +4174,16 @@ static void sctlr_write(CPUARMState *env, const ARMCPRegInfo *ri, /* ??? Lots of these bits are not implemented. */ /* This may enable/disable the MMU, so do a TLB flush. */ tlb_flush(CPU(cpu)); + + if (ri->type & ARM_CP_SUPPRESS_TB_END) { + /* + * Normally we would always end the TB on an SCTLR write; see the + * comment in ARMCPRegInfo sctlr initialization below for why Xscale + * is special. Setting ARM_CP_SUPPRESS_TB_END also stops the rebuild + * of hflags from the translator, so do it here. + */ + arm_rebuild_hflags(env); + } } static CPAccessResult fpexc32_access(CPUARMState *env, const ARMCPRegInfo *ri,