Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp297853rwd; Tue, 16 May 2023 00:54:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5UsyypYY4u9ifKx+S6F7s8C/2xe/vkp/eU06PFqpF4SJaTigWYdgcw9s/uc0dV8qYGNBKR X-Received: by 2002:a17:90a:4611:b0:23d:3549:82b7 with SMTP id w17-20020a17090a461100b0023d354982b7mr34706959pjg.46.1684223654589; Tue, 16 May 2023 00:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684223654; cv=none; d=google.com; s=arc-20160816; b=L9oRPvek5RscgQawGWtMwqLKUW7MGqJuZdBqwYdwedPHxZhK62tJRJpd5puWJVwZ89 /5aimOMeEzlxTaKgCu4/Nd+Bp6R9yQGlrIV3R0g5dT1tCugxdFyIqlHS6Udfsoj6b9GG F/FWypSYJBZHWo3tn/9E7C9GaEomkVegSpqO9vYrh6KahbG2UUv2MdH6CAemQ5PDzuJO HXGJsd+65+x40hJKJn8NY66oyUJz/pwy8a60FFBSyYLvXx7RRSyrV/VY3uJerbM4Fl/5 N+28YmWI7zJhR7R2MsZOy2EYDHvr7g6/r2eySLGCz6rxjz4BIH9J2o9IF0Kt3VsVbGOO ikyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=mzpiRSZ/fD821DfRNirdZySh3p7mxT8AYjDytGYaqGs=; b=qWTeFGdkqEYdJxEXlq4Nx2XE2pXwyR+gYTEOJ96ytluiyOooVlgvPvOfxIfR3EKnAV iZXCVWw6Cv9gJsX5coujxBLcw9xzCBB5pqpwU5sbHTibnnFrf0K7aq58AwFQ/9b3DVTY tf3AxBoHiQ1mfEm3Y/1ne8b3pPVl1C50ZFV0ZlXVCJGbnJUIKrWX8WCKSmjL4lRzIzLU HW3zGVECAB1/ndOh10FVyvXM0IM0a1vcbYZXqmSX+0j8e8fKCmfJL4zttFo03HmaK9i4 MIdFEsQmh+3usv28ClKAUOi1jlzaPESjHCpqqV37td1KQ+L6x4g36MvtysMatD8vcbz5 LlgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=Gn+W4NLL; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mu6-20020a17090b388600b0024de98a941esi1257313pjb.189.2023.05.16.00.53.59; Tue, 16 May 2023 00:54:14 -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; dkim=pass header.i=@maquefel.me header.s=mail header.b=Gn+W4NLL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231332AbjEPH3B (ORCPT + 99 others); Tue, 16 May 2023 03:29:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbjEPH27 (ORCPT ); Tue, 16 May 2023 03:28:59 -0400 Received: from forward500b.mail.yandex.net (forward500b.mail.yandex.net [178.154.239.144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5639F92; Tue, 16 May 2023 00:28:56 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-78.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-78.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:1105:0:640:2966:0]) by forward500b.mail.yandex.net (Yandex) with ESMTP id DF8B85EF91; Tue, 16 May 2023 10:28:51 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-78.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id nSV3CSKWqCg0-DhUBSVE8; Tue, 16 May 2023 10:28:51 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1684222131; bh=mzpiRSZ/fD821DfRNirdZySh3p7mxT8AYjDytGYaqGs=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=Gn+W4NLL18CiY1O70uUUIl8L0XBIDM3PXSV/jR77TnX/mZcJp7rEUCKZCm4L0d0Cy 6jZHupbS8YV2h/UF3LxpN7rjx4gLLHB7RCazGUDQlxnf9W/ocGxLyYvn+sw3pQ82Xo 2cVCrOLszjDUIRUHTD0Lw/0hT+eBSnwk171e6IuI= Authentication-Results: mail-nwsmtp-smtp-production-main-78.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me Message-ID: <680f2d5d146a38083a28198f1a8a3694654bf8f8.camel@maquefel.me> Subject: Re: [PATCH 1/2] perf tools riscv: Allow get_cpuid return empty MARCH and MIMP From: Nikita Shubin To: Inochi Amaoto , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Paul Walmsley , Palmer Dabbelt , Albert Ou , Nikita Shubin Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-riscv@lists.infradead.org Date: Tue, 16 May 2023 13:28:50 +0300 In-Reply-To: References: <20230516023714.306240-1-inochiama@outlook.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.3 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 SGVsbG8gSW5vY2hpIEFtYW90byEKCk9uIFR1ZSwgMjAyMy0wNS0xNiBhdCAxMDozNyArMDgwMCwg SW5vY2hpIEFtYW90byB3cm90ZToKPiBUaGUgVC1IRUFEIEM5eHggc2VyaWVzIENQVSBvbmx5IGhh cyBNVkVORE9SIGRlZmluZWQsIGFuZCBsZWZ0IE1BUkNICj4gYW5kIE1JTVAgdW5pbXBsZW1lbnRl ZC4KCkFjY29yZGluZyB0byB0aGUgZG9jcyB5b3UgY2FuIHN0aWxsIHJlYWQgdGhlbSwgYnV0IGl0 J3MgaGFyZHdpcmVkIHRvCjY0aDAuCgpIb3cgaXQncyBzdXBwb3NlZCB0byBkaXN0aW5ndWlzaCBj OTA2IGFuZCBjOTEwIGZvciBleGFtcGxlID8KCj4gCj4gVG8gbWFrZSBwZXJmIHN1cHBvcnQgVC1I RUFEIEM5eHggZXZlbnRzLiByZW1vdmUgdGhlIHJlc3RyaWN0aW9uIG9mCj4gdGhlIE1BUkNIIGFu ZCBNSU1QLgo+IAo+IFNpZ25lZC1vZmYtYnk6IElub2NoaSBBbWFvdG8gPGlub2NoaWFtYUBvdXRs b29rLmNvbT4KPiAtLS0KPiDCoHRvb2xzL3BlcmYvYXJjaC9yaXNjdi91dGlsL2hlYWRlci5jIHwg NyArLS0tLS0tCj4gwqAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDYgZGVsZXRpb25z KC0pCj4gCj4gZGlmZiAtLWdpdCBhL3Rvb2xzL3BlcmYvYXJjaC9yaXNjdi91dGlsL2hlYWRlci5j Cj4gYi90b29scy9wZXJmL2FyY2gvcmlzY3YvdXRpbC9oZWFkZXIuYwo+IGluZGV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