Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp442029pxb; Wed, 18 Nov 2020 08:22:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCES9A70pdV6sh86QWIzZBoPNDyjJJZUh0JHsYGvbviys/xstgmBy01/mci/qoGn/X/a4K X-Received: by 2002:a50:da46:: with SMTP id a6mr22189814edk.272.1605716520221; Wed, 18 Nov 2020 08:22:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605716520; cv=none; d=google.com; s=arc-20160816; b=xvo91mXDm+o58VE9ZPYChpcCoB/U5Go6+cl80v+kLkLsVBsIEKs7MYvPv1HDmOQh9y N0CrLuiRkTk6mkOn4tmraf4pHGT/5tJrIOsrx2SGM/P4gY9oQPS/ssvv731sGjDhI+M3 LBeOUPnbEdTLpyuZGQDpG4cTQpSqAlxKPmOAI7acb6kZVH2XQVn3sjFNGYsUMEE39hv9 cRdm/KUFovnYpIWeYFw9DCei/KKa4WbfzRNNjV8cB5UckYsLhxggTppci14a/WbGHx91 lM3l4ePAWHFcvkUuGhc54eo4GwLyj1SlDMAXPTEarA2NF/6TGXV6nDy5MSDYP4y5FM8u Nc/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=clo8NbIdeNxewPnv6wdCpKiQYiLR3TIJZEZtB8iSJHM=; b=GNkOeO0wJBLcgBIQDSiumcPlJoYueG/9esRgMy58qgV5DvTaVrXV7BkZtQqgtFQYKp n62pzYddxGY/B5A2l0/ByQrHwA29j3HHqMSNNQNTohgpULOOHGiOWsfvZpk+AFjQpwD2 4DlKlHpIuFinpIJ2tDxpqIFz4eseETwuX7udQ6r54iLUKH8lYinLvY3jF5cHSO5MYldt fINb+gbMnzViBshNzw2mfzMEoQX3kpBwPPfQdUEIrGle7fcVymACAFD9NcW6xkkEQSLi GtySx4t5f2Gh+UTddMEenjNaDT0pCcOMKr/EOcdZ0lS9iBUDd3B419rOOjxWLrCQ2par wPCA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x24si15419487ejb.695.2020.11.18.08.21.36; Wed, 18 Nov 2020 08:22:00 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726702AbgKRQSz (ORCPT + 99 others); Wed, 18 Nov 2020 11:18:55 -0500 Received: from mga11.intel.com ([192.55.52.93]:44042 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbgKRQSy (ORCPT ); Wed, 18 Nov 2020 11:18:54 -0500 IronPort-SDR: EJi7014HSJLlgNtWJJNI+LBrRa6UpQxDMsgWN61pptqOeeNEwfaLG5y61n2PGLy+alKhkoVqST tUhfyPyHNe0g== X-IronPort-AV: E=McAfee;i="6000,8403,9808"; a="167630958" X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="167630958" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 08:18:54 -0800 IronPort-SDR: IVpCU1Ahwp8XRZgwM9P7fzgvSrTOIr7HwjfQC/OZKdFiBIPX30c/XrYrj4IHiiLLic8SHsYAYG eQhXiFeJnhBA== X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="476413155" Received: from likexu-mobl1.ccr.corp.intel.com (HELO [10.255.28.176]) ([10.255.28.176]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 08:18:48 -0800 Subject: Re: [PATCH v2 05/17] KVM: x86/pmu: Reprogram guest PEBS event to emulate guest PEBS counter To: Peter Zijlstra Cc: Paolo Bonzini , kvm@vger.kernel.org, Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Kan Liang , luwei.kang@intel.com, Thomas Gleixner , wei.w.wang@intel.com, Tony Luck , Stephane Eranian , Mark Gross , Srinivas Pandruvada , linux-kernel@vger.kernel.org References: <20201109021254.79755-1-like.xu@linux.intel.com> <20201109021254.79755-6-like.xu@linux.intel.com> <20201117144100.GK3121406@hirez.programming.kicks-ass.net> From: Like Xu Organization: Intel OTC Message-ID: Date: Thu, 19 Nov 2020 00:18:45 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: <20201117144100.GK3121406@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/11/17 22:41, Peter Zijlstra wrote: > On Mon, Nov 09, 2020 at 10:12:42AM +0800, Like Xu wrote: >> + /* Indicate PEBS overflow PMI to guest. */ >> + __set_bit(62, (unsigned long *)&pmu->global_status); > > GLOBAL_STATUS_BUFFER_OVF_BIT > Thanks, I'll apply it. If you have more comments on the entire patch set, please let me know. Thanks, Like Xu