From patchwork Mon Jan 22 20:41:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13526236 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 5016AC47DD3 for ; Mon, 22 Jan 2024 20:42:51 +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=7onl9MeW0iGTll0hISWlYIJNwPaJe4Nc686ifIuXGL8=; b=KfcO3nA2ZJPinR ywQJpwsxwMUL2UTBM5AZluaAUTeR54CCjEFc3qWtpFxTynbQXV2W1cdijDZU+V7NgXX5s0GxLu81m srk1IXGiy7atxnnqdjSKJvig5IuTrtvL+jpKqWQvR0u9GJ+X9Bl7XjhGL0/I0vVyAz2gU+aP5N8fx 3qt0HCaogxy5QiP6hylWbdSrMFOVdBTu58bZpicwt8B6y6WxZIN38WQlzcdSm3FZPNRhtjLT8mJar PpfWEuuB9tYnN083xnk4g1GwffFBao00nfA3lJ355Bqo4pTFjN4ZYx8lDSNTDj1Hz7vqfzTi+TaDm 7kVOPlUztmj8KiJkqCSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS17i-00E4o3-0N; Mon, 22 Jan 2024 20:42:26 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS17c-00E4lq-1f for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 20:42:21 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 00E29B81183; Mon, 22 Jan 2024 20:42:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD7FEC433F1; Mon, 22 Jan 2024 20:42:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705956138; bh=lfUVq4d83TpgqB+IiKAo863O49OEz4Su7IWo3c36W6c=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=HIHIvmFTqCUSJzRCT8Ld6KOulhixCJJDuGF3pL2SmCmosC3qC0PTNMFVTr0z7A76/ nsjhhwqJd7CWfYbiM8fm1ry9283VTqMP4okUwojTG9hg1SATGpGlCx/H5jTDshumzz pP2GouGmXt3gcxD5xIYe4Qj4tAMdwLGhUxthi7KHWRWDrnMp+UgGwIYZ1uTE2GjPKP 10zVEzDvdxSKZmsUhAjAstnq8J5HbvXl0ntWH2HhO+dv/nNxcq2i3LzCnNNAR2DmJv 9prRHPrzzRTZtBfskwMGWGRogx8K/vATBdnNQB0IFbaQLoeMnrs75YAvIFMbkEpA4L D8qo1DiPFdSjA== From: Mark Brown Date: Mon, 22 Jan 2024 20:41:51 +0000 Subject: [PATCH 1/4] arm64/sve: Remove bitrotted comment about syscall behaviour MIME-Version: 1.0 Message-Id: <20240122-arm64-sve-sme-doc-v1-1-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=1242; i=broonie@kernel.org; h=from:subject:message-id; bh=lfUVq4d83TpgqB+IiKAo863O49OEz4Su7IWo3c36W6c=; b=owGbwMvMwMWocq27KDak/QLjabUkhtR1lxUXfU2+78rT5LF8Y2ZNr4/SBmO7zrR9rVOsuBUs+wv4 Ehs7GY1ZGBi5GGTFFFnWPstYlR4usXX+o/mvYAaxMoFMYeDiFICJzOBk/1+xdsIKiadlHrGG4qdDOo 5OeeThFFVjfmU5v1bbT8EIUzVHp/6Dgnfn2Ug5l50vWeHkl9CTu6S0xdA17qBZj+i75TJZvgFtYRuW hOx/sZQ/dum1urB7waHsn15q9+9um/H8Fmf38Sjbc+sCk40OfTQzdNLX1s1qCwzvis+X6VVouiK0o8 Vrx5VvNrF1PZk/D7AvnvX9SDJXdryTTsBdzgbVfbbP2t5EvZy0J2JG87o/N1RcjvMGtZ3TFir3Sb8w 7coJD1GlaasduHtPPtvum7rq6u74zX92a1hr7n/GtmRBQH5pUMQXo+08KZEVv67/l/jDvMdostbct3 ZNRf9+s+qJ92QwWvzs+n6zxe4gAA== 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_124220_697377_2AF13E27 X-CRM114-Status: GOOD ( 11.04 ) 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 When we documented that we always clear state not shared with FPSIMD we didn't catch all of the places that mentioned that state might not be cleared, remove a lingering reference. Reported-by: Edmund Grimley-Evans Signed-off-by: Mark Brown Reviewed-by: Dave Martin --- Documentation/arch/arm64/sve.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Documentation/arch/arm64/sve.rst b/Documentation/arch/arm64/sve.rst index 0d9a426e9f85..b45a2da19bf1 100644 --- a/Documentation/arch/arm64/sve.rst +++ b/Documentation/arch/arm64/sve.rst @@ -117,11 +117,6 @@ the SVE instruction set architecture. * The SVE registers are not used to pass arguments to or receive results from any syscall. -* In practice the affected registers/bits will be preserved or will be replaced - with zeros on return from a syscall, but userspace should not make - assumptions about this. The kernel behaviour may vary on a case-by-case - basis. - * All other SVE state of a thread, including the currently configured vector length, the state of the PR_SVE_VL_INHERIT flag, and the deferred vector length (if any), is preserved across all syscalls, subject to the specific