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 36622C0032E for ; Fri, 20 Oct 2023 00:28:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346785AbjJTA2v (ORCPT ); Thu, 19 Oct 2023 20:28:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235577AbjJTA2t (ORCPT ); Thu, 19 Oct 2023 20:28:49 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C5F8131 for ; Thu, 19 Oct 2023 17:28:48 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id 3f1490d57ef6-d9cad450d5fso330044276.1 for ; Thu, 19 Oct 2023 17:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1697761727; x=1698366527; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=/luxcsSCFUvYWRTb1sE7Q6KZTce5i+T1PA+X88JDWC4=; b=BX56QL+yaHR/zLyYEum5ju4JkkUYS2P8OAhAUTnyOYPypa7GspTINSSfKz+DAKnNon TYujVI0VVLj93ZsD3BRggkDjQlwH0ZwhbYC3P1XAMzTfTh9FxZQqXZIym9vmVhC4+bkN 5OShC9Ps2VK2GU/XupLIzz8w47lSvSMRv/W4b8UsraXeoqeT5ksC6vuEKvkec2O/zLqs Fc/U5WSpYuQnNpRr+rKVbxuIGAlPKoMTAl6Jwq0yvZqr84xzocqH4fG8LIojszg9D7jV FfSiVsP1iSad77uYcas7vJbHi/RH4uyrzlGuFlQ6a7Efr2UGxtfbB3tppsSNSixrXcrF PtLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697761727; x=1698366527; 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=/luxcsSCFUvYWRTb1sE7Q6KZTce5i+T1PA+X88JDWC4=; b=ZpqXwTOJxO2qlEd7iOFhB/DtEghA7umcoJtrJD676GVOnHKJM2cwXfxUHYMfOuLNj6 LyYKUocNewLT/kxxaxUEF4KmxO0Ss9bW9ZNKJvTW6Gk+8RhPH7fqZT1Xk5PA+NfLb31J 2yBkXrwDFkVz5vliPRtU/V8T6QSF+Lc9sf3O2GkXiSgydNJk87y65ltD9HWuPBB1tZ6C I91jYSVqghwC73LOvaAmvv77L2yYcJi1YNnikcfr+y7sGXzBeZJyLa4yk0lYR+tHgfm/ HaL8NHxo4VNgS7KhO3s7f5pzkSJucaCqwF6omnETlOQdDHxArHaeEfbbVzdTR+ONGzD7 GKcw== X-Gm-Message-State: AOJu0Yxmv9sgCEDlGjGtzXxnCKTiy4aVYsyEwB8M0R3kgurRjSfYGDia yNNP1esJMwvIjVXxD7sggGmTy2GLEIs= X-Google-Smtp-Source: AGHT+IFW9zksA+H9m2GPfcJ75jDt4TnSyJLPRLkb++tMA2TuGlsg2r96LFRoWWzK/+/A6+1E0byX/Eksjqs= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:d05:0:b0:d9a:5b63:a682 with SMTP id 5-20020a250d05000000b00d9a5b63a682mr7309ybn.13.1697761727279; Thu, 19 Oct 2023 17:28:47 -0700 (PDT) Date: Thu, 19 Oct 2023 17:28:45 -0700 In-Reply-To: <20230911114347.85882-1-cloudliang@tencent.com> Mime-Version: 1.0 References: <20230911114347.85882-1-cloudliang@tencent.com> Message-ID: Subject: Re: [PATCH v4 0/9] KVM: selftests: Test the consistency of the PMU's CPUID and its features From: Sean Christopherson To: Jinrong Liang Cc: Paolo Bonzini , Like Xu , David Matlack , Aaron Lewis , Vitaly Kuznetsov , Wanpeng Li , Jinrong Liang , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 11, 2023, Jinrong Liang wrote: > Jinrong Liang (9): > KVM: selftests: Add vcpu_set_cpuid_property() to set properties > KVM: selftests: Extend this_pmu_has() and kvm_pmu_has() to check arch > events > KVM: selftests: Add pmu.h for PMU events and common masks > KVM: selftests: Test Intel PMU architectural events on gp counters > KVM: selftests: Test Intel PMU architectural events on fixed counters > KVM: selftests: Test consistency of CPUID with num of gp counters > KVM: selftests: Test consistency of CPUID with num of fixed counters > KVM: selftests: Test Intel supported fixed counters bit mask > KVM: selftests: Test consistency of PMU MSRs with Intel PMU version I've pushed a modified version to https://github.com/sean-jc/linux/branches x86/pmu_counter_tests which also has fixes for KVM's funky handling of fixed counters. I'll wait for you to respond, but will tentatively plan on posting the above branch as v5 some time next week.