All of
 help / color / mirror / Atom feed
From: "tip-bot2 for Borislav Petkov" <>
Cc: Borislav Petkov <>, Feng Tang <>,,
Subject: [tip: x86/misc] tools/x86/kcpuid: Add AMD Secure Encryption leaf
Date: Mon, 15 Mar 2021 13:06:34 -0000	[thread overview]
Message-ID: <161581359465.398.1247628750440397555.tip-bot2@tip-bot2> (raw)
In-Reply-To: <>

The following commit has been merged into the x86/misc branch of tip:

Commit-ID:     2d4177c01b4e7496c7d47b31865f8c85bffb3604
Author:        Borislav Petkov <>
AuthorDate:    Sat, 13 Mar 2021 14:56:16 +01:00
Committer:     Borislav Petkov <>
CommitterDate: Mon, 15 Mar 2021 14:01:25 +01:00

tools/x86/kcpuid: Add AMD Secure Encryption leaf

Add the 0x8000001f leaf's fields.

Signed-off-by: Borislav Petkov <>
Acked-by: Feng Tang <>
 tools/arch/x86/kcpuid/cpuid.csv | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tools/arch/x86/kcpuid/cpuid.csv b/tools/arch/x86/kcpuid/cpuid.csv
index f4a5b85..dd94c07 100644
--- a/tools/arch/x86/kcpuid/cpuid.csv
+++ b/tools/arch/x86/kcpuid/cpuid.csv
@@ -378,3 +378,13 @@
 0x80000008,    0,  EAX,    7:0, phy_adr_bits, Physical Address Bits
 0x80000008,    0,  EAX,   15:8, lnr_adr_bits, Linear Address Bits
 0x80000007,    0,  EBX,      9, wbnoinvd, WBNOINVD
+# 8000001F: AMD Secure Encryption
+0x8000001F,	0, EAX, 0, sme,	Secure Memory Encryption
+0x8000001F,	0, EAX, 1, sev,	Secure Encrypted Virtualization
+0x8000001F,	0, EAX, 2, vmpgflush, VM Page Flush MSR
+0x8000001F,	0, EAX, 3, seves, SEV Encrypted State
+0x8000001F,	0, EBX, 5:0, c-bit, Page table bit number used to enable memory encryption
+0x8000001F,	0, EBX, 11:6, mem_encrypt_physaddr_width, Reduction of physical address space in bits with SME enabled
+0x8000001F,	0, ECX, 31:0, num_encrypted_guests, Maximum ASID value that may be used for an SEV-enabled guest
+0x8000001F,	0, EDX, 31:0, minimum_sev_asid, Minimum ASID value that must be used for an SEV-enabled, SEV-ES-disabled guest

      parent reply	other threads:[~2021-03-15 13:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-13 14:01 [PATCH] tools/x86/kcpuid: Add AMD Secure Encryption leaf Borislav Petkov
2021-03-14  0:35 ` Borislav Petkov
2021-03-15  2:12   ` Feng Tang
2021-03-15 13:06 ` tip-bot2 for Borislav Petkov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=161581359465.398.1247628750440397555.tip-bot2@tip-bot2 \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.