The branch main has been updated by manu:

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

commit 03704b89e78560823cac4e447885412cb395a527
Author:     Emmanuel Vadot <m...@freebsd.org>
AuthorDate: 2025-02-11 08:24:42 +0000
Commit:     Emmanuel Vadot <m...@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

Reply via email to