summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2022-06-18 07:50:31 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2022-06-25 13:05:59 +0300
commitad82eef3cebf8cd4f67e20b902e6d02e679e2ef1 (patch)
tree3c5b9264efc55a4f3e08ce8dd07d19ce27e06c1d /scripts/gdb/linux/lists.py
parent26808cebf14cdf1d835ae256188ece116d2ab377 (diff)
downloadlinux-ad82eef3cebf8cd4f67e20b902e6d02e679e2ef1.tar.xz
LoongArch: Fix wrong fpu version
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>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions