From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com [103.168.172.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1279175A80 for ; Tue, 10 Mar 2026 01:34:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773106492; cv=none; b=DymIzauUIYXt8Tu7esXcMZUGu1xBgG+ncE2+g6bQeb1x9egoRDPf5QajTAdCOC9n2vHD9cAY5nkjA6INrg7btrHaSRAWvqnG4GX+UaCE7IC3+MJextc3EdS4a44ZNual6n5ki2znttcpv1iaKcUdr6doUbXiYwp/+It9bU+EyKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773106492; c=relaxed/simple; bh=npLr/+KtBIdVdX/FaQZtZI78AShY0HcYxKy9/wd1mSY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ggl00pG5yM/SDzEGYTkygmj2UJ2dy9TR4RR5NKgzsMzZ+ULD0/N2B/qOVO+qhsJt7AtN7+HRHE6qXm7l9MiqQTMYgjeDMK9a6jLXVWkyOuqzFOOw0prLREliRMDLj4dVfVGn1RA7K31iCXjS8a+71ppkY7bpy9nn6e+MDVsZThA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b=kQiUTM4M; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=khkW2XJM; arc=none smtp.client-ip=103.168.172.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b="kQiUTM4M"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="khkW2XJM" Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id D51B414000CE; Mon, 9 Mar 2026 21:34:49 -0400 (EDT) Received: from phl-frontend-02 ([10.202.2.161]) by phl-compute-05.internal (MEProxy); Mon, 09 Mar 2026 21:34:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1773106489; x=1773192889; bh=5Hr2YI+6++4i3Wyr4iJ0RdVsOlRFX1rtepCQTXchtlk=; b= kQiUTM4MZtVpSMqSRWsNFmIJ5D36xoj0TxDZN9mxTygAF/RSJhn84v6cdpslGbEH 91ykQVv2n9eulRAGAZhu2kOdKLALEWIJG+kr60Sgnzh6VK5He78tz8L/bnaOha00 C8Ud5qv36WckIWC0QNEzN7eiB4QbIqyyzhmn4JK3F8HwrXMdv3uoJpCN4XuqQjsD NRMLMXmX47Om1G6NER95G/RIpyrs1U03nEEoJmh1oB7fJiFhS0qavGlYT1eAC7r3 qaNmyEbYRGFVHxsVIj1mmHs9G+ofHG9OqZa/RNuXqYD01JkEnXe6UkOkD1pTtVrv UON4YRWF/Xxlj1hO2fzfyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1773106489; x= 1773192889; bh=5Hr2YI+6++4i3Wyr4iJ0RdVsOlRFX1rtepCQTXchtlk=; b=k hkW2XJMvVNHWLDjX2V57zwX63UxhzqfstSjyLwsMcxSxGkD+NIu2FzfPdV9uej93 TUKV1ScHHbua+Z6i/t6xMkpVELljGFAUrgA4Hh/aZ/SIXS/waLbfhNZTpVuVTM41 g/fo6VkfqnzsvPnGqOAh61iZ2f4mu8A7ive3tIyzNMT0YHXg8vr8SyzJkdAQKVmU lcCxaFp1ioYZcHMDvWPUDcKB3OV6jDQlzYj3iIjPxIK3G0MklBXnv4LhzOL6TQI2 Yw1XedzVvZZhTwHbaF1A7SRSt4U1X48lKaMk6s5AMOviedTqg4aRtlJLjGb4oQof YMvqbEuZkJ10kjSIUimjw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvjeeljeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpedfuegrrhhr hicumfdrucfprghthhgrnhdfuceosggrrhhrhihnsehpohgsohigrdgtohhmqeenucggtf frrghtthgvrhhnpeefleehkeehleekjeelffefhfdvleejteehledtieduffevteffleet gefgfefhjeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsggrrhhrhihnsehpohgsohigrdgt ohhmpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhope hgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhrghdprhgtphhtthhopehs thgrsghlvgesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehsrghshhgrlh eskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuhdrkhhlvghinhgvqdhkohgvnhhighes phgvnhhguhhtrhhonhhigidruggv X-ME-Proxy: Feedback-ID: i6289494f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 Mar 2026 21:34:48 -0400 (EDT) Message-ID: <037126c3-d398-42aa-9883-e9eb74a0ad20@pobox.com> Date: Mon, 9 Mar 2026 18:34:47 -0700 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [5.10.y] "driver core: platform: use bus_type functions" causes freeze on shutdown To: Greg Kroah-Hartman Cc: stable , Sasha Levin , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= References: <2026030930-iphone-pony-e8ef@gregkh> Content-Language: en-US From: "Barry K. Nathan" In-Reply-To: <2026030930-iphone-pony-e8ef@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/9/26 07:43, Greg Kroah-Hartman wrote: > On Mon, Mar 09, 2026 at 07:03:33AM -0700, Barry K. Nathan wrote: >> To be very clear, I want to emphasize up front that this is regarding >> the *current 5.10.y queue*, and not any 5.10.y release. This does not >> affect any currently released 5.10.y kernel. >> >> When I apply the current 5.10.y queue on top of 5.10.252, the result >> is a kernel that consistently freezes on shutdown, both when running >> directly on my Lenovo ThinkPad T14 Gen 1 (Debian 12 bookworm running on >> an Intel Core i5-10310U) and when running in a virt-manager VM (I didn't >> put much thought into it and just happened to pick a Debian 13 trixie VM >> for my testing). >> >> (Just once in my testing, there was a visible kernel panic, but there >> was also screen corruption, and it looks to me like it might've frozen >> up partway through the panic being printed on the screen, so I'm not >> sure how useful it would be. I did take a photo so I guess I could >> post it up somewhere if it might be useful, or maybe I'll try to type >> it in from the photo later today or tomorrow.) >> >> I bisected manually, and it turned out to be this patch: >> "driver core: platform: use bus_type functions" >> (driver-core-platform-use-bus_type-functions.patch) > > That patch has been dropped from the queue earlier this morning, so all > should be fine. > > thanks, > > greg k-h $ git pull Already up to date. $ fgrep bus_type queue-5.10/series driver-core-platform-use-bus_type-functions.patch It doesn't look like the patch has been dropped yet from the 5.10.y queue in the stable-queue git repo on kernel.org. (At least as of this writing, around 6:30 PM PDT, you can go to https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-5.10 and see that the patch is still there.) By the way, if dropping this patch turns out not to be the correct course of action, I think backporting one additional patch will fix it. I applied the following patch directly from mainline to test it; it applied with an offset but no fuzz. I did some brief testing and it seems to fix the problem (no more freezing on shutdown). mainline commit 46e85af0cc53f35584e00bb5db7db6893d0e16e5 driver core: platform: don't oops in platform_shutdown() on unbound devices -- -Barry K. Nathan