Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1287631rdb; Wed, 24 Jan 2024 10:13:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+yxhbqyi9Kx6ZTWXB6WpbGOKEmpZPEO92JaieHbKPJIhJjjKSMk/iIBIyAwn2ZOmFZSpv X-Received: by 2002:a17:906:ae46:b0:a31:433c:2128 with SMTP id lf6-20020a170906ae4600b00a31433c2128mr267565ejb.167.1706119994958; Wed, 24 Jan 2024 10:13:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706119994; cv=pass; d=google.com; s=arc-20160816; b=qnbYbHJaoXsO7qwaqvt+1Kg9Rh2iE52Xj/JgAsFU65P8NdBr4nt7huUDhOnTb3phJQ HYi+XDxnvg5YPZRw2pi1m3KKMJB+smvJdYtEOwRnt11niy0c+snW0aRz533JPYDeL48j FlL4Dq/0sepnIBEV6FmcQ1ddBNQKB/3sFK3pVsi+v8dAGzpCuRmwdYJtij4xDCImu8iu V+edBYzha6RBtoYh+x+y/EImaZp1551kWRy5CWGtJ4qSLdzMVbSfkY1F5szz0hHnsbHR 9K5/rTBM20NYEbNwewelPDclT89MQexJ4pQCK0QtBvbo3uYDJrOsRFJD/ssCuPOxqSuC /ZFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=PaJmh0TwV6EhlJkbmvSnAVV/JVBCsn+L+3cjb1PvXlg=; fh=nHsfpCMNEq+LQZtg+news41yv6GM4sYAuHsSrCaCCkI=; b=YkuaCA/gzUjGPfOvBDF60pvjxxpGMpRIg177uVmPXcSZZyXBDKrE8xEaLaoFIAFv8A isEkcoVBtF+aczraGNGgrhccrHPvomOA7w0BCKPZPpc/xTopNuzhJ0BvnkXF31GYNxyE tgjbX05WKP8aV/4KvIuO0nv8iZaMfQQ/LqVr09rq+TfgMNC9zYH3Hc1Acfh2YBVO5gJ5 KJ5r4T2sSna756i80y8aCCJJ4o2akDCH1YqEXZf2YXQroaCyWU5p78VGNeCykbSazJeH cmePJ3dMLsOj7Hn1fIXe7O3Vg68Zx5BRb6eLxifv8G2Ioz6gASc29c25og5nOON7SLkT hwoA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P0VTmBJY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x15-20020a170906710f00b00a2a23a6ad8dsi110951ejj.565.2024.01.24.10.13.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:13:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P0VTmBJY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B36671F227E8 for ; Wed, 24 Jan 2024 18:13:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9E5C12AAD2; Wed, 24 Jan 2024 18:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P0VTmBJY" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF69012A175; Wed, 24 Jan 2024 18:12:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706119967; cv=none; b=KPNPhLapeH/JdvslfcFUzpKuG1H4qBZSZl2JX6qr17mHh+/YpprKuEutbQxwJ4i6RF52rx9UnH65Hwt4NQcsh4XxwAGhbEJhS0ElVrpIhVhlG8olQwgloHVcy0NkIlIlmB6zVFmBTGeYPMazQEaErbJfCzUW0T91XRx2/8JEoCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706119967; c=relaxed/simple; bh=KDY509WkoApN5+z/RyjZkULoN7R+WASGjlTC5t9MtKk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SldFxK3aaF7tpaoltJNMx80JJNypGBEJsifBZiTLZKUzn+dbUxHD8p5ft4kjFSibd1WJoK0tBFYd4/qF31rUnioaWm5ADU6gtMo60nnVyl1saDm5xYESWgCZZ2yVZ7CMwyZQfvX+SKclhm7WZ3ixjoYH3qu0ug3wHBJWg/blPgk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P0VTmBJY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F572C43394; Wed, 24 Jan 2024 18:12:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706119967; bh=KDY509WkoApN5+z/RyjZkULoN7R+WASGjlTC5t9MtKk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=P0VTmBJYxVMvv6CB8TA/HaVVpnLazvfoQIO697Q4uJSOo7Dg3hTcn91J+OixF1ASR hbVPRNMPuLpA4gC/Y+/RXlehw3eqEd8HrdBb3/03IIZVLo8F3jdsTCNVwG4bAciVFd F/06JVle+J1ju+JdvdYo54cGQ9PFaosU+CUuKZUQE8AkeeH72AVeFwlBolm8zoAetl bv9Aj3DUP5L1RetvfILfpS68v/W5matoazWFV3e4NWgQMlf7wRsX1f+UkNtqLqAB8U apgI/kBvrf9P5ErXGQysG14TCOPk39SmHvvjuVKwvy5oeDX1txMj3bQIzH6pSm3sAP Zt1JYHyTe1PnQ== From: Mark Brown Date: Wed, 24 Jan 2024 18:12:35 +0000 Subject: [PATCH v2 1/4] arm64/sve: Remove bitrotted comment about syscall behaviour Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240124-arm64-sve-sme-doc-v2-1-fe3964fb3c19@kernel.org> References: <20240124-arm64-sve-sme-doc-v2-0-fe3964fb3c19@kernel.org> In-Reply-To: <20240124-arm64-sve-sme-doc-v2-0-fe3964fb3c19@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-a684c X-Developer-Signature: v=1; a=openpgp-sha256; l=1290; i=broonie@kernel.org; h=from:subject:message-id; bh=KDY509WkoApN5+z/RyjZkULoN7R+WASGjlTC5t9MtKk=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBlsVMYpqkQjc6VNKfuZEYrSrZAMU6J3CcxlySvGDnw LM1Y+neJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCZbFTGAAKCRAk1otyXVSH0O0xB/ sHaiosBRNM9PRQ6qCgCrhkGx4jai+8aN/V9HnQhDoimnQECFzrDb1N9gNzouahQUi6CFvWI5yzCFwb 6Jz7jEYghYHrxTNvuGjWDRZ7TQxArBujtdwLWsMlkNWdvgdtTDo4ZqtHKXt9mImEHFpJxvJkz9B386 Ovh90rpYE4oWw4N5h0UJYK4aTJrR3E+kOT+YDyMIPwSL8YKIjqyqgmLvpLaRyzRCFRWzBAYUWWK71x OCitOlwB1hXnxZuPi0ebUVsrC+Fysq1upE522w83j76AyUwAYeWKWPZ1DOLWxoQHlkSMEzgmB9wHpJ U/pwfP57f3UrMCjv6cYMdM1uYqHnIT X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB 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 Reviewed-by: Dave Martin Signed-off-by: Mark Brown --- 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 -- 2.30.2