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-- 4.8 KB
Makefile -rw-r--r-- 427 bytes
af_ax25.c -rw-r--r-- 45.3 KB
ax25_addr.c -rw-r--r-- 5.8 KB
ax25_dev.c -rw-r--r-- 5.0 KB
ax25_ds_in.c -rw-r--r-- 6.9 KB
ax25_ds_subr.c -rw-r--r-- 4.8 KB
ax25_ds_timer.c -rw-r--r-- 5.7 KB
ax25_iface.c -rw-r--r-- 4.7 KB
ax25_in.c -rw-r--r-- 10.3 KB
ax25_ip.c -rw-r--r-- 5.3 KB
ax25_out.c -rw-r--r-- 8.5 KB
ax25_route.c -rw-r--r-- 10.8 KB
ax25_std_in.c -rw-r--r-- 10.9 KB
ax25_std_subr.c -rw-r--r-- 2.1 KB
ax25_std_timer.c -rw-r--r-- 4.1 KB
ax25_subr.c -rw-r--r-- 7.0 KB
ax25_timer.c -rw-r--r-- 4.9 KB
ax25_uid.c -rw-r--r-- 4.3 KB
sysctl_net_ax25.c -rw-r--r-- 4.3 KB

back to top