mirror-linux/arch/x86
Catalin Marinas a515ffc9de x86: shstk: use the new common vm_mmap_shadow_stack() helper
Replace part of the x86 alloc_shstk() content with a call to
vm_mmap_shadow_stack(). There is no functional change.

Link: https://lkml.kernel.org/r/20260225161404.3157851-5-catalin.marinas@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Tested-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
Cc: Thomas Gleixner <tglx@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Alexandre Ghiti <alex@ghiti.fr>
Cc: Deepak Gupta <debug@rivosinc.com>
Cc: "Liam R. Howlett" <Liam.Howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Paul Walmsley <pjw@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-04-05 13:53:06 -07:00
..
boot Miscellaneous x86 fixes: 2026-03-07 17:12:06 -08:00
coco x86/sev: Allow IBPB-on-Entry feature for SNP guests 2026-03-02 11:08:59 +01:00
configs
crypto crypto: x86/aes-gcm - Use new AES library API 2026-01-15 14:09:08 -08:00
entry x86/entry/vdso: Fix path of included gettimeofday.c 2026-03-20 17:56:52 +01:00
events perf/x86/intel: Fix OMR snoop information parsing issues 2026-03-12 11:29:16 +01:00
hyperv x86/hyperv: Use any general-purpose register when saving %cr2 and %cr8 2026-03-12 04:25:20 +00:00
ia32
include arch, mm: consolidate empty_zero_page 2026-04-05 13:53:01 -07:00
kernel x86: shstk: use the new common vm_mmap_shadow_stack() helper 2026-04-05 13:53:06 -07:00
kvm mm: rename my_zero_pfn() to zero_pfn() 2026-04-05 13:53:01 -07:00
lib mm.git review status for linus..mm-stable 2026-02-12 11:32:37 -08:00
math-emu x86/math-emu: Fix div_Xsig() prototype 2025-11-09 21:01:08 +01:00
mm mm/pkeys: remove unused tsk parameter from arch_set_user_pkey_access() 2026-04-05 13:52:57 -07:00
net x86/cfi: Fix CFI rewrite for odd alignments 2026-02-23 11:19:11 +01:00
pci Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
platform EFI fixes for v7.0 #2 2026-03-08 12:13:09 -07:00
power Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
purgatory
ras
realmode
tools x86/entry/vdso: Add vdso2c to .gitignore 2026-01-27 23:27:51 +01:00
um arch: um/x86: Select ARCH_SUPPORTS_ATOMIC_RMW for UML_X86 2026-01-09 19:01:41 +08:00
video sysfb: Replace screen_info with sysfb_primary_display 2025-12-16 14:12:44 +01:00
virt Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
xen xen: branch for v7.0-rc3 2026-03-07 07:44:32 -08:00
.gitignore
Kbuild
Kconfig mm.git review status for linus..mm-stable 2026-02-12 11:32:37 -08:00
Kconfig.assembler
Kconfig.cpu
Kconfig.cpufeatures * VDSO rework and cleanups 2026-02-10 19:34:26 -08:00
Kconfig.debug
Makefile x86/entry/vdso: Update the object paths for "make vdso_install" 2026-01-16 12:58:45 -08:00
Makefile.um
Makefile_32.cpu x86/cpu: Drop unused Kconfig symbol X86_P6_NOP 2026-01-06 08:57:23 -08:00