diff options
| author | Huacai Chen <chenhuacai@loongson.cn> | 2026-10-27 22:51:23 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-10-27 22:51:23 +0800 |
| commit | 9b56c3659a7e5d930ab3c07ea74cc46af65b6d20 (patch) | |
| tree | 12880635e315cdac92067ce92620da47df6eb611 /tools/lib/python | |
| parent | 12782fb6dfa9746c652443a412ed55bf0e2e357c (diff) | |
LoongArch: Call cpu_final_simd() with pure_initcall()
After commit 35ebc4de105989034f12 ("xor: remove macro abuse for XOR
implementation registrations"), using "simd=128" to limit SIMD on a
platform with 256bit SIMD instructions causes a boot failure.
Because cpu_final_simd() is called with arch_initcall() now, which is
after xor_init(), LASX flavors are selected but not workable.
Call cpu_final_simd() with pure_initcall() which is before xor_init().
Cc: stable@vger.kernel.org
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
