Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1162692rdb; Wed, 24 Jan 2024 06:47:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqAudEb9KLgNpkTBKNA/h3i5FWSRjyZZdHQBR7MzAXmvQO1ScQVNAPgrmZonBD7IhXrBM/ X-Received: by 2002:a17:902:c212:b0:1d6:f7c6:28df with SMTP id 18-20020a170902c21200b001d6f7c628dfmr773875pll.111.1706107654910; Wed, 24 Jan 2024 06:47:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706107654; cv=pass; d=google.com; s=arc-20160816; b=fs36VexwqBR/xuawXuekqRD/khfuyK5yov2/9okFS+TXU73EfyUVdetgnsFfumhoXZ FgH7yoFS/PkIvD/PRIc4nVYoHjg6CtGjigAO9N+vod9zqWhXfny+wQ9F80bIQkRAzYaz +VWT9eugBoMhCTXbaT+NEDWx1tZyiKpi7F+zHh9tBPLhG4bTPwy9PFJ4jyjYdwxzPkjH rm96c0twNzeJ2ODQSm0K7zb2NyHR+tALgvIz/4bNUaFL4AxDs3mFooEFvRazi3MFIfiC 9ujlTBX9HjBVRSrTHtPuQFHOzlviU6NjDa2fC9aRD7jx2XFPwmWxd3IqoFPHpvS46Esc G0Iw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=03xxj08rA4jRJozC0U1KAZ0/lJexDdBEi4UhdVK5o+4=; fh=uYUdXSypgvEjVdoPV0cPDvuseGbP+aWlrBghwZwQ+i0=; b=icrRQPKq30zI/TaXAOimQNXNP1TQNe9SFijPxmX71ERstd/+GuZZqvFn5+GFsMIr90 u2To9ZpeVKFXHHt+khS8JumGfqFisEHq+Qux5bUP8CL9SD4L6jbjAEB5pHaLN0MK0XtM SzQXZwIc9vkFYbPttTt2oLDzXSVlM/5tlpm/U/V4RaY7XOu4kjTNsvMhf5n3g6d7bUmz Hf0Mrz1J9UddVT3U2xGTP7mxvMB5I5BItn6RDFkndfGGXaIH6yUi57zWUzeujEZxlqN/ A9LiUHLdL5wNv3YbhAGtwYzsglXVjEh2Vuhab/KFJ0+QJ8xocSh+7Wf/UWOvT4ruHr1F n85g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-37088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37088-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 h18-20020a170902f55200b001d40669349bsi2936436plf.158.2024.01.24.06.47.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 06:47:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37088-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 spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-37088-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37088-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 A1E57B2302A for ; Wed, 24 Jan 2024 14:10:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EFAB7A70D; Wed, 24 Jan 2024 14:09:58 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67BBD7A701; Wed, 24 Jan 2024 14:09:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706105397; cv=none; b=HcSLvS/sGFSXCfuyuFLbekU4tgDW+z1epqLYv4VVOj3pyo3StIziewa9FYKl1V5yg3ZhsHwf/qqiPs91MzywBOC1a0X+N+P41l4q5VV7IhexvEXPXuupok6DpyzWRLDdHcdLh3vDGB6rVRt33ky9cV5oYbVlhsSdbkNlRzsE3X8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706105397; c=relaxed/simple; bh=qCGKRcoywPioNujxDqiV9k0jNhIKWOBNvLrRohxfy5U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=q4+tBsWLhxWEat0/CCfQEXw0Tjz7KbbZa1xKuKQU43BWwCBAZazQ1WcxIkuHrBhVXEjiS4yqzhw+1GbLB99bkoiQc0E5OqRMxMOTnmOqCR3I3Bvbeg02wKi04BuF/LT7tm16upfAvTh5Y/x3TCcj0UtVC2ic2RB1HGVkbkYSnf0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C293E1FB; Wed, 24 Jan 2024 06:10:39 -0800 (PST) Received: from e133380.arm.com (e133380.arm.com [10.1.197.58]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9A31E3F5A1; Wed, 24 Jan 2024 06:09:53 -0800 (PST) Date: Wed, 24 Jan 2024 14:09:51 +0000 From: Dave Martin To: Mark Brown Cc: Catalin Marinas , Will Deacon , Jonathan Corbet , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Edmund Grimley-Evans Subject: Re: [PATCH 3/4] arm64/fp: Clarify effect of setting an unsupported system VL Message-ID: References: <20240122-arm64-sve-sme-doc-v1-0-3d492e45265b@kernel.org> <20240122-arm64-sve-sme-doc-v1-3-3d492e45265b@kernel.org> <46571fac-28bf-4c6e-a5a4-38b1182b93a0@sirena.org.uk> 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=us-ascii Content-Disposition: inline In-Reply-To: <46571fac-28bf-4c6e-a5a4-38b1182b93a0@sirena.org.uk> On Tue, Jan 23, 2024 at 06:42:03PM +0000, Mark Brown wrote: > On Tue, Jan 23, 2024 at 03:49:27PM +0000, Dave Martin wrote: > > On Mon, Jan 22, 2024 at 08:41:53PM +0000, Mark Brown wrote: > > > > /proc/sys/abi/sme_default_vector_length > > > > > > Writing the text representation of an integer to this file sets the system > > > - default vector length to the specified value, unless the value is greater > > > - than the maximum vector length supported by the system in which case the > > > - default vector length is set to that maximum. > > > + default vector length to the specified value rounded to a supported value > > > + using the same rules as for setting vector length via prctl(). > > > Do parallel changes need to be made in sve.rst? > > They are, in this very patch? Duh, yes. My brain seems to have auto-ignored the second hunk, since it was clearly a duplicate :P > > (There seems to be so much duplication and copy-paste between these > > files that I wonder whether it would make sense to merge them... but > > that's probably a separate discussion.) > > Indeed, thanks for volunteering. Note that there are differences > resulting from specification differences. Thanks for agreeing to an unspecfied deadline ;) I might have a go at some point though, just to familiarise myself with the differences... > > Nit: is it better to name the prctl here than just to say prctl()? > > That would be easier for the reader to cross-reference. > > I guess, though it doesn't seem entirely idiomatic. I expect counterexamples can be found, but I guess the reader can figure it out either way. Cheers ---Dave