From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.3 required=3.0 tests=BAYES_00,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=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D085C49EA6 for ; Wed, 23 Jun 2021 22:08:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6CBE7613C2 for ; Wed, 23 Jun 2021 22:08:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229929AbhFWWKk (ORCPT ); Wed, 23 Jun 2021 18:10:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbhFWWKi (ORCPT ); Wed, 23 Jun 2021 18:10:38 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C846FC061574 for ; Wed, 23 Jun 2021 15:08:19 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id h23so2294529pjv.2 for ; Wed, 23 Jun 2021 15:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=44Yf6cLjs99O4uIqpzkWbsq5gnf+DtkSEt/XegXpG6E=; b=tk8J7oMyp9qjr6rPOSZQv6b8CsU+QLFvOCYQP2w2ox008byz7djyW8OtDLw4NkY7Aj 0iGS0FBtuO4NZkAVq/7AI6EPLnwYQdiiXsU4PlQ364srB9dVikV1BSzwD+RxgKkSzC3t nFWwB5kS8HEe5pmq90yED4WO7Q/rJ8fLsA1y1FZnanUX/o9ptOhjEjtOjshrGno1jAh8 xSakJk4hjtsCOxppj/DEFeO02d2YnTn8TuGI08rz7qq4koQfFvym4rZ7XDleDkdM4tYq ZSWZdv9Qf67uVmC/N2NugKz6e8lecWaG9b0ZSvpOYvetszdUAMkU1Ty/RcT8Bug06KY1 Zakg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=44Yf6cLjs99O4uIqpzkWbsq5gnf+DtkSEt/XegXpG6E=; b=DvbsZEtPGATd2gRbzEoFMi0CuCh3buKodeYoa89YwT5PI9OThrz0uZnpNFKsEPPr2p +SQcfNEq/gc8YnpS2LWzITcLXAuinbFC9qspN7s2gNmR8Yq4tjaCeiJeulDKtX8bfUmd ZDkH/wnFMhYlfGwethKPP2uYIVptOOXRdcxN+AdQbW3JRMR7wiTR2ipIAiScC+G2bLSA P+Mbd1UtOuF1qeq1EVd1qeirMIBwSwCL80w8NZvJ/QlhcYuOuYjCctoc3uzNndr9DjIn cqaJ/MtTs8fWCVvo5kfHr0Sll4O/CQPjAoYNii6Cz06y13RE+JkqJX+v/ko1pVcZ0yZS BCFQ== X-Gm-Message-State: AOAM530jE6SZt1Oim39KLUYyrz4LWrBOaYZVtY/M07Zy5RMfw5ftsaXd xfTUiW9pvJsKQIhP03ItvK6dtA== X-Google-Smtp-Source: ABdhPJw05HM2g2N8R13WyHgaeSGfcbunTji93ixugUtg+1FHkSDWB2SoqxWijlOGOapY0PK/2zrCAg== X-Received: by 2002:a17:90a:7c4a:: with SMTP id e10mr1847755pjl.56.1624486099017; Wed, 23 Jun 2021 15:08:19 -0700 (PDT) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id gg5sm6017037pjb.0.2021.06.23.15.08.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 15:08:18 -0700 (PDT) Date: Wed, 23 Jun 2021 22:08:15 +0000 From: Sean Christopherson To: Paolo Bonzini Cc: Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Yu Zhang , Maxim Levitsky Subject: Re: [PATCH 00/54] KVM: x86/mmu: Bug fixes and summer cleaning Message-ID: References: <20210622175739.3610207-1-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 23, 2021, Paolo Bonzini wrote: > On 23/06/21 23:06, Sean Christopherson wrote: > > > > > > This is good stuff, I made a few comments but almost all of them (all except > > > the last comment on patch 9, "Unconditionally zap unsync SPs") are cosmetic > > > and I can resolve them myself. > > The 0-day bot also reported some warnings. vcpu_to_role_regs() needs to be > > static, the helpers are added without a user. I liked the idea of adding the > > helpers in one patch, but I can't really defend adding them without a user. :-/ > > Yep, I noticed them too. > > We can just mark them static inline, which is a good idea anyway and enough But they already are static inline :-( > to shut up the compiler (clang might behave different in this respect for .h > and .c files, but again it's just a warning and not a bisection breakage). I was worried about the CONFIG_KVM_WERROR=y case.