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 8613FC61DA4 for ; Mon, 6 Mar 2023 07:30:29 +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=Dq1+GlrREI/4N5TCPU49FA8hm4bq+iVV5gK2qMwnLvM=; b=aKGCcISEdiyhZh 4Xy7YLVmvQwecaAt5LRkQlo5ZyVVaGVCOBJGkuWyH/RichWARh3trbgyJGNpdPuxJnYQczARy2+KJ Vc5F6m8Ze4pxfLMvKRcIW2CISPNa4SQiHQzl+ZHuqMGYtvvdmH8uhNlnpXRrN5mwloRU1SaH9GjMo ctrtlfepUpTWCx/SiR8k7wqJR6MSkqlG+LdU9PNceFDaanGUpBoYwEAtqYKWjOg0OCsT1lvwqcInS xOkeLHTTSSdhEBdq7AG9kljCbEDMye+/elXyAgHnT49s0oWh4p91ZSZD+YJ4NwTbuuDjhZUQRqIfO zxB5aAk0ek4V06KZ9f+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ5HN-00BeZC-LE; Mon, 06 Mar 2023 07:29:05 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ5HJ-00BeXz-W7 for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2023 07:29:03 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 61AC58027; Mon, 6 Mar 2023 07:28:53 +0000 (UTC) Date: Mon, 6 Mar 2023 09:28:52 +0200 From: Tony Lindgren To: Andreas Kemnade Cc: Linus Walleij , Mun Yew Tham , Bartosz Golaszewski , Joel Stanley , Andrew Jeffery , Alban Bedel , Orson Zhai , Baolin Wang , Chunyan Zhang , Jay Fang , Daniel Palmer , Romain Perier , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , William Breathitt Gray , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-omap@vger.kernel.org, Marc Zyngier Subject: Re: [PATCH 15/17] gpio: omap: Convert to immutable irq_chip Message-ID: <20230306072852.GB7501@atomide.com> References: <20230215-immutable-chips-v1-0-51a8f224a5d0@linaro.org> <20230215-immutable-chips-v1-15-51a8f224a5d0@linaro.org> <20230217173108.1448ce92@aktux> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230217173108.1448ce92@aktux> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230305_232902_113709_6E2AC9A7 X-CRM114-Status: GOOD ( 21.83 ) 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 * Andreas Kemnade [230217 16:31]: > On Fri, 17 Feb 2023 09:49:37 +0200 > Tony Lindgren wrote: > > > Hi, > > > > * Linus Walleij [230216 09:38]: > > > Convert the driver to immutable irq-chip with a bit of > > > intuition. > > > > > > This driver require some special care: .irq_ack() was copied > > > from dummy_irq_chip where it was defined as noop. This only > > > makes sense if using handle_edge_irq() that will unconditionally > > > call .irq_ack() to avoid a crash, but this driver is not ever > > > using handle_edge_irq() so just avoid assigning .irq_ack(). > > > > > > A separate chip had to be created for the non-wakeup instance. > > > > Nice, works for me. > > > > BTW, I still see these warnings remaining on boot: > > > > gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. > > > > Seems like we might be able to get rid of those too now or are > > there still some dependencies with /sys/class/gpio for example? > > > on what are you testing? on -next? I thought I have fixed theese warning with > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=92bf78b33b0b463b00c6b0203b49aea845daecc8 You're right, sorry looks like I pasted the wrong line from the dmesg output :) I intended to paste this example instead of the static allocation line: gpio gpiochip1: (gpio-32-63): not an immutable chip, please consider fixing it! Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel