Received: by 2002:a19:ee0a:0:0:0:0:0 with SMTP id g10csp3831129lfb; Mon, 16 Nov 2020 08:09:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXcq/Z1NpKGEYBhyYIxT0jVGVwpuKpwL3uv/QZpdlR/2UXJU1lFEmNeg7HQ0NHuI3et9Mt X-Received: by 2002:a25:a567:: with SMTP id h94mr17452771ybi.211.1605542970789; Mon, 16 Nov 2020 08:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605542970; cv=none; d=google.com; s=arc-20160816; b=KiUkaja+VXZ/K7usp1A7yibh/P5JCqTA8yplc0KGWVhALUHtLg68JX9eoGOR89EeGC uY9pnFnC0Xs432AES1w/dbD+yFNZkQt2yNB3k52Mhyd8bm5dXNCePA+6IyEDhO/Iamtc FF/pApiVczDEUAM2L0MrkyzuEWIiwadvPzO34DmvluNisn7RsNH/kBvuSCfG8n4Z1fe0 sn3df4LlRha2qFXXeRG6k1vbE/rEBEmI8LAm/WCTM0CJJYBPcwee13G1nNuwPgN2JuLi Ld6OJ/kX0s9wBkAowFyQcEA36Sklv6arrHbFyWn8biMSqW5Tr7uasaHx64XMPJsZloIF Umtw== 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:message-id:date:subject:to:from:dkim-signature; bh=48eZQ2C/nYOS2OAqVNbzBjE7TFGlmkjwCx4T6ymfUuI=; b=ejEeMi2LG00qTh+dTVDatncoK7tKpHEZpsa7IqMIv7z2X8fWEUoLeVK06YQ0MscnzW HfZJTNZeL/LYMJuiQuPsTi08LZSnm8H3YvBOU1O4d7IU9pg2i2yqxpFM2ajohWz6bZms ibykhsjqX3h54b4V5zw/DCikvnC+3rftIlDQD9pJtnvfG5H2KWN4pA1fwpX4QllUPTLG ZwGBL7KfClyf/+IYJhXvpP7MyZNphm3s/IUOPijhF9kHarNLVc3qzia65C+O/gyoEoqg XAHtp8ltFYcIdX1ULt8FTNPNuPihgXnbFTc96wO02ZoRqKkYri4cYRYFjFIx7b0X9mFe XgQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GSjjoidC; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=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 i13si19287324ybp.288.2020.11.16.08.09.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Nov 2020 08:09:30 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=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=GSjjoidC; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:60434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keh4M-0000TF-2D for alex.bennee@linaro.org; Mon, 16 Nov 2020 11:09:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keh3a-0008Ld-Pl for qemu-arm@nongnu.org; Mon, 16 Nov 2020 11:08:42 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:54396) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keh3W-0007oF-Gn for qemu-arm@nongnu.org; Mon, 16 Nov 2020 11:08:42 -0500 Received: by mail-wm1-x32f.google.com with SMTP id d142so24238880wmd.4 for ; Mon, 16 Nov 2020 08:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=48eZQ2C/nYOS2OAqVNbzBjE7TFGlmkjwCx4T6ymfUuI=; b=GSjjoidCB6ukhgqIRqApgozrZ/KueBqfCf5qdLV2MD37WNygYcPEMwvPWbSIF0561q HOenOcFCfCDO05Ovv/9y/HhbEWXAeOODBM23kW/jDztL2Mk6rTNm+pPv+zFGHSHxNY00 MtR7gRuaAEBqdkYWpmE6tNwKf4SwqzRBRS/PjUuc8c9CuA9B0Vaw1j0fqw2ypJ3nUdSX pClVS8EfBDEJApCy+FunX4yS/IaAJL9TC75vpQwMtrcNF25UNw+st4htvZ4ZLIoh6mb5 2XaNnYmfKCRCXof8tXA+xFKakRvaHF95wtAV6UVwxTZL/ftqekrJuuRj/IfNkXBjm4ry rIxg== 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:mime-version :content-transfer-encoding; bh=48eZQ2C/nYOS2OAqVNbzBjE7TFGlmkjwCx4T6ymfUuI=; b=WJPHyYhc3uUlFjzXWHeZSN3fOzKAWAOCuafWkMoSevY5MoQMN1M19rs1660sQE/9/c gUbwDk0yKQ5wV5edUiR+LwpdvAzzv1jNOwt+04ldOrw1+QlBk9ihZZTx87EUmn0voZ2S SVy6eugHHExtRhruA/I81YZxc3QYsyhxvb2x/liFEXapqH3tKKaOdtxktVpelJcx4+6D 6BUXjKh0n1hSzFq4ikXv1jHktsaVrQVjkV0BeFc1+KyAZzEIGS4DDvf0v7eIeknLSDmM sJQfZ/fhm3e+WdZmO1jC2Wz+5QDvncCHK34t4IT50rxN+DCbJETa1hyK1VPfXgeA+6Oz lSwg== X-Gm-Message-State: AOAM532p0Xeq87J1r7auUBAcr51DCvi3QrMM4vGIx0zkm+AUylw6uCDL y1AHO2S3zyfoCACv496wvJoF63GfcuC8SQ== X-Received: by 2002:a1c:4485:: with SMTP id r127mr16232430wma.177.1605542913760; Mon, 16 Nov 2020 08:08:33 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id g20sm20116975wmh.20.2020.11.16.08.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 08:08:33 -0800 (PST) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH 00/15] target/arm: More v8.1M features Date: Mon, 16 Nov 2020 16:08:16 +0000 Message-Id: <20201116160831.31000-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: x0xYJAUoggD4 This patchset implements a somewhat miscellaneous collection of new-in-v8.1M features, as well as some bugfixes. It's for-6.0 material. In the bugfix category: * RAZWI (or BusFault for unprivileged accesses) the whole of the system PPB address range, not just the SCS * Don't clobber ID_PFR1.Security on M-profile * Don't allow VMRS/VMSR to fp sysregs that don't exist on M-profile In the features category: * v8.1M PXN extension * VSCCLRM and CLRM insns * VLDR/VSTR (sysreg) insns * new M-profile fp sysregs: FPSCR_nzcvqc, FPCXT_S, FPCXT_NS * update FPDSCR masking to allow new-in-v8.1M bits in that register As usual, none of this will be enabled until we eventually get to the point of a complete v8.1M implementation and can define a Cortex-M55 CPU model. thanks -- PMM Peter Maydell (15): hw/intc/armv7m_nvic: Make all of system PPB range be RAZWI/BusFault target/arm: Implement v8.1M PXN extension target/arm: Don't clobber ID_PFR1.Security on M-profile cores target/arm: Implement VSCCLRM insn target/arm: Implement CLRM instruction target/arm: Enforce M-profile VMRS/VMSR register restrictions target/arm: Refactor M-profile VMSR/VMRS handling target/arm: Move general-use constant expanders up in translate.c target/arm: Implement VLDR/VSTR system register target/arm: Implement M-profile FPSCR_nzcvqc target/arm: Use new FPCR_NZCV_MASK constant target/arm: Factor out preserve-fp-state from full_vfp_access_check() target/arm: Implement FPCXT_S fp system register target/arm: Implement FPCXT_NS fp system register hw/intc/armv7m_nvic: Update FPDSCR masking for v8.1M include/hw/intc/armv7m_nvic.h | 1 + target/arm/cpu.h | 30 ++ target/arm/m-nocp.decode | 8 +- target/arm/t32.decode | 6 +- target/arm/vfp.decode | 14 + hw/arm/armv7m.c | 2 +- hw/intc/armv7m_nvic.c | 87 ++++- target/arm/cpu.c | 5 +- target/arm/helper.c | 7 +- target/arm/translate.c | 102 ++++-- target/arm/translate-vfp.c.inc | 581 +++++++++++++++++++++++++++++++-- 11 files changed, 765 insertions(+), 78 deletions(-) -- 2.20.1