From: Paul Walmsley <pjw@kernel.org>
To: Paul Walmsley <pjw@kernel.org>
Cc: Samuel Holland <samuel.holland@sifive.com>,
Anup Patel <anup@brainfault.org>,
Atish Patra <atish.patra@linux.dev>,
Palmer Dabbelt <palmer@dabbelt.com>,
linux-kernel@vger.kernel.org, kvm-riscv@lists.infradead.org,
linux-riscv@lists.infradead.org,
Andy Chiu <tchiu@tenstorrent.com>
Subject: Re: [PATCH 2/3] riscv: Deprecate vector state prctl/sysctl
Date: Tue, 1 Dec 2026 17:46:07 -0700 (MST) [thread overview]
Message-ID: <230ddf37-7843-d0e2-b3b0-47c2118919b3@kernel.org> (raw)
In-Reply-To: <55b85c06-c9fb-0940-8570-2ef3b213ae4c@kernel.org>
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 <samuel.holland@sifive.com>
>
> 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
next prev parent reply other threads:[~2026-12-02 0:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 8:51 [PATCH 0/3] riscv: Deprecate userspace vector control interfaces Samuel Holland
2026-10-07 8:51 ` [PATCH 1/3] riscv: Drop CONFIG_RISCV_ISA_V_DEFAULT_ENABLE Samuel Holland
2026-10-13 16:59 ` Andy Chiu
2026-12-01 23:32 ` Paul Walmsley
2026-10-07 8:51 ` [PATCH 2/3] riscv: Deprecate vector state prctl/sysctl Samuel Holland
2026-10-13 16:57 ` Andy Chiu
2026-10-20 18:08 ` Radim Krcmar
2026-10-30 18:36 ` Andy Chiu
2026-12-01 23:32 ` [PATCH 2/3] " Paul Walmsley
2026-12-02 0:46 ` Paul Walmsley [this message]
2026-10-07 8:51 ` [PATCH 3/3] RISC-V: KVM: Decouple vector prctl state from VM ISA Samuel Holland
2026-10-13 16:58 ` Andy Chiu
2026-12-01 23:34 ` Paul Walmsley
2026-12-02 0:47 ` Paul Walmsley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=230ddf37-7843-d0e2-b3b0-47c2118919b3@kernel.org \
--to=pjw@kernel.org \
--cc=anup@brainfault.org \
--cc=atish.patra@linux.dev \
--cc=kvm-riscv@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=samuel.holland@sifive.com \
--cc=tchiu@tenstorrent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®