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 C57A2FDEE2F for ; Thu, 23 Apr 2026 17:46:46 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4g1k6s2zvMz2xlt; Fri, 24 Apr 2026 03:46:45 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=pass smtp.remote-ip=85.215.255.54 arc.chain=strato.com ARC-Seal: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1776966405; cv=pass; b=X3c8Lz4jNefpaGPU/sNGxdGMX/8TkOXCF2f1Rq8siEgloCwFhN1bwAIlYmB/uybapZHJFAST1NvTOK4lTIncedXXccByomraHLNZoyJUo+GCyZ5emmL0z517CH4MsX+pIjMJYnip3bFrK60BTC3MUAXWJG7QNOyQlpFWl7uoFtaiBb5BZU/ap6/E4ir11pGPJB2T5SSvEoVzTgSfvEijqd/09G9Xz6qhKnzcil0ZgS6a/Yel89LEQH31DPVNooWIqbR756jByaThAZKBw3YboQAIz7v1FfwRsfAoZnc+ddhNwOJ/aotzz2ZiyYwVmKunTjshXOcRoKHeGQRYZyWbMA== ARC-Message-Signature: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1776966405; c=relaxed/relaxed; bh=4F9oyUj8BckTc2ElH/y4DhuW77gpVC4jgKYE3XcJY1E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=myLEPo4YM45PdXz0h3nNhowJLeZSnsvIETF5BIY3bVZrixfiMR+r9KQX9bPOAAuAnwEtGKuLQLby9Fver75S90nQi9Wmv5v82oaeKZTxxC77DGNvko64as/tF0zeie0H0AiDAr2ApoGuObNhqRRXjsLZhZup8/9zYTBxMfTUxdO0/al2b9K+iyIXXVNnPswZVsAhBhRInLqr3nH3b1P4pSjU6Gt6ACd/VgeJJ2XfCyvmoiInqrORXqgiuRTK0iEk9eHPIR5SR9qjVnFfdqlwbM+fRyjgftLeGZ/vUWJ/5Tn+rxpkwHMb/VkqP1TjIh9xLrzx+m2aBgoIXMuf9glk+Q== ARC-Authentication-Results: i=2; lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=xenosoft.de; 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=NgmW4nU9; dkim=pass header.d=xenosoft.de header.i=@xenosoft.de header.a=ed25519-sha256 header.s=strato-dkim-0003 header.b=p5rczCnY; dkim-atps=neutral; spf=pass (client-ip=85.215.255.54; helo=mo4-p01-ob.smtp.rzone.de; envelope-from=chzigotzky@xenosoft.de; receiver=lists.ozlabs.org) smtp.helo=mo4-p01-ob.smtp.rzone.de Authentication-Results: lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=xenosoft.de 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=NgmW4nU9; dkim=pass header.d=xenosoft.de header.i=@xenosoft.de header.a=ed25519-sha256 header.s=strato-dkim-0003 header.b=p5rczCnY; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.helo=mo4-p01-ob.smtp.rzone.de (client-ip=85.215.255.54; helo=mo4-p01-ob.smtp.rzone.de; envelope-from=chzigotzky@xenosoft.de; receiver=lists.ozlabs.org) X-Greylist: delayed 3176 seconds by postgrey-1.37 at boromir; Fri, 24 Apr 2026 03:46:41 AEST Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.54]) (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 4g1k6n6xPKz2xPL for ; Fri, 24 Apr 2026 03:46:40 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; t=1776966372; cv=none; d=strato.com; s=strato-dkim-0002; b=aUa3w9LXObSiDXJr2Jhk89XH7g/n4JdTySogpGIYuFcnuxlhi6zcscl3T+2zI7P+g8 Gjlzy/54Csbdx2U1YgO3Wd9JagWqnLYViuHri3tGEjtqiq0KxjapB8P1OuqGctHHMyEg jnXWSTy3bd2ms+16i3ighApbuIKYC+UEWYYZyvGEpjjDU+P3oUQf+IFSRE6/aoVbg0Ro +86OntlsebXCE2YD/LbE6Gl7+XVTSpYJXjfQ5vEGm6wysQeER4m8kMTQF3RlIvUoSd5O HDV+OZYiGcJ0/0C5gYHz/EihzByI1EAdQLGDl8DSfdX9T/9EuzisgCcjR9ipmA8Z/6h6 aZtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1776966372; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:From:References:Cc:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=4F9oyUj8BckTc2ElH/y4DhuW77gpVC4jgKYE3XcJY1E=; b=L0ctOigX7CzXjlM6Vy2P6jm6z3Hwor1fsPWIT3966k1lqgWj+ylKfcqk6XWob03/yC DKu0851zw5S3/zODFrl/M1bDwXSVLOc40kZzgWGTyQgnmKyk5WqlwbIHjtb97M2vJTlv O7RIbHr3XZensv2h0ge388/+0whGI5Q5ZEiExmEieFDBoBSTzPEJZ1DmLtc6dq7tv4KQ CwVnobi96QZnVAYqTIbARc3ElK5LR6xZwNECYLiyv9b/42njdxs4pCHHABnqr9aTw2QS eLhYPoFfDqxzR6jYj276MgZVO8IOk5UbGyYl73usnVuzhA1rzLJBBh+Sh9pp6o4sjvmc s2tA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1776966372; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:From:References:Cc:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=4F9oyUj8BckTc2ElH/y4DhuW77gpVC4jgKYE3XcJY1E=; b=NgmW4nU9VRS/xMu37ekuhwTF6RhwiJDEfUERgz4QvHTV3gjC38ZWv+PutW/u+h9eKK H3rMXb5E2P41yO13ojT8TVmHi7wphDT9BNKccL/MZlAOnX8eBvyQ9PjU6S161NEDo/Q/ nSfqH+sckf4tbHTVdBlxnkMf0OKBISvzIdGHfY98dISMIPygYGLPB4rYzGzi0YPUHhO5 mPCM18M1WDPFQ8Hpd4WJbnfr4I6MixpftguEAjO0wopd5eaVHuD+ZHoviEEXVOI7QKX5 xxHljg5Ufs03WvP4v5btvdP0iplOgzFgFlIMZqltUSqmMZVuNFZ3gzadRGdWrXdSPQAv yH+w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1776966372; s=strato-dkim-0003; d=xenosoft.de; h=In-Reply-To:From:References:Cc:To:Subject:Date:Message-ID:Cc:Date: From:Subject:Sender; bh=4F9oyUj8BckTc2ElH/y4DhuW77gpVC4jgKYE3XcJY1E=; b=p5rczCnY9raPhC7ydBZGEe4Hoe0JZ5UWcDN8awJrXaER1Z+5FqmY1p5K6c0kgd2XPd cNGh6Z6KUs7WVmCKiYDA== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGN0rBVhd9dFr4thIFiqT9BURIC+l5B/g" Received: from [192.168.178.48] by smtp.strato.de (RZmta 55.0.1 DYNA|AUTH) with ESMTPSA id e7876023NHkBugR (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 23 Apr 2026 19:46:11 +0200 (CEST) Message-ID: <5da12382-5424-4bd9-981f-359e4dc1fa67@xenosoft.de> Date: Thu, 23 Apr 2026 19:46:11 +0200 X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: KVM-PR no longer works when compiled with new GCC compilers To: John Paul Adrian Glaubitz , linuxppc-dev , kvm@vger.kernel.org, "debian-powerpc@lists.debian.org" Cc: "R.T.Dickinson" , hypexed@yahoo.com.au, mad skateman , Christian Zigotzky References: <588ada6c-bcc4-e93b-1beb-4f7f859e3d5c@xenosoft.de> Content-Language: de-DE From: Christian Zigotzky In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 23 April 2026 at 07:35 pm, John Paul Adrian Glaubitz wrote: > Hi Christian, > > On Thu, 2026-04-23 at 18:50 +0200, Christian Zigotzky wrote: >> On 02/10/25 08:37, Christian Zigotzky wrote: >>> Hello, >>> >>> KVM-PR (-enable-kvm) doesn't work anymore on our PA Semi Nemo boards >>> [1] if we compiled it with new GCC compilers. >>> The VM can't boot. There aren't any messages on the serial console of >>> QEMU. >>> >>> It boots without KVM-PR. >>> >>> Kernel config with new GCC compiler [2]: >>> >>> - CONFIG_CC_VERSION_TEXT="powerpc64-suse-linux-gcc (SUSE Linux) 11.5.0" >>> - CONFIG_TARGET_CPU="power4" >>> - CONFIG_TUNE_CPU="-mtune=power10" >>> >>> It works if I compile it with an old GCC compiler [3]: >>> >>> - CONFIG_CC_VERSION_TEXT="powerpc-linux-gnu-gcc (Ubuntu >>> 9.4.0-1ubuntu1~20.04.1) 9.4.0" >>> - CONFIG_TARGET_CPU="power4" >>> - CONFIG_TUNE_CPU="-mtune=power9" >>> >>> Mtune changes to power9 automatically if I compiled it with an old GCC >>> compiler. If I compile it with a new GCC compiler again it changes >>> automatically to mtune=power10. >>> >>> Is mtune the reason of the KVM-PR issue? I think the issue is the new >>> GCC. [4] >>> >>> Could you please check whether KVM-PR is compatible with new versions >>> of GCC compilers? >>> >>> Thanks in advance, >>> >>> Christian >>> >>> >>> >>> [1] https://en.wikipedia.org/wiki/AmigaOne_X1000 >>> >>> [2] >>> https://github.com/chzigotzky/kernels/blob/45186997e6f347fd092f9ab629d62d6041426227/configs/x1000_defconfig >>> >>> [3] >>> https://github.com/chzigotzky/kernels/blob/bc7a3e27b3fcdee52a8135435f02cf807a43872a/configs/x1000_defconfig >>> >>> [4] KVM-PR no longer works on an X1000 if the kernel has been compiled >>> with a new GCC: >>> https://forum.hyperion-entertainment.com/viewtopic.php?p=57146#p57146 >>> >> Error messages (kvm-pr compiled with powerpc64-linux-gnu-gcc 14.1.1 >> 20240507 Red Hat Cross 14.1.1-1, GNU ld version 2.41-2.el10_0): >> >> [  800.274759] Couldn't emulate instruction 0x00000000 (op 0 xop 0) >> [  800.274767] kvmppc_exit_pr_progint: emulation at 100 failed (00000000) > I don't think "mtune=power9" or "mtune=power10" will work. Did you try "mtune=power4"? > > Adrian > I haven't tried it yet, but I'm going to give it a try. Christian