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 E3120EB64DD for ; Wed, 9 Aug 2023 07:24:01 +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=Qgc55f0Ul7hDOs69heMoasvBrTfQcsPZ1fslQdIP/Nw=; b=CDMJlzQc0fe+c7 g7+4raOVtg+odE/ArLyajPjxxMO1zFqk03VOXeBpUsUnp2qb4oifxXr8HuT2rb8Jz9WHYPXZrjnIi HcnMV8mlNz4ofmogNz2t9gpOuSDJm77or4Cy+DobrnO6JCXdYZTdGFwO/ZRxH5Hx/MgoSLkZd5zc0 FK0HnhCRCqP7MbueJTGovUndOEqUNsnXmh6JiEVQbMJy+/b0IHfDDB4IKcX5SwbYwoKUjCsxlXLTJ Pj/iBLrYDMbRNg6AdmC7hhP8cYjetpTyBT31YjI+BveWLdybwvY9BYVcUdfIwdjmN4lGbNnM6p2+F 6hcXuognDkZ/VsTqTzCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTdXb-004Fvs-2y; Wed, 09 Aug 2023 07:23:35 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTdXY-004Fv4-2F for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2023 07:23:33 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id D3A978105; Wed, 9 Aug 2023 07:23:31 +0000 (UTC) Date: Wed, 9 Aug 2023 10:23:30 +0300 From: Tony Lindgren To: Kevin Hilman Cc: Dhruva Gole , Andrew Davis , Nishanth Menon , Tero Kristo , Santosh Shilimkar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Viresh Kumar , Praneeth Bajjuri , Dave Gerlach , Vibhore Vardhan , Georgi Vlaev Subject: Re: [PATCH V6 4/4] firmware: ti_sci: Introduce system suspend resume support Message-ID: <20230809072330.GB11676@atomide.com> References: <20230803064247.503036-1-d-gole@ti.com> <20230803064247.503036-5-d-gole@ti.com> <3882f0ac-b74c-6eb2-197c-34ca233cd7a3@ti.com> <20230803155541.nwsfwobfkbpefoyw@dhruva> <8c330bd9-5f4e-8cd0-ed02-c3a696d7473a@ti.com> <20230803160815.yfpkdfssv75d4inf@dhruva> <7ho7jifrda.fsf@baylibre.com> <20230808115403.dkz6ev5vc6bhcmzh@dhruva> <7httt9dq2x.fsf@baylibre.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7httt9dq2x.fsf@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230809_002332_777724_EC0DE503 X-CRM114-Status: UNSURE ( 8.88 ) 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 * Kevin Hilman [230809 00:20]: > To me, it sounds like you might want to use ->resume_early() or maybe > ->resume_noirq() in the pinctrl driver for this so that IO isolation can > be disabled sooner? For calls that need to happen just before the SoC is disabled or first thing on resume path, cpu_cluster_pm_enter() and cpu_cluster_pm_exit() notifiers work nice and allow distributing the code across the related SoC specific code and device drivers. See for example the usage in drivers/irqchip/irq-gic.c for CPU_CLUSTER_PM_ENTER. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel