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
auth_gss
xprtrdma
Kconfig -rw-r--r-- 2.4 KB
Makefile -rw-r--r-- 636 bytes
addr.c -rw-r--r-- 8.7 KB
auth.c -rw-r--r-- 20.8 KB
auth_null.c -rw-r--r-- 2.7 KB
auth_unix.c -rw-r--r-- 5.5 KB
backchannel_rqst.c -rw-r--r-- 11.0 KB
cache.c -rw-r--r-- 45.8 KB
clnt.c -rw-r--r-- 73.7 KB
debugfs.c -rw-r--r-- 6.4 KB
fail.h -rw-r--r-- 495 bytes
netns.h -rw-r--r-- 976 bytes
rpc_pipe.c -rw-r--r-- 35.8 KB
rpcb_clnt.c -rw-r--r-- 27.5 KB
sched.c -rw-r--r-- 33.7 KB
socklib.c -rw-r--r-- 7.8 KB
socklib.h -rw-r--r-- 470 bytes
stats.c -rw-r--r-- 8.6 KB
sunrpc.h -rw-r--r-- 1.7 KB
sunrpc_syms.c -rw-r--r-- 3.0 KB
svc.c -rw-r--r-- 40.2 KB
svc_xprt.c -rw-r--r-- 39.0 KB
svcauth.c -rw-r--r-- 5.4 KB
svcauth_unix.c -rw-r--r-- 22.9 KB
svcsock.c -rw-r--r-- 38.9 KB
sysctl.c -rw-r--r-- 3.5 KB
sysfs.c -rw-r--r-- 16.5 KB
sysfs.h -rw-r--r-- 1.1 KB
timer.c -rw-r--r-- 2.9 KB
xdr.c -rw-r--r-- 55.2 KB
xprt.c -rw-r--r-- 53.9 KB
xprtmultipath.c -rw-r--r-- 14.2 KB
xprtsock.c -rw-r--r-- 83.9 KB

back to top