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
6lowpan_i.h -rw-r--r-- 989 bytes
Kconfig -rw-r--r-- 2.6 KB
Makefile -rw-r--r-- 866 bytes
core.c -rw-r--r-- 4.0 KB
debugfs.c -rw-r--r-- 6.7 KB
iphc.c -rw-r--r-- 36.7 KB
ndisc.c -rw-r--r-- 6.3 KB
nhc.c -rw-r--r-- 5.1 KB
nhc.h -rw-r--r-- 4.3 KB
nhc_dest.c -rw-r--r-- 650 bytes
nhc_fragment.c -rw-r--r-- 658 bytes
nhc_ghc_ext_dest.c -rw-r--r-- 670 bytes
nhc_ghc_ext_frag.c -rw-r--r-- 682 bytes
nhc_ghc_ext_hop.c -rw-r--r-- 658 bytes
nhc_ghc_ext_route.c -rw-r--r-- 675 bytes
nhc_ghc_icmpv6.c -rw-r--r-- 613 bytes
nhc_ghc_udp.c -rw-r--r-- 571 bytes
nhc_hop.c -rw-r--r-- 633 bytes
nhc_ipv6.c -rw-r--r-- 597 bytes
nhc_mobility.c -rw-r--r-- 658 bytes
nhc_routing.c -rw-r--r-- 645 bytes
nhc_udp.c -rw-r--r-- 5.5 KB

back to top