1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef S390_MEM_ENCRYPT_H__ 3 #define S390_MEM_ENCRYPT_H__ 4 5 #ifndef __ASSEMBLY__ 6 7 #define sme_me_mask 0ULL 8 9 static inline bool sme_active(void) { return false; } 10 extern bool sev_active(void); 11 12 int set_memory_encrypted(unsigned long addr, int numpages); 13 int set_memory_decrypted(unsigned long addr, int numpages); 14 15 #endif /* __ASSEMBLY__ */ 16 17 #endif /* S390_MEM_ENCRYPT_H__ */ 18