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
ccids
Kconfig -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 878 bytes
ackvec.c -rw-r--r-- 12.3 KB
ackvec.h -rw-r--r-- 4.5 KB
ccid.c -rw-r--r-- 5.1 KB
ccid.h -rw-r--r-- 8.6 KB
dccp.h -rw-r--r-- 15.6 KB
diag.c -rw-r--r-- 2.1 KB
feat.c -rw-r--r-- 47.4 KB
feat.h -rw-r--r-- 4.4 KB
input.c -rw-r--r-- 21.7 KB
ipv4.c -rw-r--r-- 28.6 KB
ipv6.c -rw-r--r-- 30.4 KB
ipv6.h -rw-r--r-- 608 bytes
minisocks.c -rw-r--r-- 7.4 KB
options.c -rw-r--r-- 16.3 KB
output.c -rw-r--r-- 20.3 KB
proto.c -rw-r--r-- 29.4 KB
qpolicy.c -rw-r--r-- 3.3 KB
sysctl.c -rw-r--r-- 2.6 KB
timer.c -rw-r--r-- 7.1 KB
trace.h -rw-r--r-- 2.1 KB

back to top