Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp209468pxb; Fri, 15 Jan 2021 00:53:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwC1rVkSR2On7WSMKkIl9Xiui2spm1nrJXabSp4CTVLhr5IBpOYcXw9PEmPqJHWSsn5uvt2 X-Received: by 2002:a17:906:7fcd:: with SMTP id r13mr8293138ejs.242.1610700794692; Fri, 15 Jan 2021 00:53:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610700794; cv=none; d=google.com; s=arc-20160816; b=zO+ieBwYMD3xYuM6sGq8hNpVaLMnpctSZKYoVUY5blaymWxGr5r+B7M2r/NSpHlNsn fFMjc7JhAMM1RyyT1DA3Z6MzxbmdKyXHkjMZmIjfqg0n8OSODeTrNZsk9xnoLHaLsHOv 3mpmiRe9Ft2Hq9LHD52oCCIlhBqpqKJMRjyA7hl8gWrReqXXj63YlTU6iiGy0b6xBla4 wEllEQxN9t3XNVm76s6pHlgp7cXzL5WLYcwxcoChCTQ5+O3UXd8ht+HFY8hf2IZ0tm52 hebHuZH5f1wM8R15FHKBhjTjS95bsy3NqMev+WOC8TAXpcv3nz9/37vKX5ZKBIdibtoP YZiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=jArrQJykRKSDgABfoZr4JUGS9Glbb3+L64x0AFXIrIQ=; b=izeouUlCRFBgAqUIkxgHBq7thH15UTWkxmSXAVqaviiM8yZJZwjAmym4jJwFR3TOs1 wKqoll7/4AHcGfMuA2jQEpEe+sBpRce+vLnJDzRrOoHrTtW/pBln8YSvupntBDdwdP8g gPCWf/4/Sf1LDmHWFsnz2vmi8WNXB2mrEfFfvsh3psm+hpoP6r8utdhqo4SFN0ldkwYg EbazEv3kaSW9u6LVWAgzUnd0Xxz2iuwVkgaAVjGjeEDi/95gTVZim/Y/5eJdaPFxye+S 78QQR2ZDkz9cx6uBK/BEPwqfrwckycPVeBOGopRVhd76TKjaBCQRBJ31/WhS0Z/Oybkk spGA== 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 g4si3902396edn.483.2021.01.15.00.52.50; Fri, 15 Jan 2021 00:53:14 -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 S1730205AbhAOIv6 (ORCPT + 99 others); Fri, 15 Jan 2021 03:51:58 -0500 Received: from mga05.intel.com ([192.55.52.43]:25574 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726817AbhAOIv4 (ORCPT ); Fri, 15 Jan 2021 03:51:56 -0500 IronPort-SDR: c8+qbs1J7C5cUU6b+f2lmzXQl9ZIrYV8yIb6Ha+92DE6lxuvt45SP/MWG3i2wSiYKh5pOjPv07 QnYJcYodB2LQ== X-IronPort-AV: E=McAfee;i="6000,8403,9864"; a="263313699" X-IronPort-AV: E=Sophos;i="5.79,349,1602572400"; d="scan'208";a="263313699" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2021 00:51:13 -0800 IronPort-SDR: 2DWi2BuGZEuH8CvySrdMz0szSkdssIE/dCzkPYdMnYOeTdh2TLG3jRQ/JqTQrNBuGYwxPcJG7o bDFMkQxWbh0g== X-IronPort-AV: E=Sophos;i="5.79,349,1602572400"; d="scan'208";a="382591418" Received: from likexu-mobl1.ccr.corp.intel.com (HELO [10.238.4.93]) ([10.238.4.93]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2021 00:51:03 -0800 Subject: Re: [RESEND v13 00/10] KVM: x86/pmu: Guest Last Branch Recording Enabling To: Alex Shi , Paolo Bonzini , Sean Christopherson Cc: Ingo Molnar , Thomas Gleixner , Borislav Petkov , "H . Peter Anvin" , ak@linux.intel.com, wei.w.wang@intel.com, kan.liang@intel.com, x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Joerg Roedel , Jim Mattson , Vitaly Kuznetsov , Wanpeng Li , Like Xu References: <20210108013704.134985-1-like.xu@linux.intel.com> <3deac361-05fa-60a5-0d88-4f6b968f10bf@linux.alibaba.com> From: "Xu, Like" Message-ID: <307385ae-cd3e-8d06-ffa9-dcd297ec9a8a@intel.com> Date: Fri, 15 Jan 2021 16:51:01 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <3deac361-05fa-60a5-0d88-4f6b968f10bf@linux.alibaba.com> 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-kernel@vger.kernel.org Hi Alex, Thank you for trying this guest feature on multiple Intel platforms! If you have more specific comments or any concerns, just let me know. --- thx, likexu On 2021/1/15 16:19, Alex Shi wrote: > > 在 2021/1/8 上午9:36, Like Xu 写道: >> Because saving/restoring tens of LBR MSRs (e.g. 32 LBR stack entries) in >> VMX transition brings too excessive overhead to frequent vmx transition >> itself, the guest LBR event would help save/restore the LBR stack msrs >> during the context switching with the help of native LBR event callstack >> mechanism, including LBR_SELECT msr. >> > Sounds the feature is much helpful for VMM guest performance tunning. > Good job! > > Thanks > Alex