Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1518105rwb; Thu, 15 Dec 2022 11:02:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf7BqaaG4fbRglPCPNHPxaGK6UjrnO+Gk7d5si8qWqLvdAdBUyhrUPatllZSI94vrIYBux2f X-Received: by 2002:a17:906:e215:b0:7c1:844d:7447 with SMTP id gf21-20020a170906e21500b007c1844d7447mr12979364ejb.35.1671130950890; Thu, 15 Dec 2022 11:02:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671130950; cv=none; d=google.com; s=arc-20160816; b=eM0C9XxTsBIP+HTdlIwJOfXuvaVvaOaa245DeE0NE4N49CcrN7CLCbGNXTeS5krrah TcTLpAt4fbetrhH+9f2ozcBfywLhR1J4WKfKlwi2sSEBejJh5MMvmU9z4EUxqY6hi94X fdiU5h844uRMnXPVTfHaT7LFdy8l2eaM3jSTFhH2HR+FjnC1hPBt8pbVQUfEghu6Dxn9 sygwGUpxUdaqINHpa8lhZIACtqQdPnLF7VUpT4rOArab5WPI59KQsEBR0UjIjDUWrYQl Yrp9nHD4i2lG90HuUFpoRvI9+LuSPmZKXsDhbwQm9M99TwCq3y09eCS3kKt9zBKamdV6 z6kQ== 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=0SF8E+b5YBv75SsZr0KjAQMV34mCm2oO4VY9lqM9jNc=; b=IJlpGv1ovp2mv62dXqHXTHzgO+tWJHA5TX1j36ZfLSm6yKj10e+CkMgsIyMSEHOS5Y K44fu/ee+h+o9UTBFAlkDJcJESfQyq4PSEd8YNd7l2n+tJmRTt6TBIxFwuQTE0qI7SzY 6BeCwdnSJ4hEVpW3+sLyyr0rmbf6gpZbciO8LnCru50RJFiTTR4PYPJXb6iD3MnTet32 FaR/RIGweYuxiD80Fz35Gi+A8i7MjYqzg09Mk7psQ/pfcc6qRW1mU72XC42FCjxdt1Tn Jz1P1llsnm2Ikdkh1b1ncKyc+ykPQTDMwMYwRDI64nf8veluLXgurtkR68mg+euxElFx +wMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=eRz9dTSK; 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 lc24-20020a170906f91800b007806a130086si11887655ejb.302.2022.12.15.11.02.07; Thu, 15 Dec 2022 11:02:30 -0800 (PST) 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=20210112 header.b=eRz9dTSK; 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 S229667AbiLOSfh (ORCPT + 69 others); Thu, 15 Dec 2022 13:35:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230333AbiLOSfE (ORCPT ); Thu, 15 Dec 2022 13:35:04 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03F6854371 for ; Thu, 15 Dec 2022 10:33:16 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id hd14-20020a17090b458e00b0021909875bccso6684207pjb.1 for ; Thu, 15 Dec 2022 10:33:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0SF8E+b5YBv75SsZr0KjAQMV34mCm2oO4VY9lqM9jNc=; b=eRz9dTSKrO3pQivTTn2m+LM38XtBEXuPDnMvdwbOIrnAC6Ms5UB6hN0Xi0eV9ZCRpd W70ghrAQ9e4P/1onDV2teorffP9+AP0mdH+h5zxUO1ltfKjVfl+uWxE5hJBJySNeI7f7 3LbCX5PT8Qgz9VtVNKu3Dljm1O5s5V/onzR96owxKIWLGgTZYpdGN1lrKSBydhOWYDM6 7Ht7fa4eLVbuqV80VZ6am/oUxgAOxGNRPlXHEIQQTM+r4Ttc4HXAsTuHzp3OQuUGVUXd holDa8Y42WOZSb5OqHkChPrttss/NgtJG2ZDuXOtebiJklyRaYPUFZxK4IAaMGlkKcB8 dT2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0SF8E+b5YBv75SsZr0KjAQMV34mCm2oO4VY9lqM9jNc=; b=PJDSOLLMT8/8BHyAmA90FTFFboYyppKx3uQIFRGBVkXOwcYZCeEUn0Vsr9/R2LYc0Y OM2WmCxKI0vDmMQX5qeSXtAjYK1rkBa3x12jk+HghQs3m4XxTGORK59L/f1Hsotl9WcN erk51xKTq3I6HbUW5x9LUf5TThASsCYUsWYrFH1bgFe6W7+oQSYLnrGRFfXr2l+6IKTB MQjCiOpgel1PLC7ONOlJR5DsidBAcG9PEeYII01fFfbSBwNHOhZDUmlh7pMmr5P+Y+Qy 9EkgHv43KfJtdJsfjDAEVNOr9kQkyXGBraAuZMqYn77uf8zQ1BEh5IpHVH0npdiitDDI UCaA== X-Gm-Message-State: AFqh2ko43wd0qUAInB1TUpSkm0qV5fdH8OQTGjCicFXNiwn+8DET2Ah4 q3CDTprRI9ipWcxp//V5kAm78Mpyu6BQyhuh X-Received: by 2002:a05:6a20:4407:b0:9d:c38f:9bdd with SMTP id ce7-20020a056a20440700b0009dc38f9bddmr368527pzb.2.1671129195411; Thu, 15 Dec 2022 10:33:15 -0800 (PST) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id e8-20020aa798c8000000b005769b244c2fsm2052338pfm.40.2022.12.15.10.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Dec 2022 10:33:14 -0800 (PST) Date: Thu, 15 Dec 2022 18:33:10 +0000 From: Sean Christopherson To: Yu Zhang Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Aaron Lewis Subject: Re: [PATCH v2 0/4] KVM: nVMX: Fix 2nd exec controls override goofs Message-ID: References: <20221213062306.667649-1-seanjc@google.com> <20221214030037.4qz6v6fvfx6of32n@linux.intel.com> <20221215112436.2iqizpso5loeficn@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221215112436.2iqizpso5loeficn@linux.intel.com> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Thu, Dec 15, 2022, Yu Zhang wrote: > On Thu, Dec 15, 2022 at 12:18:33AM +0000, Sean Christopherson wrote: > > > > > > BTW, we may need another patch to remove the obsolete comments in > > > nested_vmx_setup_ctls_msrs(): > > > > Ouch, indeed. Want to send a proper patch? Or provide your SoB and I'll write > > a changelog? > > > > The comment was added by commit 80154d77c922 ("KVM: VMX: cache secondary exec controls"), > > but arguably the below is the appropriate Fixes, as it's the commit that fixed the > > existing cases where KVM didn't enumerate supported-but-conditional controls. > > > > Fixes: 6defc591846d ("KVM: nVMX: include conditional controls in /dev/kvm KVM_GET_MSRS") > > > > Thanks a lot, Sean, especially for sharing the commit history. > > And I just sent out a patch to fix it. > > One question is about the process of small cleanup patches like > this: would it be better off to include the cleanup patches as > part of a larger submission, or is it OK to be sent seperately? In this case, it's ok to be sent separately. There are no code dependencies, and the changelog can be written to say "this comment is no longer accurate", even if there is still broken code in KVM. > Previously I submitted some small patches(e.g. [1] & [2]) but > have not received any reply. So I am just wondering, maybe those > patches are too trivial and sometimes time-wasting for the reviewers? They're definitely not too trivial. This is just an especially rough time of year for reviews, e.g. end of year corporate stuff, merge window, holidays, etc. Part of why I haven't provided reviews is that the patches _aren't_ super trivial, e.g. I'm on the fence on whether mmu_is_direct() should take @vcpu or @mmu, and if I vote to have it take @mmu, then that'll conflict with mmu_is_nested(). So I end up staying silent until I can come back to it with fresh eyes to see if there's a better alternative, or if I'm just being nitpicky.