summaryrefslogtreecommitdiff
path: root/patches/hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-10-29 18:16:51 +0100
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-10-29 18:16:51 +0100
commit8393e03324b68d4cce593decf54e2cfd301d69a2 (patch)
tree0ad92bf48ac301a6b06881c259773ef6f5a49aee /patches/hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch
parentd70bef33e60c3b5d6272343bd7aa4276ea13509e (diff)
downloadlinux-rt-8393e03324b68d4cce593decf54e2cfd301d69a2.tar.gz
[ANNOUNCE] v4.19-rt1v4.19-rt1-patches
Dear RT folks! I'm pleased to announce the v4.19-rt1 patch set. Changes since v4.18.16-rt9: - rebase to v4.19 Known issues - A warning triggered in "rcu_note_context_switch" originated from SyS_timer_gettime(). The issue was always there, it is now visible. Reported by Grygorii Strashko and Daniel Wagner. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v4.19-rt1 The RT patch against v4.19 can be found here: https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patch-4.19-rt1.patch.xz The split quilt queue is available at: https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19-rt1.tar.xz Sebastian Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'patches/hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch')
-rw-r--r--patches/hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/patches/hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch b/patches/hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch
index 426f96bd18a5..6050bf9b8baa 100644
--- a/patches/hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch
+++ b/patches/hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch
@@ -22,7 +22,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
static DEFINE_PER_CPU(struct rt_rw_lock, cpuhp_pin_lock) = \
__RWLOCK_RT_INITIALIZER(cpuhp_pin_lock);
#endif
-@@ -293,6 +293,7 @@ static int cpu_hotplug_disabled;
+@@ -290,6 +290,7 @@ static int cpu_hotplug_disabled;
*/
void pin_current_cpu(void)
{
@@ -30,7 +30,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
struct rt_rw_lock *cpuhp_pin;
unsigned int cpu;
int ret;
-@@ -317,6 +318,7 @@ void pin_current_cpu(void)
+@@ -314,6 +315,7 @@ void pin_current_cpu(void)
goto again;
}
current->pinned_on_cpu = cpu;
@@ -38,7 +38,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
}
/**
-@@ -324,6 +326,7 @@ void pin_current_cpu(void)
+@@ -321,6 +323,7 @@ void pin_current_cpu(void)
*/
void unpin_current_cpu(void)
{
@@ -46,7 +46,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
struct rt_rw_lock *cpuhp_pin = this_cpu_ptr(&cpuhp_pin_lock);
if (WARN_ON(current->pinned_on_cpu != smp_processor_id()))
-@@ -331,6 +334,7 @@ void unpin_current_cpu(void)
+@@ -328,6 +331,7 @@ void unpin_current_cpu(void)
current->pinned_on_cpu = -1;
__read_rt_unlock(cpuhp_pin);
@@ -54,7 +54,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
}
DEFINE_STATIC_PERCPU_RWSEM(cpu_hotplug_lock);
-@@ -889,7 +893,9 @@ static int take_cpu_down(void *_param)
+@@ -881,7 +885,9 @@ static int take_cpu_down(void *_param)
static int takedown_cpu(unsigned int cpu)
{
@@ -64,7 +64,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
struct cpuhp_cpu_state *st = per_cpu_ptr(&cpuhp_state, cpu);
int err;
-@@ -902,14 +908,18 @@ static int takedown_cpu(unsigned int cpu
+@@ -894,14 +900,18 @@ static int takedown_cpu(unsigned int cpu
*/
irq_lock_sparse();
@@ -83,7 +83,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
/* CPU refused to die */
irq_unlock_sparse();
/* Unpark the hotplug thread so we can rollback there */
-@@ -928,7 +938,9 @@ static int takedown_cpu(unsigned int cpu
+@@ -920,7 +930,9 @@ static int takedown_cpu(unsigned int cpu
wait_for_ap_thread(st, false);
BUG_ON(st->state != CPUHP_AP_IDLE_DEAD);