Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1135686rdb; Wed, 24 Jan 2024 06:05:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWmI/W3a5yrmENNzEbuq4p/zBqa2naUQA2hKQ/ZjaGhD6rlMgIruppnRhhDSBz/xggREQD X-Received: by 2002:a17:906:24d0:b0:a30:c9a6:cb7 with SMTP id f16-20020a17090624d000b00a30c9a60cb7mr879928ejb.62.1706105102313; Wed, 24 Jan 2024 06:05:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706105102; cv=pass; d=google.com; s=arc-20160816; b=m6LZz13bvfE2jvJGBjyWX4Np7r8Qp3BjnMHZDH/DaH0pYd+4Wx/xhomZs3Uu3W4uuO Mfa4qTWqQj/EggU1SdF8hoBB3dr1pHxxSwNKPz7DQLUpOTrZYL9E4vp5Er+g8QqdRu0W Ty2XaqXGreDkieOWelaBl+KTekxP0Rkh2R7ShCIMvoKmBphOUkZ+J851x0RuXVvO/Chc /Iq1A8PlivmYVkJ63CHLRfEhEOcRruhygbwZJGYnsDJBXeeQtFwXO4jsgeELayTLMpjt 0yWlmBAHg/LFeFVJI0le9tK8du710/u+r/GxoRNyyjDS4UE/8t5dYU7DDBbjiHpsM9XM KUqg== 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=UnCK3zTaI5R1vjGX0E+WndSeGptdRx0/+pzjHT9IG+k=; fh=uYUdXSypgvEjVdoPV0cPDvuseGbP+aWlrBghwZwQ+i0=; b=yeaGZGfLpmlXb+wq9IF/bHhFk1Gn/KxUML8DutLBw5rIEU5CMyMWwKT/3pt0gJ8YmV y+3UJb5FZGAYU1VTygVW2LmDeWNqb9yhKHYw1H5ZFoIJSAldZsX2RuNOxZSyaLAz405d QEfnFAjyqRD18gl4ZMfD35RkW/wPHdyxnpft2dJJ08/IbtXnLnj6Mka1YPcfDIc23d7Y 3o7agwQp6pIyiS3hwWoubF0TIM8gtqk0kifWTxrrdTUcPmu5hvb8fKtChkDFU/0USbS/ it7SMkbl4XXrT/YMKRiCyWpkfjklSQZ2/pLkwCUvObuVIiPCfIjn3K2ej0mUe3fd+lZA +93Q== 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-37086-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37086-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q12-20020a170906388c00b00a26e2482dddsi12715900ejd.1030.2024.01.24.06.05.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 06:05:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37086-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-37086-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37086-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1627E1F23A29 for ; Wed, 24 Jan 2024 14:05:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D0E57A708; Wed, 24 Jan 2024 14:04:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3959F7A701; Wed, 24 Jan 2024 14:04:51 +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=1706105093; cv=none; b=riB4QXUz6HTOBlGGTrmCesq3lrb7y45H3URHPnVueigAsumbjFdqLghrQb5tbQ9wOJoUFGQ/zXYP8Z2JOScPaBNexj96NTwBD8XkYhDb3zZjNM/1lnqY4KP+0JtvUrBafVAXSxRnWegINGe/WDj5xPUySt+9FHsr0Yi2dt++WCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706105093; c=relaxed/simple; bh=GgyKihouqlIoqQ51JN3lEJ59Za58IW34ydt615YzQ9A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mohvs05fhO+vb0zbH8boOYN6EDgFwLXJ0wd7U/DP8U42bUgxBd18G30s//SkmhYOFrPRPElJpat26dqtD8Vn/+jXddXsE8rDjVyi2+LRdewNdH6SZLDIgNZ0SV3NBhGYrgOxQpkFeEQUknG2gKrp66oMg4Dn3tX8US40OB8Kupc= 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 822B81FB; Wed, 24 Jan 2024 06:05:35 -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 44E503F5A1; Wed, 24 Jan 2024 06:04:49 -0800 (PST) Date: Wed, 24 Jan 2024 14:04:42 +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 1/4] arm64/sve: Remove bitrotted comment about syscall behaviour Message-ID: References: <20240122-arm64-sve-sme-doc-v1-0-3d492e45265b@kernel.org> <20240122-arm64-sve-sme-doc-v1-1-3d492e45265b@kernel.org> <991d84b4-e184-4fd6-900f-601f8c31d518@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: On Tue, Jan 23, 2024 at 06:11:52PM +0000, Mark Brown wrote: > On Tue, Jan 23, 2024 at 05:54:17PM +0000, Dave Martin wrote: > > > I still feel that it is iffy practice for userspace to rely on the > > extra bits being zeroed -- I think the architecture hides this > > guarantee anyway whenever you go through a function call confirming to > > the regular procedure call standard (including the syscall wrappers). > > But there may not be a lot of point trying to put people off if we > > can't force them not to rely on it. > > I do tend to agree that the requirement to zero is excessively zealous > and that the risk from relaxing it is minor (it's stricter than the > function call ABI), I did leave a sysctl as a mechanism for restoring > compatibility in the case where we did run into issues in my original > series but I didn't expect to need it. If you convince everyone else > I'd be happy to relax things but I don't super care either way. [...] I don't feel that strongly about it. Ideally we'd have gone for the fully relaxed approach from the start, but it's hard to test whether "unspecified" registers aren't leaking data from somewhere they shouldn't. Given that the decision has been made anyway, the documentation should not send mixed messages, so: Reviewed-by: Dave Martin