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 X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D322C63793 for ; Thu, 22 Jul 2021 08:11:50 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 1D28361283 for ; Thu, 22 Jul 2021 08:11:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1D28361283 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvmarm-bounces@lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id B08924B0D7; Thu, 22 Jul 2021 04:11:49 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jwJOeZ73dDjC; Thu, 22 Jul 2021 04:11:48 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 6A06E4B0DB; Thu, 22 Jul 2021 04:11:47 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 9F51B4AED4 for ; Wed, 21 Jul 2021 23:03:58 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gzLMIvYzvfT7 for ; Wed, 21 Jul 2021 23:03:56 -0400 (EDT) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 596F34A95C for ; Wed, 21 Jul 2021 23:03:56 -0400 (EDT) X-IronPort-AV: E=McAfee;i="6200,9189,10052"; a="272670257" X-IronPort-AV: E=Sophos;i="5.84,259,1620716400"; d="scan'208";a="272670257" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 20:03:54 -0700 X-IronPort-AV: E=Sophos;i="5.84,259,1620716400"; d="scan'208";a="512019825" Received: from lingshan-mobl5.ccr.corp.intel.com (HELO [10.255.29.38]) ([10.255.29.38]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 20:03:46 -0700 Subject: Re: [PATCH V8 01/18] perf/core: Use static_call to optimize perf_guest_info_callbacks To: Like Xu References: <20210716085325.10300-1-lingshan.zhu@intel.com> <20210716085325.10300-2-lingshan.zhu@intel.com> From: "Zhu, Lingshan" Message-ID: Date: Thu, 22 Jul 2021 11:03:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Mailman-Approved-At: Thu, 22 Jul 2021 04:11:46 -0400 Cc: wanpengli@tencent.com, Like Xu , Peter Zijlstra , eranian@google.com, Guo Ren , linux-riscv@lists.infradead.org, Will Deacon , kvmarm@lists.cs.columbia.edu, kan.liang@linux.intel.com, ak@linux.intel.com, kvm@vger.kernel.org, Marc Zyngier , joro@8bytes.org, x86@kernel.org, linux-csky@vger.kernel.org, wei.w.wang@intel.com, linux-arm-kernel@lists.infradead.org, xen-devel@lists.xenproject.org, liuxiangdong5@huawei.com, bp@alien8.de, Paul Walmsley , Boris Ostrovsky , boris.ostrvsky@oracle.com, jmattson@google.com, Nick Hu , seanjc@google.com, linux-kernel@vger.kernel.org, Paolo Bonzini , vkuznets@redhat.com X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu CgpPbiA3LzIxLzIwMjEgNzo1NyBQTSwgTGlrZSBYdSB3cm90ZToKPiBPbiAxNi83LzIwMjEgNDo1 MyBwbSwgWmh1IExpbmdzaGFuIHdyb3RlOgo+PiArwqDCoMKgIH0gZWxzZSBpZiAoeGVucG11X2Rh dGEtPnBtdS5yLnJlZ3MuY3BsICYgMykKPgo+IExpbmdzaGFuLCBzZXJpb3VzIGZvciB0aGlzIHZl cnNpb24gPwo+Cj4gYXJjaC94ODYveGVuL3BtdS5jOjQzODo5OiBlcnJvcjogZXhwZWN0ZWQgaWRl bnRpZmllciBvciDigJgo4oCZIGJlZm9yZSAKPiDigJhyZXR1cm7igJkKPiDCoCA0MzggfMKgwqDC oMKgwqDCoMKgwqAgcmV0dXJuIHN0YXRlOwo+IMKgwqDCoMKgwqAgfMKgwqDCoMKgwqDCoMKgwqAg Xn5+fn5+Cj4gYXJjaC94ODYveGVuL3BtdS5jOjQzOToxOiBlcnJvcjogZXhwZWN0ZWQgaWRlbnRp ZmllciBvciDigJgo4oCZIGJlZm9yZSDigJh94oCZIAo+IHRva2VuCj4gwqAgNDM5IHwgfQo+IMKg wqDCoMKgwqAgfCBeCj4gYXJjaC94ODYveGVuL3BtdS5jOiBJbiBmdW5jdGlvbiDigJh4ZW5fZ3Vl c3Rfc3RhdGXigJk6Cj4gYXJjaC94ODYveGVuL3BtdS5jOjQzNjo5OiBlcnJvcjogY29udHJvbCBy ZWFjaGVzIGVuZCBvZiBub24tdm9pZCAKPiBmdW5jdGlvbiBbLVdlcnJvcj1yZXR1cm4tdHlwZV0K PiDCoCA0MzYgfMKgwqDCoMKgwqDCoMKgwqAgfQo+IMKgwqDCoMKgwqAgfMKgwqDCoMKgwqDCoMKg wqAgXgo+IGNjMTogc29tZSB3YXJuaW5ncyBiZWluZyB0cmVhdGVkIGFzIGVycm9ycwo+Cj4+ICvC oMKgwqDCoMKgwqDCoMKgwqDCoMKgIHN0YXRlIHw9IFBFUkZfR1VFU1RfVVNFUjsKPj4gwqDCoMKg wqDCoCB9CmZvcmdvdCB0byBlbmFibGUgWEVOIGJ1aWxkIGluIC5jb25maWcsIFY5IGZpeGVzIHRo aXMgd2lsbCBjb21lIHNvb24KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX18Ka3ZtYXJtIG1haWxpbmcgbGlzdAprdm1hcm1AbGlzdHMuY3MuY29sdW1iaWEuZWR1 Cmh0dHBzOi8vbGlzdHMuY3MuY29sdW1iaWEuZWR1L21haWxtYW4vbGlzdGluZm8va3ZtYXJtCg== 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 X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 641F4C6377B for ; Thu, 22 Jul 2021 03:03:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 47E8A6108B for ; Thu, 22 Jul 2021 03:03:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230294AbhGVCXT (ORCPT ); Wed, 21 Jul 2021 22:23:19 -0400 Received: from mga07.intel.com ([134.134.136.100]:16804 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbhGVCXT (ORCPT ); Wed, 21 Jul 2021 22:23:19 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10052"; a="275374957" X-IronPort-AV: E=Sophos;i="5.84,259,1620716400"; d="scan'208";a="275374957" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 20:03:54 -0700 X-IronPort-AV: E=Sophos;i="5.84,259,1620716400"; d="scan'208";a="512019825" Received: from lingshan-mobl5.ccr.corp.intel.com (HELO [10.255.29.38]) ([10.255.29.38]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 20:03:46 -0700 Subject: Re: [PATCH V8 01/18] perf/core: Use static_call to optimize perf_guest_info_callbacks To: Like Xu Cc: bp@alien8.de, seanjc@google.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, kan.liang@linux.intel.com, ak@linux.intel.com, wei.w.wang@intel.com, eranian@google.com, liuxiangdong5@huawei.com, linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org, boris.ostrvsky@oracle.com, Like Xu , Will Deacon , Marc Zyngier , Guo Ren , Nick Hu , Paul Walmsley , Boris Ostrovsky , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-csky@vger.kernel.org, linux-riscv@lists.infradead.org, xen-devel@lists.xenproject.org, Peter Zijlstra , Paolo Bonzini References: <20210716085325.10300-1-lingshan.zhu@intel.com> <20210716085325.10300-2-lingshan.zhu@intel.com> From: "Zhu, Lingshan" Message-ID: Date: Thu, 22 Jul 2021 11:03:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-csky@vger.kernel.org On 7/21/2021 7:57 PM, Like Xu wrote: > On 16/7/2021 4:53 pm, Zhu Lingshan wrote: >> +    } else if (xenpmu_data->pmu.r.regs.cpl & 3) > > Lingshan, serious for this version ? > > arch/x86/xen/pmu.c:438:9: error: expected identifier or ‘(’ before > ‘return’ >   438 |         return state; >       |         ^~~~~~ > arch/x86/xen/pmu.c:439:1: error: expected identifier or ‘(’ before ‘}’ > token >   439 | } >       | ^ > arch/x86/xen/pmu.c: In function ‘xen_guest_state’: > arch/x86/xen/pmu.c:436:9: error: control reaches end of non-void > function [-Werror=return-type] >   436 |         } >       |         ^ > cc1: some warnings being treated as errors > >> +            state |= PERF_GUEST_USER; >>       } forgot to enable XEN build in .config, V9 fixes this will come soon 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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 549C6C6377A for ; Thu, 22 Jul 2021 03:04:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26D406108B for ; Thu, 22 Jul 2021 03:04:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26D406108B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WCujiBo5MRqCwkPxoUgJ/MRKj+gMgoMpeyDHHgNYnkc=; b=d57ijaWfQfaBKc2FfXqvsu16cG RgZm8O9DryeOtgB4+ynZjyQUfrKq4LQ7+dexf8sdnW6hDjvssospW8LZL5h2EVtR9sK2yWnZrsoGJ lGCAyfx3dlOHw4RvDeo+fCMuFO57UdBKNiWNOOCzhzGk2JiAs5x7B9hks5n3EIHmXyX6myasrhee/ apVp8Y69fRo6gGUUq82wDVEy0fTFxNUMYhAEhDHwLt++9UZjXzTXpkP/23ec2fOHOx9BFP0TbObe2 8AED25O7KaA7IwtyzTeJBfqzWGCBu6mfoYxpjkXJpFAB8l32lKybDoZxa046HeOJUCnL4gAkGOHQx 2jGf4MCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6P0M-0005c3-4h; Thu, 22 Jul 2021 03:04:10 +0000 Received: from mga12.intel.com ([192.55.52.136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6P09-0005aO-Aj; Thu, 22 Jul 2021 03:03:58 +0000 X-IronPort-AV: E=McAfee;i="6200,9189,10052"; a="191137744" X-IronPort-AV: E=Sophos;i="5.84,259,1620716400"; d="scan'208";a="191137744" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 20:03:54 -0700 X-IronPort-AV: E=Sophos;i="5.84,259,1620716400"; d="scan'208";a="512019825" Received: from lingshan-mobl5.ccr.corp.intel.com (HELO [10.255.29.38]) ([10.255.29.38]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 20:03:46 -0700 Subject: Re: [PATCH V8 01/18] perf/core: Use static_call to optimize perf_guest_info_callbacks To: Like Xu Cc: bp@alien8.de, seanjc@google.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, kan.liang@linux.intel.com, ak@linux.intel.com, wei.w.wang@intel.com, eranian@google.com, liuxiangdong5@huawei.com, linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org, boris.ostrvsky@oracle.com, Like Xu , Will Deacon , Marc Zyngier , Guo Ren , Nick Hu , Paul Walmsley , Boris Ostrovsky , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-csky@vger.kernel.org, linux-riscv@lists.infradead.org, xen-devel@lists.xenproject.org, Peter Zijlstra , Paolo Bonzini References: <20210716085325.10300-1-lingshan.zhu@intel.com> <20210716085325.10300-2-lingshan.zhu@intel.com> From: "Zhu, Lingshan" Message-ID: Date: Thu, 22 Jul 2021 11:03:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210721_200357_409907_39BAEDE4 X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org CgpPbiA3LzIxLzIwMjEgNzo1NyBQTSwgTGlrZSBYdSB3cm90ZToKPiBPbiAxNi83LzIwMjEgNDo1 MyBwbSwgWmh1IExpbmdzaGFuIHdyb3RlOgo+PiArwqDCoMKgIH0gZWxzZSBpZiAoeGVucG11X2Rh dGEtPnBtdS5yLnJlZ3MuY3BsICYgMykKPgo+IExpbmdzaGFuLCBzZXJpb3VzIGZvciB0aGlzIHZl cnNpb24gPwo+Cj4gYXJjaC94ODYveGVuL3BtdS5jOjQzODo5OiBlcnJvcjogZXhwZWN0ZWQgaWRl bnRpZmllciBvciDigJgo4oCZIGJlZm9yZSAKPiDigJhyZXR1cm7igJkKPiDCoCA0MzggfMKgwqDC oMKgwqDCoMKgwqAgcmV0dXJuIHN0YXRlOwo+IMKgwqDCoMKgwqAgfMKgwqDCoMKgwqDCoMKgwqAg Xn5+fn5+Cj4gYXJjaC94ODYveGVuL3BtdS5jOjQzOToxOiBlcnJvcjogZXhwZWN0ZWQgaWRlbnRp ZmllciBvciDigJgo4oCZIGJlZm9yZSDigJh94oCZIAo+IHRva2VuCj4gwqAgNDM5IHwgfQo+IMKg wqDCoMKgwqAgfCBeCj4gYXJjaC94ODYveGVuL3BtdS5jOiBJbiBmdW5jdGlvbiDigJh4ZW5fZ3Vl c3Rfc3RhdGXigJk6Cj4gYXJjaC94ODYveGVuL3BtdS5jOjQzNjo5OiBlcnJvcjogY29udHJvbCBy ZWFjaGVzIGVuZCBvZiBub24tdm9pZCAKPiBmdW5jdGlvbiBbLVdlcnJvcj1yZXR1cm4tdHlwZV0K PiDCoCA0MzYgfMKgwqDCoMKgwqDCoMKgwqAgfQo+IMKgwqDCoMKgwqAgfMKgwqDCoMKgwqDCoMKg wqAgXgo+IGNjMTogc29tZSB3YXJuaW5ncyBiZWluZyB0cmVhdGVkIGFzIGVycm9ycwo+Cj4+ICvC oMKgwqDCoMKgwqDCoMKgwqDCoMKgIHN0YXRlIHw9IFBFUkZfR1VFU1RfVVNFUjsKPj4gwqDCoMKg wqDCoCB9CmZvcmdvdCB0byBlbmFibGUgWEVOIGJ1aWxkIGluIC5jb25maWcsIFY5IGZpeGVzIHRo aXMgd2lsbCBjb21lIHNvb24KCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fCmxpbnV4LXJpc2N2IG1haWxpbmcgbGlzdApsaW51eC1yaXNjdkBsaXN0cy5pbmZy YWRlYWQub3JnCmh0dHA6Ly9saXN0cy5pbmZyYWRlYWQub3JnL21haWxtYW4vbGlzdGluZm8vbGlu dXgtcmlzY3YK 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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F18BEC6377B for ; Thu, 22 Jul 2021 03:06:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD9A260FF3 for ; Thu, 22 Jul 2021 03:06:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD9A260FF3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=le5wm+uHkx5ypxamgt00FUONk3N3TEgK9/rovYjdlQ0=; b=M2r2tx8O5SJUaaws334CZ2lC7Z 9hMFBKx3Yf9XppL3kcNPK1HjmQHXJTXVrMyJvhHGPkgNpC5uAmMVY3ePqy0+OCknxotb/+JfDL/ln vhjrIl8IKZD/6/4qduPAjdc8V9doVg+dEM02Wwmm1i2nih+g84kVPjXx4lyLK31TMI4RHDdYlSsdx HjFBtw0ddwohj9gdpjOryWzlWhySZkS4mYn3uWAOapBnYqA4SYf+zCo1pWHjUx4Yj0TPPwvCEr2KV f5qn5pEK3hM904f3PSK2yXcHcDIhuGVEEFw3ZMSqVPchnj6GvPNJsG6bXFxOvXTZc0q9qRpR3Wdk+ Gz7e1n2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6P0C-0005bb-W9; Thu, 22 Jul 2021 03:04:01 +0000 Received: from mga12.intel.com ([192.55.52.136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6P09-0005aO-Aj; Thu, 22 Jul 2021 03:03:58 +0000 X-IronPort-AV: E=McAfee;i="6200,9189,10052"; a="191137744" X-IronPort-AV: E=Sophos;i="5.84,259,1620716400"; d="scan'208";a="191137744" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 20:03:54 -0700 X-IronPort-AV: E=Sophos;i="5.84,259,1620716400"; d="scan'208";a="512019825" Received: from lingshan-mobl5.ccr.corp.intel.com (HELO [10.255.29.38]) ([10.255.29.38]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2021 20:03:46 -0700 Subject: Re: [PATCH V8 01/18] perf/core: Use static_call to optimize perf_guest_info_callbacks To: Like Xu Cc: bp@alien8.de, seanjc@google.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, kan.liang@linux.intel.com, ak@linux.intel.com, wei.w.wang@intel.com, eranian@google.com, liuxiangdong5@huawei.com, linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org, boris.ostrvsky@oracle.com, Like Xu , Will Deacon , Marc Zyngier , Guo Ren , Nick Hu , Paul Walmsley , Boris Ostrovsky , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-csky@vger.kernel.org, linux-riscv@lists.infradead.org, xen-devel@lists.xenproject.org, Peter Zijlstra , Paolo Bonzini References: <20210716085325.10300-1-lingshan.zhu@intel.com> <20210716085325.10300-2-lingshan.zhu@intel.com> From: "Zhu, Lingshan" Message-ID: Date: Thu, 22 Jul 2021 11:03:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210721_200357_409907_39BAEDE4 X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org CgpPbiA3LzIxLzIwMjEgNzo1NyBQTSwgTGlrZSBYdSB3cm90ZToKPiBPbiAxNi83LzIwMjEgNDo1 MyBwbSwgWmh1IExpbmdzaGFuIHdyb3RlOgo+PiArwqDCoMKgIH0gZWxzZSBpZiAoeGVucG11X2Rh dGEtPnBtdS5yLnJlZ3MuY3BsICYgMykKPgo+IExpbmdzaGFuLCBzZXJpb3VzIGZvciB0aGlzIHZl cnNpb24gPwo+Cj4gYXJjaC94ODYveGVuL3BtdS5jOjQzODo5OiBlcnJvcjogZXhwZWN0ZWQgaWRl bnRpZmllciBvciDigJgo4oCZIGJlZm9yZSAKPiDigJhyZXR1cm7igJkKPiDCoCA0MzggfMKgwqDC oMKgwqDCoMKgwqAgcmV0dXJuIHN0YXRlOwo+IMKgwqDCoMKgwqAgfMKgwqDCoMKgwqDCoMKgwqAg Xn5+fn5+Cj4gYXJjaC94ODYveGVuL3BtdS5jOjQzOToxOiBlcnJvcjogZXhwZWN0ZWQgaWRlbnRp ZmllciBvciDigJgo4oCZIGJlZm9yZSDigJh94oCZIAo+IHRva2VuCj4gwqAgNDM5IHwgfQo+IMKg wqDCoMKgwqAgfCBeCj4gYXJjaC94ODYveGVuL3BtdS5jOiBJbiBmdW5jdGlvbiDigJh4ZW5fZ3Vl c3Rfc3RhdGXigJk6Cj4gYXJjaC94ODYveGVuL3BtdS5jOjQzNjo5OiBlcnJvcjogY29udHJvbCBy ZWFjaGVzIGVuZCBvZiBub24tdm9pZCAKPiBmdW5jdGlvbiBbLVdlcnJvcj1yZXR1cm4tdHlwZV0K PiDCoCA0MzYgfMKgwqDCoMKgwqDCoMKgwqAgfQo+IMKgwqDCoMKgwqAgfMKgwqDCoMKgwqDCoMKg wqAgXgo+IGNjMTogc29tZSB3YXJuaW5ncyBiZWluZyB0cmVhdGVkIGFzIGVycm9ycwo+Cj4+ICvC oMKgwqDCoMKgwqDCoMKgwqDCoMKgIHN0YXRlIHw9IFBFUkZfR1VFU1RfVVNFUjsKPj4gwqDCoMKg wqDCoCB9CmZvcmdvdCB0byBlbmFibGUgWEVOIGJ1aWxkIGluIC5jb25maWcsIFY5IGZpeGVzIHRo aXMgd2lsbCBjb21lIHNvb24KCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fCmxpbnV4LWFybS1rZXJuZWwgbWFpbGluZyBsaXN0CmxpbnV4LWFybS1rZXJuZWxA bGlzdHMuaW5mcmFkZWFkLm9yZwpodHRwOi8vbGlzdHMuaW5mcmFkZWFkLm9yZy9tYWlsbWFuL2xp c3RpbmZvL2xpbnV4LWFybS1rZXJuZWwK