From: Linus Walleij <linus.walleij@linaro.org>
To: William Breathitt Gray <william.gray@linaro.org>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] Fix possible deadlocks for i8255 GPIO drivers
Date: Tue, 4 Apr 2023 16:01:45 +0200 [thread overview]
Message-ID: <CACRpkdbp0o2UDqcz17sha9WCchhwhGuFHBdWfyLSerioxiJ1qQ@mail.gmail.com> (raw)
In-Reply-To: <cover.1680543810.git.william.gray@linaro.org>
On Mon, Apr 3, 2023 at 7:53 PM William Breathitt Gray
<william.gray@linaro.org> wrote:
> The 104-dio-48e and 104-idi-48 drivers leverage regmap-irq to handle
> IRQ. The default regmap locking utilizes spinlocks but this can result
> in deadlocks for IRQ chips when running -rt kernels [0]. Enable
> use_raw_spinlock for the regmap_config of these drivers to prevent such.
>
> [0] https://lore.kernel.org/all/1466065537-82027-1-git-send-email-mika.westerberg@linux.intel.com/
This looks reasonable.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
next prev parent reply other threads:[~2023-04-04 14:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-03 17:53 [PATCH 0/2] Fix possible deadlocks for i8255 GPIO drivers William Breathitt Gray
2023-04-03 17:53 ` [PATCH 1/2] gpio: 104-dio-48e: Enable use_raw_spinlock for dio48e_regmap_config William Breathitt Gray
2023-04-03 17:53 ` [PATCH 2/2] gpio: 104-idi-48: Enable use_raw_spinlock for idi48_regmap_config William Breathitt Gray
2023-04-04 14:01 ` Linus Walleij [this message]
2023-04-11 19:08 ` [PATCH 0/2] Fix possible deadlocks for i8255 GPIO drivers Bartosz Golaszewski
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=CACRpkdbp0o2UDqcz17sha9WCchhwhGuFHBdWfyLSerioxiJ1qQ@mail.gmail.com \
--to=linus.walleij@linaro.org \
--cc=brgl@bgdev.pl \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=william.gray@linaro.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;
as well as URLs for NNTP newsgroup(s).