diff mbox series

[v4,3/3] x86/sgx: Document SGX_MemTotal to Documentation/x86/meminfo.rst

Message ID 20210910001726.811497-3-jarkko@kernel.org (mailing list archive)
State New, archived
Headers show
Series [v4,1/3] x86/sgx: Report SGX memory in /sys/devices/system/node/node*/meminfo | expand

Commit Message

Jarkko Sakkinen Sept. 10, 2021, 12:17 a.m. UTC
Document SGX_MemTotal field of /proc/meminfo to
Documentation/x86/meminfo.rst. This is a new file for x86 specific
meminfo fields.

Suggested-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
---
v4:
* A new patch.
 Documentation/x86/meminfo.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 Documentation/x86/meminfo.rst
diff mbox series

Patch

diff --git a/Documentation/x86/meminfo.rst b/Documentation/x86/meminfo.rst
new file mode 100644
index 000000000000..999b676a04a8
--- /dev/null
+++ b/Documentation/x86/meminfo.rst
@@ -0,0 +1,11 @@ 
+This document describes x86 specific fields of /proc/meminfo.
+
+Supplemental fields for /proc/meminfo
+=====================================
+
+SGX_MemTotal
+                Total usable physical SGX memory, also known as Enclave
+                Page Cache (EPC), in kB's. This is the physical memory
+                used for enclave pages. It is below the amount set in
+                the BIOS: a portion of that memory is required for
+                the state of the enclave pages.