diff options
author | Borislav Petkov <bp@suse.de> | 2021-03-13 16:56:16 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-03-15 16:01:25 +0300 |
commit | 2d4177c01b4e7496c7d47b31865f8c85bffb3604 (patch) | |
tree | 21e96a77f3e319104b669eb0f202a906ad6d8f7b /tools/arch/x86/kcpuid/cpuid.csv | |
parent | c6b2f240bf8d5604e6507aff15d5c441944c2f89 (diff) | |
download | linux-2d4177c01b4e7496c7d47b31865f8c85bffb3604.tar.xz |
tools/x86/kcpuid: Add AMD Secure Encryption leaf
Add the 0x8000001f leaf's fields.
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Feng Tang <feng.tang@intel.com>
Link: https://lkml.kernel.org/r/20210313140118.17010-1-bp@alien8.de
Diffstat (limited to 'tools/arch/x86/kcpuid/cpuid.csv')
-rw-r--r-- | tools/arch/x86/kcpuid/cpuid.csv | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/arch/x86/kcpuid/cpuid.csv b/tools/arch/x86/kcpuid/cpuid.csv index f4a5b85073f4..dd94c07421a8 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 |