Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1924411rda; Tue, 24 Oct 2023 07:24:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmYyzCGk83RRgnIcDbZbKdjSFqtj7HfXdfj00YZ9YZJp0D2y38KW4DOVAUqBK/HwBM+1a2 X-Received: by 2002:a17:902:e5cf:b0:1c9:dff1:6de7 with SMTP id u15-20020a170902e5cf00b001c9dff16de7mr17993485plf.7.1698157450562; Tue, 24 Oct 2023 07:24:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698157450; cv=none; d=google.com; s=arc-20160816; b=aEkyQIW3akJJUBPV7bOTqU3kC6svPOFKhbORnoJnOfV+MUWKC5PsH7wyNRZPftsOt6 FYonD31zgtqhJNllcqLqbjwz3OvNIKY6A13wotTw7ahHW17Z+maQXfwkNYxzOC3rqG2L 7Acbdr/5gudiwywFc3e2x4pz2C6vlpELF2kks4lzEfPrwBf5jrTYlVIMiwGnSVN09CPQ YC44j/Pa02IwynRdYt9YArcmC8MF799dtLX5dRNK+kyDZJx9xsWBCWm+kVomoxk7FZWI chkFPCedYP7O5WhSSisqDMGD8ePK97VcUQeu+QpVFm0iLUTaUcdFDPfMxFNZt8EqO9u1 Aqkw== 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=twMmNMLT/rPYEX5Nwf1fQb/yxDk1I4wk+S2dB4JawmA=; fh=34pnteApgENfeISqD9l2qIVA4N0CMyJu/Cdu2IzN7oM=; b=vqfy98/04jkLYG/Sd+qodl6WD4JhSbPjJikI5u/VlTJC4JO0Hk4qddVmVq4MDWFnxJ KgEHm16hwnutYQOiMvxueMAscBWf7L5kr6AEVMv8AyA7NnUjn5sXtqoZi7hHlr0322Ac fLIAsTu24/rNn0kD/uL2BbDpkfp5zXZIu97W4PFHxETzOew9VT/y8os8NcEy7USqL9HX 4DZg2Vulo0s4oiYo+9Tl6kRbo4vZ8U1HoMCLHPDWjFNEMF0mxFhrm1mq+MXqQ82rn9KT i+yKGuWJX+YX/XAmM0YBmfSFIcLbpk4PDlLiyEloJrstkSIfbq4JNWoSsrE9QKWT/fm6 z7Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=WDBFNIl+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u11-20020a17090282cb00b001ca4dd7b834si5433255plz.309.2023.10.24.07.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 07:24:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=WDBFNIl+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 5766D803DADC; Tue, 24 Oct 2023 07:24:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343716AbjJXOXw (ORCPT + 99 others); Tue, 24 Oct 2023 10:23:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234549AbjJXOXt (ORCPT ); Tue, 24 Oct 2023 10:23:49 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A71EEC4 for ; Tue, 24 Oct 2023 07:23:47 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-5a81a80097fso60246857b3.3 for ; Tue, 24 Oct 2023 07:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698157427; x=1698762227; 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=twMmNMLT/rPYEX5Nwf1fQb/yxDk1I4wk+S2dB4JawmA=; b=WDBFNIl+DJbJYnWkAgC/ZzjYcU5V74rmw4RgdvbpD0OdN3zc2kWi32uPj2SB/cd6Nc CJROJ7PVA8ovUdvx5umwjOAHYV9hafZYb94XnErGKBEXBi7DunOZ2M1C33fOxT8jOKQh Z8Ag0TjOMjYRKN9H3/IOo2Ap3YmObqovlNThk8cPVSclxRaSs0AZtf4pwrnSlD6ehRxQ +0CoBHFKJlfqKGRmUV83Q9jjWwy+3LyzFQThnxpTdtfsQKIx4zzBqNccgDADhF/o5Eh9 H08q2aMQN+h0i97eODJbn6oh1eewGMAElS+iJTHuRHGSpt0oSFbrw+bwmtnPU7OQM0BT gzaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698157427; x=1698762227; 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=twMmNMLT/rPYEX5Nwf1fQb/yxDk1I4wk+S2dB4JawmA=; b=BOJCgyQxDgdbRnwYKVPjHqz8NUWGJVbHp4KrvzoRNUgbyemnT3W+v0gI3C406QrUTH OSWo+BLiGincX136ymf8S1kkFFreqZAGQluYClbiUmAiPY0HXjAmOdFRHWDAZHNpiltA Vod3w0jBLcZdZh+ts9sHBjTFMP+wJ8qsNU7vzBQ4C6pIS4palUH9WKynpsjAmbAQsegz ElbRHO+VBQk34QdWuiZTqjdobSAJ9Ro4k/q1/3W3g8hZnKsr50WIqZSMZ5SX8rRNfOiK Hvl7KzXe69AtNsT5l896V/lP54NRHjUwI6EeFFHxbCWZ3WtowNHxFxstHpi+8WsFc0uP nZlA== X-Gm-Message-State: AOJu0YyQvUGFAKe/OJJbIBycfUbddFJHFQSHCX2SGSJtQY8YWYd/z5Vs crJH0UsYCyup/t8Jvux02nrvtblxrKA= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a0d:ebc7:0:b0:5a8:7b96:23d8 with SMTP id u190-20020a0debc7000000b005a87b9623d8mr253989ywe.3.1698157426910; Tue, 24 Oct 2023 07:23:46 -0700 (PDT) Date: Tue, 24 Oct 2023 07:23:45 -0700 In-Reply-To: <58bcee35-7573-7ea8-18f3-de741e3e7b9b@gmail.com> Mime-Version: 1.0 References: <20231024002633.2540714-1-seanjc@google.com> <20231024002633.2540714-14-seanjc@google.com> <58bcee35-7573-7ea8-18f3-de741e3e7b9b@gmail.com> Message-ID: Subject: Re: [PATCH v5 13/13] KVM: selftests: Extend PMU counters test to permute on vPMU version From: Sean Christopherson To: JinrongLiang Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Like Xu , Jinrong Liang Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 24 Oct 2023 07:24:07 -0700 (PDT) On Tue, Oct 24, 2023, JinrongLiang wrote: > > -static void test_gp_counters(uint8_t nr_gp_counters, uint64_t perf_cap) > > +static void test_gp_counters(uint8_t pmu_version, uint8_t nr_gp_counters, > > The parameter pmu_version is not used in this function. Argh, I forgot to actually set the PMU version for the guest. Good catch!