git: 03704b89e785 - main - linuxkpi: cc_platform: Add CC_ATTR_GUEST_MEM_ENCRYPT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Feb 2025 08:25:25 UTC
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