Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1829274ybg; Thu, 4 Jun 2020 21:42:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZucMXjH9fkQRURgPHKQoJUxpGf8igxb41c8tw8w+z+Pf4b32zZQcsjfRj6EQXZhAbKCe1 X-Received: by 2002:a17:906:b293:: with SMTP id q19mr7290053ejz.412.1591332121926; Thu, 04 Jun 2020 21:42:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591332121; cv=none; d=google.com; s=arc-20160816; b=bNp8o2f0YW9Uqv+pPcnqy6rbTImtM1xvTRkaCMUFwPa4Qj3MRTOWVcwzMFTe5SjmOr RWGOUf3IQYK77mHf0nkTsTG5lCJjeeEFrbHEeHpd2rVd7Bf/nzhHWEORJ2SaTdXlPPbL eVAUT++XQoeB9eGllMftgiGJwmtzTRddpeALba6AxeoMZjC3rkbEKX3Qb0spQ/0UbzuQ rTFv0ddUTuulrXYb/PcpcCzr1DlBHtS4XZAm1ov08eNNHBxBBvXDOjqUO9xa5ycS04BQ Y8daGQJbR4wokWcpEhKaF/n39jQ7SKGijd5u0a/O6si7OMu66WSqk/vh9C4p4dbGCBKe iftw== 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=X3b8WcI7MQq5ATydnuJK4Kj6DY6tUBMPsiQiIiw/zCY=; b=0mcA380AthP4lNc4qjUQ0nsR1xuQlBffL1poiZL13MhTa5pUjaDwHyoukmo6ZLlwe2 fM1Msavvx6jQnkyvGCJK3EmAHOPStFbJpZiLHq69Cz1KJQa1ng5BJ/TyJyMN8EAMJrdY E3mPSvdFbSYpuBGlIaGDYTpSFgO6LuWi1h7HGwN/857EGkNuVawlMQZ1y8Vy2UalSRNG YAEV6HKqM32XJ4UVZjwEXrKpVz5J2GPcTRAq38TuZnuIWfiYP2YDf9g/ywHQzdG5FJaG Xn7C9ccPz8vujAEj4tZ1wParuCKbvLjGkQAz0TRcCmdX37izIkn5YlI5El4lfVaEKGSF 0+sA== 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 cb1si2881271ejb.42.2020.06.04.21.41.39; Thu, 04 Jun 2020 21:42:01 -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 S1726180AbgFEEjp (ORCPT + 99 others); Fri, 5 Jun 2020 00:39:45 -0400 Received: from mx24.baidu.com ([111.206.215.185]:60194 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725968AbgFEEjo (ORCPT ); Fri, 5 Jun 2020 00:39:44 -0400 X-Greylist: delayed 954 seconds by postgrey-1.27 at vger.kernel.org; Fri, 05 Jun 2020 00:39:42 EDT Received: from BJHW-Mail-Ex14.internal.baidu.com (unknown [10.127.64.37]) by Forcepoint Email with ESMTPS id 5A5E9675E2089BB4C91E; Fri, 5 Jun 2020 12:23:42 +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 12:23:41 +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 12:23:36 +0800 From: "Li,Rongqing" To: "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?562U5aSNOiBbUEFUQ0hdW3Y2XSBLVk06IFg4Njogc3VwcG9ydCBBUEVSRi9N?= =?utf-8?Q?PERF_registers?= Thread-Topic: [PATCH][v6] KVM: X86: support APERF/MPERF registers Thread-Index: AQHWOtrZ4X/t3pkmBEG7o3WCZUgoeKjIxz2AgAChEWA= Date: Fri, 5 Jun 2020 04:23:36 +0000 Message-ID: References: <1591321466-2046-1-git-send-email-lirongqing@baidu.com> In-Reply-To: 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 12:23:42:248 x-baidu-bdmsfe-viruscheck: BJHW-Mail-Ex14_GRAY_Inside_WithoutAtta_2020-06-05 12:23:42:216 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/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IFh1LCBMaWtlIFttYWls dG86bGlrZS54dUBpbnRlbC5jb21dDQo+IOWPkemAgeaXtumXtDogMjAyMOW5tDbmnIg15pelIDEw OjMyDQo+IOaUtuS7tuS6ujogTGksUm9uZ3FpbmcgPGxpcm9uZ3Fpb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