From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 55A05241CB1; Sat, 8 Feb 2025 16:42:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739032946; cv=none; b=pf0hqjbKLr/cliNTqfpX7O5NFZKMaSkorW24rRY7Icf4V5r35KKXz1hfhsVUnp56OVAc6/jWLYDRkMvN9FyNsIQ4+to3yrLTR0caWWo7RmOOfPbuek/IuW387lhcb/KUrs1FZvzCuj0RjD1Hn+4iQo9uKMozuLqBLXllzs6bcPM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739032946; c=relaxed/simple; bh=DgPsBUG1mZURTvdZonNnm5wpyoUmtVyXOPK1IrfDxEY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rPrFIwKylv2LCFCJtdPZFpd/adYAH6cRsxoB3OqTDP2gon6ZZPGxIH2FMV5HQnLqsMT7GpujpGYYXs/WrwF2hBaQh6jFe18y4ov2QupWkQwjvK726cYeaRomsGxfOX+7dGbRY+Oji4qZ/JTKd0rTRB6wMCFwvgUmgjGMLKdoOSU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PsBGOhYh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PsBGOhYh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1DCCC4CED6; Sat, 8 Feb 2025 16:42:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739032945; bh=DgPsBUG1mZURTvdZonNnm5wpyoUmtVyXOPK1IrfDxEY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PsBGOhYhaKpHqCNcPMBGbPr7AdvYG8Ti5Oz+otCVCvAMtL88q2PQRpoaHp8hJH9cV Y9ilRokFxm2Wop5qRa819CN3rUsXYVOEZpp1e0o3NtSmdUtJJpjpP9NuBjcBDHQpKy Eoea5OMH7RxPopOZMzVqFm+qXK6BsVTC0hWLTo1yD6Cy6doeRZ9NxXRauv3iWMs5q7 Lc7CBDzAixd/eMHqdHN2z1/cuO3X6bQbW9EBOI00kFQLPaea1gxf4CQsR4zrCBjdyF noecdmR98+W7GT/RFXsDt0vKra6kXPFVsqra9QYIcbETLFBf7MfztOtTAxyd0AVSop iN7fcS6p6k12Q== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1tgnuc-0000000048t-0XvO; Sat, 08 Feb 2025 17:42:34 +0100 Date: Sat, 8 Feb 2025 17:42:34 +0100 From: Johan Hovold To: "Rafael J. Wysocki" Cc: Jon Hunter , "Rafael J. Wysocki" , Linux PM , LKML , Alan Stern , Bjorn Helgaas , Linux PCI , Ulf Hansson , Manivannan Sadhasivam , Kevin Xie , "linux-tegra@vger.kernel.org" Subject: Re: [PATCH v1] PM: sleep: core: Synchronize runtime PM status of parents and children Message-ID: References: <12619233.O9o76ZdvQC@rjwysocki.net> <1c2433d4-7e0f-4395-b841-b8eac7c25651@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sat, Feb 08, 2025 at 01:10:19PM +0100, Rafael J. Wysocki wrote: > On Fri, Feb 7, 2025 at 7:14 PM Rafael J. Wysocki wrote: > > > > > > On Fri, Feb 07, 2025 at 02:50:29PM +0100, Johan Hovold wrote: > > > > > > Ok, so the driver data is never set and runtime PM is never enabled for > > > > > > this simple bus device, which uses pm_runtime_force_suspend() for system > > > > > > sleep. > For now, the power.set_active propagation can be restricted to the > parent of the device with DPM_FLAG_SMART_SUSPEND set that needs to be > resumed and that will just be sufficient ATM, so attached is a patch > doing this. I can confirm that this fixes the simple-pm-bus regression (without reintroducing the pci warning) in case you want to get this to Linus for rc2: Tested-by: Johan Hovold Johan