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-- 2.2 KB
Makefile -rw-r--r-- 554 bytes
actions.c -rw-r--r-- 39.8 KB
conntrack.c -rw-r--r-- 60.4 KB
conntrack.h -rw-r--r-- 2.8 KB
datapath.c -rw-r--r-- 66.6 KB
datapath.h -rw-r--r-- 8.1 KB
dp_notify.c -rw-r--r-- 2.0 KB
flow.c -rw-r--r-- 28.4 KB
flow.h -rw-r--r-- 8.7 KB
flow_netlink.c -rw-r--r-- 99.5 KB
flow_netlink.h -rw-r--r-- 2.4 KB
flow_table.c -rw-r--r-- 29.5 KB
flow_table.h -rw-r--r-- 3.1 KB
meter.c -rw-r--r-- 18.2 KB
meter.h -rw-r--r-- 1.3 KB
openvswitch_trace.c -rw-r--r-- 248 bytes
openvswitch_trace.h -rw-r--r-- 5.6 KB
vport-geneve.c -rw-r--r-- 2.9 KB
vport-gre.c -rw-r--r-- 2.1 KB
vport-internal_dev.c -rw-r--r-- 5.8 KB
vport-internal_dev.h -rw-r--r-- 442 bytes
vport-netdev.c -rw-r--r-- 4.8 KB
vport-netdev.h -rw-r--r-- 539 bytes
vport-vxlan.c -rw-r--r-- 3.7 KB
vport.c -rw-r--r-- 12.6 KB
vport.h -rw-r--r-- 5.6 KB

back to top