[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220709042037.21903-8-bagasdotme@gmail.com>
Date: Sat, 9 Jul 2022 11:20:33 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: linux-doc@...r.kernel.org
Cc: Paolo Bonzini <pbonzini@...hat.com>,
Jonathan Corbet <corbet@....net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>,
Isaku Yamahata <isaku.yamahata@...el.com>,
Kai Huang <kai.huang@...el.com>, x86@...nel.org,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Bagas Sanjaya <bagasdotme@...il.com>
Subject: [PATCH 07/12] Documentation: kvm: tdx-tdp-mmu: Use literal code block for EPT violation diagrams
EPT violation diagrams aren't inside literal code block, which trigger
"line block ends without a blank line" warning. Since these diagrams
aren't meant line blocks, use literal code block instead.
Fixes: 7af4efe3263854 ("KVM: x86: design documentation on TDX support of x86 KVM TDP MMU")
Signed-off-by: Bagas Sanjaya <bagasdotme@...il.com>
---
Documentation/virt/kvm/tdx-tdp-mmu.rst | 39 +++++++++++++++++---------
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/Documentation/virt/kvm/tdx-tdp-mmu.rst b/Documentation/virt/kvm/tdx-tdp-mmu.rst
index c9d5fc43a6ca7a..f43ebb08f5cdad 100644
--- a/Documentation/virt/kvm/tdx-tdp-mmu.rst
+++ b/Documentation/virt/kvm/tdx-tdp-mmu.rst
@@ -169,30 +169,41 @@ hooks to KVM MMU to reuse the existing code.
EPT violation on shared GPA
---------------------------
(1) EPT violation on shared GPA or zapping shared GPA
- walk down shared EPT tree (the existing code)
- |
- |
- V
-shared EPT tree (CPU refers.)
+ ::
+
+ walk down shared EPT tree (the existing code)
+ |
+ |
+ V
+ shared EPT tree (CPU refers.)
+
(2) update the EPT entry. (the existing code)
+
TLB shootdown in the case of zapping.
EPT violation on private GPA
----------------------------
(1) EPT violation on private GPA or zapping private GPA
- walk down the mirror of secure EPT tree (mostly same as the existing code)
- |
- |
- V
-mirror of secure EPT tree (KVM MMU software only. reuse of the existing code)
+ ::
+
+ walk down the mirror of secure EPT tree (mostly same as the existing code)
+ |
+ |
+ V
+ mirror of secure EPT tree (KVM MMU software only. reuse of the existing code)
+
(2) update the (mirrored) EPT entry. (mostly same as the existing code)
+
(3) call the hooks with what EPT entry is changed
- |
+ ::
+
+ |
NEW: hooks in KVM MMU
- |
- V
-secure EPT root(CPU refers)
+ |
+ V
+ secure EPT root(CPU refers)
+
(4) the TDX backend calls necessary TDX SEAMCALLs to update real secure EPT.
The major modification is to add hooks for the TDX backend for additional
--
An old man doll... just what I always wanted! - Clara
Powered by blists - more mailing lists