linux_dsm_epyc7002/arch/arm64/kernel
Andrei Vagin d53b5c013e arm64/vdso: use the fault callback to map vvar pages
Currently the vdso has no awareness of time namespaces, which may
apply distinct offsets to processes in different namespaces. To handle
this within the vdso, we'll need to expose a per-namespace data page.

As a preparatory step, this patch separates the vdso data page from
the code pages, and has it faulted in via its own fault callback.
Subsquent patches will extend this to support distinct pages per time
namespace.

The vvar vma has to be installed with the VM_PFNMAP flag to handle
faults via its vma fault callback.

Signed-off-by: Andrei Vagin <avagin@gmail.com>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Dmitry Safonov <dima@arista.com>
Link: https://lore.kernel.org/r/20200624083321.144975-2-avagin@gmail.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2020-07-24 13:15:20 +01:00
..
probes arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page 2020-06-26 00:27:38 -07:00
vdso arm64: vdso: Don't use gcc plugins for building vgettimeofday.c 2020-06-24 14:04:44 +01:00
vdso32 arm64: compat: Remove 32-bit sigreturn code from the vDSO 2020-06-23 14:56:39 +01:00
.gitignore
acpi_numa.c
acpi_parking_protocol.c
acpi.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
alternative.c
armv8_deprecated.c
asm-offsets.c
cacheinfo.c
cpu_errata.c arm64: Add KRYO{3,4}XX silver CPU cores to SSB safelist 2020-06-25 20:18:57 +01:00
cpu_ops.c
cpu-reset.h
cpu-reset.S
cpufeature.c arm64: kpti: Add KRYO{3, 4}XX silver CPU cores to kpti safelist 2020-06-24 14:25:06 +01:00
cpuidle.c
cpuinfo.c
crash_core.c
crash_dump.c
debug-monitors.c
efi-entry.S
efi-header.S
efi-rt-wrapper.S
efi.c
entry-common.c
entry-fpsimd.S
entry-ftrace.S
entry.S
fpsimd.c arm64: sve: Fix build failure when ARM64_SVE=y and SYSCTL=n 2020-06-16 18:29:11 +01:00
ftrace.c
head.S mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
hibernate-asm.S
hibernate.c mm: consolidate pte_index() and pte_offset_*() definitions 2020-06-09 09:39:14 -07:00
hw_breakpoint.c arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints 2020-06-18 11:10:00 +01:00
hyp-stub.S
image-vars.h
image.h
insn.c maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault 2020-06-17 10:57:41 -07:00
io.c
irq.c
jump_label.c
kaslr.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
kexec_image.c
kgdb.c
kuser32.S
machine_kexec_file.c arm64: kexec_file: Use struct_size() in kmalloc() 2020-06-18 10:45:20 +01:00
machine_kexec.c
Makefile arm64: compat: Allow 32-bit vdso and sigpage to co-exist 2020-06-23 14:47:03 +01:00
module-plts.c
module.c
module.lds
paravirt.c
pci.c
perf_callchain.c
perf_event.c
perf_regs.c arm64: perf: Report the PC value in REGS_ABI_32 mode 2020-06-25 14:47:04 +01:00
pointer_auth.c
process.c
psci.c
ptrace.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
reloc_test_core.c
reloc_test_syms.S
relocate_kernel.S
return_address.c
scs.c
sdei.c
setup.c arm64: warn on incorrect placement of the kernel by the bootloader 2020-06-11 14:13:13 +01:00
signal32.c arm64: compat: Always use sigpage for sigreturn trampoline 2020-06-23 14:56:24 +01:00
signal.c
sigreturn32.S
sleep.S
smccc-call.S
smp_spin_table.c
smp.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
ssbd.c
stacktrace.c
suspend.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
sys32.c
sys_compat.c
sys.c
syscall.c
time.c
topology.c
trace-events-emulation.h
traps.c arm64 fixes for -rc2 2020-06-19 12:19:12 -07:00
vdso.c arm64/vdso: use the fault callback to map vvar pages 2020-07-24 13:15:20 +01:00
vmlinux.lds.S mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00