From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DA026C433EF for ; Mon, 14 Feb 2022 20:07:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j3aqx0fhoaOacuWYvzu4Y6yqeZrhAcl3WpJlLAHFj8c=; b=WhAL9qoy5HrEOy J3Vo78+jDm6pRc1LSaKh00wNYLgHMw6srHu8XMGqv9jEhfvmUFnBC1pbK/yTelEknHvRVJezRvOz6 PGiTuuoovvr5HPAg1rOmS+y6MvZhTm31iWMvL8VozR3WIvbwXMPzWtpV2lsR68nMZlJwiNcRRW+wt jnn5qmZNT8BJ5PQkWabTT4/MNrcier7//zsln112e5UbXf+Ap3tD+zJDXNjTdAgkKsbiIIA/IRqVN L3Nz8cwUrgo0EJusSJ+8rp6gU7XRATuucTYeehniUdBEa7XloxL3DVBZj1c6wkmQZ5DmnF9uaIaxe UHkY68XoBp1vL/iHsqjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJhcu-00GnEs-2r; Mon, 14 Feb 2022 20:07:12 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJhcr-00GnDk-DW for linux-riscv@lists.infradead.org; Mon, 14 Feb 2022 20:07:10 +0000 Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJhco-0002m8-7o; Mon, 14 Feb 2022 21:07:06 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Atish Patra , Albert Ou , Atish Patra , Anup Patel , Damien Le Moal , devicetree@vger.kernel.org, Jisheng Zhang , Krzysztof Kozlowski , linux-riscv@lists.infradead.org, Palmer Dabbelt , Paul Walmsley , Rob Herring , Atish Patra Subject: Re: [PATCH v2 6/6] RISC-V: Improve /proc/cpuinfo output for ISA extensions Date: Mon, 14 Feb 2022 21:07:05 +0100 Message-ID: <1919053.afAmxgqtYg@diego> In-Reply-To: <20220210214018.55739-7-atishp@rivosinc.com> References: <20220210214018.55739-1-atishp@rivosinc.com> <20220210214018.55739-7-atishp@rivosinc.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220214_120709_489152_1E3DDCE5 X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Am Donnerstag, 10. Februar 2022, 22:40:18 CET schrieb Atish Patra: > Currently, the /proc/cpuinfo outputs the entire riscv,isa string which > is not ideal when we have multiple ISA extensions present in the ISA > string. Some of them may not be enabled in kernel as well. > > Parse only the enabled ISA extension and print them in a separate row. > > Signed-off-by: Atish Patra Using this for my svpbmt series, it shows the extension nicely Tested-by: Heiko Stuebner _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv