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 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 E536F606A325 for ; Tue, 1 Dec 2026 23:32:57 +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=oBChwnsY; 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=HVs6a7oo 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=etjqYMlNqw9isa6XIIa/+RLBjXZqZq9JeRL65Pd1yWU=; b=oBChwnsY+GZ0PptzUnQxYAarl9 /HFEPYZSN6VSnLlXrlNnj2+ZrrjNEvCF0AFEMbcdmWRt8gYGGb9/6JRcTGgIpABFbBEVlVgeahcQ4 +hrO2PQaoA1T9MJ84dkCOAPlbWsOT8M9MEoLdfXYFT4S52JkzeHTPgDwnwnI07wJifEU8n5j6e+/u nCSf5fbUnNfgV68m0mPxeLJS5+Ruz9yzuHRyTii0dC59+cu6KjlH8lqd8F0mo7l12xLRP6GPZfY1w 1XtqBlLNuKpYMxOlbhRFP+gdh/jW8b6ZglX6GUW/xbo9vwc/3avDcKmA/LjNlKIcf4h0GPNWJJ8vK iKGjoNOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYXLF-00000009fKd-2rfP; Tue, 01 Dec 2026 23:32:57 +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 1xYXLE-00000009fKC-0xkF; Tue, 01 Dec 2026 23:32:56 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 3F37A61CCC; Tue, 1 Dec 2026 23:32:55 +0000 (UTC) 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-Archived-By: MIME-Version: 1.0 X-BeenThere: kvm-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: "kvm-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 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 -- kvm-riscv mailing list kvm-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kvm-riscv 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 76B7E606A320 for ; Tue, 1 Dec 2026 23:33:02 +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=kGgfBjwJ; 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=HVs6a7oo 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=iXmNI2DE/NbzV0Zxy7EdsGTRXCadnyFvbhcjdSKPslY=; b=kGgfBjwJ+Ia3pUSqdTXQ6LVmbb +iBk7rxcWzQwYFxEzPLnhg1h9GCBh7+Jr+B+V1K/2H4OlnTV4ttckL+2No/vBExgnv6K65bAW6hRY rL4IcJ2hcUPCMTD0Q2YBAxT4Xd6RJb6caMpBirt2TLGrk7bu6ngmi47Bmh7c6FmZA3ph/fI+pvwLK vcCm6ir/5n7Q/HaFatJ8BLD06wWLmizPSofbewyewziw2rOVWO6k6Kpe+UiduDy9QW5hqhsUUyh5a A7tmgoKFbHEQXUML2MSIMb6uHljn91jXmhxQS9uwG9+O8D+HYTdZFuXVEcexVJu0GnSny+fIv0oxQ KboRYVsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYXLF-00000009fKh-32Jv; Tue, 01 Dec 2026 23:32:57 +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 1xYXLE-00000009fKC-0xkF; Tue, 01 Dec 2026 23:32:56 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 3F37A61CCC; Tue, 1 Dec 2026 23:32:55 +0000 (UTC) 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-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 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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv