summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2026-06-11 15:46:40 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2026-06-11 15:46:40 +0300
commitf1d9dda01aacfae22044c5cb07b50556cfa75eb1 (patch)
tree63b172f05842e30e6ae210575d81279dfcfdcbcc /scripts
parentdb5d2b8f5249bad43d607b550365f80bc7cad831 (diff)
downloadlinux-f1d9dda01aacfae22044c5cb07b50556cfa75eb1.tar.xz
LoongArch: KVM: Enable FPU with max supported FPU type
There are three FPU types FPU/LSX/LASX, which represents FPU64, FPU128 and FPU256, and now lazy FPU method is used with FPU enabling. There are three different HW FPU exception code with different FPU type. The exising method is to enable specified FPU type with responding FPU exeception. Supposing application uses FPU64 and FPU256, there will be FPU256 exception when FPU256 type is used. Here enable FPU with the max VM supported type directly, so it can avoid unnecessary FPU exception in future if further FPU type is used. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions