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 347DE378D78; Tue, 9 Jun 2026 16:12:49 +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=1781021571; cv=none; b=aOzCPF2tXxrQxqv/OkUdND/bEx1foteQ7YcLGkOpNDEK6XuA3si7oao0tR/u47l90Qy6bGO2QRaXbvEQCyUm7rrJK10KGr47dvfOsPxLmN0oPvR47nZ4OPAtvTNoakwpmEGyncfgla4UfKvS/bgr22sWN9gY9SusMfC6CBkcpQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781021571; c=relaxed/simple; bh=3rllqHtSZlQ3+eTYOxV4cCxNx9fbZfUu8XWpwEcj5RE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jKaFYBHK2Mj/x+JzEwnNuIJJ7LyAdnBUDbmZL6ZBf722HDwN2vcoNxNFt/AYYozGnQ4DrwHZSgVRnBvz7pZ7LakkFcqre6srkKyAhJUBruVWWE0iii+iNROgdzlKN8FzYdYtAE1ldeZg6EY6OzmFmjHmIc/ObbYqHA6oS3Hw6po= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gQvvyx2p; 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="gQvvyx2p" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D5CB1F00893; Tue, 9 Jun 2026 16:12:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781021569; bh=bPqQ6uth3gPaAJwu37Rm70J2rM+vQopDdeskULmpciA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=gQvvyx2prbGt7/Gzx7ZiSbc1lEfON7wLOfqL4aIRhEJE+QRqBAviXG1ZLPkbCLogJ X400cgzYRkpHKwtKJDF76pZlr8+IQSmLJRUW6a4iAMjrY1oL7cQ0zXdxEPZajW+rAA Mw/FdobYcMzaclJEuluMMQ9QJsgOKFoUqAMwqhwSxTn9xgKdYtaio4J+eG9PVoaXN/ x/7Jsbvk/yjPL9WjqfvWrCIGgCVE8T20MHPQqZnx1oxF0m4robpW8x11nE9WNwL4uz SyWFt+zCnEkztq2STrJzdSB6WXVoueBgtIyO84Hs88x8e5TkGwi7UeO9jaHlYL+yOQ EdKZWnwt8YDsQ== Received: from johan by xi.lan with local (Exim 4.99.3) (envelope-from ) id 1wWz4J-000000012LU-1XXM; Tue, 09 Jun 2026 18:12:47 +0200 Date: Tue, 9 Jun 2026 18:12:47 +0200 From: Johan Hovold To: Geert Uytterhoeven Cc: Ulf Hansson , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Linux-Renesas Subject: Re: [PATCH] pmdomain: core: switch to dynamic root device Message-ID: References: <20260424104050.2617041-1-johan@kernel.org> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Geert, On Tue, Jun 09, 2026 at 12:53:59PM +0200, Geert Uytterhoeven wrote: > On Fri, 24 Apr 2026 at 12:41, Johan Hovold wrote: > > Driver core expects devices to be dynamically allocated and will, for > > example, complain loudly if a device that lacks a release function is > > ever freed. > > > > Use root_device_register() to allocate and register the root device > > instead of open coding using a static device. > > > > Signed-off-by: Johan Hovold > > Thanks for your patch, which is now commit a96e40f4afdcb52a > ("pmdomain: core: switch to dynamic root device") in pmdomain/next. > On e.g. R-Car H1, R-Car M2-W, and R-Car H3, this causes scary messages > when systemd-journald.service is started: > > synth uevent: /always-on: failed to send uevent > genpd_provider always-on: uevent: failed to send synthetic uevent: -22 > synth uevent: /ca15-cpu0: failed to send uevent > genpd_provider ca15-cpu0: uevent: failed to send synthetic uevent: -22 > [...] > > Reverting the commit fixes the issue. Thanks for the report and sorry about the breakage. I mistakenly convinced myself that this would not be an issue due to the pmdomain code making sure that the bus has been registered but missed the two-step initialisation. I just sent a fix here if you want to give it a spin: https://lore.kernel.org/lkml/20260609160634.246526-1-johan@kernel.org/ Johan