From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Zigotzky Date: Tue, 05 Jul 2022 16:07:17 +0000 Subject: Re: [PATCH 2/2] kvm: rename KVM_MAX_VCPU_ID to, KVM_MAX_VCPU_IDS Message-Id: <76d0db0f-57fe-2985-4916-175d913d99e4@xenosoft.de> List-Id: References: <6d3333b1-05cc-103b-4bdb-88bec5e3e9fd@xenosoft.de> In-Reply-To: <6d3333b1-05cc-103b-4bdb-88bec5e3e9fd@xenosoft.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Juergen Gross Cc: kvm@vger.kernel.org, x86@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kselftest@vger.kernel.org, Paolo Bonzini , Jonathan Corbet , "Huacai Chen," , "Aleksandar Markovic," , "Thomas Bogendoerfer," , Paul Mackerras , Michael Ellerman , "Benjamin Herrenschmidt," , Paul Mackerras , "Vitaly, Kuznetsov" , Wanpeng Li , Jim Mattson , Joerg Roedel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Shuah Khan , Shuah Khan , "R.T.Dickinson" , Darren Stevens , mad skateman On 14 September 2021 at 05:59 pm, Christian Zigotzky wrote: > Hello Juergen, > Hello All, > > Since the RC1 of kernel 5.13, -smp 2 and -smp 4 don't work with a > virtual e5500 QEMU KVM-HV machine anymore. [1] > I see in the serial console, that the uImage doesn't load. I use the > following QEMU command for booting: > > qemu-system-ppc64 -M ppce500 -cpu e5500 -enable-kvm -m 1024 -kernel > uImage -drive format=raw,file=MintPPC32-X5000.img,index=0,if=virtio > -netdev user,id=mynet0 -device virtio-net,netdev=mynet0 -append "rw > root=/dev/vda" -device virtio-vga -device virtio-mouse-pci -device > virtio-keyboard-pci -device pci-ohci,id=newusb -device > usb-audio,bus=newusb.0 -smp 4 > > The kernels boot without KVM-HV. > > Summary for KVM-HV: > > -smp 1 -> works > -smp 2 -> doesn't work > -smp 3 -> works > -smp 4 -> doesn't work > > I used -smp 4 before the RC1 of kernel 5.13 because my FSL P5040 BookE > machine [2] has 4 cores. > > Does this patch solve this issue? [3] > > Thanks, > Christian > > [1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2021-May/229103.html > [2] http://wiki.amiga.org/index.php?title=X5000 > [3] > https://lists.ozlabs.org/pipermail/linuxppc-dev/2021-September/234152.html Hello, Since the RC5 of kernel 5.19, -smp 2 and -smp 4 work again. I don't know which patch has solved the issue. Cheers, Christian