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=-23.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=ham 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 32355C4332E for ; Wed, 3 Mar 2021 19:28:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC9AB64EF8 for ; Wed, 3 Mar 2021 19:28:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1579869AbhCCSc0 (ORCPT ); Wed, 3 Mar 2021 13:32:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347427AbhCCQuN (ORCPT ); Wed, 3 Mar 2021 11:50:13 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F6B1C061763 for ; Wed, 3 Mar 2021 08:49:32 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id u18so8163300plc.12 for ; Wed, 03 Mar 2021 08:49:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=w89dhafdcTBvPIF85pqTILGa/UQI997YGnl2uzLm600=; b=sjAKSKtdd0qE8aGrV/g7K5tp0Ut2VV3W8GjrebN5IOnnr2u+ye1uUb3f62HiAPRgXp QUaFAhKpGHJFh064Js9Fj32CPj/zpSFMdphLhK9awrj3OHBjjZnFj+g6c4sM9IcZ2/f9 kaIpcn+DnNZG8OGlDfeECHdukgD9ikS7k4B3wdOFR8iYV0tbLVd1E8hovsZYW9gMCYc3 ApM4s5x/O6tg+/mVUAr4Q7V+SOnEUJQbw8Bwcd3/1er4hJ3d39L0cqBc4fR2gR2VqDmq 20I9w0hEi5aR1k7F4Z40pfe9y1gN/zpABnqxCyu4xPjRE+9Ke0UOqAXMmQuCHwwqbNUJ YdyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=w89dhafdcTBvPIF85pqTILGa/UQI997YGnl2uzLm600=; b=NygRdJt2K9IoF8MlvM2lcq4TULs9CsBu761ikH+fJHcr1bcJ+kDjX3EPVjfr5e03IQ pOnuIDKja3ng+oCr726bLbGt7DMhHk0N4MAvkgHSioXMl1MQMXW2RykW5wG8hwbRqPBV xrazdJg6xVhWEHdW5FcLkOgnNZZwBMBoza8ihgtEwSx98+tFz3wxd5FWJrzA5X3HEgNJ mFWHHSVMAtw2VWus4KcD89atkodcy3tVxQyQyPNmrk3isUSIdSQGae0iWrJz8mrNNofb j8yiobIQNrt6yQGQ8kTMtJTVWK1CqJ8J4BYvUqLONbm7kNVH2JB8UkAZyaWUzbbvZL+f gvHA== X-Gm-Message-State: AOAM530KObmZosjnr4wquyDNhXLBH5XoXt3y7rYDd543UuxqH0PI4zg1 +cWR+8NzIQ8Jj/FdMIhzPtnZiw== X-Google-Smtp-Source: ABdhPJygoIGT3E2Mq7v4KxLMZzcbXTD1z+JRgPMCk5eKtTzlmhUO+vNxMmor202/49XuL7QJt0DXRQ== X-Received: by 2002:a17:902:ff15:b029:e4:51ae:e1ee with SMTP id f21-20020a170902ff15b02900e451aee1eemr85184plj.83.1614790170916; Wed, 03 Mar 2021 08:49:30 -0800 (PST) Received: from google.com ([2620:15c:f:10:805d:6324:3372:6183]) by smtp.gmail.com with ESMTPSA id x11sm7841144pjh.0.2021.03.03.08.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 08:49:30 -0800 (PST) Date: Wed, 3 Mar 2021 08:49:23 -0800 From: Sean Christopherson To: Like Xu Cc: Peter Zijlstra , Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Kan Liang , Dave Hansen , wei.w.wang@intel.com, Borislav Petkov , kvm@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/9] perf/x86/intel: Fix a comment about guest LBR support Message-ID: References: <20210303135756.1546253-1-like.xu@linux.intel.com> <20210303135756.1546253-2-like.xu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210303135756.1546253-2-like.xu@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 03, 2021, Like Xu wrote: > Starting from v5.12, KVM reports guest LBR and extra_regs > support when the host has relevant support. > > Cc: Peter Zijlstra > Reviewed-by: Kan Liang > Signed-off-by: Like Xu > --- > arch/x86/events/intel/core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c > index d4569bfa83e3..a32acc7733a7 100644 > --- a/arch/x86/events/intel/core.c > +++ b/arch/x86/events/intel/core.c > @@ -5565,7 +5565,7 @@ __init int intel_pmu_init(void) > > /* > * Access LBR MSR may cause #GP under certain circumstances. > - * E.g. KVM doesn't support LBR MSR > + * E.g. KVM doesn't support LBR MSR before v5.12. Just delete this part of the comment. > * Check all LBT MSR here. > * Disable LBR access if any LBR MSRs can not be accessed. > */ > -- > 2.29.2 >