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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09D37C77B73 for ; Wed, 24 May 2023 22:54:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238457AbjEXWyA (ORCPT ); Wed, 24 May 2023 18:54:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230423AbjEXWx6 (ORCPT ); Wed, 24 May 2023 18:53:58 -0400 Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB32BA9 for ; Wed, 24 May 2023 15:53:56 -0700 (PDT) Received: by mail-pj1-x1049.google.com with SMTP id 98e67ed59e1d1-2532da9e45bso211188a91.0 for ; Wed, 24 May 2023 15:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1684968836; x=1687560836; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=x0WpqwanSmBKlqB/KYTJIHjiwaT4vo3S6eGEr+EhUoc=; b=0iFOfuXS06ChvMu47Nq+dNrsb1rcuvQm6ggloE98nwK6hu3HaudExnpKEc/CmuypvT VOg1Rw2c42mHnY0GBjBYW4SUTX1e86gIq+ZX0kdZvkVFRQCW65SN+2DvGcYYgg4fjh5c Mdlql7CzDEVVHmRYxd95Jiuuw+2zTNRwPuHpnvUUJO5tzsOEwzmA4uLbxLnUJ4iamf5e 9JBSHoHtLSnO1Bx929g8Fxa1DQuhFCwcAAmQqTnde6AUSchsFYkIE2T8X9oJ0D0MF2cR tHu564hkvrDrqLveQCTXcZoJJWLeXLsDulCp9WJoROiQOCpXkfMJ8ddfhDbIMMYHL7Ar XIjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684968836; x=1687560836; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=x0WpqwanSmBKlqB/KYTJIHjiwaT4vo3S6eGEr+EhUoc=; b=SCEJDu0Y6inmHpE089MJUsCyxVpMHhgAUmDddM7CJpMX8kDyxvXbo4kG1Vzckb70zL fxbAlMrRabtyLjFa/HVnS1L/8d2wDQjPRw9N016Axla2euayn9/4rBb8pZlvrCXR6WX6 vTQBdNV/WU6xxMj03/5P2bvfep4ans2Ly1rqEP6/xayZYkKGQlbSWLEQ17x+q7heB4vC BbBrJoKac0sceP99tBXQe+onQ7UaRIQSR9mc4hyvLt0V2BXfMqIxLIThF89uSTtbAATG IaQ14q0Yl9OnJsEULxqpZy2r+M/xAkVNJLbTQRxj9rjdhcTSG5b9X2BR6yDlBGqK+gog rvzA== X-Gm-Message-State: AC+VfDymINCELhOu61jCvYCusyDXYLOWDowK8TWXaOCBmIOwCGi4gXT/ JFKuYfMUp7q7oOnNaQY4b90Tuay9Wws= X-Google-Smtp-Source: ACHHUZ476UqLrn2Q1a0Lg3CHSzK8Bih/IdjqbG0h2rX+yRAbJfPKV92Qs+JxZEmjEYmulJrCQYm6OeElP7w= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:90a:e642:b0:23d:30a:692b with SMTP id ep2-20020a17090ae64200b0023d030a692bmr216909pjb.4.1684968836446; Wed, 24 May 2023 15:53:56 -0700 (PDT) Date: Wed, 24 May 2023 15:53:55 -0700 In-Reply-To: <20230323072714.82289-1-likexu@tencent.com> Mime-Version: 1.0 References: <20230323072714.82289-1-likexu@tencent.com> Message-ID: Subject: Re: [PATCH 0/7] KVM: selftests: Test the consistency of the PMU's CPUID and its features From: Sean Christopherson To: Like Xu Cc: Paolo Bonzini , Jinrong Liang , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 23, 2023, Like Xu wrote: > Hi, > > The KVM selfstests shows advantages over the KUT in terms of finding > defects through flexible and varied guest settings form KVM user space. > > This patch set tests whether Intel vPMU works properly with different > Intel CPUID.0xA configurations, in which three issues were identified. > It also provides test scaffolding and a sufficient number of pmu test cases > to subsequently provide adequate code coverage of AMD vPMU or Intel > complex features such as LBR or PEBS in selftests. > > Please feel free to add more tests or share valuable comments. > > Related bugs: > KVM: x86/pmu: Fix emulation on Intel counters' bit width > (https://lore.kernel.org/kvm/20230322093117.48335-1-likexu@tencent.com/) > KVM: x86/pmu: Add Intel PMU supported fixed counters bit mask > (https://lore.kernel.org/kvm/20230321112742.25255-1-likexu@tencent.com/) Can you send a single combined series for these fixes, plus the tests in this series? I expect to apply the fixes before the tests, but I want to make it as unlikely as possible that I forget and apply tests that fail. Thanks!