From 4af9cc9daeaf7a5f3c6a7a78bd7c1792ae478143 Mon Sep 17 00:00:00 2001 From: Zhiteng Qiu Date: Tue, 4 Mar 2025 19:14:49 +0800 Subject: [PATCH] anolis: arch/x86/lib: Open the default configuration ANBZ: #19209 Open the default configuration for CONFIG_USING_FPU_IN_KERNEL_NONATOMIC. Signed-off-by: Zhiteng Qiu --- .../L1-RECOMMEND/x86/CONFIG_USING_FPU_IN_KERNEL_NONATOMIC | 1 + arch/x86/Kconfig.fpu | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 anolis/configs/L1-RECOMMEND/x86/CONFIG_USING_FPU_IN_KERNEL_NONATOMIC diff --git a/anolis/configs/L1-RECOMMEND/x86/CONFIG_USING_FPU_IN_KERNEL_NONATOMIC b/anolis/configs/L1-RECOMMEND/x86/CONFIG_USING_FPU_IN_KERNEL_NONATOMIC new file mode 100644 index 000000000000..be2ff4beebe7 --- /dev/null +++ b/anolis/configs/L1-RECOMMEND/x86/CONFIG_USING_FPU_IN_KERNEL_NONATOMIC @@ -0,0 +1 @@ +CONFIG_USING_FPU_IN_KERNEL_NONATOMIC=y diff --git a/arch/x86/Kconfig.fpu b/arch/x86/Kconfig.fpu index 04a235105186..20c81bfe942c 100644 --- a/arch/x86/Kconfig.fpu +++ b/arch/x86/Kconfig.fpu @@ -17,7 +17,7 @@ if USING_FPU_IN_KERNEL_NONATOMIC choice prompt "X86_HYGON_LMC" depends on X86_64 && CPU_SUP_HYGON - default X86_HYGON_LMC_SSE2_ON + default X86_HYGON_LMC_AVX2_ON help Select the type of non-temporal (NT) copy instructions to use for large memory copy operations between kernel and user mode. You can -- Gitee