From: Dan Carpenter <dan.carpenter@linaro.org>
To: Markus Schneider-Pargmann <msp@baylibre.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>,
Santosh Shilimkar <ssantosh@kernel.org>,
Kevin Hilman <khilman@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
Bartosz Golaszewski <brgl@bgdev.pl>,
linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org,
linux-kernel@vger.kernel.org,
Markus Mirevik <markus.mirevik@dpsolutions.se>
Subject: Re: [PATCH] gpio: omap: Fix double trigger for level interrupts
Date: Tue, 26 Mar 2024 18:29:45 +0300 [thread overview]
Message-ID: <6ecd284a-e3f5-4b69-b6d7-129da6b385c1@moroto.mountain> (raw)
In-Reply-To: <20240326145439.1293412-1-msp@baylibre.com>
In the bug report email thread Markus Mirevik said "The interrupt
associated with the GPIO module still fires twice" so while this patch
is an improvement, it might not be a complete solution?
> This patch was originally proposed by Grygorii Strashko.
The way to give authorship credit is you make the first line of your
patch:
From: Grygorii Strashko <grygorii.strashko@ti.com>
When the patch is applied then git will assign authorship credit but
remove that line from the git log.
On Tue, Mar 26, 2024 at 03:50:14PM +0100, Markus Schneider-Pargmann wrote:
> Set gpio trigger before clearing the irq status.
>
This commit message needs some work. When you're reviewing on email,
it's kind of common to read the commit message without reading the
subject. See how the patch looks like on lore:
https://lore.kernel.org/linux-gpio/20240326145439.1293412-1-msp@baylibre.com/T/#u
The subject is up on the first line, but it's mixed in with the headers
so it's easy to skip. Go ahead a restate the subject but in different
words.
But also copy and paste more of the problem from the bug report. To me
if I were a user the important bit is that the bug ends up hogging the
CPU.
"The problem is that the interrupt handler was is run twice for each
frame. It hogs a lot of CPU time. Fix this by setting the GPIO trigger
before clearing the IRQ status."
regards,
dan carpenter
next prev parent reply other threads:[~2024-03-26 15:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-26 14:50 Markus Schneider-Pargmann
2024-03-26 15:29 ` Dan Carpenter [this message]
2024-03-26 16:13 ` Markus Schneider-Pargmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ecd284a-e3f5-4b69-b6d7-129da6b385c1@moroto.mountain \
--to=dan.carpenter@linaro.org \
--cc=brgl@bgdev.pl \
--cc=grygorii.strashko@ti.com \
--cc=khilman@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=markus.mirevik@dpsolutions.se \
--cc=msp@baylibre.com \
--cc=ssantosh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®