Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2110899lqt; Mon, 22 Apr 2024 01:29:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVofnLEPeaWw61lduNUzk21hrnYTaxvLr4T01/yAQ/W50BBHFvb1SVE2DEK3df01Y0eoa8t7Q7XucYJ45m702HQcdYZZ/KrIg3/beHCcg== X-Google-Smtp-Source: AGHT+IFvJDBmFFGj2j2r8jgOmvz8IJcKBhNfG/6MmbgLmKrBO/YJfACuZY/bJJdy6l7sP20hkZMU X-Received: by 2002:a17:906:6a11:b0:a55:7820:dfe9 with SMTP id qw17-20020a1709066a1100b00a557820dfe9mr12385184ejc.1.1713774565810; Mon, 22 Apr 2024 01:29:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713774565; cv=pass; d=google.com; s=arc-20160816; b=MFLDhQBL4VezmGsRwvaZghfQ9NmdWniW/Musy3zX413W3LWeolNw3yC80motFCcfoE DuEXSiioyEWJ7Aj7skKJhJXpZVShpBZEeMn10MS5YCxcfY3Whd3ajjLZ/iaVppGRIHF9 V8c9qaWSKdqDmll1j/0gmIU157h5mvtFFoJ7oLmgzuMl5Rl5sHrx6QhYB7T/1qyrG1MM ci9HVVJ6XGiHBKwBl2/lLSGegNqv48zY+c70FVF8MC0bIiJ0fpgLadN4ylmrpLzr3wVp VJ7MIFi8LFRYUGz6jlHUG7OJLJPqXiW1Frw3Yc5qu3TFbdhuSCd2vps/3qmGr3GE4xsu UdlQ== 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=zTjKFa9ufsEGRtTe1qCOiuLYhpnykAwM1b+hG7FfP9w=; fh=1R7RzfMPqn3g2M7B43zcPinvZMXpFy31V1egcJUFkxI=; b=Bnbf5t5wLYAAQWmUIH0n733Fo+CzUMvZPZBj+wv6mjOlnD9umQlONq8dCnJZy91jAz SO/PT3aLTUiLrJYD9nh4TJW8twYMQzMnCaygNQll9uYyDCLiSyaErjo/Q9rphEGbsC2P ACl/LWG0+LmHvLNVI5vHCll4bOP+5/DcQ6zi02sbKhBLYv/zFqu4vh+SsYVEj2Eh3cMY 6F6JsWtOlyDE84tzJXmSxA2UDf7c8pr4lENPdHDi6bU/tCrfVf3aw08wPGstJv20BJpM Gtgd/VHpofRaWikIbUaWUc7U6xmxoR5wG2vYH1rI4G6DOl8dTzhgt1nLZ4kwhlMy0/w9 AwKQ==; 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-152975-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152975-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id nc15-20020a1709071c0f00b00a55a1377155si2772585ejc.358.2024.04.22.01.29.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 01:29:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152975-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=eswincomputing.com); spf=pass (google.com: domain of linux-kernel+bounces-152975-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152975-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 887091F213B1 for ; Mon, 22 Apr 2024 08:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 302BB502B4; Mon, 22 Apr 2024 08:29:13 +0000 (UTC) Received: from sgoci-sdnproxy-4.icoremail.net (sgoci-sdnproxy-4.icoremail.net [129.150.39.64]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09A7D50246; Mon, 22 Apr 2024 08:29:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=129.150.39.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713774552; cv=none; b=OBvMe1u9mpJuhx40j+oK/8czlCsD0xFQG7AZZIG574nYEy6ky09VtNY4Bw3iO3wSGllkg7fEEKeErhf9diqziutk91KCawkA1AN/OyQGL0AZE0lttydRY26VEWQnZDchvjHdcVVcNdVZ+Q+9pEVV0SKcDXW3F/ba2S5CuclFTnc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713774552; c=relaxed/simple; bh=zTjKFa9ufsEGRtTe1qCOiuLYhpnykAwM1b+hG7FfP9w=; h=Date:From:To:Subject:In-Reply-To:References:Content-Type: MIME-Version:Message-ID; b=YNmtec46RlM7+lYdZcsZKjj8XxSZUYAvIfhsBFlax+c1/9ETdTB7T5aaPf6f404O6RUVTkHdWIaG5a9AlJLF4UF6p4cK3P7P+jooSGnMzolJz7a4geg087aLFZ7Tm60BuShyZoOH9s1+6pA8mfbBLC1L0wdAJz3Mtz9zaxQY1U8= 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=129.150.39.64 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, 22 Apr 2024 16:27:10 +0800 (GMT+08:00) Date: Mon, 22 Apr 2024 16:27:10 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Shenlin Liang" To: 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, atishp@rivosinc.com Subject: Re: [PATCH v2 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: References: <20240415031131.23443-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: <35896859.387e.18f04ea87b1.Coremail.liangshenlin@eswincomputing.com> X-Coremail-Locale: zh_CN X-CM-TRANSID:TQJkCgAnOrxeHyZmbhAIAA--.5206W X-CM-SenderInfo: xold0whvkh0z1lq6v25zlqu0xpsx3x1qjou0bp/1tbiAQEPDGYk3U gl0wACsg X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= SGkgQXRpc2gsCgpJIGFzc3VtZSB0aGF0IHlvdSBhcmU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VVMVCAgICAgIDExMjggICAgICAyLjAwJSAgICAg MzQwNjQ1ODAwICAgICA2LjAwJSAgICAgIDIxMjMyMDAgICAgICAgICAzMDIwMCAgICAgICAgICAz MDE5OTAKPiA+IFNVUEVSVklTT1JfU1lTQ0FMTCAgICAgICAgIDEwMTkgICAgICAyLjAwJSAgICAg MjQ1OTg5OTAwICAgICA0LjAwJSAgICAgIDE4NTE1MDAgICAgICAgICAyOTMwMCAgICAgICAgICAy NDE0MDMKPiA+IExPQURfQUNDRVNTICAgICAgICAgICAgICAgIDk4NiAgICAgICAxLjAwJSAgICAg NjcxNTU2MjAwICAgICAxMy4wMCUgICAgIDQxODAyMDAgICAgICAgICAxMDA3MDAgICAgICAgICA2 ODEwOTEKPiA+IElOU1RfQUNDRVNTICAgICAgICAgICAgICAgIDY1NSAgICAgICAxLjAwJSAgICAg MTcwMDU0ODAwICAgICAzLjAwJSAgICAgIDE4MDgzMDAgICAgICAgICA1NDYwMCAgICAgICAgICAy NTk2MjUKPiA+IEhZUEVSVklTT1JfU1lTQ0FMTCAgICAgICAgIDIxICAgICAgICAwLjAwJSAgICAg NDI3NjQwMCAgICAgICAwLjAwJSAgICAgIDcxNjUwMCAgICAgICAgICAxMTYwMDAgICAgICAgICAy MDM2MzgKPiA+IAo+ID4gU2hlbmxpbiBMaWFuZyAoMik6Cj4gPiAgICBSSVNDVjogS1ZNOiBhZGQg dHJhY2Vwb2ludHMgZm9yIGVudHJ5IGFuZCBleGl0IGV2ZW50cwo+ID4gICAgcGVyZiBrdm0vcmlz Y3Y6IFBvcnQgcGVyZiBrdm0gc3RhdCB0byBSSVNDLVYKPiA+IAo+ID4gICBhcmNoL3Jpc2N2L2t2 bS90cmFjZS5oICAgICAgICAgICAgICAgICAgICAgICAgfCA2NyArKysrKysrKysrKysrKysrCj4g PiAgIGFyY2gvcmlzY3Yva3ZtL3ZjcHUuYyAgICAgICAgICAgICAgICAgICAgICAgICB8ICA3ICsr Cj4gPiAgIHRvb2xzL3Blc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