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 73118C4706C for ; Tue, 16 Jan 2024 07:49:19 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DY4WGmrtv3ygL9pHK9BZgBKDpM0WIrwpSvTObkQaKd0=; b=sUmgfhr7AaaJV8 1NPgQBAAlP6kCiXIZrQ6TFuZmFsM+K+sRjxH6CZicxNDIiEpea4Yf4qojWUlIzuG9xf+seONH1AOS I3EMnVX7Y4E5XSDRXiF8cdoU6+YGvqwAdXbOXFat7oGJj87hFgU0Tf4Lup6zjS0BA/PXPhZ5op4jP N5enAFBvsM/SdTjhkZsZ/J8gb3ux98XzkKxvBCKFQvcmRN7QYIC61W6wjAFMyUKY+x/U08bP4k/wm CxMlv7I004/hu8XGHl/8xIlLFM19/fqVOAjNFvwEV2M5sHgO/urUWc25imgUYY57h0p1H2kdquqE9 /A+kgk8lhUpMOPZym7HQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPe7q-00BHBB-0i; Tue, 16 Jan 2024 07:44:46 +0000 Received: from mail5.25mail.st ([74.50.62.9]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPe7n-00BH8b-0K; Tue, 16 Jan 2024 07:44:45 +0000 Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 4646160498; Tue, 16 Jan 2024 07:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1705391075; bh=GfQbjgBoY0QdWnRrKxS0+HroJWexKyse0pFiOAQkAL4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p6KPwtwIvbaX5s0vn8ArVMCEI2mX1yV7niI1V76r3KDv1XHzzaRLkOoZxX/AEs2hL SWghoXb2CCy8YD38pzz+wbgJJxZjJBv2ayud8mCKGtT4Qc04UkCxV+cSDgiOC0vaiZ 5VNkcgebX4GTOWxV71AJj5TtxQEEfsQhUAZF2Hyb4AC4w3CAMdeiQ7bNYg+3wy9EuC wxwbLk7wc+/2Wq2RIuo+zjXLpqom8EArKJjQBL+JXq5G+aaMVJsgOg5OW0UT+tToPn WIy/V6DptJrQcUo3MgSOGGZVOcNrBUxwfeWercSbPQoQytAOpKsmYw/tR19TmuSm3r AB0BfaWOW+XXA== Date: Tue, 16 Jan 2024 09:43:33 +0200 From: Tony Lindgren To: Thomas Richard Cc: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Haojian Zhuang , Vignesh R , Aaro Koskinen , Janusz Krzysztofik , Andi Shyti , Peter Rosin , Vinod Koul , Kishon Vijay Abraham I , Philipp Zabel , Tom Joseph , 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 01/14] gpio: pca953x: move suspend/resume to suspend_noirq/resume_noirq Message-ID: <20240116074333.GO5185@atomide.com> References: <20240102-j7200-pcie-s2r-v1-0-84e55da52400@bootlin.com> <20240102-j7200-pcie-s2r-v1-1-84e55da52400@bootlin.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240102-j7200-pcie-s2r-v1-1-84e55da52400@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240115_234443_514105_021EF733 X-CRM114-Status: UNSURE ( 7.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Thomas Richard [240115 16:16]: > Some IOs can be needed during suspend_noirq/resume_noirq. > So move suspend/resume callbacks to noirq. So have you checked that the pca953x_save_context() and restore works this way? There's i2c traffic and regulators may sleep.. I wonder if you instead just need to leave gpio-pca953x enabled in some cases instead? Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel