linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 77/80] block: pm: Remove redundant pm_runtime_mark_last_busy() calls
       [not found] <20250704075225.3212486-1-sakari.ailus@linux.intel.com>
@ 2025-07-04  7:55 ` Sakari Ailus
  2025-07-07  5:59   ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Sakari Ailus @ 2025-07-04  7:55 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, linux-kernel

pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(),
pm_runtime_autosuspend() and pm_request_autosuspend() now include a call
to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to
pm_runtime_mark_last_busy().

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
The cover letter of the set can be found here
<URL:https://lore.kernel.org/linux-pm/20250704075225.3212486-1-sakari.ailus@linux.intel.com>.

In brief, this patch depends on PM runtime patches adding marking the last
busy timestamp in autosuspend related functions. The patches are here, on
rc2:

        git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
                pm-runtime-6.17-rc1

 block/blk-pm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/block/blk-pm.c b/block/blk-pm.c
index 8d3e052f91da..d6eab3193a20 100644
--- a/block/blk-pm.c
+++ b/block/blk-pm.c
@@ -181,7 +181,6 @@ void blk_post_runtime_resume(struct request_queue *q)
 	spin_lock_irq(&q->queue_lock);
 	old_status = q->rpm_status;
 	q->rpm_status = RPM_ACTIVE;
-	pm_runtime_mark_last_busy(q->dev);
 	pm_request_autosuspend(q->dev);
 	spin_unlock_irq(&q->queue_lock);
 
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 77/80] block: pm: Remove redundant pm_runtime_mark_last_busy() calls
  2025-07-04  7:55 ` [PATCH 77/80] block: pm: Remove redundant pm_runtime_mark_last_busy() calls Sakari Ailus
@ 2025-07-07  5:59   ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2025-07-07  5:59 UTC (permalink / raw)
  To: Sakari Ailus; +Cc: Jens Axboe, linux-block, linux-kernel

Sending a single patch out of many to a list makes it unreviable.

That might not matter as a 80 patch series is basically unreviable
anyway.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-07  5:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250704075225.3212486-1-sakari.ailus@linux.intel.com>
2025-07-04  7:55 ` [PATCH 77/80] block: pm: Remove redundant pm_runtime_mark_last_busy() calls Sakari Ailus
2025-07-07  5:59   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).