From: Guodong Xu <guodong.xu@oss.qualcomm.com>
To: "Radim Krčmář" <radim.krcmar@oss.qualcomm.com>
Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
Paul Walmsley <pjw@kernel.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Alexandre Ghiti <alex@ghiti.fr>,
Samuel Holland <samuel.holland@sifive.com>,
Andy Chiu <andybnac@gmail.com>, Zong Li <zong.li@sifive.com>,
Charlie Jenkins <thecharlesjenkins@gmail.com>
Subject: Re: [PATCH v2 4/6] riscv: hwprobe: Report Supm only when available
Date: Sat, 05 Dec 2026 20:25:31 -0500 [thread overview]
Message-ID: <5358d85eafa2046cb09bcbfbb36f8a1a.guodong.xu@oss.qualcomm.com> (raw)
In-Reply-To: <20261110175048.82208-5-radim.krcmar@oss.qualcomm.com>
Hi Radim,
On Tue, 10 Nov 2026 18:50:46 +0100, Radim Krčmář wrote:
> Our facility, PR_{SET,GET}_TAGGED_ADDR_CTRL, always returns -EINVAL
> unless CONFIG_RISCV_ISA_SUPM is enabled, Supm is present on all harts,
> and the user-mode is running in 64-bit mode.
> [ ... ]
> if (is_user_lpad_enabled())
> pair->value |= RISCV_HWPROBE_EXT_ZICFILP;
>
> + if (riscv_have_user_pmlen(7) || riscv_have_user_pmlen(16))
> + pair->value |= RISCV_HWPROBE_EXT_SUPM;
> [ ... ]
> - if (IS_ENABLED(CONFIG_RISCV_ISA_SUPM))
> - EXT_KEY(isainfo->isa, SUPM, pair->value, missing);
Reviewed-by: Guodong Xu <guodong.xu@oss.qualcomm.com>
Guodong
next prev parent reply other threads:[~2026-12-06 1:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 17:50 [PATCH v2 0/6] riscv: hwprobe: do not report disabled extensions Radim Krčmář
2026-11-10 17:50 ` [PATCH v2 1/6] riscv: hwprobe: Report FP extensions only when available Radim Krčmář
2026-12-06 1:44 ` Guodong Xu
2026-11-10 17:50 ` [PATCH v2 2/6] riscv: hwprobe: Report Zicbom and Zicboz " Radim Krčmář
2026-11-10 17:50 ` [PATCH v2 3/6] riscv: hwprobe: Report Zicfilp and Zicfiss " Radim Krčmář
2026-11-10 17:50 ` [PATCH v2 4/6] riscv: hwprobe: Report Supm " Radim Krčmář
2026-12-06 1:25 ` Guodong Xu [this message]
2026-11-10 17:50 ` [PATCH v2 5/6] riscv: hwprobe: Report XTheadVector " Radim Krčmář
2026-12-06 1:32 ` Guodong Xu
2026-11-10 17:50 ` [PATCH v2 6/6] riscv: hwprobe: Report SiFive vector extensions " Radim Krčmář
2026-12-06 1:32 ` Guodong Xu
2026-12-06 2:13 ` [PATCH v2 0/6] riscv: hwprobe: do not report disabled extensions Guodong Xu
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=5358d85eafa2046cb09bcbfbb36f8a1a.guodong.xu@oss.qualcomm.com \
--to=guodong.xu@oss.qualcomm.com \
--cc=alex@ghiti.fr \
--cc=andybnac@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=radim.krcmar@oss.qualcomm.com \
--cc=samuel.holland@sifive.com \
--cc=thecharlesjenkins@gmail.com \
--cc=zong.li@sifive.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®