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/arm64-preempt-Fixup-lazy-preempt.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/arm64-preempt-Fixup-lazy-preempt.patch')
-rw-r--r-- | debian/patches-rt/arm64-preempt-Fixup-lazy-preempt.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/debian/patches-rt/arm64-preempt-Fixup-lazy-preempt.patch b/debian/patches-rt/arm64-preempt-Fixup-lazy-preempt.patch deleted file mode 100644 index cf1dceb0a..000000000 --- a/debian/patches-rt/arm64-preempt-Fixup-lazy-preempt.patch +++ /dev/null @@ -1,27 +0,0 @@ -From: Sebastian Andrzej Siewior <bigeasy@linutronix.de> -Date: Tue, 13 Aug 2019 11:53:23 +0200 -Subject: [PATCH] arm64: preempt: Fixup lazy preempt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz - -The irq-exit assmebly checks preempt count and need-resched flag -followed by lazy-preempt status. This is a bug. It should schedule if -preempt-count is zero _and_ need_resched is set _or_ preempt-count is -zero and check the lazy-preempt status. - -Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> ---- - arch/arm64/kernel/entry.S | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/arch/arm64/kernel/entry.S -+++ b/arch/arm64/kernel/entry.S -@@ -680,7 +680,8 @@ alternative_if ARM64_HAS_IRQ_PRIO_MASKIN - orr x24, x24, x0 - alternative_else_nop_endif - -- cbnz x24, 2f // preempt count != 0 -+ cbz x24, 1f // (need_resched + count) == 0 -+ cbnz w24, 2f // count != 0 - - ldr w24, [tsk, #TSK_TI_PREEMPT_LAZY] // get preempt lazy count - cbnz w24, 2f // preempt lazy count != 0 |