Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1865716rwi; Tue, 11 Oct 2022 01:11:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5fcs3pKSezboTZL+t4hbaSo7SF8wXTD4t0WqbVDXa/7erJ5KfNTHuiIcOc8v54opMusv6j X-Received: by 2002:a17:902:748b:b0:181:3fae:9b95 with SMTP id h11-20020a170902748b00b001813fae9b95mr14349009pll.24.1665475917301; Tue, 11 Oct 2022 01:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665475917; cv=none; d=google.com; s=arc-20160816; b=zMpMUEUcx3dDHr0uRdUEOqtBbewFUSpI1CVR6CG6Iht8q/jgPGyzGLKR9ZMXwRTMz4 z++H21yjEJiqZSBBM5jz0cU5DYD23JobOeQyVRkH4z0qVf7IPW9OaG0WS9Ru3H3lSgJA Pls8ZfUFZBBYVg9njnSdxwj6UVvPqLpLREh5gkU3uqo1FOItp7YjAAlMuBinJX3NaNfz KI7DElU4wdWjqJobvSijh4/pFsb6sSi2KrFoljPFc2weVr3dPFmiSyb+LtcCZyWJQGSS tmsSbW1w9jvPutlvWyepti5+O/K43gNzXlL8aXAJNcPFGpMgUE6mJ0b83easNeQ53TIc ncjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Tyw0yLARVxQk08o/LvH1/xkGXC6V8LHD+S0sPg/6hX8=; b=rRfo6ufMMAWjcBTfkZTJAntmWRqAgXse6eNtIKHE59rzVL6kxhEDz4Gxh0FwJLP924 LtsUM82lf0ADrA1KtamSxIj2fym/5ttnX56t4j333lrDQimTkemyAESYeLH939263bP5 qx+qG3OWk5HWrQ7qVUJ4kEAsisZJ6UzEsGE/+v9XisaSn25OEDQoDpJpwSo4wGT15iUf 6jo6GtYA/FXSx1RbHbf+LyM16i6NJxpHUra1sisrjeyqEvKU/piblJqr/WZA5qagAk68 I+pf6sBezFCAcOUFACSRp+CnV0xBO3hJuvBJojoXclu7/yO6KbuY7GAWkDFCwZS3n+e6 QHpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i1-20020a170902c94100b00172e069021dsi15324183pla.469.2022.10.11.01.11.45; Tue, 11 Oct 2022 01:11:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229462AbiJKH77 (ORCPT + 99 others); Tue, 11 Oct 2022 03:59:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbiJKH76 (ORCPT ); Tue, 11 Oct 2022 03:59:58 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CC8C1836A for ; Tue, 11 Oct 2022 00:59:55 -0700 (PDT) Received: from p5b127dea.dip0.t-ipconnect.de ([91.18.125.234] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oiAB5-0007Ol-7T; Tue, 11 Oct 2022 09:59:51 +0200 From: Heiko Stuebner To: Palmer Dabbelt , Paul Walmsley , linux-riscv@lists.infradead.org Cc: Anup Patel , Arnd Bergmann , Anup Patel , linux-kernel@vger.kernel.org, Heinrich Schuchardt , Atish Patra , linux-riscv@lists.infradead.org, Nikita Shubin , Anup Patel Subject: Re: [PATCH v2] RISC-V: Add mvendorid, marchid, and mimpid to /proc/cpuinfo output Date: Tue, 11 Oct 2022 09:59:50 +0200 Message-ID: <4820619.CvnuH1ECHv@phil> In-Reply-To: <20220727043829.151794-1-apatel@ventanamicro.com> References: <20220727043829.151794-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SPF_HELO_TEMPERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 27. Juli 2022, 06:38:29 CEST schrieb Anup Patel: > Identifying the underlying RISC-V implementation can be important > for some of the user space applications. For example, the perf tool > uses arch specific CPU implementation id (i.e. CPUID) to select a > JSON file describing custom perf events on a CPU. > > Currently, there is no way to identify RISC-V implementation so we > add mvendorid, marchid, and mimpid to /proc/cpuinfo output. > > Signed-off-by: Anup Patel > Reviewed-by: Heinrich Schuchardt > Tested-by: Nikita Shubin Reviewed-by: Heiko Stuebner [on Qemu and Allwinner D1] Tested-by: Heiko Stuebner