summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:13:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:13:42 +0000
commitea63075e60868f6102258dfb56ab9316dfcc9706 (patch)
tree5a6737842900f2051037eb6cd5298e26d4518abc /debian/patches-rt
parentMerging upstream version 6.9.8. (diff)
downloadlinux-ea63075e60868f6102258dfb56ab9316dfcc9706.tar.xz
linux-ea63075e60868f6102258dfb56ab9316dfcc9706.zip
Adding debian version 6.9.8-1.debian/6.9.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches-rt')
-rw-r--r--debian/patches-rt/pinctrl-renesas-rzg2l-Use-spin_-lock-unlock-_irq-sav.patch38
-rw-r--r--debian/patches-rt/series2
2 files changed, 0 insertions, 40 deletions
diff --git a/debian/patches-rt/pinctrl-renesas-rzg2l-Use-spin_-lock-unlock-_irq-sav.patch b/debian/patches-rt/pinctrl-renesas-rzg2l-Use-spin_-lock-unlock-_irq-sav.patch
deleted file mode 100644
index 3462fa28ef..0000000000
--- a/debian/patches-rt/pinctrl-renesas-rzg2l-Use-spin_-lock-unlock-_irq-sav.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
-Date: Wed, 22 May 2024 08:54:21 +0300
-Subject: [PATCH] pinctrl: renesas: rzg2l: Use
- spin_{lock,unlock}_irq{save,restore}
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/6.10/older/patches-6.10-rc1-rt1.tar.xz
-
-On PREEMPT_RT kernels the spinlock_t maps to an rtmutex. Using
-raw_spin_lock_irqsave()/raw_spin_unlock_irqrestore() on
-&pctrl->lock.rlock breaks the PREEMPT_RT builds. To fix this use
-spin_lock_irqsave()/spin_unlock_irqrestore() on &pctrl->lock.
-
-Fixes: 02cd2d3be1c3 ("pinctrl: renesas: rzg2l: Configure the interrupt type on resume")
-Reported-by: Diederik de Haas <didi.debian@cknow.org>
-Closes: https://lore.kernel.org/all/131999629.KQPSlr0Zke@bagend
-Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
-Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
-Link: https://lore.kernel.org/r/20240522055421.2842689-1-claudiu.beznea.uj@bp.renesas.com
-Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
----
- drivers/pinctrl/renesas/pinctrl-rzg2l.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c
-+++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c
-@@ -2069,11 +2069,11 @@ static void rzg2l_gpio_irq_restore(struc
- * This has to be atomically executed to protect against a concurrent
- * interrupt.
- */
-- raw_spin_lock_irqsave(&pctrl->lock.rlock, flags);
-+ spin_lock_irqsave(&pctrl->lock, flags);
- ret = rzg2l_gpio_irq_set_type(data, irqd_get_trigger_type(data));
- if (!ret && !irqd_irq_disabled(data))
- rzg2l_gpio_irq_enable(data);
-- raw_spin_unlock_irqrestore(&pctrl->lock.rlock, flags);
-+ spin_unlock_irqrestore(&pctrl->lock, flags);
-
- if (ret)
- dev_crit(pctrl->dev, "Failed to set IRQ type for virq=%u\n", virq);
diff --git a/debian/patches-rt/series b/debian/patches-rt/series
index 4735031450..7ab756c19d 100644
--- a/debian/patches-rt/series
+++ b/debian/patches-rt/series
@@ -25,8 +25,6 @@
# locking.
drm-ttm-tests-Let-ttm_bo_test-consider-different-ww_.patch
-pinctrl-renesas-rzg2l-Use-spin_-lock-unlock-_irq-sav.patch
-
###########################################################################
# Post
###########################################################################