From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796051289; b=cik+B86/VhuhYGPR/C4u1m1GRJIKlA1Aetdr/wXsG4DfsYZmKc0F72vgLk2F40PU/MFY fEffp1fRvWS/RoZGBva57liqmbFiRBvug3sx9hNPGct4AteOIaGJqQ50MdDvGfbwqkwTw Y57vLTyKzlXv8qqOtYJt9SRFgMvIJUK39mjhNXT46tYiQLnrJJ9fJ5JlQSzK9Y5cKcJA7 uUpOMtCIIvS2ET14usmkKN6h94PZGcY0s5/W0804UllMCH5vZe7Aj5C6EovZzM7Vy5xFI fM2LVG7XcB5uXOZIhYvRR2Q0/vvRfwtE5aAPdFwANOVwq8jzmXeRzcEDoKTWuNMiMIw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796051289; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID: Organization:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=dROWUZ11P3zb4XFtPwt4W6FBOyLzZGQTo+RYQawOHTw=; b=ZTy2uulMz0NNMWpqrKZzNwZI3t0lYRu9hoVeMPqrvDxG0JKWLpE1LZlht/aS1yYwu+Rl QzYUsvK8t4SDjJSjm2oH9UWxVfsNTPNgVbdKPgGC8Lhb4kRp28kjLCgG+3xZfJSA9clVn sCOfXgcuI3g4nW/6hPu+Xfyi3yy1NnzM4BlQM5NCChU5zDkl+89TmS+Cd9t+OiHfKsXUH 2ufX3g7ax6V8NxByCvDHy5h+N/rYY/t+xwX7FrJFvFaTGroJFYHQ2a7wiMUxjfv438T2Q wIVnvxCwjqDL346r4GcKRkwQxC7gqLDo6umO3xwtntZEjdptHYC1ZsEFZIZtbJrletw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bJGuWWKi; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D797606A31C; Mon, 30 Nov 2026 15:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=bJGuWWKi Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A51F1F000C1; Mon, 30 Nov 2026 15:08:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796051289; bh=dROWUZ11P3zb4XFtPwt4W6FBOyLzZGQTo+RYQawOHTw=; h=From:To:Cc:Subject:Date; b=bJGuWWKi/3friOeuQIHAhyxkYtdPIyJDtilVUfVXzS7xuWrjd07DbL75Y/1PCL9L+ TE/8KkyVUsW21GhHd7QMBWRUEF/681VQsON7t44+b+TkA5Qi91wrgyzpKQaF/nKEX1 iMis43iEXdmahCbEG2FSRiX6F8hf3FqDy5Y/4uquGKcXqxFh0MgJYzqee9xjQPEgsb XkEjB8sXYo1mUu+SzsWaOwnSe6JZdCmYzR3TaEjuU7emo088uEfcCnckC3Ye9KqmjM XmCSkckqvI7BUKA/ky2PQZQ9mYN4wDgH84lyDz89yMEMJzWBmkk8t02yfg7ibAdi4l vTjCuyA3N16Uw== From: "Rafael J. Wysocki" To: Linux PM Cc: Brian Norris , Alan Stern , Sakari Ailus , Ulf Hansson , Linux Driver Core Development Subject: [PATCH v2 0/2] PM: runtime: Consolidation of last_busy updates and calling rpm_idle() in rpm_resume() Date: Mon, 30 Nov 2026 16:01:45 +0100 Message-ID: <5129504.GXAFRqVoOG@rafael.j.wysocki> Organization: Linux Kernel Development - Intel X-Mailing-List: driver-core@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Hi All, This is a follow-up series for https://web.git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=26236a3e8803f7e1ace104020d7f006edb220116 which is in linux-next and it replaces https://lore.kernel.org/linux-pm/10954171.nUPlyArG6x@rafael.j.wysocki/ and https://lore.kernel.org/linux-pm/2062233.PYKUYFuaPT@rafael.j.wysocki/ (hence v2). It makes essentially the same changes as the two patches above, but in a different order and with somewhat (hopefully) more convincing explanation. It requires this series to be applied: https://lore.kernel.org/linux-pm/4779892.LvFx2qVVIh@rafael.j.wysocki/ The first patch simply drops a direct pm_runtime_mark_last_busy() call from rpm_resume() that becomes redundant after apply the above series. The second patch causes rpm_resume() to call rpm_idle() in the case when the given device is active to start with which is already done in the case when the device needs to be resumed. The goal is to make the behavior of rpm_resume() more consistent and more predictable. Thanks!