public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: cpu.c: remove nonexistent ext from cpuinfo
@ 2022-04-25 22:08 Hongren (Zenithal) Zheng
  2022-05-18  8:40 ` Hongren (Zenithal) Zheng
  0 siblings, 1 reply; 5+ messages in thread
From: Hongren (Zenithal) Zheng @ 2022-04-25 22:08 UTC (permalink / raw)
  To: Atish Patra, Palmer Dabbelt; +Cc: linux-riscv, linux-kernel

There are no single-letter B/K/J extentions,
as they are never ratified. For P, it is still in
progress and not ratified.

The ordering constraint of these placerholders is now removed
from the spec. By commit ("Delete more nonexistent
extensions from the naming constraints") of riscv/riscv-isa-manual

Signed-off-by: Hongren (Zenithal) Zheng <i@zenithal.me>
---
 arch/riscv/kernel/cpu.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/riscv/kernel/cpu.c b/arch/riscv/kernel/cpu.c
index ccb617791e56..53a061ab0743 100644
--- a/arch/riscv/kernel/cpu.c
+++ b/arch/riscv/kernel/cpu.c
@@ -113,10 +113,8 @@ static void print_isa_ext(struct seq_file *f)
 /*
  * These are the only valid base (single letter) ISA extensions as per the spec.
  * It also specifies the canonical order in which it appears in the spec.
- * Some of the extension may just be a place holder for now (B, K, P, J).
- * This should be updated once corresponding extensions are ratified.
  */
-static const char base_riscv_exts[13] = "imafdqcbkjpvh";
+static const char base_riscv_exts[9] = "imafdqcvh";
 
 static void print_isa(struct seq_file *f, const char *isa)
 {
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-16 12:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-25 22:08 [PATCH] RISC-V: cpu.c: remove nonexistent ext from cpuinfo Hongren (Zenithal) Zheng
2022-05-18  8:40 ` Hongren (Zenithal) Zheng
2022-06-02  3:52   ` Palmer Dabbelt
2022-06-12 18:20     ` Hongren Zheng
2023-03-16 12:54       ` Hongren Zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox