Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1055087rwe; Fri, 14 Apr 2023 13:36:18 -0700 (PDT) X-Google-Smtp-Source: AKy350aCj8GHOE6g0f8Dn1OZZXsyZbxkXdqp8UwWtm8ubKMP8R3uHuZfl8qKMA1PLboB09OO6Vhf X-Received: by 2002:a05:6a00:1483:b0:638:f0b1:4df1 with SMTP id v3-20020a056a00148300b00638f0b14df1mr10413748pfu.24.1681504578289; Fri, 14 Apr 2023 13:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681504578; cv=none; d=google.com; s=arc-20160816; b=ss5DPJRQ7hV/HOTKnvNWZQVR5Swudp9CNDO4Qr8DvNUpDdnEBpEtJ8cjLAeJadV4Ri fxAN/XTILXB7EYPnmjmTiZCnwkWo8VmIeuPcB3lXdK1pvIQfrkLQccG7k6I1IuXnLyER q6lyeWSxq1tJ9RhIBMMIPnC3TTqNi5RRhhp0hjMWUvtzsLeb+L5GBgm4LdlG0bhGl6Y0 4pRtN85aTuUbE7wvtz+0YBLGP0hpFC/3AZQRPJmt3RpATEsHgGvWLRpGauJgkXTbS3Zd R5/uX08ZtnU+lw32oMqaTCv5Dz2AFOVwd4hzI7zSVyXyClawl9sVugr4WamTrmkETEnc zWew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=DLToSh8SFFWLZRyFSn4i7JQlNzNszta4xTWyY36zPEY=; b=vqi0n/Gkvwpzb1mtoMgQ8uHSH24paHCkeLzA3zSvUKAmL3kU9AvYBx+AA6EzdEbLOx XYIlQixA9Vd/IjNKHrUibNQJjk4VQxJresUH1IMT45iaYW4w1PKgBEguXIkf26xJXgob YS3eixJeMmquG7A36zJILTyahsPB1J0R7KrRirbdziERjygkmi+hyvyHC+xPMoZ2/y73 mzFxas+eVz9fbg5a3BSooTDR54z/g86UzY1qhDqzP24XnAmRb1enR/0Cf514kKbCd/JO nb1mBb5M7Hru9oH62+AYAoyd6mT+qhJkAfyB17JeCaIQepZMBmQCL0RICbhuoQwJBXdL s+ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=dpmv8GYP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a6540cb000000b0051398fca164si5167430pgp.833.2023.04.14.13.36.04; Fri, 14 Apr 2023 13:36:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=dpmv8GYP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229847AbjDNU3b (ORCPT + 99 others); Fri, 14 Apr 2023 16:29:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229703AbjDNU3a (ORCPT ); Fri, 14 Apr 2023 16:29:30 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBEBC6E9B for ; Fri, 14 Apr 2023 13:29:29 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-54f8d4f1ca1so102825517b3.20 for ; Fri, 14 Apr 2023 13:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1681504169; x=1684096169; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=DLToSh8SFFWLZRyFSn4i7JQlNzNszta4xTWyY36zPEY=; b=dpmv8GYPJG9Y6ih8+TvcQ+edTHglKG2Js/rYBcWjl6NW+0M+pqgW39ylCfa60dexZi DcikGg0YcUK//c4DDFSsXjVyBtKVstj55BDa4latJZZfT6BZXQdFKZur+CF1NiYnfv1r Ar3WhQ0JRYTCKTGlxXqJipp203cmSB1iWZAMC+pOHuds04YM74nbogb2hDxmdW8Ls8d2 m25JHxXb9tbOm6r+h9sfHSfr79rvJoEqQ1bxRGN3yrhvn6941TNduBebF8CUwf92Eot2 vkhRoqGuQW+iAMTUW+reMvp6CjV3n2Bx/CxA3aVlKcQjdI2FlYFi2kqbdG1tyYwGxr5v LIIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681504169; x=1684096169; 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=DLToSh8SFFWLZRyFSn4i7JQlNzNszta4xTWyY36zPEY=; b=DVmyeMEY//WwBzRLWICOC/bZH5Lovp+ePdsXgaUw219ilHmb2Fvm4tNnS0C5jmZPcW 1pUlYeIeBZhEfA6RY840eLyIVhU5iPIMARPjvv6Rjk0AM9FIOYswYa+S9L3GY0A4XVDi mxvHpjQkn8+Fjl9tweZJKgyXAmqyUdDYWlMBlfV6nTnzdZk/sAnbaLnHv2btnMf0dSFm JnNlUjCE//FjdRpxpOzYGGh4r9qUojYXwvGJaoocRFp6TItXDrpaaSMT5I4I/ZgLAqXT Uvrh34Nay8NBYP7xK1bW3ackwsQkWYkNZnA02hGVazbzMn8ki+Jdf6HTuLgz2ixrwFMJ ReUQ== X-Gm-Message-State: AAQBX9f57gQH23aEH+VqLH36vI2y6MxYjzLcqiR544pZ/obwCfFNBPSB 3AwAZSTIWBCemayO2Yf2SxM/54tYiwc= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:da0b:0:b0:b8f:6f3f:ed20 with SMTP id n11-20020a25da0b000000b00b8f6f3fed20mr2167663ybf.5.1681504169043; Fri, 14 Apr 2023 13:29:29 -0700 (PDT) Date: Fri, 14 Apr 2023 13:29:21 -0700 In-Reply-To: <20230407233254.957013-1-seanjc@google.com> Mime-Version: 1.0 References: <20230407233254.957013-1-seanjc@google.com> X-Mailer: git-send-email 2.40.0.634.g4ca3ef3211-goog Message-ID: <168150370438.1550830.5816847574112858499.b4-ty@google.com> Subject: Re: [PATCH v4 0/6] KVM: selftests: Add "instructions required" testcase From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Aaron Lewis Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 07 Apr 2023 16:32:48 -0700, Sean Christopherson wrote: > This is the selftests portion of Aaron's series[*] to fix incorrect > "instructions required" counting. The big change from v3 is to use a > common struct to copy counter values to/from the guest instead of smushing > the values into a single 64-bit value. > > [*] https://lkml.kernel.org/r/20230307141400.1486314-1-aaronlewis%40google.com > > [...] Applied to kvm-x86 pmu, thanks! [1/6] KVM: selftests: Add a common helper for the PMU event filter guest code https://github.com/kvm-x86/linux/commit/33ef1411a36b [2/6] KVM: selftests: Add helpers for PMC asserts in PMU event filter test https://github.com/kvm-x86/linux/commit/fa32233d51b9 [3/6] KVM: selftests: Print detailed info in PMU event filter asserts https://github.com/kvm-x86/linux/commit/c140e93a0c11 [4/6] KVM: selftests: Use error codes to signal errors in PMU event filter test https://github.com/kvm-x86/linux/commit/c02c74428288 [5/6] KVM: selftests: Copy full counter values from guest in PMU event filter test https://github.com/kvm-x86/linux/commit/e9f322bd2396 [6/6] KVM: selftests: Test the PMU event "Instructions retired" https://github.com/kvm-x86/linux/commit/457bd7af1a17 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes