linux/arch/x86/kernel/cpu/sgx
Lorenzo Stoakes d75fa3c947 mm: update architecture and driver code to use vm_flags_t
In future we intend to change the vm_flags_t type, so it isn't correct for
architecture and driver code to assume it is unsigned long.  Correct this
assumption across the board.

Overall, this patch does not introduce any functional change.

Link: https://lkml.kernel.org/r/b6eb1894abc5555ece80bb08af5c022ef780c8bc.1750274467.git.lorenzo.stoakes@oracle.com
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Acked-by: Christian Brauner <brauner@kernel.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Reviewed-by: Pedro Falcato <pfalcato@suse.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>	[arm64]
Acked-by: Zi Yan <ziy@nvidia.com>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Jann Horn <jannh@google.com>
Cc: Kees Cook <kees@kernel.org>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-07-09 22:42:14 -07:00
..
driver.c x86/sgx: Warn explicitly if X86_FEATURE_SGX_LC is not enabled 2025-03-10 12:29:18 +01:00
driver.h x86/sgx: Use SHA-256 library API instead of crypto_shash API 2025-04-28 12:39:33 -07:00
encl.c mm: update architecture and driver code to use vm_flags_t 2025-07-09 22:42:14 -07:00
encl.h mm: update architecture and driver code to use vm_flags_t 2025-07-09 22:42:14 -07:00
encls.h x86/sgx: Add wrapper for SGX2 EAUG function 2022-07-07 10:13:01 -07:00
ioctl.c x86/sgx: Use SHA-256 library API instead of crypto_shash API 2025-04-28 12:39:33 -07:00
main.c * Make SGX less likely to induce fatal machine checks 2025-05-29 21:13:17 -07:00
Makefile
sgx.h docs: move x86 documentation into Documentation/arch/ 2023-03-30 12:58:51 -06:00
virt.c x86/sgx: Break up long non-preemptible delays in sgx_vepc_release() 2023-09-06 23:55:09 +02:00