From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CB02606A323 for ; Wed, 2 Dec 2026 00:46:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=KIkkRI5R; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=EVIiHBr6 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:Message-ID: In-Reply-To:Subject:cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=S2F70yIEAjwE4QE9f5/t3J2zi1XfPWNzymP7yy+nmY4=; b=KIkkRI5RVuaE2uO0qmbVZhqB/9 TzWwaSRJvH+GkgwlvOWRrZx4PVIA0jiwfPcinvdXzz6WgS/tSANYz2SB/IiU0rRe8i11rH4gjSYOD vNKmtKAw3xaAEX3KCiPJkC2HTDP5IotOlJZEv96MESiwU+WMCRJL/7a3IBMqoBifgcHPTeWdjVwyE buVd2myce8R5f0+WlelfcTM0NopkVeSYHrnNuJqQHPvKZylneYFghKtFAONCSD98b7t66yisuLNAG Qn8r3q+gp2ZTbmq7RDwKbPgn5/6U4lpoJmLf++SwQWIuix6XmucaNxr/gKLckGF/3DqifUsHPLatn 2xyDuH9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYYUS-00000009ojx-2xJB; Wed, 02 Dec 2026 00:46:32 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYYU8-00000009ohI-0Uqy; Wed, 02 Dec 2026 00:46:24 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 8D17E61140; Wed, 2 Dec 2026 00:46:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B43421F00893; Wed, 2 Dec 2026 00:46:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796172371; bh=p2FA1sAcIQiOXABrusfaPNoIe3YtBYpyFnb5484RQiI=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=EVIiHBr6YXQhXSpejXclG2/sgSCZKad7nthEe1uiYZJLaF1ypvvzghzJ7jhLsitvD BR/9pgSdEvywebzdTRbaOaSZ7mbKf+WvtP/uRJqNxhfXbs4HEosXuoo29j6pMg6fFK wA2pQI3QH/XxDhzVZY+v4x1dzy16C+UqD86Con85GYu54+FMp/uc2DXRrzEwafVHat OsXOkbaU4SBc78XV2h1kJRSmojKTPiM1rW/KgMr3tnXiyf9zyQ932oIn4H/b38pQpw EyoXq8s1jX4jk//M36IT3cbrU5IY3aqHBVlFlmkjAEjSHxZvh6mEcoLACGGRyeZavP UZfsWIeSv/otA== Date: Tue, 1 Dec 2026 17:46:07 -0700 (MST) From: Paul Walmsley To: Paul Walmsley cc: Samuel Holland , Anup Patel , Atish Patra , Palmer Dabbelt , linux-kernel@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, Andy Chiu Subject: Re: [PATCH 2/3] riscv: Deprecate vector state prctl/sysctl In-Reply-To: <55b85c06-c9fb-0940-8570-2ef3b213ae4c@kernel.org> Message-ID: <230ddf37-7843-d0e2-b3b0-47c2118919b3@kernel.org> References: <20261007085126.222688-1-samuel.holland@sifive.com> <20261007085126.222688-3-samuel.holland@sifive.com> <55b85c06-c9fb-0940-8570-2ef3b213ae4c@kernel.org> X-Archived-By: MIME-Version: 1.0 X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Tue, 1 Dec 2026, Paul Walmsley wrote: > On Wed, 7 Oct 2026, Samuel Holland wrote: > > > The ability to prevent userspace from executing vector instructions was > > provided as a escape hatch for software that was broken by adding vector > > state to the signal context. This appears to be unused in practice, and > > creates confusion in the extension support returned by hwprobe(), as in > > this one special case an extension reported as present by hwprobe() is > > unusable. > > > > Since we believe it is safe to always allow vector usage, hide the prctl > > and sysctl behind a Kconfig option and mark them as deprecated, so they > > can be removed in the future. Note that significant userspace software > > like glibc already considers these controls explicitly unsupported. > > > > Signed-off-by: Samuel Holland > > Thanks, queued for v7.5. Ugh, sorry, dropping this one and the next one. Radim's comments make sense to me. Will plan to keep patch one. Samuel, what do you think about Andy's proposal in https://lore.kernel.org/linux-riscv/auTjwQoRqV5ayKdx@Tao-Chiu's-Mac/ ? Also Radim's comment about updating the selftests and vector.rst makes sense as well, as part of an updated series. - Paul _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv