summary refs log tree commit diff stats
path: root/linux-headers/asm-x86/mman.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-09-12 11:24:40 +0200
committerThomas Huth <thuth@redhat.com>2023-09-12 11:34:56 +0200
commitda3c22c74a3c6cbd26df40b2f6798a2d41be80ac (patch)
tree9e6945808b9c91a9e0df6a8bae1aefb2a054d3f5 /linux-headers/asm-x86/mman.h
parentef1535901a07f2e49fa25c8bcee7f0b73801d824 (diff)
downloadfocaccia-qemu-da3c22c74a3c6cbd26df40b2f6798a2d41be80ac.tar.gz
focaccia-qemu-da3c22c74a3c6cbd26df40b2f6798a2d41be80ac.zip
linux-headers: Update to Linux v6.6-rc1
This update contains the required header changes for the
"target/s390x: AP-passthrough for PV guests" patch from
Steffen Eiden.

Message-ID: <20230912093432.180041-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'linux-headers/asm-x86/mman.h')
-rw-r--r--linux-headers/asm-x86/mman.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/linux-headers/asm-x86/mman.h b/linux-headers/asm-x86/mman.h
index 775dbd3aff..46cdc941f9 100644
--- a/linux-headers/asm-x86/mman.h
+++ b/linux-headers/asm-x86/mman.h
@@ -3,14 +3,10 @@
 #define _ASM_X86_MMAN_H
 
 #define MAP_32BIT	0x40		/* only give out 32bit addresses */
+#define MAP_ABOVE4G	0x80		/* only map above 4GB */
 
-#ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
-#define arch_calc_vm_prot_bits(prot, key) (		\
-		((key) & 0x1 ? VM_PKEY_BIT0 : 0) |      \
-		((key) & 0x2 ? VM_PKEY_BIT1 : 0) |      \
-		((key) & 0x4 ? VM_PKEY_BIT2 : 0) |      \
-		((key) & 0x8 ? VM_PKEY_BIT3 : 0))
-#endif
+/* Flags for map_shadow_stack(2) */
+#define SHADOW_STACK_SET_TOKEN	(1ULL << 0)	/* Set up a restore token in the shadow stack */
 
 #include <asm-generic/mman.h>