[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230306073124.GC7501@atomide.com>
Date: Mon, 6 Mar 2023 09:31:24 +0200
From: Tony Lindgren <tony@...mide.com>
To: Andreas Kemnade <andreas@...nade.info>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Mun Yew Tham <mun.yew.tham@...el.com>,
Bartosz Golaszewski <brgl@...ev.pl>,
Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...id.au>, Alban Bedel <albeu@...e.fr>,
Orson Zhai <orsonzhai@...il.com>,
Baolin Wang <baolin.wang@...ux.alibaba.com>,
Chunyan Zhang <zhang.lyra@...il.com>,
Jay Fang <f.fangjian@...wei.com>,
Daniel Palmer <daniel@...ngy.jp>,
Romain Perier <romain.perier@...il.com>,
Grygorii Strashko <grygorii.strashko@...com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Kevin Hilman <khilman@...nel.org>,
William Breathitt Gray <william.gray@...aro.org>,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-aspeed@...ts.ozlabs.org, linux-omap@...r.kernel.org,
Marc Zyngier <maz@...nel.org>
Subject: Re: [PATCH 15/17] gpio: omap: Convert to immutable irq_chip
* Tony Lindgren <tony@...mide.com> [230306 07:28]:
> * Andreas Kemnade <andreas@...nade.info> [230217 16:31]:
> > On Fri, 17 Feb 2023 09:49:37 +0200
> > Tony Lindgren <tony@...mide.com> wrote:
> >
> > > Hi,
> > >
> > > * Linus Walleij <linus.walleij@...aro.org> [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
Powered by blists - more mailing lists