From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 0DEE2455175 for ; Wed, 12 Aug 2026 14:20:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786544431; cv=none; b=rNn9trm7qrPx2pmQbxIn0EEgQmmrcCqAynsBj+H9K3SdqhGP6AlEMbupm9SQBWIlGKTZc7TRCqr8HB5h0U7TLUa6K5EFaIp20cQb6lA51SHoZuACs01q3BEdR8b0QVYn1d4JTwmHC1Ry+zEv6eH6ePHE28C5B2XbejBx6OIhVF4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786544431; c=relaxed/simple; bh=pAaIq4GW2ujEulT8ffkFiuAYv5CIYl4YluotwQeD09A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NrcCu/9f09MQGq0/wTKTDsCl9x2iYupROkz0M3r/xDHNxw23CukpGTBmrXrDbxwnEAXcDdeWWM9eHeFQU6eZslgJw7mw3BZg3vIybTlP/M7LHsfck/MhPk6oaJq4aJHkDIFTKIVQ8fNdem2eSQNRl7GnPHLGo4pwUDyEoYupwTo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OVoxI0sG; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OVoxI0sG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B95201F000E9; Wed, 12 Aug 2026 14:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786544428; bh=ri73WBFylGP1oW970dISficnBX9LqQNH5o/i2IohbAE=; h=From:To:Cc:Subject:Date; b=OVoxI0sGTNbXFuN68nuk9koRLXj3J8aY1G5gijY57ner6PspL8nIr/yP4UEGOJJlJ WKVXLKFkOMENXBkwD9rMgBtIsPSrJy2Ptpa5pUeVxVLiLfFPsqQl81z5gQM3tEPu2t HO6+uCCNgHdIFMOS3c4IQ1GOjTpMWflexVTBHSMEd6jIMSMd9CpSXEN8mC28NeMs5Y sHwoK/5KY+TTr79vwJW4j0UFfM/0hcCs1+YU4OlJ/xWrfKiTVJBt4Lz54jwWia71tE CxnPhcZATQul1UU303txI0zOXHiHO/VVQtyWqlqilT5FWdqb+F7VUBHsCiFVyySUp3 dVngucef+P/+g== Received: from johan by xi.lan with local (Exim 4.99.4) (envelope-from ) id 1wu9og-00000000ELf-20Hn; Wed, 12 Aug 2026 16:20:26 +0200 From: Johan Hovold To: Geoff Levand , Madhavan Srinivasan , Michael Ellerman Cc: Nicholas Piggin , Christophe Leroy , Greg Kroah-Hartman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v2 RESEND 0/3] powerpc: switch to dynamic root devices Date: Wed, 12 Aug 2026 16:20:13 +0200 Message-ID: <20260812142016.55136-1-johan@kernel.org> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit [ It's been over three months (and one reminder) since this series was posted so resending. ] This series replaces static root devices with dynamically allocated ones. Included is also a related printk cleanup. Johan Changes in v2: - only set ibmebus root pointer on successful registration - add sanity check when registering ibmebus devices to avoid use-after-free if ibmebus_register_driver() is called after the bus failed to register (Sashiko flagged this path which I had missed) Johan Hovold (3): powerpc/ps3: switch to dynamic system bus root device powerpc/pseries: switch to dynamic ibmebus root device powerpc/pseries: clean up ibmebus printks arch/powerpc/platforms/ps3/system-bus.c | 10 ++--- arch/powerpc/platforms/pseries/ibmebus.c | 57 ++++++++++++------------ 2 files changed, 33 insertions(+), 34 deletions(-) -- 2.54.0