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=1796167975; b=lpjw99xyrIXr3eWOke84KPBlpDfBIzbbBPeWmRS8AtkMmPKQoQhbi4n3I/6CMfWRElO8 pVRrJihlQh4SS33GADKE9C7nGjuP/kK6MtbBxnY2EILz9+YjxHwPcbwZ+fc+cLD4yHKhL RM1Qn6LHFsfTExGtATKLTsz5q22EBCjPAw360fEvM5eJtG1+TDbEoZWjBSJttfvI8alCy scDbK1+zgLW6reRHyOPwKf3yYE4zw+gQY//ZqtnpZCP7WemJAatNiqXYlZCojpLWtuBPr Bqpk1hM1REvMa5H8Ai7DSlgJ0ULp4hcbJbhdGCmBRw6+pkcubQRzOEpwwYVhxBYTopA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796167975; h=Received:DKIM-Signature:Date:From:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; bh=8rmJtU9P99T0vw7wFysxVMLggx8LKe18YVZqeJDbqbo=; b=em7nht94qgDjCdhaYyJE/KpjHj9yU5rX76JZjJ6cVUlLp6muGvfzekvJlJg/jOtHHqB7 kDbTmnAywGDDyhUI7b895/CwIbPTQH4+NhSvgxY+HhF0Nrn6RKBgJTtgeoD2tZ9xt5mEf IJMbPRbAoTjhTXeGPp6bn6HmEYZ9kTUmvcHdwYL37CykMECfoSCfnLY+5OGWM9vqqxNfE lhABz/UgV2vlgzUt2WAtSEcG7UNdztPpqquPrvA0Y4iakN9j1PvbfleAnypcRu0iiQZ54 E+AU4tJ4t9Z0o7IOdAxD3RbC9cLjXLZ0jTM1iJzAOgC5wXoGBCVV154BpH2Nsz57v5w== 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=HVs6a7oo; 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 55B5D606A31A for ; Tue, 1 Dec 2026 23:32:55 +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=HVs6a7oo Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F01A1F000C1; Tue, 1 Dec 2026 23:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796167975; bh=8rmJtU9P99T0vw7wFysxVMLggx8LKe18YVZqeJDbqbo=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=HVs6a7ooO3YT2nkc7eoZt0Tmo0Qsxet/egLkhkzw6/DJkMHflT+yt3LNaNgYNVV13 sin/Gd4wLyFvLAGrafwUtyQz5pqyUmKh6MSuaZVuT41k1dlGGUmKwKdAy9YAxZlsOS mTbR6qo7fGF40c9d2KVfARe9s2/K/zjX+lUpsACgS+dCOnJ/163KreEjCe/3Oe/8ow z7RnWhfTY8+S1wARKRRmWpwquCI2rpWrYQFRze+0bEL46nbbI6RCZ51Jp8G8p5McmP xb9NDH9DBrMe7AW5wvmz5AxYDpFtQHfhi8vUynOfWeIyUtr6cB5HMe9YPz34QgXZGW TeeMGhRa3xC4w== Date: Tue, 1 Dec 2026 16:32:53 -0700 (MST) From: Paul Walmsley To: Samuel Holland cc: Paul Walmsley , 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: <20261007085126.222688-3-samuel.holland@sifive.com> Message-ID: <55b85c06-c9fb-0940-8570-2ef3b213ae4c@kernel.org> References: <20261007085126.222688-1-samuel.holland@sifive.com> <20261007085126.222688-3-samuel.holland@sifive.com> 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 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. - Paul