Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1168072lqa; Sun, 28 Apr 2024 23:16:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXzBEmsFZ5/Amh10xsLXHpOzdWnDhjHXE3cu+wJM90Q0SNdUkQSi1ezYIrhkHJLE5leOrss1wENst/qE/+rtMjRqatTutpFOWgQYHoFw== X-Google-Smtp-Source: AGHT+IE8Fj77YxXN+ubPeHgqfH4WEKl4nhbIiWIoUXH4f8A75K89pG+vX9DKnsdnb2lfhcY6t8Mn X-Received: by 2002:a05:6a00:39a0:b0:6ea:8e89:7faf with SMTP id fi32-20020a056a0039a000b006ea8e897fafmr10722243pfb.28.1714371366349; Sun, 28 Apr 2024 23:16:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714371366; cv=pass; d=google.com; s=arc-20160816; b=HsXradH8cwUW/LFa+r9Op+GZqtn2t1IhullFFDIfXCj+GbgkV5aL573ovdxtcPBNsL drysYc8yAOZ7mWRvn7n7Sxh1fOEulMkeyf9k/WlJfgWdIXx+3zogVRQuWSZI724JkQyd wXveKonTGSQhGEzZTbr2ztLsvJtlsDmaebcene4VBZii4pz+dXZNM35WlvXbP4UmN7WG 3q1pHTP44xGd3xhZmFFekv/AgovNGvAWXU4oB44T8NuUi6mfjiJNug5JlE2XS0+nFDoQ l9yRblf7gcn72UQq005d9/RIi+aT7LorVtwP7TkB2jLNUUjkPytltUrYsmli1gTzEqNk zsiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:content-transfer-encoding:references:in-reply-to:subject :to:from:date; bh=ezHdYf0ToGwvT1Tn/f6ETFKnkP43vGQzEEh2GxSKbbM=; fh=I9Ym4ZDvcX+x9b8ehFOZgtNfiiwPd3i5r9S1xvtf+Jg=; b=odW7vZ4PDAxgWDNjGxvZHOscTAYbsmC9ayQSwbo5f6W60XkEeIjfSf350srK3o9qzb m/YvbzHVxCrhZmYbL4jNdjGP0jOtLzMAYo9dbXo9g4Ne+lgdqV28yKv5JDX7nVGGp5Cq ccbIFeF2UDngquaNeID4vSF+kauVv94VYLA58BtnDmvu5e+gYO8jKOX/ajtJazuORrjv TLdwxS6eFSplPBwUVOx3OWzVJePCNcod4Jux1hTHwS8V+x2+cEidxi1qNAOgXaF2GHfU zuMIvfRSuXE3kSYoYYuwacS1zhh39KhwpRjkpL95VkfE6SnkJ04hD+WtJ/v0dHGYt9BH cVZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=eswincomputing.com); spf=pass (google.com: domain of linux-kernel+bounces-161780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161780-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d3-20020a63f243000000b005dc8372020esi19537496pgk.580.2024.04.28.23.16.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 23:16:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=eswincomputing.com); spf=pass (google.com: domain of linux-kernel+bounces-161780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161780-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 45052B2218F for ; Mon, 29 Apr 2024 06:15:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBC8210A3B; Mon, 29 Apr 2024 06:15:47 +0000 (UTC) Received: from zg8tmja2lje4os43os4xodqa.icoremail.net (zg8tmja2lje4os43os4xodqa.icoremail.net [206.189.79.184]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A174DD534; Mon, 29 Apr 2024 06:15:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=206.189.79.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714371347; cv=none; b=cfIm5r3PGHAjTYAC1a/Ikt9+2PM6CclWr/cziy83FeUaSg5gHE7gaOBIgV4lf4A2tQBoAjvzjgRfMiFfe81KyZ7tvQyE9uJC8GYZLxlaTqatt0uCTVgQ1T3d+qtNsdP6SBmhZ2fltCAyRRdwsb+WYHmy706Y7ST21ghYP/Y87z4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714371347; c=relaxed/simple; bh=ezHdYf0ToGwvT1Tn/f6ETFKnkP43vGQzEEh2GxSKbbM=; h=Date:From:To:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-ID; b=c4xR0tKnoY8SlsxDn/H8BqBANSrTcQjrXP6XkgTkDHw6NwBfFDrUJDbkkvekcgDQi0JVV/JNHrmPe7SPkovusUBVoaRDiFG9FMk4x1EscTi2SimO4lRSqS9kuJLU4BWLyt1ExcCGX+rlC4qcioWQkBZqtrAKM8KfWF9S3LoCA98= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=eswincomputing.com; spf=pass smtp.mailfrom=eswincomputing.com; arc=none smtp.client-ip=206.189.79.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=eswincomputing.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=eswincomputing.com Received: from liangshenlin$eswincomputing.com ( [10.12.96.90] ) by ajax-webmail-app2 (Coremail) ; Mon, 29 Apr 2024 14:13:22 +0800 (GMT+08:00) Date: Mon, 29 Apr 2024 14:13:22 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Shenlin Liang" To: anup@brainfault.org, atishp@atishpatra.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, linux-perf-users@vger.kernel.org Subject: Re: [PATCH v3 0/2] perf kvm: Add kvm stat support on riscv X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT6.0.3 build 20220420(169d3f8c) Copyright (c) 2002-2024 www.mailtech.cn mispb-72143050-eaf5-4703-89e0-86624513b4ce-eswincomputing.com In-Reply-To: <20240422080833.8745-1-liangshenlin@eswincomputing.com> References: <20240422080833.8745-1-liangshenlin@eswincomputing.com> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <5e830d33.45c7.18f287c8f73.Coremail.liangshenlin@eswincomputing.com> X-Coremail-Locale: zh_CN X-CM-TRANSID:TQJkCgAnOryCOi9mlSgJAA--.6236W X-CM-SenderInfo: xold0whvkh0z1lq6v25zlqu0xpsx3x1qjou0bp/1tbiAgEBDGYsyB ATxgABsI X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaY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ICAgIDIzLjAwJSAgICAgMjUxMzQwMCAgICAgICAgIDMwODAwICAgICAgICAg IDY1MzYzCj4gVklSVFVBTF9JTlNUX0ZBVUxUICAgICAgICAgMTI0NyAgICAgIDIuMDAlICAgICAz NDA4MjA4MDAgICAgIDYuMDAlICAgICAgMTE5MDgwMCAgICAgICAgIDQzMzAwICAgICAgICAgIDI3 MzMxMgo+IElOU1RfR1VFU1RfUEFHRV9GQVVMVCAgICAgIDExMjggICAgICAyLjAwJSAgICAgMzQw NjQ1ODAwICAgICA2LjAwJSAgICAgIDIxMjMyMDAgICAgICAgICAzMDIwMCAgICAgICAgICAzMDE5 OTAKPiBTVVBFUlZJU09SX1NZU0NBTEwgICAgICAgICAxMDE5ICAgICAgMi4wMCUgICAgIDI0NTk4 OTkwMCAgICAgNC4wMCUgICAgICAxODUxNTAwICAgICAgICAgMjkzMDAgICAgICAgICAgMjQxNDAz Cj4gTE9BRF9BQ0NFU1MgICAgICAgICAgICAgICAgOTg2ICAgICAgIDEuMDAlICAgICA2NzE1NTYy MDAgICAgIDEzLjAwJSAgICAgNDE4MDIwMCAgICAgICAgIDEwMDcwMCAgICAgICAgIDY4MTA5MQo+ IElOU1RfQUNDRVNTICAgICAgICAgICAgICAgIDY1NSAgICAgICAxLjAwJSAgICAgMTcwMDU0ODAw ICAgICAzLjAwJSAgICAgIDE4MDgzMDAgICAgICAgICA1NDYwMCAgICAgICAgICAyNTk2MjUKPiBI WVBFUlZJU09SX1NZU0NBTEwgICAgICAgICAyMSAgICAgICAgMC4wMCUgICAgIDQyNzY0MDAgICAg ICAgMC4wMCUgICAgICA3MTY1MDAgICAgICAgICAgMTE2MDAwICAgICAgICAgMjAzNjM4IAo+IAo+ IENoYW5nZXMgZnJvbSB2MS0+djI6Cj4gLSBSZWJhc2VkIG9uIExpbnV4IDYuOS1yYzMuCj4gCj4g Q2hhbmdlcyBmcm9tIHYyLT52MzoKPiAtIEFkZCB0aGUgbWlzc2luZyBhc3NpZ25tZW50IGZvci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