Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4575579rwd; Sat, 17 Jun 2023 17:10:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ47B0jdO9qPjVWYIW/BGSDb20orfTafX60kRtJXKpZDVqymUNoRqd1oaadorQbf65iFhxDJ X-Received: by 2002:a05:6a00:1d04:b0:656:39af:513d with SMTP id a4-20020a056a001d0400b0065639af513dmr14141225pfx.14.1687047027163; Sat, 17 Jun 2023 17:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687047027; cv=none; d=google.com; s=arc-20160816; b=zfM9EyfqGVHiGhtysl5Yo2VNyNMTTbLvisA3fmAZDDm1Vbp1m3dpHVSK3N+4l/kBo1 8gqLh1OZGIVyC48M+FrNxaVaNQine/ATevcCA5qgEKA8hyCJJqw+9n2AUs2kktCpRu0S BCFLg4YRwSiE9Yim6ugknmowleZqr3OVrfGiD38yI8/4MqscfaYuWeU0uRi7CaWavpzS CXp6kn3O5AYWhnbglttrMi3hjfJ0/dX0tQP25t5ZIcwZXNMIQsHcBbe5izRxt4ZCcDwB WnzUV+HabYuIrmrYWyvtjSMSviJmsrGU5AZTojfklqpunT7pn6WXSv5idUDrl2CA/iYA 81lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:reply-to:dkim-signature; bh=v4DzIL/JVZchPV22EuNnJq/QdjxEQvSn2xrLtsDRw40=; b=Z0FMjefZBxwxqex4XIULj+af+N0g1zAulEIR638vqFtyZAnhdw2HfjAk81ub/mBSzL BGCgJM4pEV7LQ1KBsqE+mLDxevHJ17tO/4irs/12jgsgvVzYorLuo+r0I38QHmY2FxHY Io2WM9eiUxzJi9qkFbn7w/t0r9nspWgeym0U1X/YAJn5uRDsYbuYrt4JYu3esqPgYrwl S022QRO4tTiTM/MK7jS23OP6wfY7/lqnNtTV2m4tRK7KyZ40fxqOOKFL6biy/snt+s2b jnjmu6Svy6AKuduGHI71TnQTXTIlYxrwcIni1bp+indMi0k8QLXuEBL4TujDE8PND2rA KmdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=WKB50UB0; 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 t7-20020a63b247000000b005533bc87744si5005527pgo.816.2023.06.17.17.10.09; Sat, 17 Jun 2023 17:10:27 -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=20221208 header.b=WKB50UB0; 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 S232373AbjFRAJU (ORCPT + 99 others); Sat, 17 Jun 2023 20:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229668AbjFRAJQ (ORCPT ); Sat, 17 Jun 2023 20:09:16 -0400 Received: from mail-pg1-x54a.google.com (mail-pg1-x54a.google.com [IPv6:2607:f8b0:4864:20::54a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAB2E170E for ; Sat, 17 Jun 2023 17:09:15 -0700 (PDT) Received: by mail-pg1-x54a.google.com with SMTP id 41be03b00d2f7-53f44c25595so1035597a12.2 for ; Sat, 17 Jun 2023 17:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687046955; x=1689638955; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:from:to:cc:subject:date:message-id:reply-to; bh=v4DzIL/JVZchPV22EuNnJq/QdjxEQvSn2xrLtsDRw40=; b=WKB50UB0Mn3hH19NA/nQXNn4+OgIolVAiUqkFQCburr0Gk5bLVcJO0ERA6DsplScVO WGEXmbbUibqWtYGZd/7OQuoboJiIH++5nwxAZhSzT2C5EODsSvMTVefqmDd/hdpkwTSr jYBWaRY187nNjecdriEmiPHoWRRnGcXXaq7lMlwvT6OLaue5uK8YDrV79FP7A2WZC5nu kkEuqmmCQCaEbpEzi41NNFDBXqa38/4Dfg1teK1ACDBuvQJ4vdYkgC+HQVvrHff9cKF6 tOerjifpAymfFex7td0LJ/dIrHdApOXgD8DDzUW2NwwDCEeBXY6/AL3fLfAj8nbo+0BU aMrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687046955; x=1689638955; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v4DzIL/JVZchPV22EuNnJq/QdjxEQvSn2xrLtsDRw40=; b=dt4SO4SQRFGHNuVGuMpfo1Cjnciiz/0Wfv5FfnibzjtJ44R4x4OQhQ+sAlBq5jxqL4 3u07lWgrcVXu++YK6tvXsrps90qWT6j9ko2RhoTSj8MXHmWFMbWkTh/Gz6yrAUW+qYUJ p0i6Et6cg5Pv7cE2arL34SMM74FAPSWN0VwrOHwpr5fhUY9aoH/x0mqgSnctJ1+2YUQh hjxO50p+DvargltDMiglPY01Ws965JO1wFiSlJGtMxrWHhXojmL+O/YMXkI8t/xo/0Jt fwXKtQ9JYa1ura8EdY6Ly2ejz5D3ExyMBd3TJmFt/WRFyoc2jQiIsxCSxjpDg/wrm24c KrkQ== X-Gm-Message-State: AC+VfDxQeCyLQFYDBD2kRpvwSKn8kexgEno+FqVOzW4g1W0pBe3Y3zMS Z6NbYn3RDWuQvG8xBGe7/JnNhqpzVx57 X-Received: from mizhang-super.c.googlers.com ([34.105.13.176]) (user=mizhang job=sendgmr) by 2002:a63:83c1:0:b0:553:3ba2:f36 with SMTP id h184-20020a6383c1000000b005533ba20f36mr417311pge.9.1687046955292; Sat, 17 Jun 2023 17:09:15 -0700 (PDT) Reply-To: Mingwei Zhang Date: Sun, 18 Jun 2023 00:08:52 +0000 In-Reply-To: <20230618000856.1714902-1-mizhang@google.com> Mime-Version: 1.0 References: <20230618000856.1714902-1-mizhang@google.com> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog Message-ID: <20230618000856.1714902-3-mizhang@google.com> Subject: [PATCH 2/6] KVM: Documentation: Update the field name gfns in kvm_mmu_page From: Mingwei Zhang To: Sean Christopherson , Paolo Bonzini Cc: kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Mingwei Zhang , Jim Mattson , David Matlack , Ben Gardon Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 Update the 'gfns' in kvm_mmu_page to 'shadowed_translation'to be consistent with the code. The more detailed description of 'shadowed_translation' is already inlined in the data structure definition, so no need to duplicate the text but simply just update the name. Signed-off-by: Mingwei Zhang --- 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 561efa8ec7d7..149dd3cba48f 100644 --- a/Documentation/virt/kvm/x86/mmu.rst +++ b/Documentation/virt/kvm/x86/mmu.rst @@ -221,7 +221,7 @@ Shadow pages contain the following information: at __pa(sp2->spt). sp2 will point back at sp1 through parent_pte. The spt array forms a DAG structure with the shadow page as a node, and guest pages as leaves. - gfns: + shadowed_translation: An array of 512 guest frame numbers, one for each present pte. Used to perform a reverse map from a pte to a gfn. When role.direct is set, any element of this array can be calculated from the gfn field when used, in -- 2.41.0.162.gfafddb0af9-goog