diff options
| author | 2025-11-09 16:02:09 +0800 | |
|---|---|---|
| committer | 2025-11-10 08:37:07 +0800 | |
| commit | 237e74bfa261fb0cf75bd08c9be0c5094018ee20 (patch) | |
| tree | c9732344a0f15e15087493b1af0eee10f3083d13 /net/tipc | |
| parent | LoongArch: KVM: Skip PMU checking on vCPU context switch (diff) | |
| download | wireguard-linux-237e74bfa261fb0cf75bd08c9be0c5094018ee20.tar.xz wireguard-linux-237e74bfa261fb0cf75bd08c9be0c5094018ee20.zip | |
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/tipc')
0 files changed, 0 insertions, 0 deletions
