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 9BC4FC678D4 for ; Mon, 6 Mar 2023 07:32:25 +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=tRRaxhb1GKMLT+WHbAERJXwDVMQw5h+LKvIOEocmupo=; b=H+FgA4zhj50d9D 1SpzgJjd47kMeVePJ4+f6QMhxkiRJjdmFI6usTGjoBLmXgGCeBfq2WmhlJ9c47kbL0magoioIyNoI yQrcBEefwoa8iaz1ZpnzTt73GD1GOo780+m3jHOn/UjzO6IQr28HHDjNgEA/9Piqc1x9BK6crXblH Ig7v6praMBYuVYPgMWIxIFE52AbcNltWwET+Hlv37B9UNCKFx5jBsEggVmqvXLrLs8jiInhag+6nW 5otULmVmVbqUDsKDZZ1SzFBKiNIDqEO3PqTnT6CYXJa58GU20LlqrJ+teg97HBc3ktIBuajtZXrtK 5KpYMf6mJ80AovvqVbCw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ5Jh-00BenK-Id; Mon, 06 Mar 2023 07:31:29 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ5Je-00BemU-2C for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2023 07:31:27 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 5D1AC8027; Mon, 6 Mar 2023 07:31:25 +0000 (UTC) Date: Mon, 6 Mar 2023 09:31:24 +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: <20230306073124.GC7501@atomide.com> References: <20230215-immutable-chips-v1-0-51a8f224a5d0@linaro.org> <20230215-immutable-chips-v1-15-51a8f224a5d0@linaro.org> <20230217173108.1448ce92@aktux> <20230306072852.GB7501@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230306072852.GB7501@atomide.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230305_233126_167380_6EA2AA02 X-CRM114-Status: GOOD ( 23.84 ) 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 * Tony Lindgren [230306 07:28]: > * 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! Hmm, nope, sorry it seems I was just confused between two patches. Hopefully all the gpio warnings will be gone with this $subject patch applied. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel