[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201230131402.GA4428@sirena.org.uk>
Date: Wed, 30 Dec 2020 13:14:02 +0000
From: Mark Brown <broonie@...nel.org>
To: Tim Harvey <tharvey@...eworks.com>
Cc: "Rafael J . Wysocki" <rafael@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
open list <linux-kernel@...r.kernel.org>,
Laxminath Kasam <lkasam@...eaurora.org>,
Tony Lindgren <tony@...mide.com>,
Lee Jones <lee.jones@...aro.org>,
Robert Jones <rjones@...eworks.com>
Subject: Re: [PATCH] regmap: irq: do not allow setting irq bits during ack
On Tue, Dec 29, 2020 at 08:23:00AM -0800, Tim Harvey wrote:
> On Tue, Dec 29, 2020 at 5:06 AM Mark Brown <broonie@...nel.org> wrote:
> > I can't understand what this commit message is trying to say, sorry.
> > Which bits are you talking about when you say "if bits are set"? Isn't
> > acknowleding the interrupt clearing the bits asserting the interrupt? I
> > can't tell what the problem you're trying to fix is.
> If for example status=0x01 the current code for ack_invert will write
> a 0xfe to clear that bit which ends up setting all other interrupt
> bits keeping the interrupt from ever being de-asserted. With the patch
> applied a status=0x01 will result in a 0x00 written to clear that bit
> and keep other's from being set.
But that's not an inverted ack as far as I can see? That's writing back
the bit you're trying to clear which is the default ack. Why do you
believe this is an inverted ack? In any case the changelog for the
patch needs to be clear.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists