From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 828ADCCA482 for ; Tue, 5 Jul 2022 16:10:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231818AbiGEQKr (ORCPT ); Tue, 5 Jul 2022 12:10:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiGEQKq (ORCPT ); Tue, 5 Jul 2022 12:10:46 -0400 X-Greylist: delayed 118 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 05 Jul 2022 09:10:44 PDT Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [81.169.146.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B44D140E3; Tue, 5 Jul 2022 09:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1657037239; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:References:Cc:To:From:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=PtHy6OokJPrFtoDS0Whqy3V68GshIBOfC24cNcVepSk=; b=RBfOBOXzrCI63W9Rvbhf5BanvIUqHt/d3ZmxcpQi0btZObe9VDQ4qLRQatssvXPhxn V+UCMvezi0yUYjf4cSxB4rfa1hsm26ImuJzoIvJ7z+u0z9DX46bty7ZdpaxTG2L7cn/F CFh/hAygHC0+JkceAg0Elcw8W66VUsYAsgzJFoPBMkqB4Cfb8e37L5lUu+Hbyg+5gnYE QTaODKOKflh3J4Ipd6TQCGCAUX0uYiBOK3IbY3AVDxSHE/JZds7B5MX9HGUgIFNXPUho 3MeKiOUah1xoxTXXQ06fptaDeHybL7e5Kz4VOixx9EANdMULh6UUw5jggXTGLPFNbYJ+ kvlg== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5DdBfio0GngadwjW4dqgkobcHPYDc/BNBepImPPJ" X-RZG-CLASS-ID: mo00 Received: from [IPV6:2a02:8109:8980:4474:3840:b132:e6ea:146] by smtp.strato.de (RZmta 47.46.1 AUTH) with ESMTPSA id icdf6dy65G7HK68 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Jul 2022 18:07:17 +0200 (CEST) Message-ID: <76d0db0f-57fe-2985-4916-175d913d99e4@xenosoft.de> Date: Tue, 5 Jul 2022 18:07:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 2/2] kvm: rename KVM_MAX_VCPU_ID to, KVM_MAX_VCPU_IDS Content-Language: de-DE From: Christian Zigotzky 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 References: <6d3333b1-05cc-103b-4bdb-88bec5e3e9fd@xenosoft.de> In-Reply-To: <6d3333b1-05cc-103b-4bdb-88bec5e3e9fd@xenosoft.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B36BC43334 for ; Tue, 5 Jul 2022 16:11:18 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4LcnjJ6fHBz3c5m for ; Wed, 6 Jul 2022 02:11:16 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=RBfOBOXz; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.helo=mo4-p02-ob.smtp.rzone.de (client-ip=85.215.255.81; helo=mo4-p02-ob.smtp.rzone.de; envelope-from=chzigotzky@xenosoft.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=RBfOBOXz; dkim-atps=neutral Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Lcnhd1s3Gz2yn5 for ; Wed, 6 Jul 2022 02:10:40 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1657037239; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:References:Cc:To:From:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=PtHy6OokJPrFtoDS0Whqy3V68GshIBOfC24cNcVepSk=; b=RBfOBOXzrCI63W9Rvbhf5BanvIUqHt/d3ZmxcpQi0btZObe9VDQ4qLRQatssvXPhxn V+UCMvezi0yUYjf4cSxB4rfa1hsm26ImuJzoIvJ7z+u0z9DX46bty7ZdpaxTG2L7cn/F CFh/hAygHC0+JkceAg0Elcw8W66VUsYAsgzJFoPBMkqB4Cfb8e37L5lUu+Hbyg+5gnYE QTaODKOKflh3J4Ipd6TQCGCAUX0uYiBOK3IbY3AVDxSHE/JZds7B5MX9HGUgIFNXPUho 3MeKiOUah1xoxTXXQ06fptaDeHybL7e5Kz4VOixx9EANdMULh6UUw5jggXTGLPFNbYJ+ kvlg== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5DdBfio0GngadwjW4dqgkobcHPYDc/BNBepImPPJ" X-RZG-CLASS-ID: mo00 Received: from [IPV6:2a02:8109:8980:4474:3840:b132:e6ea:146] by smtp.strato.de (RZmta 47.46.1 AUTH) with ESMTPSA id icdf6dy65G7HK68 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 5 Jul 2022 18:07:17 +0200 (CEST) Message-ID: <76d0db0f-57fe-2985-4916-175d913d99e4@xenosoft.de> Date: Tue, 5 Jul 2022 18:07:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 2/2] kvm: rename KVM_MAX_VCPU_ID to, KVM_MAX_VCPU_IDS Content-Language: de-DE From: Christian Zigotzky To: Juergen Gross References: <6d3333b1-05cc-103b-4bdb-88bec5e3e9fd@xenosoft.de> In-Reply-To: <6d3333b1-05cc-103b-4bdb-88bec5e3e9fd@xenosoft.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: x86@kernel.org, Wanpeng Li , mad skateman , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Darren Stevens , Paul Mackerras , linux-kselftest@vger.kernel.org, "H. Peter Anvin" , Shuah Khan , Jonathan Corbet , Joerg Roedel , "Huacai Chen," , "Aleksandar Markovic," , Ingo Molnar , "R.T.Dickinson" , kvm-ppc@vger.kernel.org, Borislav Petkov , Shuah Khan , Thomas Gleixner , Jim Mattson , "Thomas Bogendoerfer," , linux-mips@vger.kernel.org, Paolo Bonzini , "Vitaly, Kuznetsov" , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 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