Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1717635pxj; Wed, 19 May 2021 12:13:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvHYz0Y7SKTeY4NfT/ONEsYtMC+YwxH0gHACINzbANz8OyBrrn7/6yQv4U3nTCDKo6DFO+ X-Received: by 2002:a05:6638:44b:: with SMTP id r11mr609349jap.85.1621451630994; Wed, 19 May 2021 12:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621451630; cv=none; d=google.com; s=arc-20160816; b=Ek+x8DIy/faas0GOgJENrrEccC6T5vso95pSS+8MZE6LTojs/HIhZy9EhUTQZq8fzJ HfRfqzQ8LKJ6lRbvmrJ+gbMXEcJNtuJ06URoHWDzNOX7jAitnLYFoeNMCoTc0k3tVEzF VNoPo/qPfIIVGji+W2sX6ITXKOmepL+S+BNAAhThhhJa8JjKb3FZpzxrnQ+MHUuC5O8w wAwSDBBpVg5yVFMu1nX8a1rG2g3j+9OVHxBH/FV8Ze2rO5Jp5vQikHrqNWBzofk2oiHx ou67uTP1tR0d1THea9TsyRYskbyzGh/O+hCWxOLORzJaNvapHBXf1kF1dJVCblAsObNM PaRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ORREq0n4aqhd/nTxoItkg8DEINjbZiFVhT8qbSw5Qbo=; b=PNmpBMmwHEMz6osjeXYRe8Y+FSpj6o6+4MRuBcAD96MDqsxSGYLIk04fSdQVbvPgdk rIgl6+6t/4iZkc5hIP2A9DdYmRhD26KKidBTTHM0NMafhjadG8e6GCQFvZSkGuMBRD2R RnZKzhmhA2zLK6Plz3PXZddaSKGUduo6cy6/my8LeOlysoMTICetISAhw6bUnli4pjgc zkng+so0EHma9pxr/PI6QeUiPm1osBFv4TAt8pFkOSDdYOBxU86tut8yBDldqPdwnqzc zJM1AL8DsdlCk2rkHZyOv9iAugRxpzxqVVZN4hHcgNFUWjXVwEPm4w8xKsSZEf0Z6KbC zdXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=N4Mk9AgS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c11si179083jaq.7.2021.05.19.12.13.37; Wed, 19 May 2021 12:13:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=N4Mk9AgS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S239321AbhESFfH (ORCPT + 99 others); Wed, 19 May 2021 01:35:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241717AbhESFea (ORCPT ); Wed, 19 May 2021 01:34:30 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45ED7C061345 for ; Tue, 18 May 2021 22:31:59 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id v14so5912632pgi.6 for ; Tue, 18 May 2021 22:31:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ORREq0n4aqhd/nTxoItkg8DEINjbZiFVhT8qbSw5Qbo=; b=N4Mk9AgS2BTdoIAnjl5KlK2wtHmjEWnksv9WPpXsDYWA/+Uzoi5AqclODPLV2+c/Mj myF7Lw6DHax5aoXqz+RhMnBhkRYP8ZhPWvQSr9Gtn+Nulx9SPebhCH1dKD7XnLxZSfBb R9JIz8hiVFRTj9MYvFcNMyW4UVY4fvaOUbaWqs1TGjIjiXprKT8WfMBxDn6QZz+qjBEY 0QQxTWpvCbkglNLXl/eB23MG1fHtGvuE2k4zMk2d6wGRNxIXS6YGJ2NgzAfbRA2uMasX PATBOa6YCLQRr5YM2AREMJTbFqOtPAhYibTEXe4j95bceWE2yPe+yKX1GBH8us8CCY5p flzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ORREq0n4aqhd/nTxoItkg8DEINjbZiFVhT8qbSw5Qbo=; b=LP9JmZn/0rkpqKZbBat0HjLLjorIRbRqt8Qaks365Gi30LwRSpB0i5rSMZSP+ZK2Ku YCqpcvtjiRVML7a6nCJeOeT9wHmwEhCnKWFvqHFQuHjXp6NdfZ95Y+EgHkCJdxsfNF3I h5/aLHyC+nUszR5L4AHKYp+aLL0ky4WREPWEqv1tNOhnWxe526jgJs8heEdv+0khLkKx Da507sewDXqLdIcJ/XiIp9LgqZI0xZtKlaQFSTf2gIEJSavgMpKSKWzlcImjHGfqk5w6 EosMYwDC2CCMVpreuWU/zMRjsvC1lbZbFEZtmMYpV4GQ/UreqsjYP5fCQFZrzlXZVaub U6/Q== X-Gm-Message-State: AOAM532Hxuzn5oXdA+dpiD1zEqBXOm08Dg+3yHIhxQLHtYpmEbAud/D9 ohfUKRMoTILMyTIOTNdkPXUGFfxQkAHY9z1Ho72IUA== X-Received: by 2002:a65:61a8:: with SMTP id i8mr9086975pgv.271.1621402318747; Tue, 18 May 2021 22:31:58 -0700 (PDT) MIME-Version: 1.0 References: <20210424004645.3950558-1-seanjc@google.com> <20210424004645.3950558-6-seanjc@google.com> In-Reply-To: <20210424004645.3950558-6-seanjc@google.com> From: Reiji Watanabe Date: Tue, 18 May 2021 22:31:43 -0700 Message-ID: Subject: Re: [PATCH 05/43] KVM: x86: Split out CR0/CR4 MMU role change detectors to separate helpers To: Sean Christopherson Cc: Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 23, 2021 at 5:47 PM Sean Christopherson wrote: > > Split out the post-CR0/CR4 MMU role change detectors to separate helpers, > they will be used during vCPU RESET/INIT to conditionally reset the MMU > in a future patch. > > No functional change intended. > > Signed-off-by: Sean Christopherson Reviewed-by: Reiji Watanabe