6db83cea1c
If context switching happens during executing fpsimd_flush_thread(), stale value in FPSIMD registers will be saved into current thread's fpsimd_state by fpsimd_thread_switch(). That may cause invalid initialization state for the new process, so disable preemption when executing fpsimd_flush_thread(). Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Cc: Jiang Liu <liuj97@gmail.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> |
||
---|---|---|
.. | ||
vdso | ||
.gitignore | ||
Makefile | ||
arm64ksyms.c | ||
asm-offsets.c | ||
cputable.c | ||
debug-monitors.c | ||
early_printk.c | ||
entry-fpsimd.S | ||
entry.S | ||
fpsimd.c | ||
head.S | ||
hw_breakpoint.c | ||
hyp-stub.S | ||
io.c | ||
irq.c | ||
kuser32.S | ||
module.c | ||
perf_event.c | ||
process.c | ||
psci.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
signal32.c | ||
smp.c | ||
smp_psci.c | ||
smp_spin_table.c | ||
stacktrace.c | ||
sys.c | ||
sys32.S | ||
sys_compat.c | ||
time.c | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S |