Files
linux/arch/loongarch/kernel
Huacai Chen 112ca94f6c LoongArch: Save LBT before FPU in setup_sigcontext()
Now if preemption happens between protected_save_fpu_context() and
protected_save_lbt_context(), FTOP context is lost. Because FTOP is
saved by protected_save_lbt_context() but protected_save_fpu_context()
disables TM before that. So save LBT before FPU in setup_sigcontext()
to avoid this potential risk.

Signed-off-by: Hanlu Li <lihanlu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2025-08-20 22:23:44 +08:00
..
2022-10-12 16:36:19 +08:00
2025-05-21 16:46:37 +02:00
2025-05-30 21:45:42 +08:00
2022-12-14 08:41:53 +08:00
2025-05-21 16:46:37 +02:00
2025-02-13 12:02:35 +08:00
2024-10-16 21:56:56 +02:00
2022-10-12 16:36:14 +08:00
2025-05-07 11:05:57 +02:00
2025-02-13 12:02:35 +08:00