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 8F04AC433EF for ; Fri, 22 Apr 2022 10:09:36 +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: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=suLVbmHmyw73y2myaLJG1PQg7TCzbD2i6ISnF+mZTe4=; b=L4VQqTAOBhBmja ynwp/3Ym1PGILiJcLLCFz42W4N0WQdwT7/Jte9V/Is4Ep5zoaDEUfFGvKY3yDakZztLa1CDqFQIC9 /+oHhZES33TwJ6rLF3RNEp6frQzuQA4fzHbMUESgn79TAZihcxd3jXxyOqUvIjTfNg/qqhD3VMT2N H5fnfShbY/eqwxBVRleSjFB0oK5EfqWvdh9h9eUeumrBc3HW2NVr55281ql1QhYDQyaXW9aRBCpkN CkwBrIwzWXP7esA4DVF4sTgHHvDeKBzrMDAOY2AIK4s6VC8Zkj1Dg286N7q05HLaKRybo4IVXaKI7 6FVu0sqQBMIfmecEMvjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhqDI-00HWcG-5H; Fri, 22 Apr 2022 10:08:32 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhqDF-00HWbn-EX for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 10:08:30 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 05251B82BB3; Fri, 22 Apr 2022 10:08:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DA11C385A4; Fri, 22 Apr 2022 10:08:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650622106; bh=gJBUkmsyumVWt+zZOJ0eB/u4OtmHxcnEmlKgLhLhNZg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RCAo1AiHDYYoQKNfAtP2RfwkBsKK0Xt8w0xViLZtG0W9AFGGz8YypKpkjU/0qUMC3 vCOefB+s7Im6YBLHq5yDaXSCPsK1C8znZBU/7kWgrRrPA2vI+etGEZsAKOqzAdqt/0 440vm6JqTee6WFfZM+Ia7gqf9nplSVzcJskTY3QY0PQnAHMs92Z8/mKCbXdxbS2Gfk JnCK+2wbwDiMFimuSrjC6mOzYsSV6IJXPaQy4b1HxFiGBvS/gogQUFT42n1sKk8D4g Rn0qW88fDHLVzeKTH9ahGVpC+NMvV1OrrozI6tExzoMBllsYnYjPVncQrzFk3vZCKa 74pLU3LGlWrPw== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nhqDA-0067z0-CU; Fri, 22 Apr 2022 11:08:24 +0100 Date: Fri, 22 Apr 2022 11:08:24 +0100 Message-ID: <878rrxa0rr.wl-maz@kernel.org> From: Marc Zyngier To: Fabien DESSENNE Cc: Marek Vasut , , Alexandre Torgue , Linus Walleij , , Subject: Re: [PATCH] irqchip/stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested In-Reply-To: <5f3aa91e-0ca3-a13a-1ea3-daae982b3d8f@foss.st.com> References: <20220421140827.214088-1-marex@denx.de> <5f3aa91e-0ca3-a13a-1ea3-daae982b3d8f@foss.st.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: fabien.dessenne@foss.st.com, marex@denx.de, linux-gpio@vger.kernel.org, alexandre.torgue@foss.st.com, linus.walleij@linaro.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_030829_672244_C957B6AE X-CRM114-Status: GOOD ( 20.80 ) 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 On Fri, 22 Apr 2022 10:20:36 +0100, Fabien DESSENNE wrote: > > Hi Marek, > > I agree there is something wrong with the clock management in IRQ > context here and your patch goes in the right way. > There are also some other problems regarding performance (enabling / > disabling clock each time we want to change the IO value, ...). > For these both issues I have a patch, which basically keeps the GPIO > clocks enabled from probe. > I did not have time to submit it, but, considering your concerns, I > will do it in the coming days. > For the time being I suggest that we do not apply your patch. Why? This fixes a glaring issue, and there are no alternatives at the moment. So if there is something to improve on, please base your patch on top of Marek's. Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel