Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1990787ybg; Fri, 5 Jun 2020 02:46:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3HIGjsZOfxndLrYgt880DKPpX3ctB+KsoqeT+MeJi2shCn8fOlBVus9yFBqgqGv2fkdWR X-Received: by 2002:a17:906:481b:: with SMTP id w27mr7686175ejq.27.1591350379835; Fri, 05 Jun 2020 02:46:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591350379; cv=none; d=google.com; s=arc-20160816; b=tPvT4HLk40NbOtI3gaiOIPFu8MtFhVRjO1UZP/zlEAZXhdA1nAWn5OcbijoNEK6LXB oV86TdZDbnzwiuug8tsNYpTKc1K6GZQxZSfxdEb3lglWYvQsrMP9JkZrf2x7BHKc6cva uw+dvfylmjHnGgynLVUjv3AXqTqTaX6ljn/Jo+qnzeGzXveLQFIBVoOMlGGrE7H+gK0k UMh/ZVnY3qkMAxuXNR/QpGDdcTcBqPNJwvzUPtWyCBpyB0P3lDI0oaTU/fi88fZkm5fb n1ahzhfbvCz2xYSUDgKHK0sIisRk477btts5nINveIikJrpDOaHWoGr+xrFcoiTGvJ5C eK7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=XhECCkj8B+IB2ymULCg1UzgsQ/+hDG3vSqvbKnmOWwY=; b=g750xTye4cBE31TfRZJwRo90WLI24YM6alHEl71yl5auRX1vhJVWnaaEQ+fH/EVikF JWRPWXVth4jQS+SM/xzIHZ2TqhlscJJjH/Gy2RnQwq4aor/I5Qb8l5FVI1lJmfoW13Jt /XtES4urnfb8T1VbKoiriN32yCEe8Lz7wJrIH8MTEP5izLVbVNtSKfy9pcadpnWZAjwo mqBhEvaf38QNiPdXNt1yqJrgZU4vgmc4rjYIIsCIzYHmtTMHogK01TMxVb69xkftex5T +5eagLqNMrrbMuNJMUMwZbdy4SIRRgsYQUAmx7jYJuGjVNHk9UzyFmeaXgMA6riQJmlc u9jQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h4si3449593ejk.9.2020.06.05.02.45.56; Fri, 05 Jun 2020 02:46:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726303AbgFEJmA (ORCPT + 99 others); Fri, 5 Jun 2020 05:42:00 -0400 Received: from mx20.baidu.com ([111.202.115.85]:57200 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726243AbgFEJl7 (ORCPT ); Fri, 5 Jun 2020 05:41:59 -0400 Received: from BJHW-Mail-Ex14.internal.baidu.com (unknown [10.127.64.37]) by Forcepoint Email with ESMTPS id 60E49480401D3B0008F9; Fri, 5 Jun 2020 17:41:53 +0800 (CST) Received: from BJHW-Mail-Ex13.internal.baidu.com (10.127.64.36) by BJHW-Mail-Ex14.internal.baidu.com (10.127.64.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 5 Jun 2020 17:41:52 +0800 Received: from BJHW-Mail-Ex13.internal.baidu.com ([100.100.100.36]) by BJHW-Mail-Ex13.internal.baidu.com ([100.100.100.36]) with mapi id 15.01.1713.004; Fri, 5 Jun 2020 17:41:52 +0800 From: "Li,Rongqing" To: Like Xu , "like.xu@intel.com" CC: "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "x86@kernel.org" , "hpa@zytor.com" , "bp@alien8.de" , "mingo@redhat.com" , "tglx@linutronix.de" , "jmattson@google.com" , "wanpengli@tencent.com" , "vkuznets@redhat.com" , "sean.j.christopherson@intel.com" , "pbonzini@redhat.com" , "xiaoyao.li@intel.com" , "wei.huang2@amd.com" Subject: =?utf-8?B?562U5aSNOiDnrZTlpI06IFtQQVRDSF1bdjZdIEtWTTogWDg2OiBzdXBwb3J0?= =?utf-8?Q?_APERF/MPERF_registers?= Thread-Topic: =?utf-8?B?562U5aSNOiBbUEFUQ0hdW3Y2XSBLVk06IFg4Njogc3VwcG9ydCBBUEVSRi9N?= =?utf-8?Q?PERF_registers?= Thread-Index: AQHWOtrZ4X/t3pkmBEG7o3WCZUgoeKjIxz2AgAChEWD//5ArAIAAyszA Date: Fri, 5 Jun 2020 09:41:52 +0000 Message-ID: References: <1591321466-2046-1-git-send-email-lirongqing@baidu.com> <3a88bd63-ff51-ad70-d92e-893660c63bca@linux.intel.com> In-Reply-To: <3a88bd63-ff51-ad70-d92e-893660c63bca@linux.intel.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.198.27] x-baidu-bdmsfe-datecheck: 1_BJHW-Mail-Ex14_2020-06-05 17:41:53:011 x-baidu-bdmsfe-viruscheck: BJHW-Mail-Ex14_GRAY_Inside_WithoutAtta_2020-06-05 17:41:52:917 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS3pgq7ku7bljp/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IExpa2UgWHUgW21haWx0 bzpsaWtlLnh1QGxpbnV4LmludGVsLmNvbV0NCj4g5Y+R6YCB5pe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