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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69E15C433F5 for ; Wed, 16 Feb 2022 11:46:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232250AbiBPLqt (ORCPT ); Wed, 16 Feb 2022 06:46:49 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232267AbiBPLqr (ORCPT ); Wed, 16 Feb 2022 06:46:47 -0500 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45B3566639; Wed, 16 Feb 2022 03:46:33 -0800 (PST) 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 1nKIlR-00076v-BR; Wed, 16 Feb 2022 12:46:29 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linux-kernel@vger.kernel.org, Atish Patra 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 Subject: Re: [PATCH v4 6/6] RISC-V: Improve /proc/cpuinfo output for ISA extensions Date: Wed, 16 Feb 2022 12:46:28 +0100 Message-ID: <3900089.7kk0a35UzI@diego> In-Reply-To: <20220216002911.1219593-7-atishp@rivosinc.com> References: <20220216002911.1219593-1-atishp@rivosinc.com> <20220216002911.1219593-7-atishp@rivosinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Am Mittwoch, 16. Februar 2022, 01:29:11 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 Tested-by: Heiko Stuebner