Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1148011imu; Fri, 9 Nov 2018 11:43:22 -0800 (PST) X-Google-Smtp-Source: AJdET5er4yTkXa0D0xfdkt3iK/GlW5PM0CWHQ7kGtTIw6qRB/z89xSRqxODviVkWvhTbxxDgdUxT X-Received: by 2002:a63:6b08:: with SMTP id g8mr8481318pgc.119.1541792602242; Fri, 09 Nov 2018 11:43:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541792602; cv=none; d=google.com; s=arc-20160816; b=FhHIe1YCkUH+Mi/nG81y7Iv/I2RqyFgDrc6qRw8JKfaNlwvX8x8URd5JBtxYAbQbn1 O4z8MLWbCNSEVLtWHHrA+KCIVVoRUTNBbowVQZoJ4fiYdYTLnNNXjxclvBFkyPSpPrJB 0CJ4a4VVB7dU2iHsXDWu5+CaJMsCUclwFJH43lHOU4Hgr1WQOE2F43kqPQVU3+csZ7B3 gyX0eDoTA1x18Qbw/2cfGykyYNw9LLS1PrT6XPMgyf0u7b0fxNhZ0kRE5DNYwb1ytEEr Rpy5ESwBzP12HWaExmz969LHKn+JZrqvAY5Bcvt8YDnbrwF8hHBnc/+0V7UpUEhIGuaW +PoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=T3XZTZ2hUEeSpLE2FU3snR+TbcIk8Fpm6SqT/YvVT3k=; b=t1dNblaoombEJkuIyKPy+LjCbBbpeiuHJoLlGnHUhjGCvvAV83/Jb6U1TG+riJzxrW FAceb3mHSa0eLYiSBd62cD7StBiMoHb+wSNQQ0WqLrGZT+UjY4oPO7BcDd9+q3uHH/Rm W0Yjz/Tmi/x/pB1b3EbMPFNT9cRRYcnUkQfSkYz91nFneWsjUJ7N2GTwno2ZZMynGlJU lvB1XlMWr13haLFgPDxB+bQ0aepNad9BLpPjVWXkrVdw1PZS1PZbbIEH6Z9tdH3hvVZL /LbKlh0wnMPKWG7YtHSeY+SKlyQja1EDryL1jWAAfL86D0p3dKU6Yd+Bpd/etH4CsrlK wmYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n33si6722287pgl.336.2018.11.09.11.43.07; Fri, 09 Nov 2018 11:43:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728051AbeKJFYl (ORCPT + 99 others); Sat, 10 Nov 2018 00:24:41 -0500 Received: from mail.binarylogic.ch ([88.198.23.72]:45454 "EHLO mail.binarylogic.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725752AbeKJFYk (ORCPT ); Sat, 10 Nov 2018 00:24:40 -0500 X-Greylist: delayed 485 seconds by postgrey-1.27 at vger.kernel.org; Sat, 10 Nov 2018 00:24:40 EST Received: from fortknox.localdomain (unknown [192.168.122.1]) by mail.binarylogic.ch (Postfix) with ESMTP id 417D8DF386; Fri, 9 Nov 2018 20:34:35 +0100 (CET) From: =?UTF-8?q?Patrick=20St=C3=A4hlin?= To: linux-riscv@lists.infradead.org Cc: =?UTF-8?q?Patrick=20St=C3=A4hlin?= , Palmer Dabbelt , Albert Ou , Atish Patra , Anup Patel , linux-kernel@vger.kernel.org Subject: [PATCH] RISC-V: recognize S/U mode bits in print_isa Date: Fri, 9 Nov 2018 20:33:47 +0100 Message-Id: <20181109193349.28179-1-me@packi.ch> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Removes the warning about an unsupported ISA when reading /proc/cpuinfo on QEMU. Signed-off-by: Patrick Stählin --- 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