From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AFE9C433F5 for ; Wed, 27 Oct 2021 18:52:51 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 4EC3460F38 for ; Wed, 27 Oct 2021 18:52:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4EC3460F38 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=WnM4opL5P4ts9P wZXfyngqIlSHYj7uB/0Psaqevy3TfKHqPHcrZnyepZmm8MtK4BNmj27MtoHdL0H6EpRiX/6QSGjjM xNH3zV/SJFt//bN1suNjvYl2eweg4hq5fFbBXUekOjdLfnCQTs4+wKckxIkwyygbk4eV0wvVzw2fY wTOserALwgQ9rd1pX4il+GN7DuZThyAukG3E9gllukZykUyHZDHRzJ4iBQ0kbbj8/dyZ3CAzrb3uX gIZJ/hxknhCMFj9yP79BU/a4eGmZPIcvobfzqoctrYXB+5S3FkrxB2ybSSRsaNW6qM1kyXWovLlA0 U0AdiKAOBtB3CdlKzrpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfo1K-005gZY-Cu; Wed, 27 Oct 2021 18:51:30 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfo0q-005gSa-7I for linux-arm-kernel@lists.infradead.org; Wed, 27 Oct 2021 18:51:01 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 66A51610A6; Wed, 27 Oct 2021 18:50:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635360659; bh=n/w7AweH9L8FxO6JYJptKDInrWPMknCr7JxAnBAUncs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mv1sUyMOunXrxxfGoXQiJAzyITfitxnmdIGU+sC3yIFAZcKWeR0qWGOLbTpVBywWt pummMO+leXRWWI5kUd8fULHzpXUSSDqbqLZcoJgQraq/TJZBGLCxQfFH8yardX0+On D72Nbr7sOMWq6O4PiRgunrsLG7VGz89uxs397h4HHJLhBA6l3a9e1M8xuPugiAX++3 TNRrk8IPghd2ODQpwPvoWEGMDqU+yPdtcNqiXWjC61p+q4wlk+ANb+iIVZf8kxmws3 8ynoYJYn1gxtk6VzVxaa4zI/Qh6XLAZnsBSd9/GfLhO080eKZIah34UYYJWORIw7Ll DqiuyReHGHxrQ== From: Mark Brown To: Catalin Marinas , Will Deacon , Shuah Khan , Shuah Khan Cc: Alan Hayward , Luis Machado , Salil Akerkar , Basant Kumar Dwivedi , Szabolcs Nagy , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Mark Brown , Luis Machado Subject: [PATCH v5 03/38] arm64/sve: Minor clarification of ABI documentation Date: Wed, 27 Oct 2021 19:43:49 +0100 Message-Id: <20211027184424.166237-4-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211027184424.166237-1-broonie@kernel.org> References: <20211027184424.166237-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/pANAwAKASTWi3JdVIfQAcsmYgBheZ3pbdYv2hXbEyhOJ3EEommD5opdHGXoM9/MryFW 8NF/teCJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYXmd6QAKCRAk1otyXVSH0EDoB/ 9PnGGBEkwb0RF6P/jIsaMjqNjJHHxhdDLsDiOq+aSRXPKKT25QIBNe2exVqihZBIxM6iWWbCypoBh0 BU7sxe4BMCdSgeiZYqXYJsAAtxAWHSTINLCQWjngW5eAwb7XPk+U9fjRssJcbL1yBI1raKLjK/Yuez Eaul1CZ+MH4z5Pk3YtcYdZZ/ZcPH1q3ecumDm3xPOsrxuBIW8Qxi5MYyKfY1pVk5Guo99etz9qzI/g CLvaRcc2W/zTSThIQOIfwUjdjkvPLXxc4l5kAa2k/IglLbv5HJtMusNQ2mipMT51hQnZqWdf4YGyRf jEw5x5w9vXM0P9+a+RrjbeXmIjiBLp 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-20211027_115100_307401_211FD8C8 X-CRM114-Status: GOOD ( 12.86 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Signed-off-by: Mark Brown --- Documentation/arm64/sve.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel