Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp620204rdb; Thu, 22 Feb 2024 14:07:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUDbm7/XYvi96/FWc+bxIibHKlYvagZy8/1ZGqcVACQq3aVK+16CX2pKjYfPwVhQM7ydBEgttOkA18Vy5koAQPLzLlbGaaqvVSwEQ1fcA== X-Google-Smtp-Source: AGHT+IE4mZCZpds8edTqiBvOZXSX8qbLahV1fIgWZvWlcdDsm+QkXFP7vau9ow3z7MlxahGVt36n X-Received: by 2002:a05:6a21:1798:b0:1a0:6c04:4bba with SMTP id nx24-20020a056a21179800b001a06c044bbamr198672pzb.11.1708639656503; Thu, 22 Feb 2024 14:07:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708639656; cv=pass; d=google.com; s=arc-20160816; b=sfAemXQLyit0ZFKeKxW4dQF+XYAM2kdbm7XfZNeDXFb8RqmFxiROyUWLTlJnxc/Wj7 ZWpEw+dD0zsG7KX80QO9XJNsuesh7oKwrhxOpj4BohywwtN5zQL0mVWyzP2/PzM76TBo 3hMDojazjpP2MGA6KhGB9wzZOSciraDANyq6VsBTOHTD5K8NzktnY/PabxCNzYd6IC+O 5SsPPwwTtN5VhST3d70f3CdxFKdNbA9KWklwmvBf50y1DkuuclY31qMey6eoeVA6xs19 Tt+fxz+xH4cHPmafJrJL/C7T4UzLmXf64VtfjY6qAaesvapASZhkpvU3uMkJ/YTWj0r9 HHAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=u7KlwMqT1FryAvVEdvtaOSVu5WBucevhgJPhKOHjaL0=; fh=tV67MFYV5Dw5VPgocC5rPMVt3GWxWzfesuDVOsTo+mU=; b=0mp9GEs6SM3Bn0TbfU8fn5lokx4DKBU60uVwxBR7GQRVh0CfTRYVhJFTg8pye3ya2K 74HEK/htPAK1dvRVt5W2M6bLavg1TX8dPISsPpkP39Hot2mvgSy3N2SnNaIwP8gd2rkY GUqT4zNrdOoVLprPOQF08xTH3+1C0HGiZw1/jWEncOPFOBt8l9x+nAVUsmpRdNtHAmHV Naot/xyRU98FS3v7rZs35hWoFOmshb3xC6x9gwbJqqcRziUZLiz9pRFiq0LrK2ziXkx5 8HnjKlZk7D78/g+BacvgNjxz0mgTlGUkcz55wsXmXNWiA8jFhpN36sGCCsC+cV+pQXRU Eapw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-77441-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77441-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id na15-20020a17090b4c0f00b0029a66775c1csi986883pjb.78.2024.02.22.14.07.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 14:07:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77441-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-77441-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77441-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D1DC9B23263 for ; Thu, 22 Feb 2024 22:05:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E858213790A; Thu, 22 Feb 2024 22:05:13 +0000 (UTC) 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 0EF4212D21D for ; Thu, 22 Feb 2024 22:05:12 +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=1708639513; cv=none; b=kskkwbqxrYGpid58kgrMvaGMGev2vfkYn7Ck+sUKTJmf7f1Y71xQmfkvY0nR/AZ+Nk6vqX7RTDKEqGF//sjhUes2lXDgyDBPInb4StjsYUTAB5V1IgYTfL5aDkLBu/JuY6EuNtSdjaYM56mGVXtfVSio9EYs0k//1EWDqcD3d5w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708639513; c=relaxed/simple; bh=YtA+AeSqzXc3bwacRegNHrvIDwoGkuarX3bDwKgnlcA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=DwdloWn5DFZ/7L8bR+84Phvl36cB0mjBVlOI28NdmwxZHCPfSXkcYAU+Z3PJEHmIBmzLlImrvcoZoPQBSjGurcwmpcEzcTAySA0w8W+iAbyAHbLd/aRde1/oI2rcRTwwpW2jcu6hgDG2zTqNTPp/pflYxytn4tPJDyXjd8Sxhz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FAA5C433F1; Thu, 22 Feb 2024 22:05:10 +0000 (UTC) From: Catalin Marinas To: Will Deacon , Mark Brown Cc: Dave Martin , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] arm64/sve: Document that __SVE_VQ_MAX is much larger than needed Date: Thu, 22 Feb 2024 22:05:08 +0000 Message-Id: <170863948635.1616990.16270415841585916103.b4-ty@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240209-arm64-sve-vl-max-comment-v2-1-111b283469ee@kernel.org> References: <20240209-arm64-sve-vl-max-comment-v2-1-111b283469ee@kernel.org> 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: 8bit On Fri, 09 Feb 2024 16:53:36 +0000, Mark Brown wrote: > __SVE_VQ_MAX is defined without comment as 512 but the actual > architectural maximum is 16, a substantial difference which might not > be obvious to readers especially given the several different units used > for specifying vector sizes in various contexts and the fact that it's > often used via macros. In an effort to minimise surprises for users who > might assume the value is the architectural maximum and use it to do > things like size allocations add a comment noting the difference, and > add a note for SVE_VQ_MAX to aid discoverability. > > [...] Applied to arm64 (for-next/misc), thanks! [1/1] arm64/sve: Document that __SVE_VQ_MAX is much larger than needed https://git.kernel.org/arm64/c/21eb468e9fc1 -- Catalin