* [PATCH] x86/coco: Update comment of CC_ATTR_GUEST_MEM_ENCRYPT to include TDX guest
@ 2024-03-19 21:37 Kai Huang
2024-03-20 0:22 ` Kirill A. Shutemov
0 siblings, 1 reply; 3+ messages in thread
From: Kai Huang @ 2024-03-19 21:37 UTC (permalink / raw)
To: linux-kernel
Cc: x86, dave.hansen, kirill.shutemov, bp, tglx, mingo, hpa, peterz,
thomas.lendacky
TDX guest also reports CC_ATTR_GUEST_STATE_ENCRYPT as true, but the
comment of this attribute does not reflect this.
Update the comment to reflect the fact.
Signed-off-by: Kai Huang <kai.huang@intel.com>
---
include/linux/cc_platform.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/cc_platform.h b/include/linux/cc_platform.h
index cb0d6cd1c12f..958630592088 100644
--- a/include/linux/cc_platform.h
+++ b/include/linux/cc_platform.h
@@ -48,7 +48,7 @@ enum cc_attr {
* The platform/OS is running as a guest/virtual machine and actively
* using memory encryption.
*
- * Examples include SEV and SEV-ES.
+ * Examples include SEV, SEV-ES and TDX guests.
*/
CC_ATTR_GUEST_MEM_ENCRYPT,
base-commit: eb8ed5b0e9d988a75b10ea811eeb1cffc6aa95c0
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/coco: Update comment of CC_ATTR_GUEST_MEM_ENCRYPT to include TDX guest
2024-03-19 21:37 [PATCH] x86/coco: Update comment of CC_ATTR_GUEST_MEM_ENCRYPT to include TDX guest Kai Huang
@ 2024-03-20 0:22 ` Kirill A. Shutemov
2024-03-20 3:42 ` Huang, Kai
0 siblings, 1 reply; 3+ messages in thread
From: Kirill A. Shutemov @ 2024-03-20 0:22 UTC (permalink / raw)
To: Kai Huang
Cc: linux-kernel, x86, dave.hansen, bp, tglx, mingo, hpa, peterz,
thomas.lendacky
On Tue, Mar 19, 2024 at 09:37:29PM +0000, Kai Huang wrote:
> TDX guest also reports CC_ATTR_GUEST_STATE_ENCRYPT as true, but the
> comment of this attribute does not reflect this.
>
> Update the comment to reflect the fact.
>
> Signed-off-by: Kai Huang <kai.huang@intel.com>
Acked-by: Kiriil A. Shutemov <kirill.shutemov@linux.intel.com>
Alternatively, we can just drop all these "Examples include ...". The same
info can easily can be derived from code.
--
Kiryl Shutsemau / Kirill A. Shutemov
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/coco: Update comment of CC_ATTR_GUEST_MEM_ENCRYPT to include TDX guest
2024-03-20 0:22 ` Kirill A. Shutemov
@ 2024-03-20 3:42 ` Huang, Kai
0 siblings, 0 replies; 3+ messages in thread
From: Huang, Kai @ 2024-03-20 3:42 UTC (permalink / raw)
To: kirill.shutemov
Cc: Hansen, Dave, x86, bp, peterz, hpa, mingo, tglx, thomas.lendacky,
linux-kernel
On Wed, 2024-03-20 at 02:22 +0200, Kirill A. Shutemov wrote:
> On Tue, Mar 19, 2024 at 09:37:29PM +0000, Kai Huang wrote:
> > TDX guest also reports CC_ATTR_GUEST_STATE_ENCRYPT as true, but the
> > comment of this attribute does not reflect this.
> >
> > Update the comment to reflect the fact.
> >
> > Signed-off-by: Kai Huang <kai.huang@intel.com>
>
> Acked-by: Kiriil A. Shutemov <kirill.shutemov@linux.intel.com>
Thanks.
>
> Alternatively, we can just drop all these "Examples include ...". The same
> info can easily can be derived from code.
>
Both work for me.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-20 3:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-19 21:37 [PATCH] x86/coco: Update comment of CC_ATTR_GUEST_MEM_ENCRYPT to include TDX guest Kai Huang
2024-03-20 0:22 ` Kirill A. Shutemov
2024-03-20 3:42 ` Huang, Kai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®