Revision ad82eef3cebf8cd4f67e20b902e6d02e679e2ef1 authored by Tiezhu Yang on 18 June 2022, 04:50:31 UTC, committed by Huacai Chen on 25 June 2022, 10:05:59 UTC
According to the configuration information accessible by the CPUCFG
instruction in LoongArch Reference Manual [1], FP_ver is stored in
bit [5: 3] of CPUCFG2, the current code to get fpu version is wrong,
use CPUCFG2_FPVERS to fix it.

[1] https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html

Fixes: 628c3bb40e9a ("LoongArch: Add boot and setup routines")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
1 parent 26808ce
History
File Mode Size
Kconfig -rw-r--r-- 271 bytes
Makefile -rw-r--r-- 991 bytes
af_llc.c -rw-r--r-- 32.1 KB
llc_c_ac.c -rw-r--r-- 35.5 KB
llc_c_ev.c -rw-r--r-- 21.3 KB
llc_c_st.c -rw-r--r-- 151.9 KB
llc_conn.c -rw-r--r-- 27.4 KB
llc_core.c -rw-r--r-- 4.1 KB
llc_if.c -rw-r--r-- 4.5 KB
llc_input.c -rw-r--r-- 5.9 KB
llc_output.c -rw-r--r-- 2.0 KB
llc_pdu.c -rw-r--r-- 10.6 KB
llc_proc.c -rw-r--r-- 6.0 KB
llc_s_ac.c -rw-r--r-- 5.9 KB
llc_s_ev.c -rw-r--r-- 3.5 KB
llc_s_st.c -rw-r--r-- 5.7 KB
llc_sap.c -rw-r--r-- 11.3 KB
llc_station.c -rw-r--r-- 3.2 KB
sysctl_net_llc.c -rw-r--r-- 1.8 KB

back to top