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 CDEE2CA5FAC for ; Tue, 29 Sep 2026 15:51:40 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4hvN2g2cfrz30WF; Wed, 30 Sep 2026 01:51:39 +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=1790697099; cv=pass; b=Se6FB4Pf3gGb1EHZHx9LaywfLpEh3PVMfxL9fs7TQOEAb2ICUQpytT8r5hU+/BvgSWqY2nY1/ezhzU3GPLHf7JeNxnM8ZokyZDKqkni+f0FOYrcDCRKK7WFWy2IbBDdmtPTKKUqP0co34lg7Ar5/Xq8mzS5jpMz4t+s1PIfm6mqDd2tKK2y5Y66LK7F61bnFqsRhM95besj0sqQiXtvtL9WjxkQXlFOL4klp4+mfXnwiJcMKOJVWAv5OOgecfD/gaUFrcXU2RKuMP66SvqK7SZgHJdsrGqp/RkHY49F0fAppUPV9+pGuB3R9bp0gvNnhjCVViCDjQoLDwA9o8t9nhQ== ARC-Message-Signature: i=2; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1790697099; c=relaxed/relaxed; bh=AMFhK9C963GdR47YZmuko0LM73Hc481Vl5AjQq5eme8=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=EKCKCw5lNoeuP5hmcaSMsKsKy2qDHi1TiYdjHXouzetR9IskvEUu8YY7jbp8seMc8ficJ27/7vjSrKzp6dAcB85595jvyCo0UUwEo+1xK89F9g7C14RuG6Z7kKi6ccP5sgeP3rhNiGOfxHFqE3YEoPXUEmKifYPnDmC9Wdv9lxm15rz3SA7f5sz+QIzgYvidot0Ed5LyFvJQupUnhS6rJ1MNHF4t6z/RzTzb7xALONy7lH4u9s10glkaNcOuc3algzjp6vtjlhAJrL5DZHfUOkD6UtyehV3irlplbTdVqLQzkKrRfHrHDtw554MI5AHm2XVQdQiNko/qG1J9ybql6w== 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=Qk3vrtfs; dkim=pass header.d=xenosoft.de header.i=@xenosoft.de header.a=ed25519-sha256 header.s=strato-dkim-0003 header.b=w22YaIeD; 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=Qk3vrtfs; dkim=pass header.d=xenosoft.de header.i=@xenosoft.de header.a=ed25519-sha256 header.s=strato-dkim-0003 header.b=w22YaIeD; 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) 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 4hvN2Z3rVVz30Vv for ; Wed, 30 Sep 2026 01:51:31 +1000 (AEST) ARC-Seal: i=1; a=rsa-sha256; t=1790697085; cv=none; d=strato.com; s=strato-dkim-0002; b=BfBw1Kox7QYgb+0KVqCyhFFXfyq8Db1+0jQVdVG4idNZO02VRtQSJMV0ZU9WZSuEyn Ln6vst6Onw34SYteilna/hnNm97EYzQRuivw0pnP2j/1hRW6/JegbJU1KegyYqPpWr5i 1vorPk+swH+64y20U4vt/VFnCBSXO6+GM0dZUpWAyouzxi5ACDrHDfvp75GMcqyvaT+z mIYF0pnNeuunTxiS0yMNGR1UF2/184HMDi3Gbbpw3nx/MDpom6KRyofSD7Pc4PbyYS7w lhGEbAx/Y3sIsVea9i5e51I1RR9MFpeHQ0yo4ldf7Sr9Nhq2J3V94s/fnO0KlnYkjhvc vEsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1790697085; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=AMFhK9C963GdR47YZmuko0LM73Hc481Vl5AjQq5eme8=; b=UsJjCkolkzPpbcbDJ9svSoiVaQfqPBABkjsj1i2lN5zwhHT2orckOdVxqbKlxEmNFT BInocFQcfz8/EWzCR8WR3XdH+tB/j6seRgWCoxeuwxghXEP55+tWdm+vvNnPzpdyA4an jD4XDhrk8/d+6kpkkyB7EpbOakdr1RN4PGMJexebRiPP3XTtIcPbyRwYaMm9x/vJgRat PxYJQVwGq6ze4UuX2TrEnHgEIWX1+gICEIgM56jGZaebiUCesnZJwQGfiywXOCpmrQLW XTCPboLyBProzUgOn4I/8igniXQImBeKvculkyr7ap102YoAtcQiuFGDl9aQ5iuoVpdM T4DQ== 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=1790697085; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=AMFhK9C963GdR47YZmuko0LM73Hc481Vl5AjQq5eme8=; b=Qk3vrtfs/0sysRkxStCaLN4M2rP7mxrBxq30Q0FV82zGTkVLbZk+ndTHRG4KlzEaBL I7sJejk9S/Ljp41OxIrQDsGR5qWLh4Fx5gt8sGyAKNqyPYOKcgMxv7BOrt1az7aLMu9T E1laK2gUeFYWUDXQps9/A0gGSlFD0TZ1NHg4uEEKhrJLh6hoRJdf4e3h1nqMi2FFT5XC T4tAVFKP6H9dH6HkfBJA+lv3ZSLYgQWt2MhNUspQBcEyvKD8orbfJz57WL22zZSNIQd7 iDXdrOSSZlbhzm4434bFhdcx4JSuz+SWCdSfgqWLyvxB/UEi7w2RINsFkGtvec3msw5J 5GFg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1790697085; s=strato-dkim-0003; d=xenosoft.de; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject:Cc:Date: From:Subject:Sender; bh=AMFhK9C963GdR47YZmuko0LM73Hc481Vl5AjQq5eme8=; b=w22YaIeDYiMfwNQWidISGMiPfu/azzcbcM0Z8YojukOiwcu8TzBaV/7hps428h0WhR lq6h+LnKNN+da/p/kzAQ== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGN0rBVhd9dFr4thIFiqT9BURIi+igQ==" Received: from void-ppc.a-eon.tld by smtp.strato.de (RZmta 55.6.2 DYNA|AUTH) with ESMTPSA id e0463b28TFpN54M (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 29 Sep 2026 17:51:23 +0200 (CEST) Subject: Re: [PATCH 0/2] KVM: PPC: BookE: Fix boot hang on preemptible kernels To: Shrikanth Hegde , maddy@linux.ibm.com, linuxppc-dev@lists.ozlabs.org Cc: mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, linux-kernel@vger.kernel.org, msuchanek@suse.de, ritesh.list@gmail.com, harshpb@linux.ibm.com, gautam@linux.ibm.com, amachhiw@linux.ibm.com, venkat88@linux.ibm.com, nnmlinux@linux.ibm.com, "R.T.Dickinson" , mad skateman , Damien Stewart References: <20260928110411.844582-1-sshegde@linux.ibm.com> From: Christian Zigotzky Organization: A-EON Open Source Message-ID: <754bfea0-5f8f-ba20-cf48-9c6131f98b49@xenosoft.de> Date: Tue, 29 Sep 2026 17:51:23 +0200 X-Mailer: BrassMonkey/34.3.2.1 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 In-Reply-To: <20260928110411.844582-1-sshegde@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 28/09/26 13:04, Shrikanth Hegde wrote: > Christian Zigotzky had reported that preemptible kernels don't boot on > his FSL Cyrus+ board. The board freezes on running either full/lazy > preemption and has been an issue for a while now. > > https://lore.kernel.org/all/b897b0fd-90f2-4215-bcd4-3714e497d773@xenosoft.de/#t > > After 7.0, there is only preempt=full/lazy which removed the > preempt=none/voluntary workaround used to mask the issue. There was > challenge is getting the console logs which made the fixes difficult since > one couldn't know where the issue is. > > Thanks to Michal for helping in getting the logs. That pointed at few > places where the issue could be. This series is an attempt at fixing > those. > > Christian, KVM team, > Please *test* the patches. > > Shrikanth Hegde (2): > KVM: PPC: BookE: Disable preemption before loading guest FP and > Altivec > KVM: PPC: Replay pending interrupts before entering the guest > > arch/powerpc/kvm/booke.c | 9 ++++++++- > arch/powerpc/kvm/powerpc.c | 13 +++++++++++++ > 2 files changed, 21 insertions(+), 1 deletion(-) > Hi, I was able to compile the RC5 of kernel 7.3 with your patches today. :-) [1] After that I successfully tested it with KVM PR and KVM HV on my PowerPC machines. Tested-by: Christian Zigotzky Many thanks for your help, Christian [1] https://github.com/chzigotzky/kernels/releases/tag/v7.3.0-rc5-2 -- Sent with BrassMonkey 34.3.2.1 (https://github.com/chzigotzky/Web-Browsers-and-Suites-for-Linux-PPC/releases/tag/BrassMonkey_34.3.2.1)