On Tue, 07 Oct 2025 19:12:31 +0000, Brendan Jackman wrote:
Running this test on a system with only one CPU is not a recipe for success. However, there's no clear-cut reason why it absolutely shouldn't work, so the test shouldn't completely reject such a platform.
At present, the *3/4 calculation will return zero on these platforms and the test fails. So, instead just skip that calculation.
[...]
Applied to kvm-x86 selftests, thanks!
[1/1] KVM: selftests: Don't fall over when only one CPU https://github.com/kvm-x86/linux/commit/98dea1b75186