Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1198586iog; Tue, 14 Jun 2022 00:54:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sbaDYhKBVeIME3ehUVtUTToURNBoHC8hHn65vB/ErFjuxh8oPljCwo+rkA30zw/r6oz6ML X-Received: by 2002:a17:902:ab05:b0:164:21:6802 with SMTP id ik5-20020a170902ab0500b0016400216802mr3047980plb.56.1655193244268; Tue, 14 Jun 2022 00:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655193244; cv=none; d=google.com; s=arc-20160816; b=eGZi6hdnpU8jMANBnL3a+83JCSsY2ftviIV2vyy4LWYxxNmm7oVT302dQeB6UQUCgj NnHLhGq+NKNzrS4eTVxFAFlXLfQl7fGmz+B5vEoZL9gdDeNbGQK90ZtEyHXkhLYi4NwD 7cEO6a6eHi+tJIsfBteA9x5zvvO7bcLxoOr316Vy9OjmUKuiAF853t4hrlXfFT2w0g1I p3Voq1iR2yE+Rc2c+N3pbaIzZNEpLOAWFLnl6HuPXdZI2PdDEm/ZYL7j4k5zA4BLP8F9 BrsYJ8tz7OpcD+DFw4/L69FZJc8bH2fa6EMRII4zJbgLqymWVrz8ucTaFpNZWf8R2KpR 67uA== 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=uPRneHusWliPXCUnYK+9EGAAe+6/D9lx6nqXCclDon0=; b=txlFQ8aGG4ljUPDWhiB/mtPBjIepqI2ebYtkTvv+Hsz/IPg/E2P1Uh8vecxL84d0nh 3aty9FLfWGRNYnnPNSRjvsgGzaV7Xa9csd7p0+GvI1cWfF0TF15G3+w16YiA0C1VVUfN S1CsehebNP1/YvciE7IBOEJ+04l9pLLmzluu3DyTpZPhfkA4YoOlAVIgef4MdgUiLr1/ puGoVhg2JIqzDw9UyDcQPwZ47M2tD6D0ofSTfBAxJu6ygckuxudkBpDzTed+Vb/D3jyg Cp+0f12+FpsMKoZZUNHqh4g+8p9cB8RhbmQJjr6j9jghWCyeqqXS01HmE31Pu7srOMn5 W+2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YtvBKDno; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y10-20020a17090322ca00b00164164c5a4csi14151233plg.91.2022.06.14.00.53.49; Tue, 14 Jun 2022 00:54:04 -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=@redhat.com header.s=mimecast20190719 header.b=YtvBKDno; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355431AbiFNHwh (ORCPT + 99 others); Tue, 14 Jun 2022 03:52:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231756AbiFNHv6 (ORCPT ); Tue, 14 Jun 2022 03:51:58 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B55440A29 for ; Tue, 14 Jun 2022 00:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655193072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uPRneHusWliPXCUnYK+9EGAAe+6/D9lx6nqXCclDon0=; b=YtvBKDnoym0MKUUfrrqjEdCMU/0vISMzR5YGM5orPBHltcq0U1wbUiG9ad+jGA3/mJRgWx f0LmmnQAM7IsGSQ7lhgkM4sj9XTDFHAJAZQ6DWT2M0FgfDtuP390wYpmk4YKmil74ucQxa gT8AGoD21wM3iWM+6ZK+EUFTCDos8RE= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-593-FL1vMY2WNwmniicMXLZRVA-1; Tue, 14 Jun 2022 03:51:10 -0400 X-MC-Unique: FL1vMY2WNwmniicMXLZRVA-1 Received: by mail-ej1-f71.google.com with SMTP id fp4-20020a1709069e0400b00711911cecf9so2519936ejc.3 for ; Tue, 14 Jun 2022 00:51:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uPRneHusWliPXCUnYK+9EGAAe+6/D9lx6nqXCclDon0=; b=ASrNLNZa4XUMiYhYYMwJfePtS5APlRxzT3G6E4xvj1e/vH52d5i3wcd39WtQIMG3ep Ra2igYJ4Qr2+I2xP6T8ol4QKQXLIuwnqDy9IlG6einoY98ipazCylDZBIRUZYlgtBIQQ LwB52MXso6hNXd1fFVVgi8ti2NjlTDdwdAccTRSlHjn/VHj/WrI9HTsrNsMZCl17haJa oODUR8H7rCUQkIfjYvUOGnbCYfq8gVFON9rnJKh2SwaAMB+G8IQBEBEIflU72OSZ8i0Z KMPildslg322wHVI28Q6azlc16Bci962kpKf6pkWHhrlKzHDX0eb4MVSTBk5UsbLHSpQ HDQA== X-Gm-Message-State: AOAM530CKqPjamFPGRz9Ii08eUmvCoNW0FF0nq6CAIxiDmoRloT5zeXX 6Lbs5J/GJ1lA4v+Nee651m7WF/BBUH74UeTf8RO87LXogiVy2bY054Y8wSStYA77+93l5KQ/quS Bj3lIn2gCDz20vnTPZhsiCyiD X-Received: by 2002:a17:906:dff9:b0:6ff:2f22:7d0 with SMTP id lc25-20020a170906dff900b006ff2f2207d0mr3047023ejc.198.1655193069523; Tue, 14 Jun 2022 00:51:09 -0700 (PDT) X-Received: by 2002:a17:906:dff9:b0:6ff:2f22:7d0 with SMTP id lc25-20020a170906dff900b006ff2f2207d0mr3047008ejc.198.1655193069312; Tue, 14 Jun 2022 00:51:09 -0700 (PDT) Received: from gator (cst2-173-67.cust.vodafone.cz. [31.30.173.67]) by smtp.gmail.com with ESMTPSA id m26-20020a056402051a00b0042dd2f2bec7sm6539259edv.56.2022.06.14.00.51.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 00:51:08 -0700 (PDT) Date: Tue, 14 Jun 2022 09:51:06 +0200 From: Andrew Jones To: Sean Christopherson Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] KVM: selftests: Fixups for overhaul Message-ID: <20220614075106.463oqkerlaximxfl@gator> References: <20220613161942.1586791-1-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220613161942.1586791-1-seanjc@google.com> X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, Jun 13, 2022 at 04:19:38PM +0000, Sean Christopherson wrote: > Fixups for the overhaul, all of which come from Drew's code review. The > first three should all squash cleanly, but the kvm_check_cap() patch will > not due to crossing the TEST_REQUIRE() boundary. > > Sean Christopherson (4): > KVM: selftests: Add a missing apostrophe in comment to show ownership > KVM: selftests: Call a dummy helper in VM/vCPU ioctls() to enforce > type > KVM: selftests: Drop a duplicate TEST_ASSERT() in > vm_nr_pages_required() > KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possible > > .../testing/selftests/kvm/aarch64/psci_test.c | 2 +- > .../selftests/kvm/include/kvm_util_base.h | 57 ++++++++++--------- > tools/testing/selftests/kvm/lib/kvm_util.c | 6 +- > .../selftests/kvm/lib/x86_64/processor.c | 4 +- > .../selftests/kvm/s390x/sync_regs_test.c | 2 +- > .../kvm/x86_64/pmu_event_filter_test.c | 2 +- > .../selftests/kvm/x86_64/sev_migrate_tests.c | 6 +- > tools/testing/selftests/kvm/x86_64/smm_test.c | 2 +- > .../testing/selftests/kvm/x86_64/state_test.c | 2 +- > 9 files changed, 42 insertions(+), 41 deletions(-) > > > base-commit: 8baacf67c76c560fed954ac972b63e6e59a6fba0 > -- > 2.36.1.476.g0c4daa206d-goog > All these patches look good to me. For the series Reviewed-by: Andrew Jones There's still one more comment I made on the overhaul though, which is that the expressions using i and j in kvm_binary_stats_test.c for the vcpus and vcpu_stat_test indices have i and j swapped. Thanks, drew