Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1422382lql; Tue, 12 Mar 2024 17:48:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXU2A66teagv6z1nfz8+ope+GhkvX/yhjkKa1NrGfBDlg8aT9Hu+vQnEoUObZ/rBH+GB+jBP/SfkYRjSsxnVAYjIBHxIpYomrlLtiTb8w== X-Google-Smtp-Source: AGHT+IEbbdqZewq0wfEmQtarWWv+4zrxbCEzqmaKuXPEJTEiNYUyHUhn78+GtrXIlXARToRUYp52 X-Received: by 2002:a37:ef13:0:b0:788:2957:3fc6 with SMTP id j19-20020a37ef13000000b0078829573fc6mr5338442qkk.48.1710290917060; Tue, 12 Mar 2024 17:48:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710290917; cv=pass; d=google.com; s=arc-20160816; b=BsvgQrzxtwB8kWJfN0Q7XJ0KhWJtYsOrKXoSiR4Mw2WadmDQnV/j8YM4sQNFFbjNcK 5/46FgTx5TmbkdSKfDyY1MoYrK9e6jTMjOc5H8eIrYsBZDDkvPGmzDnP8it6BKSHVp5m rijWHLhkzxUPx7mdZ08USEU2OY3TQKDkUE3/81WkgoH6NocTAQlhY1K+x0+CYsVVoI+S 71ymU8oSOgXGcReKS+Ytedi7FfGY+BoIu/c/eS4G85BwPhfoC51y3E8WeGQcndQueHK3 OL/fz0hELkP27AaaXB+wUngFTYSEhvW803ZeMfzANMDGlenBP7kg5qirnQ0vgId7Xfc4 /pmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:to :from:date:dkim-signature; bh=0yttEUCf/9YU9CfhOZSDOOrauoth8ZXGeP+j7lRQJfU=; fh=FvCsFthrK88hFnocfbQLMPneEK5HRfK881quRnB4Ebo=; b=T/UKB8wIVoCMQSeU4QF+CBZeDnf6LkDj4fR3I3c3CR9Rrn3KccDG8nXdZFcYcS9pK0 aTK0JUlxTOgEoMxOJIKliQAkHNSBFkNShKFfW3aL0XUGcgQC5X7fDBDqih7RPzHkmYtx lpADt3CA19XSA+W45cm8jWjMt73DkyRmUCMd3o6CJpnlgV0g9RvNRj4DR5Dx5nAP+Tnb apJmuiprzWzZ5w9vEzL45I41Jtt89HoeBIJiUwTqWilmX1KOVL5r03nrEPEtExHI72zk kvEPumRvgYtQBAiRAKMQ+VqvvFPCLTYRzWD1PXJVhWpgJaGsvZWsUQy20pQtr3ZmVlab R1AQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mUI0zndk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c22-20020a05620a135600b00788499703e9si8246605qkl.596.2024.03.12.17.48.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 17:48:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mUI0zndk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C4E981C212BC for ; Wed, 13 Mar 2024 00:48:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 708D89444; Wed, 13 Mar 2024 00:48:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mUI0zndk" 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 83D19611B; Wed, 13 Mar 2024 00:48:24 +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=1710290906; cv=none; b=BZ/k5+va9kckGPP9oEJQrqP8n99N/Ijo0MR8mAx7+ziq7kLIfbB6lYA1zYi+G2ykfeSQxsV5m2M9SUJzDM3WALfp5BxUCf1Msz7BX+He8Ys5mLWm8/BHxpTuHagWt/ZfFfFZEXaLTw13ly6D3nNIcGDZPkwZEuq/XjvC1yr61kk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710290906; c=relaxed/simple; bh=JwNSt8qBIgZ0lI4rYKFXA6azdwMl4susKf4soxWbxDI=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tMyxAnWzN/jrD3rrzQbuxFJsXnjdZ75zz0h2605vjn7BMB4+bE6GzwQh30dsLpkYbFxNNpqcaRtbTaHucFWPYjLYcdzxfmzmxJ6uXM6UYjXAg1E6/wvsYancJ//offcpnnonSHZxJ7H2x07247EDofqEW9Oir060ej5MEfbBH/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mUI0zndk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC15EC433F1; Wed, 13 Mar 2024 00:48:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710290904; bh=JwNSt8qBIgZ0lI4rYKFXA6azdwMl4susKf4soxWbxDI=; h=Date:From:To:Subject:References:In-Reply-To:From; b=mUI0zndkLnjHGsO/bcsHGfjR15MwnAzcZ4lRsK8pD+DwIWP5bylEnveCQ9TUjN6xB HCRBctDnT83vur/oW8CGtfSNseFhg4Q2XeXO2H8LgOFfXjwlvmmT5/teGjX+fTOFSi yqpPs+4Woy8Gei9WqBH2ZEN1cVGn3MiowlOOVEBN2tXOEqGxhFp86eqnbC1pH2W8wp 4SssIHz/IneOePtM2NVTojjC3n8Hw0PAAgKWNfrz2DvfB+aUN8nXNAhhdInvhPPi0R OG46v1JDklHArZUrVOgB4lKFMvP0Fd/uc84gfHRbtIet6aoJ+E1MlRIaTMHJQrv4Wj MNuBCJnnFxbkw== Date: Wed, 13 Mar 2024 01:48:21 +0100 From: Andi Shyti To: Wolfram Sang , Tony Lindgren , Thomas Richard , Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Haojian Zhuang , Vignesh R , Aaro Koskinen , Janusz Krzysztofik , Peter Rosin , Vinod Koul , Kishon Vijay Abraham I , Philipp Zabel , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-i2c@vger.kernel.org, linux-phy@lists.infradead.org, linux-pci@vger.kernel.org, gregory.clement@bootlin.com, theo.lebrun@bootlin.com, thomas.petazzoni@bootlin.com, u-kumar1@ti.com Subject: Re: [PATCH v4 03/18] i2c: omap: wakeup the controller during suspend() callback Message-ID: <63oaudxrjdqredpbh4rojcpgjh5tot2tx2gs2kpfplwgjmrluw@f3x2x5us5hw5> References: <20240102-j7200-pcie-s2r-v4-0-6f1f53390c85@bootlin.com> <20240102-j7200-pcie-s2r-v4-3-6f1f53390c85@bootlin.com> <20240308084240.GK52537@atomide.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=us-ascii Content-Disposition: inline In-Reply-To: Hi Wolfram, On Tue, Mar 12, 2024 at 09:03:27AM +0100, Wolfram Sang wrote: > On Fri, Mar 08, 2024 at 10:42:40AM +0200, Tony Lindgren wrote: > > * Thomas Richard [240304 15:36]: > > > A device may need the controller up during suspend_noirq() or > > > resume_noirq(). > > > But if the controller is autosuspended, there is no way to wakeup it during > > > suspend_noirq() or resume_noirq() because runtime pm is disabled at this > > > time. > > > > > > The suspend() callback wakes up the controller, so it is available until > > > its suspend_noirq() callback (pm_runtime_force_suspend()). > > > During the resume, it's restored by resume_noirq() callback > > > (pm_runtime_force_resume()). Then resume() callback enables autosuspend. > > > > Reviewed-by: Tony Lindgren > > I fully trust Tony and I assume that this series should go in via some > other tree than I2C. So: > > Acked-by: Wolfram Sang > > Andi, do you agree? Agree... but who is going to take this? Eventually I can just this one. Andi