From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796172371; b=B34e9uyWQh+8V0FFTdNUAhyMO1lj81mBIIUw4Rli/5Vi+raE9VxGryjBZWUp4hqe2Vdd o6T7MjvDdWguZfhUylPczT7p9bA43OTR6wUs7K2a80ZUyKkGbWP28/zzbAKlJsqY+vY1d Hkwh25lgG8I6HgNZ7qfBAWVm95wXLnSyCB/CCfJhfQCTvChNBjIrvfFSf7DEstS/5iC40 9R1CoN5FWIVfQr3RcQWbz9T+RjXpSC+fc1HpgDZ6jUdjGqg26V12YjhFvoPatOSEBlGGd 1GB0Tn/W6xXaRmA5NoSY/t6JXhnMi+FDW3XEnfuMDBMDx+P1NJIFJ4nPJP4nJzNQpNw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796172371; h=Received:DKIM-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; bh=p2FA1sAcIQiOXABrusfaPNoIe3YtBYpyFnb5484RQiI=; b=AUKKWfuuH5J5PLznnqvI+cDCs3HuSlB3i/RLQgeZz0e1nqAGKaZDSZwY63CIHTROlTi7 65RpfNVLu05bPeAqgSU+h/lzTK4Q9iydmCsqpGhOkfpfL0VhtYm97vZRanxeRkDOvGvnR +axhE8kYwCalxWmBjJO5XPlUyes9b1ekX80+kHzMmS22NpIcdjb70Df90qWAQ9y6rSk11 UkJggzr7oZvPDandD4VcAiZhl9YNwqKxz3GjUmLJV9mAROfVp011nmkCNVGJAfxUi9PWp Bl7HPLdkXm32QctpufAlMF48mSlzzmUzw584E3irBdpoyIm2yrDg9h/qIW64+1h9vqA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=EVIiHBr6; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ABA80606A31A for ; Wed, 2 Dec 2026 00:46:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=EVIiHBr6 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-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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