diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2025-11-09 16:02:09 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-11-10 08:37:07 +0800 |
| commit | 237e74bfa261fb0cf75bd08c9be0c5094018ee20 (patch) | |
| tree | c9732344a0f15e15087493b1af0eee10f3083d13 /net/unix/af_unix.c | |
| parent | 11f340ece403e71aa2b643a2562a58ed3ac12e2c (diff) | |
LoongArch: KVM: Fix max supported vCPUs set with EIOINTC
VM fails to boot with 256 vCPUs, the detailed command is
qemu-system-loongarch64 -smp 256
and there is an error reported as follows:
KVM_LOONGARCH_EXTIOI_INIT_NUM_CPU failed: Invalid argument
There is typo issue in function kvm_eiointc_ctrl_access() when set
max supported vCPUs.
Cc: stable@vger.kernel.org
Fixes: 47256c4c8b1b ("LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_eiointc_ctrl_access()")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
