Skip to content

Fix possible deadlocks for i8255 GPIO drivers

William Breathitt Gray linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpio: 104-dio-48e: Enable use_raw_spinlock for dio48e_regmap_configdrivers/gpio/gpio-104-dio-48e.c+1 -00 replies
2/2gpio: 104-idi-48: Enable use_raw_spinlock for idi48_regmap_configdrivers/gpio/gpio-104-idi-48.c+1 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus Walleij
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix possible deadlocks for i8255 GPIO drivers

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/

William Breathitt Gray (2):
gpio: 104-dio-48e: Enable use_raw_spinlock for dio48e_regmap_config
gpio: 104-idi-48: Enable use_raw_spinlock for idi48_regmap_config

 drivers/gpio/gpio-104-dio-48e.c | 1 +
 drivers/gpio/gpio-104-idi-48.c  | 1 +
 2 files changed, 2 insertions(+)

base-commit: d49765b5f4320a402fbc4ed5edfd73d87640f27c

Signature · 1 line
2.39.2