Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2025 08:25:25 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 03704b89e785 - main - linuxkpi: cc_platform: Add CC_ATTR_GUEST_MEM_ENCRYPT
Message-ID:  <202502110825.51B8PPDA099784@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=03704b89e78560823cac4e447885412cb395a527

commit 03704b89e78560823cac4e447885412cb395a527
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2025-02-11 08:24:42 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2025-02-11 08:27:48 +0000

    linuxkpi: cc_platform: Add CC_ATTR_GUEST_MEM_ENCRYPT
    
    Add this attribute which is a no-op for us but in linux represent that
    the guest memory encryption is active.
    drm ttm started to check this flag in > 6.1.92
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sys/compat/linuxkpi/common/include/linux/cc_platform.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/cc_platform.h b/sys/compat/linuxkpi/common/include/linux/cc_platform.h
index 01c0de17f7d2..1544c141614b 100644
--- a/sys/compat/linuxkpi/common/include/linux/cc_platform.h
+++ b/sys/compat/linuxkpi/common/include/linux/cc_platform.h
@@ -8,6 +8,7 @@
 
 enum cc_attr {
 	CC_ATTR_MEM_ENCRYPT,
+	CC_ATTR_GUEST_MEM_ENCRYPT,
 };
 
 static inline bool



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502110825.51B8PPDA099784>