Message ID | 20211210184133.320748-4-broonie@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 95E95C433F5 for <linux-arm-kernel@archiver.kernel.org>; Fri, 10 Dec 2021 18:46:16 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Sw4J5eHmlJwAISWw6rZoeorT5UJ+wh3CP2heRrAn2oU=; b=wrz9QIXXIUVIdv oZvd7Uakvf6iiOix8jFPi1+s0KMjmBP0Lso5hIn0yl6uxD/+JpsyCUpWgP33pOpJ1CrBn7P1su5R4 i+/FJc8ZONyD1GttqLARbJD98qJtk50F4p5rwo4g8BSvlcyt2E1VU+lFv+aFA9eMnTflqEUVCN2gR D+js04AAgjXqaE6a8FlAk83Xx4ut3cBELCP78H0u3da3InofWCpGMGSCR2ApbC5d0yejtZzgjhfSz 2uvLDMQSYYHSLN28gY0zF6c7N4h+PGvkx+gya4suwlVK4YDxB8ShN9OTBIuG8/ve0AbBHfvvmt6YB GVOb6t/5+9XXpY20uzsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvksr-003FbB-6m; Fri, 10 Dec 2021 18:44:41 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvkry-003FHn-G2 for linux-arm-kernel@lists.infradead.org; Fri, 10 Dec 2021 18:43:47 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3B40FB82959; Fri, 10 Dec 2021 18:43:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BBDFC341C5; Fri, 10 Dec 2021 18:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639161824; bh=n/w7AweH9L8FxO6JYJptKDInrWPMknCr7JxAnBAUncs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=unqHgp9pT3/BnxfOK9/MrQBDy0ekpDwgQw3vOaBmKXtaBh3Kh7arPVDqPf2J/Zols bpXKRZxyT3FtUYi3WMnyvgkVtCPsBxycU3Va5sYcDGQJJUn5BBtPNiH+QHDjjKPCOe Uq29zAAy5fMVtIJYjR/XCdfXV3oijvGkvfPH5AMoEZ1i4t+Mbv8KJ/ieblagQQ+vtH 4ZewsIbReAua/+Io7giBw6mdR0JPAFHKriGc2NxP1tSslgy726W+KDl/HLKY1Z0rSo S90gpp08jSMKq6q8THsQdmz9kyGaBSwKE95MkKqhYM1ozumQB5E7D+69j87X5y44UB zqSZJ1BsQUihg== From: Mark Brown <broonie@kernel.org> To: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Shuah Khan <skhan@linuxfoundation.org>, Shuah Khan <shuah@kernel.org> Cc: Alan Hayward <alan.hayward@arm.com>, Luis Machado <luis.machado@arm.com>, Salil Akerkar <Salil.Akerkar@arm.com>, Basant Kumar Dwivedi <Basant.KumarDwivedi@arm.com>, Szabolcs Nagy <szabolcs.nagy@arm.com>, linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Mark Brown <broonie@kernel.org>, Luis Machado <Luis.Machado@arm.com> Subject: [PATCH v7 03/37] arm64/sve: Minor clarification of ABI documentation Date: Fri, 10 Dec 2021 18:40:59 +0000 Message-Id: <20211210184133.320748-4-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211210184133.320748-1-broonie@kernel.org> References: <20211210184133.320748-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1041; h=from:subject; bh=n/w7AweH9L8FxO6JYJptKDInrWPMknCr7JxAnBAUncs=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBhs59AbdYv2hXbEyhOJ3EEommD5opdHGXoM9/MryFW 8NF/teCJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYbOfQAAKCRAk1otyXVSH0JCDB/ 4tpwABWmZ+7O4HZ17p61JjA8D3sab7J/SBktpYcv1fBxhhY6GAcPPylJrXQt2QvtaMWJnWavbtgP9N M+wRT9+GDTzrgAtThSkj5e/QtCPn5Y880HkILtq6CS2PWFm8zoW/dOzp93oFpAsa88/R2wOT9AGJiu atiywgqaI11XC+umRqonXnaMAWuE3RvlDW2KfBlF7hvE9BYjibTb6fPQtPuTX4dMv4NGYTDe1HKoHn KMebWjkMLQcJVCUtNqYWNGI6r0wNzmKXvd77O2xttl9lPqr0pIfSwmLAvci3cXCxxLtCZu2clXaihn Sr0Y/6B517gNBAQ39rSRD9gelkULiX 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-20211210_104346_701588_346D2027 X-CRM114-Status: GOOD ( 14.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
arm64/sme: Initial support for the Scalable Matrix Extension
|
expand
|
diff --git a/Documentation/arm64/sve.rst b/Documentation/arm64/sve.rst index 03137154299e..9d9a4de5bc34 100644 --- a/Documentation/arm64/sve.rst +++ b/Documentation/arm64/sve.rst @@ -255,7 +255,7 @@ prctl(PR_SVE_GET_VL) vector length change (which would only normally be the case between a fork() or vfork() and the corresponding execve() in typical use). - To extract the vector length from the result, and it with + To extract the vector length from the result, bitwise and it with PR_SVE_VL_LEN_MASK. Return value: a nonnegative value on success, or a negative value on error:
As suggested by Luis for the SME version of this explicitly say that the vector length should be extracted from the return value of a set vector length prctl() with a bitwise and rather than just any old and. Suggested-by: Luis Machado <Luis.Machado@arm.com> Signed-off-by: Mark Brown <broonie@kernel.org> --- Documentation/arm64/sve.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)