[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181109193349.28179-1-me@packi.ch>
Date: Fri, 9 Nov 2018 20:33:47 +0100
From: Patrick Stählin <me@...ki.ch>
To: linux-riscv@...ts.infradead.org
Cc: Patrick Stählin <me@...ki.ch>,
Palmer Dabbelt <palmer@...ive.com>,
Albert Ou <aou@...s.berkeley.edu>,
Atish Patra <atish.patra@....com>,
Anup Patel <anup@...infault.org>, linux-kernel@...r.kernel.org
Subject: [PATCH] RISC-V: recognize S/U mode bits in print_isa
Removes the warning about an unsupported ISA when reading /proc/cpuinfo
on QEMU.
Signed-off-by: Patrick Stählin <me@...ki.ch>
---
arch/riscv/kernel/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/kernel/cpu.c b/arch/riscv/kernel/cpu.c
index 3a5a2ee31547..4029c7e6872b 100644
--- a/arch/riscv/kernel/cpu.c
+++ b/arch/riscv/kernel/cpu.c
@@ -64,7 +64,7 @@ int riscv_of_processor_hartid(struct device_node *node)
static void print_isa(struct seq_file *f, const char *orig_isa)
{
- static const char *ext = "mafdc";
+ static const char *ext = "mafdcsu";
const char *isa = orig_isa;
const char *e;
--
2.17.1
Powered by blists - more mailing lists