Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2779620iof; Wed, 8 Jun 2022 11:52:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo7iLP9F6i2osaK+3k1c1ASdVCC2aE+Uxb3o3uq0JI2muTZq1s3pOxVIcLsBXFrFVJMICt X-Received: by 2002:a17:90a:6747:b0:1e6:6a5b:f040 with SMTP id c7-20020a17090a674700b001e66a5bf040mr628325pjm.134.1654714319991; Wed, 08 Jun 2022 11:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654714319; cv=none; d=google.com; s=arc-20160816; b=uJF23KgcL6+zB+Mvx5ZU56L+Cvs8L9nusjhLHDXZWCwMkZVvNoQj4bnK4GK2sgcQLO RRSyzFIxqmY4/KToZdnqYYeUzHNaSIYKb8QFg+PckJzK9SS2jP0CloHnBe6d3dr1sSGO O7V2kXXq+CMs3aoaTrcqYwbRgdD+yximiZXy1AeQ6Od3ncyicgEwn7UywnvqQNYUFdqF cShCCUpF/yUwfBSFUO6zP0AdmjsPn9QL3onZBE5DzD6HTqDAqECM6DcHRN14fWUftkhk 6jKoaRaXMoJAI8iLy0gqkd8rfHFX+yht96AQyX603dNnYrP6V2n2Luz4z8NbUEymYxNh 8iBQ== 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=LbXNGVnOGcI6pNV/PZPgBa9EbqYKOR4Vcohf+fzYq6o=; b=AMuPxI+LLBgLMr5Fmls9EM39MkMFXKNohh7frTnxqCUqAW6kIOC8M0bG/f6JucXCOF FUw4rExwj4rKSme0OHaPqdfQG/uMX4YiqfS+1EBuUxQlZtux3C6OuI1cnU/ndsn3D+IB EHnA0y8TTAh0FriZlQwTpSVJDlC38zxDdoVakFkOp8ZO5Na4U/A9ZQUvJw0I/1ZQj5B4 8VeyAJFqDj8xLyRMLyWr/ij4lcDJ1TxOtBl4eGdaWtOdShy7eSn6AWjYKj60+YGsr4BL NB17CPfK5xllcffCBEZNBkoOuzK5St+k+EB8Pf82Wduda+tUEjSYpJw93P63owjGiSTC uzhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PM5jtZTI; 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 d33-20020a631d21000000b003fc1ba17213si29320533pgd.160.2022.06.08.11.51.47; Wed, 08 Jun 2022 11:51:59 -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=20210112 header.b=PM5jtZTI; 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 S231510AbiFHROZ (ORCPT + 99 others); Wed, 8 Jun 2022 13:14:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbiFHROA (ORCPT ); Wed, 8 Jun 2022 13:14:00 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0740409691 for ; Wed, 8 Jun 2022 09:59:12 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id u18so18170802plb.3 for ; Wed, 08 Jun 2022 09:59:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=LbXNGVnOGcI6pNV/PZPgBa9EbqYKOR4Vcohf+fzYq6o=; b=PM5jtZTIX2D1KVZwWkB1YlxM1zgKIAqdPSIGrJuaaY4iIh+4njJIFhdKAfWXekY1oK 6vlpLiTUGgDpQtG0gVpWWsoPke2BdvhdXdM1j5PlMufucTKdSt4grH/6OLEjU5O+b9ZR gtAUNbj9S2ffHy19XGi5rP+qE0K/1Tlpvy1rjgCSSutDozg16xNda6il4e8qXNj7EEs5 b4MWPiDy3bRZzvxN4CC1sQQtTsJ3sq2YgRn6mI/aoCNtSUu9NpCNqecgsT7f7m60hm1d l+0UihAYH3GVwSZVT2Hngp6K9VuYDqNWTLm3pDpzs75BJvHFXIBohxHaprxc0Y++WB7B xs/A== 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=LbXNGVnOGcI6pNV/PZPgBa9EbqYKOR4Vcohf+fzYq6o=; b=jhPeLq+jKMBY7CzGFqxvaP/GCIZzbQnDGWOv0Z+hVgVbLxdQZuCYdEDa08X0OSqpvl N+CmO6+X/fpIQG/J+1j4Gst4d3diSq02jgw7gm68jZhTVIgZRro9QgmBaLu1i1b5ru2b 21xIM6frhqWSc3xwUkiSuDupYncdgZt9BYTDOgBmYYnhR5D6/AD31ZMEwTgP+TohNN1c dtEVoluecDPQP0pGJ42C5Q2JFRpAzSkql7a0F8D4H4Xzg4CduAYc/Yz+2wxnI8C+VolP KV+EBPu02haxA2OASShwC8zNwHKk6AIQxSzxHpSUaTwcsjvugy2CWjpyZ9KewMjAVyfA TABw== X-Gm-Message-State: AOAM5318NAYADgicuB68CYVeuPi0hInpAFnTLjyMp97x05jCWYWVYFQH hBOruGDlpflMrvvFWEX+Qr1OVw== X-Received: by 2002:a17:90a:e58a:b0:1e2:fe75:dd5f with SMTP id g10-20020a17090ae58a00b001e2fe75dd5fmr161306pjz.138.1654707552006; Wed, 08 Jun 2022 09:59:12 -0700 (PDT) Received: from google.com (254.80.82.34.bc.googleusercontent.com. [34.82.80.254]) by smtp.gmail.com with ESMTPSA id h21-20020a170902f7d500b001637997d0d4sm14913744plw.206.2022.06.08.09.59.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 09:59:11 -0700 (PDT) Date: Wed, 8 Jun 2022 16:59:07 +0000 From: David Matlack To: Lai Jiangshan Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Maxim Levitsky , Lai Jiangshan Subject: Re: [PATCH 0/6] KVM: Trivial cleanups Message-ID: References: <20220605063417.308311-1-jiangshanlai@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220605063417.308311-1-jiangshanlai@gmail.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, T_SCC_BODY_TEXT_LINE,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 Sun, Jun 05, 2022 at 02:34:11PM +0800, Lai Jiangshan wrote: > From: Lai Jiangshan > > A small collection of trivial cleanups. Nice cleanups. My only feedback is on the commit messages, which are a bit terse. Here's what I would recommend: - Explain what the commit does in the first sentence/paragraph of the commit message and then explain why/background info. - Include "No functional change intended." for commits that are expected to be no-ops. It's pretty obvious for most of these changes but it's still nice that have to convey your intent. Commit messages aside: Reviewed-by: David Matlack > > Lai Jiangshan (6): > KVM: X86/MMU: Remove unused macros from paging_tmpl.h > KVM: X86/MMU: Remove unused PT32_DIR_BASE_ADDR_MASK from mmu.c > KVM: X86/MMU: Update comments in paging_tmpl.h for the kinds of guest > PTEs > KVM: Rename ack_flush() to ack_kick() > KVM: X86/MMU: Remove useless mmu_topup_memory_caches() in > kvm_mmu_pte_write() > KVM: X86/SVM: Use root_level in svm_load_mmu_pgd() > > arch/x86/kvm/mmu/mmu.c | 9 --------- > arch/x86/kvm/mmu/paging_tmpl.h | 16 ++-------------- > arch/x86/kvm/svm/svm.c | 2 +- > virt/kvm/kvm_main.c | 4 ++-- > 4 files changed, 5 insertions(+), 26 deletions(-) > > -- > 2.19.1.6.gb485710b >