diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2019-12-18 18:06:31 +0100 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2019-12-18 22:50:21 +0100 |
commit | 102987a83771aa994821d4d982d06faa64c789e4 (patch) | |
tree | 3e5ab5206886ec297a1a97ce80f504d75468ed2f /debian/patches-rt/arm-imx6-cpuidle-Use-raw_spinlock_t.patch | |
parent | 479cb120ecb2b3f2c4d929a7b57860248d6f79bd (diff) | |
download | linux-debian-102987a83771aa994821d4d982d06faa64c789e4.tar.gz |
[rt] Update to 5.4.3-rt1 and re-enable
Adjust for context changes due to backport of
e66b39af00f4 ("workqueue: Fix pwq ref leak in rescuer_thread()") and
def98c84b6cd ("workqueue: Fix spurious sanity check failures in
destroy_workqueue()") in 5.4.4.
Diffstat (limited to 'debian/patches-rt/arm-imx6-cpuidle-Use-raw_spinlock_t.patch')
-rw-r--r-- | debian/patches-rt/arm-imx6-cpuidle-Use-raw_spinlock_t.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/debian/patches-rt/arm-imx6-cpuidle-Use-raw_spinlock_t.patch b/debian/patches-rt/arm-imx6-cpuidle-Use-raw_spinlock_t.patch deleted file mode 100644 index fd14557cf..000000000 --- a/debian/patches-rt/arm-imx6-cpuidle-Use-raw_spinlock_t.patch +++ /dev/null @@ -1,43 +0,0 @@ -From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> -Date: Tue, 14 May 2019 17:07:44 +0200 -Subject: [PATCH] arm: imx6: cpuidle: Use raw_spinlock_t -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz - -The idle call back is invoked with disabled interrupts and requires -raw_spinlock_t locks to work. - -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - arch/arm/mach-imx/cpuidle-imx6q.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - ---- a/arch/arm/mach-imx/cpuidle-imx6q.c -+++ b/arch/arm/mach-imx/cpuidle-imx6q.c -@@ -14,22 +14,22 @@ - #include "hardware.h" - - static int num_idle_cpus = 0; --static DEFINE_SPINLOCK(cpuidle_lock); -+static DEFINE_RAW_SPINLOCK(cpuidle_lock); - - static int imx6q_enter_wait(struct cpuidle_device *dev, - struct cpuidle_driver *drv, int index) - { -- spin_lock(&cpuidle_lock); -+ raw_spin_lock(&cpuidle_lock); - if (++num_idle_cpus == num_online_cpus()) - imx6_set_lpm(WAIT_UNCLOCKED); -- spin_unlock(&cpuidle_lock); -+ raw_spin_unlock(&cpuidle_lock); - - cpu_do_idle(); - -- spin_lock(&cpuidle_lock); -+ raw_spin_lock(&cpuidle_lock); - if (num_idle_cpus-- == num_online_cpus()) - imx6_set_lpm(WAIT_CLOCKED); -- spin_unlock(&cpuidle_lock); -+ raw_spin_unlock(&cpuidle_lock); - - return index; - } |