Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEC2741A563 for ; Tue, 22 Sep 2026 08:22:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790065373; cv=none; b=QQYsq4zTEt2OtZekBoIEz68js+NA9pK4Q1bJ2iF5l+8zB5xFM/6JuyanK06flnMl4ey44AQtCo/XxgUXSPAwxg4MnD5hVy3z2ebK8ZY6lRUm0p5KdQm3OzeC83KFZliBJZVWwG/88ofyW7GxSsH8TPrns3TGGZMVyckKXlempl8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790065373; c=relaxed/simple; bh=UwEfHfmt0LNPaiHAl6wZiubBbNprxkHei6Jd8cEsB3A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ncwr3WZcId8kNC1QrfRmQhYd9Em4wEk2MScym7Snhj2f0Z5TfVFBUqWN+/0loCr2ExVerVk9OHjulvQRpHs/xQHgaFHLcS2J86g/s+3cyG/VgoauZHOxps/DPJQbyD8/pmXP76p2Y8dLza4ieUOafrXx/xaQBO3SKe7KJKjk32w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from kunlun.suse.cz (unknown [IPv6:2a07:de40:b306:2000::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id A758E1F833; Tue, 22 Sep 2026 08:22:48 +0000 (UTC) Authentication-Results: smtp-out2.suse.de; none Date: Tue, 22 Sep 2026 10:22:47 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Shrikanth Hegde Cc: Venkat Rao Bagalkote , "Christophe Leroy (CS GROUP)" , Christian Zigotzky , linuxppc-dev , "kvm-ppc@vger.kernel.org" , Madhavan Srinivasan , Peter Zijlstra , "R.T.Dickinson" , hypexed@yahoo.com.au, mad skateman , Christian Zigotzky , Amit Machhiwal , Gautam Menghani , Harsh Prateek Bora Subject: Re: [Linux PPC] Disable PREEMPT Message-ID: References: <1d83264f-8eda-4321-9200-f12897e38cda@linux.ibm.com> Precedence: bulk X-Mailing-List: kvm-ppc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spam-Level: X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Queue-Id: A758E1F833 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-2.00 / 50.00]; REPLY(-4.00)[]; RDNS_NONE(2.00)[] X-Rspamd-Action: no action X-Spam-Flag: NO X-Spam-Score: -2.00 On Mon, Sep 21, 2026 at 10:50:41PM +0530, Shrikanth Hegde wrote: > Hi Michal, > > On 9/21/26 10:16 PM, Michal Suchánek wrote: > > On Mon, Sep 21, 2026 at 10:06:22AM +0200, Michal Suchánek wrote: > > > On Thu, Sep 03, 2026 at 03:28:26PM +0200, Michal Suchánek wrote: > > > > On Thu, Sep 03, 2026 at 06:06:16PM +0530, Harsh Prateek Bora wrote: > > > > > + Amit, Gautam - since they recently came across a similar regression which > > > > > is seen with non KVM workload as well. > > > > > + Venkat - for CI improvement suggestion below. > > > > > > > > > > Hi Michal, > > > > > > > > > > On 03/09/26 5:55 pm, Michal Suchánek wrote: > > > > > > > > > > > > > > > > There is another problem that Linux 7.2.2 often locks up on boot inside > > > > > > the guest, and as a result a different kernel is needed in the guest to > > > > > > reproduce the host crash. This is more recent, linux 6.12 does not have > > > > > > this problem. Will try some different kernel combinations to see if I > > > > > > can narrow this down. For this the repro is merely booting the kernel in > > > > > > the VM, it typically fails early before userspace produces any messages. > > > > > > > > This one regressed between 6.19.12 > > > > https://github.com/openSUSE/kernel-source/blob/9f6830f/config/ppc64le/default > > > > and 7.0.12 > > > > https://github.com/openSUSE/kernel-source/blob/2ebf0bc/config/ppc64le/default > > > > > > Which is when preempt was enabled. > > > > > > Very likely preexisting problem that was exposed by enabling preemption > > > again. > > > > > > @@ -121,9 +122,7 @@ CONFIG_BPF_LSM=y > > > CONFIG_PREEMPT_BUILD=y > > > CONFIG_ARCH_HAS_PREEMPT_LAZY=y > > > -# CONFIG_PREEMPT_NONE is not set > > > -CONFIG_PREEMPT_VOLUNTARY=y > > > -# CONFIG_PREEMPT is not set > > > +CONFIG_PREEMPT=y > > > # CONFIG_PREEMPT_LAZY is not set > > > CONFIG_PREEMPT_COUNT=y > > > CONFIG_PREEMPTION=y > > > > Looking more into this the problem is not reproducible with 6.19 with > > full preempt, and can be reproduced with 7.0 with full preempt where > > preemtion is mandatory. It only so happens that 1.19 was last kernel > > where preemption was not mandatory and where this problem also happened > > to not manifest with the Tumbleweed config. > > > > I am bit confused. Is it different problem than the kprobe/bpf issue > which was observed on host? Yes, it appears to be different, a crash very early during boot with a different stack trace. > > Is this kvm/guest specific problem you are observing? Is it still seen > even with that kprobe/bpf fix? Yes, even with the fix this can be observed. > > > It is not deterministic enough to bisect. It's probably some kind of > > race condition or code generation problem that can surface and go away > > or become too difficult to reproduce with seemingly unrelated changes. > > > > Can you try latest kernel? How much latest? I tried with 7.2.6 with the kprobe fix as guest, and some earlier 7.2.x as host already, and the problem is reproducible. Thanks Michal > > There was change recently to move to use > generic transfer to guest mode work. i.e VIRT_XFER_TO_GUEST_WORK. > > > Crash happens very early but it's eemu so the memory can be saved > > regardelss. The problem is that the crash tool refuses to load the core > > bacause it detects the core as SMP and vmlinux as non-SMP or the other > > way around. > > > > Thanks > > > > Michal > >