From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8FD1AC83F35 for ; Tue, 15 Jul 2025 07:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=T+fXGaLo5FVAnca0oj+X2ztka0zNrxA5e/GBdKFbeOQ=; b=v1V5O6twMLXAtu Mq4tRqJybYej+WGZlTzo/gvBvlX2pRkN7WEF7RyZTs3WHR1SyssKuewxk/mhOhLNYj4p1vkrZnZpv GMn9ZncKYC8j7883IZSfJjJCp3fwn9EKvEnD9hoi2WLmX62vziV2PltJcIB9n6DbEGrTOMEPoeK9E RxP5li+YXGYDccwx/9cwj7xg3HZQELQjKwwuRvn5RLLaRJEPGKJpUjpqM1F2O/8LajVBW6x3NKr3T rytIHYdmPhlh1keXkuYxgA8Jq0Y3SPTsZ8XgoVnmwcJdfyJ6EoYuntmcAgz86nELwWepr/pI1VlEa ueJhqWbeOpcNW0Gdoa6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1ubaJa-00000004NoM-0XOB; Tue, 15 Jul 2025 07:43:02 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uXbFa-0000000Dd3x-1P4F for linux-i3c@bombadil.infradead.org; Fri, 04 Jul 2025 07:54:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=SdFM3WvNoaqjG38NHnvrbRzeakoyMpRNM443E5qOw2I=; b=cfDLw5yPl4FbKiRBFcEbgFitBd v9iAOBGxGG0R8kznWtP11ZTDp7dr32mHSAbG2bRlPsbYghVokclJUCx6cXZ5kapSfIaSOfbbwLjHY YExBafcgCmaRY1KlOYRG73drrazw5lYcGLhCDJ1L0avV0K2M3jlle31DCbUxv2cN/3fqz5FMpFvoa gHSTPaK2Fg8GHhbziL1FbFPJbCL6B1A6w3r3ue3sR2c1uooqQtoCDUyR29059QIEH1NS5P6OtWJ+Y IfkbGvgu418o1uZE+BX1NT/+MBEGOBTD57jqbAGPRtznMNgb5Uy8lvuiG93paijrXG02iCsIDxP6n 0awm3VOw==; Received: from mgamail.intel.com ([198.175.65.9]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uXbFW-00000007pgJ-2en1 for linux-i3c@lists.infradead.org; Fri, 04 Jul 2025 07:54:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751615662; x=1783151662; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=h0lMe6Zm9CS9GXMsA2shed5+hSDPE9usNB0Lg7iJ170=; b=Ek53uP3CNSdUomlVlnE4Crv1tVjsq+4l/ido0zAFDlGaTKhfURdlr2hu IViIn8BcCARiilpVM6f+eGSmKCVIUei+YPC1xQ4rrC8+miPZPDU3RW8yo u55Jqxn1fCf782cNByU2/9iB0/+oAE+Q462ZMy5z4lu6+yL+r5EN8vBiC Nvl+LQEvpiSiFmRDM/nmzlyVy01Mtprw3dhDoXRdmDySFtYJ6U1CoqsP/ 0sDrv9pzEv2H+IC+2HhpCVwWKPWEIpxSQxMVLMvKDeue4VoIc9Ib13gfK epm/RHMhpY00/SaXXOsbiUOvpB0rEm3oWOX+27zB/zAxnZf197ChtJXkR A==; X-CSE-ConnectionGUID: IPCO7Nd4R5+p1WVDYXth4Q== X-CSE-MsgGUID: drRCR1W9QnGz5GdLSkTVtQ== X-IronPort-AV: E=McAfee;i="6800,10657,11483"; a="76494578" X-IronPort-AV: E=Sophos;i="6.16,286,1744095600"; d="scan'208";a="76494578" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2025 00:54:20 -0700 X-CSE-ConnectionGUID: VZFjeWY5TcazgNbcPfL/aA== X-CSE-MsgGUID: eyiD6zqhRn6LxYXLojBAuQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,286,1744095600"; d="scan'208";a="158924249" Received: from jkrzyszt-mobl2.ger.corp.intel.com (HELO svinhufvud.fi.intel.com) ([10.245.244.244]) by ORVIESA003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2025 00:54:18 -0700 Received: from svinhufvud.lan (localhost [IPv6:::1]) by svinhufvud.fi.intel.com (Postfix) with ESMTP id CB436447EB; Fri, 4 Jul 2025 10:54:16 +0300 (EEST) Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo From: Sakari Ailus To: Miquel Raynal , Frank Li , Alexandre Belloni Cc: linux-i3c@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 24/80] i3c: master: svc: Remove redundant pm_runtime_mark_last_busy() calls Date: Fri, 4 Jul 2025 10:54:16 +0300 Message-Id: <20250704075416.3218647-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250704075225.3212486-1-sakari.ailus@linux.intel.com> References: <20250704075225.3212486-1-sakari.ailus@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250704_085423_140534_A7CCFB5E X-CRM114-Status: GOOD ( 10.40 ) X-Mailman-Approved-At: Tue, 15 Jul 2025 00:42:50 -0700 X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org 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 --- The cover letter of the set can be found here . 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 drivers/i3c/master/svc-i3c-master.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/i3c/master/svc-i3c-master.c b/drivers/i3c/master/svc-i3c-master.c index 7e1a7cb94b43..4f68005c47d9 100644 --- a/drivers/i3c/master/svc-i3c-master.c +++ b/drivers/i3c/master/svc-i3c-master.c @@ -664,7 +664,6 @@ static int svc_i3c_master_set_speed(struct i3c_master_controller *m, } rpm_out: - pm_runtime_mark_last_busy(master->dev); pm_runtime_put_autosuspend(master->dev); return ret; @@ -779,7 +778,6 @@ static int svc_i3c_master_bus_init(struct i3c_master_controller *m) goto rpm_out; rpm_out: - pm_runtime_mark_last_busy(master->dev); pm_runtime_put_autosuspend(master->dev); return ret; @@ -801,7 +799,6 @@ static void svc_i3c_master_bus_cleanup(struct i3c_master_controller *m) /* Disable master */ writel(0, master->regs + SVC_I3C_MCONFIG); - pm_runtime_mark_last_busy(master->dev); pm_runtime_put_autosuspend(master->dev); } @@ -1207,7 +1204,6 @@ static int svc_i3c_master_do_daa(struct i3c_master_controller *m) dev_err(master->dev, "Cannot handle such a list of devices"); rpm_out: - pm_runtime_mark_last_busy(master->dev); pm_runtime_put_autosuspend(master->dev); return ret; @@ -1511,7 +1507,6 @@ static void svc_i3c_master_enqueue_xfer(struct svc_i3c_master *master, } spin_unlock_irqrestore(&master->xferqueue.lock, flags); - pm_runtime_mark_last_busy(master->dev); pm_runtime_put_autosuspend(master->dev); } @@ -1801,7 +1796,6 @@ static int svc_i3c_master_disable_ibi(struct i3c_dev_desc *dev) ret = i3c_master_disec_locked(m, dev->info.dyn_addr, I3C_CCC_EVENT_SIR); - pm_runtime_mark_last_busy(master->dev); pm_runtime_put_autosuspend(master->dev); return ret; @@ -1834,7 +1828,6 @@ static int svc_i3c_master_disable_hotjoin(struct i3c_master_controller *m) if (!master->enabled_events) svc_i3c_master_disable_interrupts(master); - pm_runtime_mark_last_busy(master->dev); pm_runtime_put_autosuspend(master->dev); return 0; @@ -1954,7 +1947,6 @@ static int svc_i3c_master_probe(struct platform_device *pdev) if (ret) goto rpm_disable; - pm_runtime_mark_last_busy(&pdev->dev); pm_runtime_put_autosuspend(&pdev->dev); return 0; -- 2.39.5 -- linux-i3c mailing list linux-i3c@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-i3c