x86/cpufeatures: Remove "AMD" from the comments to the AMD-specific leaf
PATCH 1/1 x86/cpufeatures: Remove "AMD" from the comments to the AMD-specific leaf
From: "Borislav Petkov (AMD)" <[email protected]>
0x8000001f.EAX is an AMD-specific leaf so there's no need to have "AMD" in almost every feature's comment. Zap it and make the text more readable this way.
No functional changes.
Signed-off-by Borislav Petkov (AMD) <[email protected]>
--- arch/x86/include/asm/cpufeatures.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
arch/x86/include/asm/cpufeatures.h +6 -6
@@ -440,14 +440,14 @@#define X86_FEATURE_SPEC_CTRL_SSBD (18*32+31)/* Speculative Store Bypass Disable */ /* AMD-defined memory encryption features, CPUID level 0x8000001f (EAX), word 19 */ -#define X86_FEATURE_SME (19*32+ 0)/* "sme" AMD Secure Memory Encryption */ -#define X86_FEATURE_SEV (19*32+ 1)/* "sev" AMD Secure Encrypted Virtualization */ +#define X86_FEATURE_SME (19*32+ 0)/* "sme" Secure Memory Encryption */ +#define X86_FEATURE_SEV (19*32+ 1)/* "sev" Secure Encrypted Virtualization */ #define X86_FEATURE_VM_PAGE_FLUSH (19*32+ 2)/* VM Page Flush MSR is supported */ -#define X86_FEATURE_SEV_ES (19*32+ 3)/* "sev_es" AMD Secure Encrypted Virtualization - Encrypted State */ -#define X86_FEATURE_SEV_SNP (19*32+ 4)/* "sev_snp" AMD Secure Encrypted Virtualization - Secure Nested Paging */ +#define X86_FEATURE_SEV_ES (19*32+ 3)/* "sev_es" Secure Encrypted Virtualization - Encrypted State */ +#define X86_FEATURE_SEV_SNP (19*32+ 4)/* "sev_snp" Secure Encrypted Virtualization - Secure Nested Paging */ #define X86_FEATURE_V_TSC_AUX (19*32+ 9)/* Virtual TSC_AUX */ -#define X86_FEATURE_SME_COHERENT (19*32+10)/* AMD hardware-enforced cache coherency */ -#define X86_FEATURE_DEBUG_SWAP (19*32+14)/* "debug_swap" AMD SEV-ES full debug state swap support */ +#define X86_FEATURE_SME_COHERENT (19*32+10)/* hardware-enforced cache coherency */ +#define X86_FEATURE_DEBUG_SWAP (19*32+14)/* "debug_swap" SEV-ES full debug state swap support */ #define X86_FEATURE_SVSM (19*32+28)/* "svsm" SVSM present */ /* AMD-defined Extended Feature 2 EAX, CPUID level 0x80000021 (EAX), word 20 */
Signature · 1 line
2.43.0
The following commit has been merged into the x86/cleanups branch of tip:
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 288bba2f4c8be1e1b9c8bc2e087ce677faf9918a Gitweb: https://git.kernel.org/tip/288bba2f4c8be1e1b9c8bc2e087ce677faf9918a Author: Borislav Petkov (AMD) <[email protected]> AuthorDate: Fri, 22 Nov 2024 22:07:07 +01:00 Committer: Borislav Petkov (AMD) <[email protected]> CommitterDate: Mon, 30 Dec 2024 17:59:29 +01:00
x86/cpufeatures: Remove "AMD" from the comments to the AMD-specific leaf
0x8000001f.EAX is an AMD-specific leaf so there's no need to have "AMD" in almost every feature's comment. Zap it and make the text more readable this way.
No functional changes.
Signed-off-by Borislav Petkov (AMD) <[email protected]>
--- arch/x86/include/asm/cpufeatures.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
arch/x86/include/asm/cpufeatures.h +6 -6
@@ -443,14 +443,14 @@#define X86_FEATURE_SPEC_CTRL_SSBD (18*32+31)/* Speculative Store Bypass Disable */ /* AMD-defined memory encryption features, CPUID level 0x8000001f (EAX), word 19 */ -#define X86_FEATURE_SME (19*32+ 0)/* "sme" AMD Secure Memory Encryption */ -#define X86_FEATURE_SEV (19*32+ 1)/* "sev" AMD Secure Encrypted Virtualization */ +#define X86_FEATURE_SME (19*32+ 0)/* "sme" Secure Memory Encryption */ +#define X86_FEATURE_SEV (19*32+ 1)/* "sev" Secure Encrypted Virtualization */ #define X86_FEATURE_VM_PAGE_FLUSH (19*32+ 2)/* VM Page Flush MSR is supported */ -#define X86_FEATURE_SEV_ES (19*32+ 3)/* "sev_es" AMD Secure Encrypted Virtualization - Encrypted State */ -#define X86_FEATURE_SEV_SNP (19*32+ 4)/* "sev_snp" AMD Secure Encrypted Virtualization - Secure Nested Paging */ +#define X86_FEATURE_SEV_ES (19*32+ 3)/* "sev_es" Secure Encrypted Virtualization - Encrypted State */ +#define X86_FEATURE_SEV_SNP (19*32+ 4)/* "sev_snp" Secure Encrypted Virtualization - Secure Nested Paging */ #define X86_FEATURE_V_TSC_AUX (19*32+ 9)/* Virtual TSC_AUX */ -#define X86_FEATURE_SME_COHERENT (19*32+10)/* AMD hardware-enforced cache coherency */ -#define X86_FEATURE_DEBUG_SWAP (19*32+14)/* "debug_swap" AMD SEV-ES full debug state swap support */ +#define X86_FEATURE_SME_COHERENT (19*32+10)/* hardware-enforced cache coherency */ +#define X86_FEATURE_DEBUG_SWAP (19*32+14)/* "debug_swap" SEV-ES full debug state swap support */ #define X86_FEATURE_SVSM (19*32+28)/* "svsm" SVSM present */ /* AMD-defined Extended Feature 2 EAX, CPUID level 0x80000021 (EAX), word 20 */