From patchwork Mon Jan 22 20:41:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13526237 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E4BCC47E49 for ; Mon, 22 Jan 2024 20:42:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vMi4zZBNmm2Zdq2Ag/YI961xchL8/gXfBZHYSuhVcCU=; b=Flc+BvRCkvZpRO c589KOf0+YcTNap9mdVdskSVgLzkwfcswAXHCEguvUT38C4YUev+9X+8/YJoQ9Svr4CSN5vzl1LeX TLAFRHvlM+DEpY/O2ULTCMQbSx+soRihl58xaMxtXOTBX0C1Zydf+r8cJUmM/1XsPbXVSEl5nS6Tq njcWvY8y3sv4TXCJYH7qE8RS6/+tEg4rwZ2kMnFDXxjFWel667QhygpR/knzpuwPKtKbEBsPKKlQq ZEXRoLJR+SywXLGFi43T2wQk6Pu1RX2UVyh0eVNGQexQ1N/hJbEnJWye10+RH6tgcumsMtIXe9kkq 3+pKoRiHMOqGXHdZe6vw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS17i-00E4oZ-2K; Mon, 22 Jan 2024 20:42:26 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS17f-00E4mn-0K for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 20:42:24 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id BCFA8B81187; Mon, 22 Jan 2024 20:42:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF516C433B2; Mon, 22 Jan 2024 20:42:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705956141; bh=2LI5A66NtYYs0c3+CFqA3f6NBGFtQt1rRRkpBo53+tY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=MrWPu4fFzFvOJiNPFgjHlKBWqgjnUQVLsReSEslKUrYWzGmyewGgdg4rWrTjArDnZ wKoXpUq0EA+R3VoSGd4Iv83OIwLfzoErnQO1o+TOb9pz+iraPpYfdEHKV4uYAINmSe Ar+652uIg2AalXKrFY4kJttecHLXUbeSPB3gBsoiHLEtaTjC0lHyyFClDssUbpoLgn HftQdeN9OdpQj8npAPjZQH9aGEAThyPH5Bd/SVYaWduOJDHblkreWyqpyw+2MzGU89 gBngbv6hCx91WZfn9d8h/6V6HVNpcwZe8kCex+OAcNWFC4n6kNPH0P4QykBbYhr+gn 4OXM8dUEpWsWw== From: Mark Brown Date: Mon, 22 Jan 2024 20:41:52 +0000 Subject: [PATCH 2/4] arm64/sme: Fix cut'n'paste in ABI document MIME-Version: 1.0 Message-Id: <20240122-arm64-sve-sme-doc-v1-2-3d492e45265b@kernel.org> References: <20240122-arm64-sve-sme-doc-v1-0-3d492e45265b@kernel.org> In-Reply-To: <20240122-arm64-sve-sme-doc-v1-0-3d492e45265b@kernel.org> To: Catalin Marinas , Will Deacon , Jonathan Corbet Cc: Dave Martin , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown , Edmund Grimley-Evans X-Mailer: b4 0.13-dev-5c066 X-Developer-Signature: v=1; a=openpgp-sha256; l=1479; i=broonie@kernel.org; h=from:subject:message-id; bh=2LI5A66NtYYs0c3+CFqA3f6NBGFtQt1rRRkpBo53+tY=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBlrtMiQWgzM6b3u/SZr1xZS0wLY+G9U2uI6gub7nqh Ddw+TreJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZa7TIgAKCRAk1otyXVSH0G2nB/ 44xZPX2DfylvBDshiwux6gUY/1TyyezZYWDNhHcvN0y0OEgzTGUDuHtcVdPuJBXPWUVDdhTPHTGkJn RzbkpZarjcwWzwZ1WEwh+cSwgJGRhqX4KHk9F0pWvVky3o8Swoe4pkZ4GyY8U0+tVz/82wwtHXPt2l sQVFPb0q3gCWvzWSmr8KcOwpwHYC5eL1rzJFSHKt4FI1iPujU4FUAiWuzUBiCFmytTlyjU2ZFsRgMZ mljHhD90EKIikRfwRfSDlnTV3dQTaarH/tLnp7kedPRJQpneJTMfr1Pi6qUZF2Md3YQVS3GtDyOWIt PmgbgJVJVYsTpcbdBAbILjbiAkgqqT X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_124223_315060_14FD02A7 X-CRM114-Status: GOOD ( 11.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The ABI for SME is very like that for SVE so bits of the ABI were copied but not adequately search and replaced, fix that. Reported-by: Edmund Grimley-Evans Signed-off-by: Mark Brown --- Documentation/arch/arm64/sme.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/arch/arm64/sme.rst b/Documentation/arch/arm64/sme.rst index 3d0e53ecac4f..3133d0e91b48 100644 --- a/Documentation/arch/arm64/sme.rst +++ b/Documentation/arch/arm64/sme.rst @@ -238,12 +238,12 @@ prctl(PR_SME_SET_VL, unsigned long arg) bits of Z0..Z31 except for Z0 bits [127:0] .. Z31 bits [127:0] to become unspecified, including both streaming and non-streaming SVE state. Calling PR_SME_SET_VL with vl equal to the thread's current vector - length, or calling PR_SME_SET_VL with the PR_SVE_SET_VL_ONEXEC flag, + length, or calling PR_SME_SET_VL with the PR_SME_SET_VL_ONEXEC flag, does not constitute a change to the vector length for this purpose. * Changing the vector length causes PSTATE.ZA and PSTATE.SM to be cleared. Calling PR_SME_SET_VL with vl equal to the thread's current vector - length, or calling PR_SME_SET_VL with the PR_SVE_SET_VL_ONEXEC flag, + length, or calling PR_SME_SET_VL with the PR_SME_SET_VL_ONEXEC flag, does not constitute a change to the vector length for this purpose.