From patchwork Thu May 18 09:13:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Binbin Wu X-Patchwork-Id: 13246317 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C095BC77B7A for ; Thu, 18 May 2023 09:14:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230114AbjERJOE (ORCPT ); Thu, 18 May 2023 05:14:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjERJOB (ORCPT ); Thu, 18 May 2023 05:14:01 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B15F1FFD for ; Thu, 18 May 2023 02:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684401234; x=1715937234; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Z+Itf9S6ADeHAGEtG8lpYUrE4BYHeW5u+qbQ92HBlGY=; b=OJEc73ShpYOEImC+B2qoGfF3VIYeWTvA6+lVh0c3KCiKzepCxqAvlWVO NuKs9aZRKOU3VKCEwMAv1ejMHiNyAAqRQVefr9Ngw39RdOKLllBzXfI2f hZ6D4F29DUvh8x+CH7XLvv9plTQruGELAiEmbg3gMz2g49qT9yVxx1w3L Qr6JVBznEK9bPl+aXLSodPV/uU/OE/7tZW12oo44DwRzK6ZRO/TIxekHX XRkB/hqHYBZEEpqtzgxLLM06UuHjB+MrmkyZlP9ii5MKU7KgtFNk/PCD6 PNkiJPJbgcO8ZYB4EzjOfYhd+oPKX6PIP0lNBhWy2ZdQpKkJmT9eEBQQ3 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10713"; a="332383019" X-IronPort-AV: E=Sophos;i="5.99,284,1677571200"; d="scan'208";a="332383019" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 02:13:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10713"; a="735006647" X-IronPort-AV: E=Sophos;i="5.99,284,1677571200"; d="scan'208";a="735006647" Received: from binbinwu-mobl.ccr.corp.intel.com ([10.254.208.101]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 02:13:47 -0700 From: Binbin Wu To: kvm@vger.kernel.org Cc: seanjc@google.com, pbonzini@redhat.com, binbin.wu@linux.intel.com Subject: [PATCH v2 3/3] KVM: Documentation: Fix a typo in Documentation/virt/kvm/x86/mmu.rst Date: Thu, 18 May 2023 17:13:39 +0800 Message-Id: <20230518091339.1102-4-binbin.wu@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230518091339.1102-1-binbin.wu@linux.intel.com> References: <20230518091339.1102-1-binbin.wu@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org L1 CR4.LA57 should be '0' instead of '1' when shadowing 5-level NPT for 4-level NPT L1 guest. Signed-off-by: Binbin Wu --- Documentation/virt/kvm/x86/mmu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/x86/mmu.rst b/Documentation/virt/kvm/x86/mmu.rst index 8364afa228ec..26f62034b6f3 100644 --- a/Documentation/virt/kvm/x86/mmu.rst +++ b/Documentation/virt/kvm/x86/mmu.rst @@ -205,7 +205,7 @@ Shadow pages contain the following information: role.passthrough: The page is not backed by a guest page table, but its first entry points to one. This is set if NPT uses 5-level page tables (host - CR4.LA57=1) and is shadowing L1's 4-level NPT (L1 CR4.LA57=1). + CR4.LA57=1) and is shadowing L1's 4-level NPT (L1 CR4.LA57=0). gfn: Either the guest page table containing the translations shadowed by this page, or the base page frame for linear translations. See role.direct.