Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1137916pxb; Thu, 4 Mar 2021 04:27:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3fjP0IKjl7lXdjpCTJwwkWdQ0ganDVIcrwY9LmKfOhtvyPGtrJgf1Nj6tWt54j3khI44i X-Received: by 2002:a05:6402:1383:: with SMTP id b3mr3888012edv.131.1614860822326; Thu, 04 Mar 2021 04:27:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614860822; cv=none; d=google.com; s=arc-20160816; b=jOT5MPqVWEsVQjDPHcqG4MK83vw/mEGtsEvq6CdJUAXAjfAlDipjQMZ6JIy3Vc6Lqo 3Yde4QCPd1JaANo/18Jw+7BYK356qE04rFCeoDjqkpxhIbvElbQxsK0w87uffXCN/ylp uuhVAWnSBDxDrZj/nKJ/eTLEK2o0zFkVEVuBwmix5B0dX0X7Wq4m7RGwVV/B0WQ8XDuv gaEorQP4cEFiIBYeEvoZIXrQW3OlRpBNo1io/DMekRwj9KlCEV9C8OwxHh6ZX5ZK9tko pQN8C9gUnqGBRNPWFT2i/QsCPhHyGUMGbzfeu39Z+D72c3ARI2xikRfewSBZ9TUyQUci XxkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Fi0uubBVxUB+GuaJG69hF0VmSki/WHsri58nDTTvB9Y=; b=Ldk1b9dEplVBWKlKegexAqhqIgwhMrfHWPCcUSfYnLNcVoKDhBBsIliiWKobllcnHH 6EGpjkCDcY4BW5r//XVYR5/UgqnYAeRPPwZmhXkD7KMSPEYd80gRv4sLH9J+nBAPQUtc okYXtLDJFicnAylLeGdev7OqKqhU6JYyHLLhmxEVrUByjLQuHr4CeFPT6GuPKjo0H6pZ pfBp293Qux3m/B1807XmouNZbDoqco5Ya0aobVTrmKstGHO5oeZWCUXOq1A6ofrZNyQV TJ+vFAwUVXjNhsYa9AZ7TlYPHUmdqybhv/YkprDeU/vWLz1wnV2Aj7s+duXP6erYkEbd ts/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="OFBbBC/q"; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hb4si16399863ejb.642.2021.03.04.04.26.39; Thu, 04 Mar 2021 04:27:02 -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; dkim=pass header.i=@google.com header.s=20161025 header.b="OFBbBC/q"; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1837144AbhCCSsh (ORCPT + 99 others); Wed, 3 Mar 2021 13:48:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234297AbhCCSGe (ORCPT ); Wed, 3 Mar 2021 13:06:34 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2612C06175F for ; Wed, 3 Mar 2021 10:05:48 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id s16so14470074plr.9 for ; Wed, 03 Mar 2021 10:05:48 -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=Fi0uubBVxUB+GuaJG69hF0VmSki/WHsri58nDTTvB9Y=; b=OFBbBC/qbuy5DVoTDWKAbIz+evhGUmngQud/1bqxDNXQEMNT1ErJvyZdetAQssoB8V w90jHsRqLy9ZJSBFSa+8YaMR4VBwhokSubrPfwfc6sNsr8FJIuLYDZpySkq1zP41xDnZ ip2zGb6V2byY+jXHnsndQTTEFE8/Tkpl2L9qre4GYYRNyqAoy5BBZyRl4O92ksTIFGBJ G9FEdYtOgCzXoKEhJDyaxoVLZFt1ZeBUbxYTl3ZBLJcV4/nsZDEFUuz3mPNBmUAFxpI+ vSVXnOT4C6hp/vgs84OQhAzwiCVq02aEmot3yZxZPF0CB9xYwNEi4d53jTJXAPBnRwg6 ws4g== 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=Fi0uubBVxUB+GuaJG69hF0VmSki/WHsri58nDTTvB9Y=; b=Px98NKCKXWvvvoHyDiahRZaGg0kVfNpiySjM1NC4gVjZE3o2Z7DOQSraY0BgepM6El t+XMf2+PInQCHdxokDvGB7K2WGlHx2r3x1Kw2o4RoG03Jhjt/YcvXzZMwDo3/2+anV3+ FljuFu18VyqXq4/1GHbE8lfbgRO07hpPdjmugoJBmT3MR+aMMx3uPAeaLoZ2ikTjwjWU K262qpTAU1n8+Uw3Tk4Xzk631f1PE5kAOS5aqau9ektIbWLOvagaf0ICCtsf8Oztq2PH YiSYSS89r1YMkrICqjyZyKdnGGwNu1AYTRLYBrrsDxVm7m7G8VBdcPBZ3BF0C+HT5JIG J1ig== X-Gm-Message-State: AOAM530587rBVnVTnIVVKeB7t2n8/rsxhrQqQWnMQ0zIBeztc7pfQLlp 5gkKM0xYCFPDdb4yCftIE6sKkA== X-Received: by 2002:a17:902:108:b029:e4:9e1b:b976 with SMTP id 8-20020a1709020108b02900e49e1bb976mr191625plb.67.1614794748200; Wed, 03 Mar 2021 10:05:48 -0800 (PST) Received: from google.com ([2620:15c:f:10:805d:6324:3372:6183]) by smtp.gmail.com with ESMTPSA id z12sm7329506pjz.16.2021.03.03.10.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 10:05:47 -0800 (PST) Date: Wed, 3 Mar 2021 10:05:40 -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: [kvm-unit-tests PATCH] x86: Update guest LBR tests for Architectural LBR Message-ID: References: <20210303135756.1546253-1-like.xu@linux.intel.com> <20210303135756.1546253-11-like.xu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210303135756.1546253-11-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: > This unit-test is intended to test the KVM's support for the > Architectural LBRs which is a Architectural performance monitor > unit (PMU) feature on Intel processors. These really need negative testing, especially on the MSR values. IMO, negative tests should be mandatory for merging arch LBR support in KVM, it shouldn't be too much additional effort.