All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip: x86/tdx] x86/mm: Fix spacing within memory encryption features message
@ 2022-04-19 15:09 tip-bot2 for Tom Lendacky
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Tom Lendacky @ 2022-04-19 15:09 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Tom Lendacky, Dave Hansen, Kirill A. Shutemov, x86, linux-kernel

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

Commit-ID:     51964015565d302fda63ce84ef151e1c9a5939cc
Gitweb:        https://git.kernel.org/tip/51964015565d302fda63ce84ef151e1c9a5939cc
Author:        Tom Lendacky <thomas.lendacky@amd.com>
AuthorDate:    Mon, 18 Apr 2022 11:16:13 -05:00
Committer:     Dave Hansen <dave.hansen@linux.intel.com>
CommitterDate: Tue, 19 Apr 2022 08:04:17 -07:00

x86/mm: Fix spacing within memory encryption features message

The spacing is off in the memory encryption features message on AMD
platforms that support memory encryption, e.g.:

  "Memory Encryption Features active:AMD  SEV SEV-ES"

There is no space before "AMD" and two spaces after it. Fix this so that
the message is spaced properly:

  "Memory Encryption Features active: AMD SEV SEV-ES"

Fixes: 968b493173ac ("x86/mm: Make DMA memory shared for TD guest")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: https://lkml.kernel.org/r/02401f3024b18e90bc2508147e22e729436cb6d9.1650298573.git.thomas.lendacky@amd.com
---
 arch/x86/mm/mem_encrypt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/mm/mem_encrypt.c b/arch/x86/mm/mem_encrypt.c
index 10ee40b..1562f5e 100644
--- a/arch/x86/mm/mem_encrypt.c
+++ b/arch/x86/mm/mem_encrypt.c
@@ -49,7 +49,7 @@ static void print_mem_encrypt_feature_info(void)
 		return;
 	}
 
-	pr_cont("AMD ");
+	pr_cont(" AMD");
 
 	/* Secure Memory Encryption */
 	if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) {

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [tip: x86/tdx] x86/mm: Fix spacing within memory encryption features message
@ 2022-04-19 14:42 tip-bot2 for Tom Lendacky
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Tom Lendacky @ 2022-04-19 14:42 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Tom Lendacky, Dave Hansen, Kirill A. Shutemov, x86, linux-kernel

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

Commit-ID:     9e3cdf7ad39356c11b6a4f3c407726f9bcc85956
Gitweb:        https://git.kernel.org/tip/9e3cdf7ad39356c11b6a4f3c407726f9bcc85956
Author:        Tom Lendacky <thomas.lendacky@amd.com>
AuthorDate:    Mon, 18 Apr 2022 11:16:13 -05:00
Committer:     Dave Hansen <dave.hansen@linux.intel.com>
CommitterDate: Tue, 19 Apr 2022 07:17:25 -07:00

x86/mm: Fix spacing within memory encryption features message

The spacing is off in the memory encryption features message on AMD
platforms that support memory encryption, e.g.:

  "Memory Encryption Features active:AMD  SEV SEV-ES"

There is no space before "AMD" and two spaces after it. Fix this so that
the message is spaced properly:

  "Memory Encryption Features active: AMD SEV SEV-ES"

Fixes: 968b493173ac ("x86/mm: Make DMA memory shared for TD guest")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: https://lkml.kernel.org/r/02401f3024b18e90bc2508147e22e729436cb6d9.1650298573.git.thomas.lendacky@amd.com
---
 arch/x86/mm/mem_encrypt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/mm/mem_encrypt.c b/arch/x86/mm/mem_encrypt.c
index 10ee40b..1562f5e 100644
--- a/arch/x86/mm/mem_encrypt.c
+++ b/arch/x86/mm/mem_encrypt.c
@@ -49,7 +49,7 @@ static void print_mem_encrypt_feature_info(void)
 		return;
 	}
 
-	pr_cont("AMD ");
+	pr_cont(" AMD");
 
 	/* Secure Memory Encryption */
 	if (cc_platform_has(CC_ATTR_HOST_MEM_ENCRYPT)) {

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-19 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 15:09 [tip: x86/tdx] x86/mm: Fix spacing within memory encryption features message tip-bot2 for Tom Lendacky
  -- strict thread matches above, loose matches on Subject: below --
2022-04-19 14:42 tip-bot2 for Tom Lendacky

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.