[rt] Update to 4.19.94-rt38

Most of this is just resolving the same conflicts Salvatore already
handled locally.

"x86/ioapic: Don't let setaffinity unmask threaded EOI interrupt too
early" was refreshed instead of being dropped.
This commit is contained in:
Ben Hutchings 2020-01-19 00:54:59 +00:00
parent 8a81df4df4
commit ef8d371cad
291 changed files with 1406 additions and 1295 deletions

6
debian/changelog vendored
View File

@ -1234,7 +1234,6 @@ linux (4.19.97-1) UNRELEASED; urgency=medium
(Context changes in 4.19.88)
* [rt] Update to 4.19.90-rt35:
- Update "workqueue: rework" for workqueue changes in 4.19.90
* [rt] Drop 0013-x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch
* [rt] Drop 0245-Revert-arm64-preempt-Fix-big-endian-when-checking-pr.patch
* Refresh 0013-scsi-hisi_sas-Relocate-some-codes-to-avoid-an-unused.patch
for context changes in 4.19.93.
@ -1244,6 +1243,11 @@ linux (4.19.97-1) UNRELEASED; urgency=medium
* [rt] Refresh 0199-net-move-xmit_recursion-to-per-task-variable-on-RT.patch
(Context changes in 4.19.97)
[ Ben Hutchings ]
* [rt] Update to 4.19.94-rt38:
- Refresh "x86/ioapic: Don't let setaffinity unmask threaded EOI interrupt
too early" which was partly included in 4.19.92
-- Salvatore Bonaccorso <carnil@debian.org> Sat, 14 Dec 2019 22:00:16 +0100
linux (4.19.87-1) buster; urgency=medium

View File

@ -1,8 +1,8 @@
From e8333eb8d7a441a6274831115543689d82cdeeb2 Mon Sep 17 00:00:00 2001
From b08620f77bc1fbffba40e033f492a241bc2c62d6 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:18 +0200
Subject: [PATCH 001/291] ARM: at91: add TCB registers definitions
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 001/290] ARM: at91: add TCB registers definitions
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Add registers and bits definitions for the timer counter blocks found on
Atmel ARM SoCs.
@ -206,5 +206,5 @@ index 000000000000..657e234b1483
+
+#endif /* __SOC_ATMEL_TCB_H */
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 3282d066d1ad7d2dc0db6d17a4dc37e8e64137ed Mon Sep 17 00:00:00 2001
From bc9f46c6ecb0be8a5a14b31b032740f3a1d74761 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:19 +0200
Subject: [PATCH 002/291] clocksource/drivers: Add a new driver for the Atmel
Subject: [PATCH 002/290] clocksource/drivers: Add a new driver for the Atmel
ARM TC blocks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Add a driver for the Atmel Timer Counter Blocks. This driver provides a
clocksource and two clockevent devices.
@ -481,5 +481,5 @@ index 000000000000..21fbe430f91b
+}
+TIMER_OF_DECLARE(atmel_tcb_clksrc, "atmel,tcb-timer", tcb_clksrc_init);
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 058ed7cb47d8435f29855545f477c74bed325167 Mon Sep 17 00:00:00 2001
From bfee0cb2aad9baa607add364cd5a6c05d6782641 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:20 +0200
Subject: [PATCH 003/291] clocksource/drivers: timer-atmel-tcb: add clockevent
Subject: [PATCH 003/290] clocksource/drivers: timer-atmel-tcb: add clockevent
device on separate channel
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Add an other clockevent device that uses a separate TCB channel when
available.
@ -267,5 +267,5 @@ index 21fbe430f91b..63ce3b69338a 100644
}
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From b6725354b63d71ad4f563d311bd85ffc8722a794 Mon Sep 17 00:00:00 2001
From 00029cfcfece0c114d6428fcb7e52545a88cf2c1 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:21 +0200
Subject: [PATCH 004/291] clocksource/drivers: atmel-pit: make option silent
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 004/290] clocksource/drivers: atmel-pit: make option silent
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
To conform with the other option, make the ATMEL_PIT option silent so it
can be selected from the platform
@ -32,5 +32,5 @@ index 0ab22e7037f4..34b07047b91f 100644
config ATMEL_ST
bool "Atmel ST timer support" if COMPILE_TEST
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From b8ea7caf670921eb26dece3525a54fc85932e5a1 Mon Sep 17 00:00:00 2001
From d6f57849d568f7bad4a562fc3466f773384c5af7 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:22 +0200
Subject: [PATCH 005/291] ARM: at91: Implement clocksource selection
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 005/290] ARM: at91: Implement clocksource selection
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Allow selecting and unselecting the PIT clocksource driver so it doesn't
have to be compile when unused.
@ -51,5 +51,5 @@ index 903f23c309df..fa493a86e2bb 100644
bool
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From ed2b6457a9a986edeb1a27688e2eaacca4292766 Mon Sep 17 00:00:00 2001
From 218e2c7678889a89128237d82a61bf1f23d9cc77 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:23 +0200
Subject: [PATCH 006/291] ARM: configs: at91: use new TCB timer driver
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 006/290] ARM: configs: at91: use new TCB timer driver
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Unselecting ATMEL_TCLIB switches the TCB timer driver from tcb_clksrc to
timer-atmel-tcb.
@ -39,5 +39,5 @@ index 2080025556b5..f2bbc6339ca6 100644
CONFIG_EEPROM_AT24=y
CONFIG_SCSI=y
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 10433e91824db9f89c3f320c5fc3d2bfb5edd9b3 Mon Sep 17 00:00:00 2001
From 4773aa4fa5a18ca0b25a456fc06be41464775211 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:24 +0200
Subject: [PATCH 007/291] ARM: configs: at91: unselect PIT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 007/290] ARM: configs: at91: unselect PIT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The PIT is not required anymore to successfully boot and may actually harm
in case preempt-rt is used because the PIT interrupt is shared.
@ -40,5 +40,5 @@ index f2bbc6339ca6..be92871ab155 100644
CONFIG_UACCESS_WITH_MEMCPY=y
CONFIG_ZBOOT_ROM_TEXT=0x0
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From dcd95836a0ad848d44ebff6c196e968f550bb0de Mon Sep 17 00:00:00 2001
From 5322b48ab45dcd7e238e7a92c17746b904092021 Mon Sep 17 00:00:00 2001
From: Marc Zyngier <marc.zyngier@arm.com>
Date: Fri, 27 Jul 2018 13:38:54 +0100
Subject: [PATCH 008/291] irqchip/gic-v3-its: Move pending table allocation to
Subject: [PATCH 008/290] irqchip/gic-v3-its: Move pending table allocation to
init time
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
@ -167,5 +167,5 @@ index 3188c0bef3e7..5b57501fd2e7 100644
struct page *prop_page;
u64 flags;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 7cce8605f6a1ecb97f664ca64726f58e75c4d747 Mon Sep 17 00:00:00 2001
From e2fc3df409c6764dc2c394061aae000a86437a7c Mon Sep 17 00:00:00 2001
From: Julia Cartwright <julia@ni.com>
Date: Fri, 28 Sep 2018 21:03:51 +0000
Subject: [PATCH 009/291] kthread: convert worker lock to raw spinlock
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 009/290] kthread: convert worker lock to raw spinlock
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
In order to enable the queuing of kthread work items from hardirq
context even when PREEMPT_RT_FULL is enabled, convert the worker
@ -199,5 +199,5 @@ index 087d18d771b5..5641b55783a6 100644
return ret;
}
--
2.24.0
2.24.1

View File

@ -1,11 +1,11 @@
From 9bdc2dc2ca3892849462973eaff1e207b26bf025 Mon Sep 17 00:00:00 2001
From ba865f26206ec12d7d6a140c2a9f6871c7be3d5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Horia=20Geant=C4=83?= <horia.geanta@nxp.com>
Date: Mon, 8 Oct 2018 14:09:37 +0300
Subject: [PATCH 010/291] crypto: caam/qi - simplify CGR allocation, freeing
Subject: [PATCH 010/290] crypto: caam/qi - simplify CGR allocation, freeing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
[Upstream commit 29e83c757006fd751966bdc53392bb22d74179c6]
@ -136,5 +136,5 @@ index 357b69f57072..b6c8acc30853 100644
/**
* qi_cache_alloc - Allocate buffers from CAAM-QI cache
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 9fb91a865bf531999865a16e329875975a0bbdea Mon Sep 17 00:00:00 2001
From 147b5bb1f8cd2975bdfa1368ba792f28df1ab8a6 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Mon, 7 Jan 2019 13:52:31 +0100
Subject: [PATCH 011/291] sched/fair: Robustify CFS-bandwidth timer locking
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 011/290] sched/fair: Robustify CFS-bandwidth timer locking
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Traditionally hrtimer callbacks were run with IRQs disabled, but with
the introduction of HRTIMER_MODE_SOFT it is possible they run from
@ -144,5 +144,5 @@ index f0abb8fe0ae9..b5e03fc56d65 100644
return idle ? HRTIMER_NORESTART : HRTIMER_RESTART;
}
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 296268c33d7b68c7aed7899eddcb0ac314bebdf8 Mon Sep 17 00:00:00 2001
From fd46cb23c2b2f9fe3514d2e773f289e0e2f46d73 Mon Sep 17 00:00:00 2001
From: Frank Rowand <frank.rowand@am.sony.com>
Date: Mon, 19 Sep 2011 14:51:14 -0700
Subject: [PATCH 012/291] arm: Convert arm boot_lock to raw
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 012/290] arm: Convert arm boot_lock to raw
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The arm boot_lock is used by the secondary processor startup code. The locking
task is the idle thread, which has idle->sched_class == &idle_sched_class.
@ -428,5 +428,5 @@ index c2366510187a..6b60f582b738 100644
return pen_release != -1 ? -ENOSYS : 0;
}
--
2.24.0
2.24.1

View File

@ -0,0 +1,101 @@
From 2ab61b3cb2b66bd2515c8531da37be20f5cc14a9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 17 Jul 2018 18:25:31 +0200
Subject: [PATCH 013/290] x86/ioapic: Don't let setaffinity unmask threaded EOI
interrupt too early
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
There is an issue with threaded interrupts which are marked ONESHOT
and using the fasteoi handler.
if (IS_ONESHOT())
mask_irq();
....
....
cond_unmask_eoi_irq()
chip->irq_eoi();
So if setaffinity is pending then the interrupt will be moved and then
unmasked, which is wrong as it should be kept masked up to the point where
the threaded handler finished. It's not a real problem, the interrupt will
just be able to fire before the threaded handler has finished, though the irq
masked state will be wrong for a bit.
The patch below should cure the issue. It also renames the horribly
misnomed functions so it becomes clear what they are supposed to do.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[bigeasy: add the body of the patch, use the same functions in both
ifdef paths (spotted by Andy Shevchenko)]
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
arch/x86/kernel/apic/io_apic.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index fa3b85b222e3..1bdad61a3ef7 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -1722,7 +1722,7 @@ static bool io_apic_level_ack_pending(struct mp_chip_data *data)
return false;
}
-static inline bool ioapic_irqd_mask(struct irq_data *data)
+static inline bool ioapic_prepare_move(struct irq_data *data)
{
/* If we are moving the IRQ we need to mask it */
if (unlikely(irqd_is_setaffinity_pending(data))) {
@@ -1733,9 +1733,9 @@ static inline bool ioapic_irqd_mask(struct irq_data *data)
return false;
}
-static inline void ioapic_irqd_unmask(struct irq_data *data, bool masked)
+static inline void ioapic_finish_move(struct irq_data *data, bool moveit)
{
- if (unlikely(masked)) {
+ if (unlikely(moveit)) {
/* Only migrate the irq if the ack has been received.
*
* On rare occasions the broadcast level triggered ack gets
@@ -1770,11 +1770,11 @@ static inline void ioapic_irqd_unmask(struct irq_data *data, bool masked)
}
}
#else
-static inline bool ioapic_irqd_mask(struct irq_data *data)
+static inline bool ioapic_prepare_move(struct irq_data *data)
{
return false;
}
-static inline void ioapic_irqd_unmask(struct irq_data *data, bool masked)
+static inline void ioapic_finish_move(struct irq_data *data, bool moveit)
{
}
#endif
@@ -1783,11 +1783,11 @@ static void ioapic_ack_level(struct irq_data *irq_data)
{
struct irq_cfg *cfg = irqd_cfg(irq_data);
unsigned long v;
- bool masked;
+ bool moveit;
int i;
irq_complete_move(cfg);
- masked = ioapic_irqd_mask(irq_data);
+ moveit = ioapic_prepare_move(irq_data);
/*
* It appears there is an erratum which affects at least version 0x11
@@ -1842,7 +1842,7 @@ static void ioapic_ack_level(struct irq_data *irq_data)
eoi_ioapic_pin(cfg->vector, irq_data->chip_data);
}
- ioapic_irqd_unmask(irq_data, masked);
+ ioapic_finish_move(irq_data, moveit);
}
static void ioapic_ir_ack_level(struct irq_data *irq_data)
--
2.24.1

View File

@ -1,8 +1,8 @@
From a45ef2ccd96d3e814260b46a053f0391aff210be Mon Sep 17 00:00:00 2001
From 56933f479ee6e504e58236259c2fdacd09bcdeb1 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 3 Jul 2018 18:19:48 +0200
Subject: [PATCH 014/291] cgroup: use irqsave in cgroup_rstat_flush_locked()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 014/290] cgroup: use irqsave in cgroup_rstat_flush_locked()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
All callers of cgroup_rstat_flush_locked() acquire cgroup_rstat_lock
either with spin_lock_irq() or spin_lock_irqsave().
@ -46,5 +46,5 @@ index bb95a35e8c2d..3266a9781b4e 100644
/* if @may_sleep, play nice and yield if necessary */
if (may_sleep && (need_resched() ||
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 5f84d926adb23419c2abae8671cd701a192b04b6 Mon Sep 17 00:00:00 2001
From 11a5fe1b2f98fc37eac8919e99282c1b91f5bb05 Mon Sep 17 00:00:00 2001
From: Clark Williams <williams@redhat.com>
Date: Tue, 3 Jul 2018 13:34:30 -0500
Subject: [PATCH 015/291] fscache: initialize cookie hash table raw spinlocks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 015/290] fscache: initialize cookie hash table raw spinlocks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The fscache cookie mechanism uses a hash table of hlist_bl_head structures. The
PREEMPT_RT patcheset adds a raw spinlock to this structure and so on PREEMPT_RT
@ -60,5 +60,5 @@ index 84b90a79d75a..87a9330eafa2 100644
/**
* fscache_register_netfs - Register a filesystem as desiring caching services
--
2.24.0
2.24.1

View File

@ -1,11 +1,11 @@
From a94e19a514ac423d3e6b24adcf21a1a0c206206e Mon Sep 17 00:00:00 2001
From 42e5ab6924b31025c97846b749ebe188ee4b5fdd Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 29 Aug 2018 21:59:04 +0200
Subject: [PATCH 016/291] Drivers: hv: vmbus: include header for get_irq_regs()
Subject: [PATCH 016/290] Drivers: hv: vmbus: include header for get_irq_regs()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
On !RT the header file get_irq_regs() gets pulled in via other header files. On
RT it does not and the build fails:
@ -36,5 +36,5 @@ index 87d3d7da78f8..1d2d8a4b837d 100644
#include "hv_trace.h"
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 75c78f86e37ea3d499e1da94c0f5939815a1a05b Mon Sep 17 00:00:00 2001
From bc0b4a3ef268cec82163752ddaa730d8ec193d7c Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 11 Oct 2018 16:39:59 +0200
Subject: [PATCH 017/291] percpu: include irqflags.h for raw_local_irq_save()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 017/290] percpu: include irqflags.h for raw_local_irq_save()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The header percpu.h header file is using raw_local_irq_save() but does
not include irqflags.h for its definition. It compiles because the
@ -29,5 +29,5 @@ index 1817a8415a5e..942d64c0476e 100644
#ifdef CONFIG_SMP
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 5fb52de64270be979f75b427250d11b540c52b83 Mon Sep 17 00:00:00 2001
From da834999f8c566ac722fd157de36dd3f9335c2ad Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 26 Jul 2018 15:06:10 +0200
Subject: [PATCH 018/291] efi: Allow efi=runtime
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 018/290] efi: Allow efi=runtime
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
In case the option "efi=noruntime" is default at built-time, the user
could overwrite its sate by `efi=runtime' and allow it again.
@ -28,5 +28,5 @@ index d54fca902e64..5db20908aa9c 100644
}
early_param("efi", parse_efi_cmdline);
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 4fd848304a1de3af890fc4af3672ec7f4702418d Mon Sep 17 00:00:00 2001
From d24d03df7b0c0b6a0975a373a815487a220ee93b Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 24 Jul 2018 14:48:55 +0200
Subject: [PATCH 019/291] x86/efi: drop task_lock() from efi_switch_mm()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 019/290] x86/efi: drop task_lock() from efi_switch_mm()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
efi_switch_mm() is a wrapper around switch_mm() which saves current's
->active_mm, sets the requests mm as ->active_mm and invokes
@ -51,5 +51,5 @@ index ee5d08f25ce4..e8da7f492970 100644
#ifdef CONFIG_EFI_MIXED
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From b17f7ae2ce1cef4a3777068f142f46342a68adac Mon Sep 17 00:00:00 2001
From 057073be1e10190ea715360a6fde5478df36b563 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 26 Jul 2018 09:13:42 +0200
Subject: [PATCH 020/291] arm64: KVM: compute_layout before altenates are
Subject: [PATCH 020/290] arm64: KVM: compute_layout before altenates are
applied
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
compute_layout() is invoked as part of an alternative fixup under
stop_machine() and needs a sleeping lock as part of get_random_long().
@ -79,5 +79,5 @@ index c712a7376bc1..792da0e125de 100644
* Compute HYP VA by using the same computation as kern_hyp_va()
*/
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 697998358002f3b4a507a7d2c17f4a574462bfbb Mon Sep 17 00:00:00 2001
From af2b5f6fa1369ed12974a97865df6125bbede492 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 31 Aug 2018 14:16:30 +0200
Subject: [PATCH 021/291] of: allocate / free phandle cache outside of the
Subject: [PATCH 021/290] of: allocate / free phandle cache outside of the
devtree_lock
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The phandle cache code allocates memory while holding devtree_lock which
is a raw_spinlock_t. Memory allocation (and free()) is not possible on
@ -99,5 +99,5 @@ index f0dbb7ad88cf..c59b30bab0e0 100644
void __init of_core_init(void)
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 8a4f7cc633b7c0c167185220b26c123c854317be Mon Sep 17 00:00:00 2001
From 90ac218590a6d692a0dafeeef4bfafea30811be3 Mon Sep 17 00:00:00 2001
From: Clark Williams <williams@redhat.com>
Date: Tue, 18 Sep 2018 10:29:31 -0500
Subject: [PATCH 022/291] mm/kasan: make quarantine_lock a raw_spinlock_t
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 022/290] mm/kasan: make quarantine_lock a raw_spinlock_t
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The static lock quarantine_lock is used in quarantine.c to protect the
quarantine queue datastructures. It is taken inside quarantine queue
@ -94,5 +94,5 @@ index 3a8ddf8baf7d..b209dbaefde8 100644
qlist_free_all(&to_free, cache);
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 39aaee76f350cb367781564b734dc8e29d75b975 Mon Sep 17 00:00:00 2001
From 37d23bb703b59574c9eeebba86f8c8b9cf382d15 Mon Sep 17 00:00:00 2001
From: "Paul E. McKenney" <paulmck@linux.ibm.com>
Date: Mon, 29 Oct 2018 11:53:01 +0100
Subject: [PATCH 023/291] EXP rcu: Revert expedited GP parallelization
Subject: [PATCH 023/290] EXP rcu: Revert expedited GP parallelization
cleverness
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
(Commit 258ba8e089db23f760139266c232f01bad73f85c from linux-rcu)
@ -47,5 +47,5 @@ index 0b2c2ad69629..a0486414edb4 100644
}
--
2.24.0
2.24.1

View File

@ -1,11 +1,11 @@
From 4d466dc4215908fa4bc26c7451f4cc09f1d78e0a Mon Sep 17 00:00:00 2001
From 5a62bb92ae6df828a0b6cf14c0e1d55558f0002e Mon Sep 17 00:00:00 2001
From: He Zhe <zhe.he@windriver.com>
Date: Wed, 19 Dec 2018 16:30:57 +0100
Subject: [PATCH 024/291] kmemleak: Turn kmemleak_lock to raw spinlock on RT
Subject: [PATCH 024/290] kmemleak: Turn kmemleak_lock to raw spinlock on RT
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
kmemleak_lock, as a rwlock on RT, can possibly be held in atomic context and
causes the follow BUG.
@ -165,5 +165,5 @@ index 5eeabece0c17..92ce99b15f2b 100644
/*
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 2c7ee1a045b00c6310d027dc5aa1a079ff655630 Mon Sep 17 00:00:00 2001
From 78cfba1f8655c35ecd538b02a09000d4d7d18af9 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 28 Oct 2016 23:05:11 +0200
Subject: [PATCH 025/291] NFSv4: replace seqcount_t with a seqlock_t
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 025/290] NFSv4: replace seqcount_t with a seqlock_t
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The raw_write_seqcount_begin() in nfs4_reclaim_open_state() bugs me
because it maps to preempt_disable() in -RT which I can't have at this
@ -132,5 +132,5 @@ index b3086e99420c..c9bf1eb7e1b2 100644
}
--
2.24.0
2.24.1

View File

@ -1,12 +1,12 @@
From f5fde14ac17fd00556c20f2e137ce5e1a3608442 Mon Sep 17 00:00:00 2001
From f8da0dd0f5a6dd0097a13f5f59567b9d7a91d0f4 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 4 Apr 2017 12:50:16 +0200
Subject: [PATCH 026/291] kernel: sched: Provide a pointer to the valid CPU
Subject: [PATCH 026/290] kernel: sched: Provide a pointer to the valid CPU
mask
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
In commit 4b53a3412d66 ("sched/core: Remove the tsk_nr_cpus_allowed()
wrapper") the tsk_nr_cpus_allowed() wrapper was removed. There was not
@ -781,5 +781,5 @@ index 5522692100ba..8b4be8e1802a 100644
trace_foo_with_template_simple("HELLO", cnt);
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 61ce7ed9daafbc845c8d675d1ff793f1c3cdc7dc Mon Sep 17 00:00:00 2001
From a73bbe4b98f56b8c69e3932df7e083d1d94f5109 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Sat, 27 May 2017 19:02:06 +0200
Subject: [PATCH 027/291] kernel/sched/core: add migrate_disable()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 027/290] kernel/sched/core: add migrate_disable()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
---
include/linux/preempt.h | 23 +++++++
@ -262,5 +262,5 @@ index 78fadf0438ea..5027158d3908 100644
#undef PN
#undef __PN
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From bd7f5c8faa18b9f1d37703913f1570138422d3da Mon Sep 17 00:00:00 2001
From ac059eda6d9782325d4d8432b5bee7638eafd90a Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 9 Oct 2018 17:34:50 +0200
Subject: [PATCH 028/291] sched/migrate_disable: Add export_symbol_gpl for
Subject: [PATCH 028/290] sched/migrate_disable: Add export_symbol_gpl for
__migrate_disabled
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Jonathan reported that lttng/modules can't use __migrate_disabled().
This function is only used by sched/core itself and the tracing
@ -34,5 +34,5 @@ index d0450f06612c..e6022cc2605b 100644
static void __do_set_cpus_allowed_tail(struct task_struct *p,
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 947af8820a4dd6fc2c767f8fe42428555bea5600 Mon Sep 17 00:00:00 2001
From b4f795e23aa449ae7116c445646a5ee51f90c022 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 9 Mar 2016 10:51:06 +0100
Subject: [PATCH 029/291] arm: at91: do not disable/enable clocks in a row
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 029/290] arm: at91: do not disable/enable clocks in a row
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Currently the driver will disable the clock and enable it one line later
if it is switching from periodic mode into one shot.
@ -94,5 +94,5 @@ index 43f4d5c4d6fa..de6baf564dfe 100644
.set_state_oneshot = tc_set_oneshot,
},
--
2.24.0
2.24.1

View File

@ -1,12 +1,12 @@
From 13089a9a78c41543e74768f0322a9eeabd65a5e1 Mon Sep 17 00:00:00 2001
From 45b7375a7348d45d17515da0b294d479805fd855 Mon Sep 17 00:00:00 2001
From: Benedikt Spranger <b.spranger@linutronix.de>
Date: Mon, 8 Mar 2010 18:57:04 +0100
Subject: [PATCH 030/291] clocksource: TCLIB: Allow higher clock rates for
Subject: [PATCH 030/290] clocksource: TCLIB: Allow higher clock rates for
clock events
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
As default the TCLIB uses the 32KiHz base clock rate for clock events.
Add a compile time selection to allow higher clock resulution.
@ -166,5 +166,5 @@ index 3726eacdf65d..0900dec7ec04 100644
tristate "Dummy IRQ handler"
default n
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 4d016dbd1b8f0ec0d903af01d0ab3c7b83bd8799 Mon Sep 17 00:00:00 2001
From fe98a4f2036225a3ccb28c230f5245fa0eddec4c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Feb 2013 22:36:59 +0100
Subject: [PATCH 031/291] timekeeping: Split jiffies seqlock
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 031/290] timekeeping: Split jiffies seqlock
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Replace jiffies_lock seqlock with a simple seqcounter and a rawlock so
it can be taken in atomic context on RT.
@ -167,5 +167,5 @@ index 141ab3ab0354..099737f6f10c 100644
#define CS_NAME_LEN 32
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From d9af1e0a1659a5d42d0495e38677bd8fb8fd0aaf Mon Sep 17 00:00:00 2001
From fc38cdec8c7fa26cc2b0520c1cd0eb9ff96c969a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 21 Sep 2011 19:57:12 +0200
Subject: [PATCH 032/291] signal: Revert ptrace preempt magic
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 032/290] signal: Revert ptrace preempt magic
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Upstream commit '53da1d9456fe7f8 fix ptrace slowness' is nothing more
than a bandaid around the ptrace design trainwreck. It's not a
@ -34,5 +34,5 @@ index 7278302e3485..6b9d4bbfa9df 100644
} else {
/*
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From df3cd4ac6e62e719cadc664491e6dfe9f501e305 Mon Sep 17 00:00:00 2001
From 280627bfccdc36087f174418d56e57d027552a14 Mon Sep 17 00:00:00 2001
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Wed, 5 Mar 2014 00:49:47 +0100
Subject: [PATCH 033/291] net: sched: Use msleep() instead of yield()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 033/290] net: sched: Use msleep() instead of yield()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
On PREEMPT_RT enabled systems the interrupt handler run as threads at prio 50
(by default). If a high priority userspace process tries to shut down a busy
@ -60,5 +60,5 @@ index 8a4d01e427a2..4ab20f1138fd 100644
* unwind stale skb lists and qdisc statistics
*/
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From a159d24537239954b6315ccc562c3e8cab89f5ed Mon Sep 17 00:00:00 2001
From ec6350958b69d6c98248ee0871b3a7c00c5949c5 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 27 Mar 2018 16:24:15 +0200
Subject: [PATCH 034/291] dm rq: remove BUG_ON(!irqs_disabled) check
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 034/290] dm rq: remove BUG_ON(!irqs_disabled) check
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
In commit 052189a2ec95 ("dm: remove superfluous irq disablement in
dm_request_fn") the spin_lock_irq() was replaced with spin_lock() + a
@ -33,5 +33,5 @@ index 4d36373e1c0f..12ed08245130 100644
}
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 07883a7dceb3c9bbdd7c8deb51d2d069cda79118 Mon Sep 17 00:00:00 2001
From c5248048f310926cc88f9d625126ebb980024a51 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 8 Nov 2013 17:34:54 +0100
Subject: [PATCH 035/291] usb: do no disable interrupts in giveback
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 035/290] usb: do no disable interrupts in giveback
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Since commit 94dfd7ed ("USB: HCD: support giveback of URB in tasklet
context") the USB code disables interrupts before invoking the complete
@ -42,5 +42,5 @@ index b82a7d787add..2f3015356124 100644
usb_anchor_resume_wakeups(anchor);
atomic_dec(&urb->use_count);
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 1354583e3f4c2811caec1d3c97ac3835246ec7ef Mon Sep 17 00:00:00 2001
From 4bfca780bcff671d348be592531816808005330c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 17 Jun 2011 12:39:57 +0200
Subject: [PATCH 036/291] rt: Provide PREEMPT_RT_BASE config switch
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 036/290] rt: Provide PREEMPT_RT_BASE config switch
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Introduce PREEMPT_RT_BASE which enables parts of
PREEMPT_RT_FULL. Forces interrupt threading and enables some of the RT
@ -60,5 +60,5 @@ index cd1655122ec0..027db5976c2f 100644
\ No newline at end of file
+ bool
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 6663ab6c43da36389be915ad106047ee1afb6a8d Mon Sep 17 00:00:00 2001
From 6ea70c3ef4fff78246212f51f67a6e48b159bc50 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 14 Dec 2011 01:03:49 +0100
Subject: [PATCH 037/291] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 037/290] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
There are "valid" GFP_ATOMIC allocations such as
@ -72,5 +72,5 @@ index a3928d4438b5..a50b2158f7cd 100644
Use dynamic allocation for cpumask_var_t, instead of putting
them on the stack. This is a bit more expensive, but avoids
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 043f2096e98b4bf45e462337195e37d7214f7aff Mon Sep 17 00:00:00 2001
From cded0d9563b5948a2aa3bddb86f632ea0ec38f0e Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 8 Jul 2015 17:14:48 +0200
Subject: [PATCH 038/291] jump-label: disable if stop_machine() is used
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 038/290] jump-label: disable if stop_machine() is used
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Some architectures are using stop_machine() while switching the opcode which
leads to latency spikes.
@ -38,5 +38,5 @@ index 185e552f1461..84f36e47e3ab 100644
select HAVE_ARCH_MMAP_RND_BITS if MMU
select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT)
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 4ff387e1b68a6ad023a1be0934614c7fea2571b1 Mon Sep 17 00:00:00 2001
From dce06dcc7c4046de51f2d0b0aa53995461a65b82 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 24 Jul 2011 12:11:43 +0200
Subject: [PATCH 039/291] kconfig: Disable config options which are not RT
Subject: [PATCH 039/290] kconfig: Disable config options which are not RT
compatible
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Disable stuff which is known to have issues on RT
@ -39,5 +39,5 @@ index b457e94ae618..0dddbb2a3282 100644
select RADIX_TREE_MULTIORDER
help
--
2.24.0
2.24.1

View File

@ -1,11 +1,11 @@
From 203f0695996b8484c7cf3978c6d66ef5cf5122fa Mon Sep 17 00:00:00 2001
From 895584437f1a9e0847ff7ca40873fb3b8bd4be0c Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 17 Oct 2017 16:36:18 +0200
Subject: [PATCH 040/291] lockdep: disable self-test
Subject: [PATCH 040/290] lockdep: disable self-test
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The self-test wasn't always 100% accurate for RT. We disabled a few
tests which failed because they had a different semantic for RT. Some
@ -31,5 +31,5 @@ index 46a910acce3f..38cf7f81daa7 100644
Say Y here if you want the kernel to run a short self-test during
bootup. The self-test checks whether common types of locking bugs
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From e6f803613e75df4c54389b97fda1cb6d239d70da Mon Sep 17 00:00:00 2001
From dcf8f258f572870f67b12f9d9082eebd0561d085 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:44:03 -0500
Subject: [PATCH 041/291] mm: Allow only slub on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 041/290] mm: Allow only slub on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Disable SLAB and SLOB on -RT. Only SLUB is adopted to -RT needs.
@ -33,5 +33,5 @@ index 47035b5a46f6..ae9a0113a699 100644
SLOB replaces the stock allocator with a drastically simpler
allocator. SLOB is generally more space efficient but
--
2.24.0
2.24.1

View File

@ -1,11 +1,11 @@
From ce4dfdbd95a61055f3cf6a29ecaed9d195bda6d6 Mon Sep 17 00:00:00 2001
From 4aaf38cf9c2cd085bbee6aec83c66b52b33c9a32 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 17 Jul 2011 21:51:45 +0200
Subject: [PATCH 042/291] locking: Disable spin on owner for RT
Subject: [PATCH 042/290] locking: Disable spin on owner for RT
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Drop spin on owner for mutex / rwsem. We are most likely not using it
but…
@ -34,5 +34,5 @@ index 84d882f3e299..af27c4000812 100644
config LOCK_SPIN_ON_OWNER
def_bool y
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 0828aeddb0ee251954aad102cc5de568f0b94aca Mon Sep 17 00:00:00 2001
From 5f1bd47909aca86dfc97df6f5ceecd67c755b2e8 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 28 Oct 2012 13:26:09 +0000
Subject: [PATCH 043/291] rcu: Disable RCU_FAST_NO_HZ on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 043/290] rcu: Disable RCU_FAST_NO_HZ on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
This uses a timer_list timer from the irq disabled guts of the idle
code. Disable it for now to prevent wreckage.
@ -26,5 +26,5 @@ index 9210379c0353..644264be90f0 100644
help
This option permits CPUs to enter dynticks-idle state even if
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 8572bd12065e844033ac5dc1513ac6e375f102f5 Mon Sep 17 00:00:00 2001
From 980f69b6bec3356146f6c2d4e28405b3c4de4a87 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 21 Mar 2014 20:19:05 +0100
Subject: [PATCH 044/291] rcu: make RCU_BOOST default on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 044/290] rcu: make RCU_BOOST default on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Since it is no longer invoked from the softirq people run into OOM more
often if the priority of the RCU thread is too low. Making boosting
@ -30,5 +30,5 @@ index 644264be90f0..a243a78ff38c 100644
This option boosts the priority of preempted RCU readers that
block the current preemptible RCU grace period for too long.
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From dbed6df30f02693175cf4859cc59ed5c164bc939 Mon Sep 17 00:00:00 2001
From 6c16852b3700b4b98d7ea4b6dffbfbb5e1118c01 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 18 Jul 2011 17:03:52 +0200
Subject: [PATCH 045/291] sched: Disable CONFIG_RT_GROUP_SCHED on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 045/290] sched: Disable CONFIG_RT_GROUP_SCHED on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Carsten reported problems when running:
@ -31,5 +31,5 @@ index ae9a0113a699..61e8b531649b 100644
help
This feature lets you explicitly allocate real CPU bandwidth
--
2.24.0
2.24.1

View File

@ -1,11 +1,11 @@
From 5069703501d3a9941838df3cd946b5e4c41d7e04 Mon Sep 17 00:00:00 2001
From 9822fde0d385af32e0b8550600e3961cc9bb96aa Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Sat, 27 May 2017 19:02:06 +0200
Subject: [PATCH 046/291] net/core: disable NET_RX_BUSY_POLL
Subject: [PATCH 046/290] net/core: disable NET_RX_BUSY_POLL
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
sk_busy_loop() does preempt_disable() followed by a few operations which can
take sleeping locks and may get long.
@ -34,5 +34,5 @@ index 228dfa382eec..bc8d01996f22 100644
config BQL
bool
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From e9ece8f9dc53c0d74f9fe98b534d0e753c517281 Mon Sep 17 00:00:00 2001
From c628460359a533e7547887b5212d2291117eeacb Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 1 Dec 2017 10:42:03 +0100
Subject: [PATCH 047/291] arm*: disable NEON in kernel mode
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 047/290] arm*: disable NEON in kernel mode
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
NEON in kernel mode is used by the crypto algorithms and raid6 code.
While the raid6 code looks okay, the crypto algorithms do not: NEON
@ -162,5 +162,5 @@ index 34b4e3d46aab..ae055cdad8cf 100644
crc32_pmull_algs[1].update = crc32c_pmull_update;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 98313a22669a4dc95b20a2d09b91ccb788afb8b2 Mon Sep 17 00:00:00 2001
From 2b0792d20032fb077f028c433ce0575e0b2af952 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 14 Jul 2015 14:26:34 +0200
Subject: [PATCH 048/291] powerpc: Use generic rwsem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 048/290] powerpc: Use generic rwsem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Use generic code which uses rtmutex
@ -29,5 +29,5 @@ index a80669209155..9952764db9c5 100644
config GENERIC_LOCKBREAK
bool
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 0575c26ddd4406cd80932c9fca520f4e602110cd Mon Sep 17 00:00:00 2001
From 59e8b4257278a94fecf207ad131920b7e1364aa7 Mon Sep 17 00:00:00 2001
From: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Date: Fri, 24 Apr 2015 15:53:13 +0000
Subject: [PATCH 049/291] powerpc/kvm: Disable in-kernel MPIC emulation for
Subject: [PATCH 049/290] powerpc/kvm: Disable in-kernel MPIC emulation for
PREEMPT_RT_FULL
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
While converting the openpic emulation code to use a raw_spinlock_t enables
guests to run on RT, there's still a performance issue. For interrupts sent in
@ -41,5 +41,5 @@ index 68a0e9d5b440..6f4d5d7615af 100644
select HAVE_KVM_IRQFD
select HAVE_KVM_IRQ_ROUTING
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 688d9558ce5aee4f904f63182e3b4d23bb4a9792 Mon Sep 17 00:00:00 2001
From da3f221553e2c41925af06392f6ed660d68543a7 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 18 Jul 2011 17:08:34 +0200
Subject: [PATCH 050/291] powerpc: Disable highmem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 050/290] powerpc: Disable highmem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The current highmem handling on -RT is not compatible and needs fixups.
@ -25,5 +25,5 @@ index 9952764db9c5..1563820a37e8 100644
source kernel/Kconfig.hz
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 0c1e53d4534612ac67956790bde4c6d4e9eb8981 Mon Sep 17 00:00:00 2001
From 33a7e9d57de8e82532d8cdec33795907685b22e7 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 18 Jul 2011 17:10:12 +0200
Subject: [PATCH 051/291] mips: Disable highmem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 051/290] mips: Disable highmem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The current highmem handling on -RT is not compatible and needs fixups.
@ -25,5 +25,5 @@ index a830a9701e50..3d5fae3891be 100644
config CPU_SUPPORTS_HIGHMEM
bool
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 3f49b83521789612e3946f2e3ddfc7ec52abc6b0 Mon Sep 17 00:00:00 2001
From 2aeeb18ed2650e5c8d35e52ed37e51f4f112e87e Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 26 Jul 2009 02:21:32 +0200
Subject: [PATCH 052/291] x86: Use generic rwsem_spinlocks on -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 052/290] x86: Use generic rwsem_spinlocks on -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Simplifies the separation of anon_rw_semaphores and rw_semaphores for
-rt.
@ -30,5 +30,5 @@ index e40ba59efe7f..f22e787329cf 100644
config GENERIC_CALIBRATE_DELAY
def_bool y
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 4f41629bce81abd28a76c4440368bd788b659e38 Mon Sep 17 00:00:00 2001
From d438ee6c55b0969d2490f97a6fc897f462f017b0 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 23 Jan 2014 14:45:59 +0100
Subject: [PATCH 053/291] leds: trigger: disable CPU trigger on -RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 053/290] leds: trigger: disable CPU trigger on -RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
as it triggers:
|CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.8-rt10 #141
@ -37,5 +37,5 @@ index 4018af769969..b4ce8c115949 100644
This allows LEDs to be controlled by active CPUs. This shows
the active CPUs across an array of LEDs so you can see which
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 2c79ea262098448777ae80d2fbba5ef53ee41eb4 Mon Sep 17 00:00:00 2001
From 24a05d9b26a5e6f52e0e35f401fd16a50bc3cc2d Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 9 Apr 2015 15:23:01 +0200
Subject: [PATCH 054/291] cpufreq: drop K8's driver from beeing selected
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 054/290] cpufreq: drop K8's driver from beeing selected
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Ralf posted a picture of a backtrace from
@ -35,5 +35,5 @@ index 35f71825b7f3..bb4a6160d0f7 100644
This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors.
Support for K10 and newer processors is now in acpi-cpufreq.
--
2.24.0
2.24.1

View File

@ -1,11 +1,11 @@
From 2abf64d8df05eb498ac85316bbe4e0ded713eff2 Mon Sep 17 00:00:00 2001
From 00fd6babe97f1ea784554baabb1bc74d7f11be16 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 29 Aug 2013 11:48:57 +0200
Subject: [PATCH 055/291] md: disable bcache
Subject: [PATCH 055/290] md: disable bcache
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
It uses anon semaphores
|drivers/md/bcache/request.c: In function cached_dev_write_complete:
@ -37,5 +37,5 @@ index f6e0a8b3a61e..18c03d79a442 100644
help
Allows a block device to be used as cache for other devices; uses
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 9dd14e0939b8782199db8b468b784df45d4c3f8f Mon Sep 17 00:00:00 2001
From e2d68290b3efe18e50ef23302fda76bb471d7493 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 26 Jul 2018 15:03:16 +0200
Subject: [PATCH 056/291] efi: Disable runtime services on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 056/290] efi: Disable runtime services on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Based on meassurements the EFI functions get_variable /
get_next_variable take up to 2us which looks okay.
@ -42,5 +42,5 @@ index 5db20908aa9c..1708505fdf5d 100644
{
disable_runtime = true;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 2633507842e7e7dd5c6b745727b4ec0d690ac274 Mon Sep 17 00:00:00 2001
From 3d59550d2bce945d0885bb16ee747edc40521c95 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 22 Jul 2011 17:58:40 +0200
Subject: [PATCH 057/291] printk: Add a printk kill switch
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 057/290] printk: Add a printk kill switch
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Add a prinkt-kill-switch. This is used from (NMI) watchdog to ensure that
it does not dead-lock with the early printk code.
@ -170,5 +170,5 @@ index 71381168dede..685443375dc0 100644
nmi_panic(regs, "Hard LOCKUP");
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 2f10ef0c470e409bfb0982641f133a396cd46281 Mon Sep 17 00:00:00 2001
From ec95016b0067d4801b743959345d1d2b4897b4c7 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 2 Sep 2011 14:41:29 +0200
Subject: [PATCH 058/291] printk: Add "force_early_printk" boot param to help
Subject: [PATCH 058/290] printk: Add "force_early_printk" boot param to help
with debugging
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Gives me an option to screw printk and actually see what the machine
says.
@ -35,5 +35,5 @@ index 0214d876c22d..9a7f259dbb20 100644
{
printk_killswitch = true;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 9e91087e1107b31abd5e3b5ce129e47a16253707 Mon Sep 17 00:00:00 2001
From 8cdff06e21bab2bdf3a7f633a9e22b890bc43f39 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 24 Jul 2009 12:38:56 +0200
Subject: [PATCH 059/291] preempt: Provide preempt_*_(no)rt variants
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 059/290] preempt: Provide preempt_*_(no)rt variants
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
RT needs a few preempt_disable/enable points which are not necessary
otherwise. Implement variants to avoid #ifdeffery.
@ -49,5 +49,5 @@ index 3196d0e76719..f7a17fcc3fec 100644
struct preempt_notifier;
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From db36aad65079786bbb06ee45e5f5c34c02b3acaf Mon Sep 17 00:00:00 2001
From 4c36c4326b5f829aaabd0e2bd105c12797f16449 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 8 Mar 2017 14:23:35 +0100
Subject: [PATCH 060/291] futex: workaround migrate_disable/enable in different
Subject: [PATCH 060/290] futex: workaround migrate_disable/enable in different
context
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
migrate_disable()/migrate_enable() takes a different path in atomic() vs
!atomic() context. These little hacks ensure that we don't underflow / overflow
@ -66,5 +66,5 @@ index e75ad30aa7bc..5c8053098fc8 100644
/*
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 071d70cf7a6d5ebc7050308f88be8777ad38f69a Mon Sep 17 00:00:00 2001
From 2bd99b106c35f77357bcaea4546eb89085cc5ac8 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 20 Jun 2011 09:03:47 +0200
Subject: [PATCH 061/291] rt: Add local irq locks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 061/290] rt: Add local irq locks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Introduce locallock. For !RT this maps to preempt_disable()/
local_irq_disable() so there is not much that changes. For RT this will
@ -337,5 +337,5 @@ index 70b7123f38c7..24421bf8c4b3 100644
#define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10)
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From a242fd05b7f4d53e53733c9055315c30c3433fb1 Mon Sep 17 00:00:00 2001
From 6b3038f8d30a5cef133ed3791a44e17377c0b052 Mon Sep 17 00:00:00 2001
From: Julia Cartwright <julia@ni.com>
Date: Mon, 7 May 2018 08:58:56 -0500
Subject: [PATCH 062/291] locallock: provide {get,put}_locked_ptr() variants
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 062/290] locallock: provide {get,put}_locked_ptr() variants
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Provide a set of locallocked accessors for pointers to per-CPU data;
this is useful for dynamically-allocated per-CPU regions, for example.
@ -45,5 +45,5 @@ index d658c2552601..921eab83cd34 100644
#define local_lock_cpu(lvar) get_cpu()
#define local_unlock_cpu(lvar) put_cpu()
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 8c311c3b11935f5963075e2c1ede0b92863cfcf1 Mon Sep 17 00:00:00 2001
From ed4646fb9f4dde9fa5e97aadbd15073babb2fdb5 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 3 Jul 2009 08:44:34 -0500
Subject: [PATCH 063/291] mm/scatterlist: Do not disable irqs on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 063/290] mm/scatterlist: Do not disable irqs on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
For -RT it is enough to keep pagefault disabled (which is currently handled by
kmap_atomic()).
@ -26,5 +26,5 @@ index 8c3036c37ba0..336162c2813f 100644
} else
kunmap(miter->page);
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From ebfdfb6456fcba5ed6d8dc35e0ca52db72a87cca Mon Sep 17 00:00:00 2001
From 61d171cababe91bd799f750f2c88eca687b65d51 Mon Sep 17 00:00:00 2001
From: Oleg Nesterov <oleg@redhat.com>
Date: Tue, 14 Jul 2015 14:26:34 +0200
Subject: [PATCH 064/291] signal/x86: Delay calling signals in atomic
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 064/290] signal/x86: Delay calling signals in atomic
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
On x86_64 we must disable preemption before we enable interrupts
for stack faults, int3 and debugging, because the current task is using
@ -150,5 +150,5 @@ index 6b9d4bbfa9df..3565221b4fac 100644
* Nuke all other threads in the group.
*/
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From b86af89277597aa054eed1dc69417bc959f2b347 Mon Sep 17 00:00:00 2001
From 159a99e63d62232f0de5a25fe8d92e4e31140c29 Mon Sep 17 00:00:00 2001
From: Yang Shi <yang.shi@linaro.org>
Date: Thu, 10 Dec 2015 10:58:51 -0800
Subject: [PATCH 065/291] x86/signal: delay calling signals on 32bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 065/290] x86/signal: delay calling signals on 32bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
When running some ptrace single step tests on x86-32 machine, the below problem
is triggered:
@ -45,5 +45,5 @@ index fb0438d06ca7..c00e27af2205 100644
#endif
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From c0f5bfc27c440bc3c6cc4bc60045cd9c28d932ad Mon Sep 17 00:00:00 2001
From 5c50a0cef22d58bcda53aae4df00e10ce6e04903 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 18 Mar 2011 09:18:52 +0100
Subject: [PATCH 066/291] buffer_head: Replace bh_uptodate_lock for -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 066/290] buffer_head: Replace bh_uptodate_lock for -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Wrap the bit_spin_lock calls into a separate inline and add the RT
replacements with a real spinlock.
@ -193,5 +193,5 @@ index 96225a77c112..8a1bcfb145d7 100644
* macro tricks to expand the set_buffer_foo(), clear_buffer_foo()
* and buffer_foo() functions.
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 52fddde4582134cacf5a692ab51f3d0a43de2efa Mon Sep 17 00:00:00 2001
From f3f66f83edae0ab6ff7569d6395c5ee3833e8fba Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 18 Mar 2011 10:11:25 +0100
Subject: [PATCH 067/291] fs: jbd/jbd2: Make state lock and journal head lock
Subject: [PATCH 067/290] fs: jbd/jbd2: Make state lock and journal head lock
rt safe
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
bit_spin_locks break under RT.
@ -106,5 +106,5 @@ index 268f3000d1b3..8f5d6ecb802e 100644
#define J_ASSERT(assert) BUG_ON(!(assert))
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 0ce3eda31c573ee39d4b22db00e980f5b2463d15 Mon Sep 17 00:00:00 2001
From 3023eb220840f37bbc9d31e9959de567cb1aaaae Mon Sep 17 00:00:00 2001
From: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Fri, 21 Jun 2013 15:07:25 -0400
Subject: [PATCH 068/291] list_bl: Make list head locking RT safe
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 068/290] list_bl: Make list head locking RT safe
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
As per changes in include/linux/jbd_common.h for avoiding the
bit_spin_locks on RT ("fs: jbd/jbd2: Make state lock and journal
@ -117,5 +117,5 @@ index 3fc2cc57ba1b..69b659259bac 100644
static inline bool hlist_bl_is_locked(struct hlist_bl_head *b)
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 488f7a9c44a9ae28e258ca909a5d338820395943 Mon Sep 17 00:00:00 2001
From 819674251514107628d4f10edb7514ab08bb57a9 Mon Sep 17 00:00:00 2001
From: Josh Cartwright <joshc@ni.com>
Date: Thu, 31 Mar 2016 00:04:25 -0500
Subject: [PATCH 069/291] list_bl: fixup bogus lockdep warning
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 069/290] list_bl: fixup bogus lockdep warning
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
At first glance, the use of 'static inline' seems appropriate for
INIT_HLIST_BL_HEAD().
@ -100,5 +100,5 @@ index 69b659259bac..0b5de7d9ffcf 100644
static inline void INIT_HLIST_BL_NODE(struct hlist_bl_node *h)
{
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 082d02b81690735ef8e3879a14bc3b2a01209aa1 Mon Sep 17 00:00:00 2001
From 672f4d8462083915084e695c9ed600d32fbfcd52 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:57 -0500
Subject: [PATCH 070/291] genirq: Disable irqpoll on -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 070/290] genirq: Disable irqpoll on -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Creates long latencies for no value
@ -39,5 +39,5 @@ index d867d6ddafdd..cd12ee86c01e 100644
printk(KERN_WARNING "Misrouted IRQ fixup and polling support "
"enabled\n");
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From a863959ff793c9eb01af152ae87968428df9cef1 Mon Sep 17 00:00:00 2001
From a2049c3364eae5d13eaaa22d9212c631faf58236 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 3 Apr 2011 11:57:29 +0200
Subject: [PATCH 071/291] genirq: Force interrupt thread on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 071/290] genirq: Force interrupt thread on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Force threaded_irqs and optimize the code (force_irqthreads) in regard
to this.
@ -50,5 +50,5 @@ index 23bcfa71077f..3c26d0708709 100644
static void __synchronize_hardirq(struct irq_desc *desc, bool sync_chip)
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 40ffd160bf0a9773c74fb394f24a3ff35c8d5c79 Mon Sep 17 00:00:00 2001
From e8c4b5df495a54c8c5fdf5c34fcbb07a2780e3bd Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Mon, 28 May 2018 15:24:20 +0200
Subject: [PATCH 072/291] Split IRQ-off and zone->lock while freeing pages from
Subject: [PATCH 072/290] Split IRQ-off and zone->lock while freeing pages from
PCP list #1
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Split the IRQ-off section while accessing the PCP list from zone->lock
while freeing pages.
@ -169,5 +169,5 @@ index 74fb5c338e8f..3b51ad4a6089 100644
}
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From b1dd295e939a677f850e22b8baf141e609797430 Mon Sep 17 00:00:00 2001
From acc79cbb82bc621f748cafcab53e6038456ee194 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Mon, 28 May 2018 15:24:21 +0200
Subject: [PATCH 073/291] Split IRQ-off and zone->lock while freeing pages from
Subject: [PATCH 073/290] Split IRQ-off and zone->lock while freeing pages from
PCP list #2
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Split the IRQ-off section while accessing the PCP list from zone->lock
while freeing pages.
@ -168,5 +168,5 @@ index 3b51ad4a6089..49f7bb170b4d 100644
/*
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 0109dfb313df01af85a47ff0105038b1e7ddb7df Mon Sep 17 00:00:00 2001
From 110ed1923c52a4d9ec01080e38ec6a48b9254b32 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 28 May 2018 15:24:22 +0200
Subject: [PATCH 074/291] mm/SLxB: change list_lock to raw_spinlock_t
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 074/290] mm/SLxB: change list_lock to raw_spinlock_t
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The list_lock is used with used with IRQs off on RT. Make it a raw_spinlock_t
otherwise the interrupts won't be disabled on -RT. The locking rules remain
@ -615,5 +615,5 @@ index 9c3937c5ce38..ba20c68a9cfd 100644
for (i = 0; i < t.count; i++) {
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 19ad8a9e854096d3fac2791a2efea9224d34c773 Mon Sep 17 00:00:00 2001
From 4a3bfadbedbdbba560abbf1073deacf963fcbc6a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 21 Jun 2018 17:29:19 +0200
Subject: [PATCH 075/291] mm/SLUB: delay giving back empty slubs to IRQ enabled
Subject: [PATCH 075/290] mm/SLUB: delay giving back empty slubs to IRQ enabled
regions
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
__free_slab() is invoked with disabled interrupts which increases the
irq-off time while __free_pages() is doing the work.
@ -219,5 +219,5 @@ index ba20c68a9cfd..224663e20772 100644
if (debug_guardpage_minorder())
slub_max_order = 0;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 74ac2aa47d12cbb0d7bbb1cdc0ff04ea92341862 Mon Sep 17 00:00:00 2001
From b2dcde8f1c9f1175f30723fc2d3fe6aaabe087ea Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:37 -0500
Subject: [PATCH 076/291] mm: page_alloc: rt-friendly per-cpu pages
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 076/290] mm: page_alloc: rt-friendly per-cpu pages
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
rt-friendly per-cpu pages: convert the irqs-off per-cpu locking
method into a preemptible, explicit-per-cpu-locks method.
@ -235,5 +235,5 @@ index 49f7bb170b4d..bff6c04eb359 100644
#ifdef CONFIG_MEMORY_HOTREMOVE
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 82680c2474fe5d30728dcb7680d590e65182d84e Mon Sep 17 00:00:00 2001
From 3350882474566687c3916a408fd9097ef4656f0b Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:51 -0500
Subject: [PATCH 077/291] mm/swap: Convert to percpu locked
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 077/290] mm/swap: Convert to percpu locked
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Replace global locks (get_cpu + local_irq_save) with "local_locks()".
Currently there is one of for "rotate" and one for "swap".
@ -207,5 +207,5 @@ index 45fdbfb6b2a6..92f994b962f0 100644
#ifdef CONFIG_SMP
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 9f92e71858249e17821b12562d9a9436e59c78ba Mon Sep 17 00:00:00 2001
From 86cb58e9a8ac63e967bb1b1cfce05718c20cacb8 Mon Sep 17 00:00:00 2001
From: Luiz Capitulino <lcapitulino@redhat.com>
Date: Fri, 27 May 2016 15:03:28 +0200
Subject: [PATCH 078/291] mm: perform lru_add_drain_all() remotely
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 078/290] mm: perform lru_add_drain_all() remotely
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
lru_add_drain_all() works by scheduling lru_add_drain_cpu() to run
on all CPUs that have non-empty LRU pagevecs and then waiting for
@ -105,5 +105,5 @@ index 92f994b962f0..3885645a45ce 100644
mutex_unlock(&lock);
}
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From c76d6094a239d12a17547e882af4b200f31c5a5c Mon Sep 17 00:00:00 2001
From 23db125cbdadfa2ec3477b09b2735a77aa683c64 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:30:13 -0500
Subject: [PATCH 079/291] mm/vmstat: Protect per cpu variables with preempt
Subject: [PATCH 079/290] mm/vmstat: Protect per cpu variables with preempt
disable on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Disable preemption on -RT for the vmstat code. On vanila the code runs in
IRQ-off regions while on -RT it is not. "preempt_disable" ensures that the
@ -141,5 +141,5 @@ index ce81b0a7d018..cfa2a3bbdf91 100644
void __dec_zone_page_state(struct page *page, enum zone_stat_item item)
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 78052a354c73655898ed1cefbe47eb18954eebf6 Mon Sep 17 00:00:00 2001
From 361d54ae02b6b48ee93c86c2abdeee149a8d04be Mon Sep 17 00:00:00 2001
From: Frank Rowand <frank.rowand@am.sony.com>
Date: Sat, 1 Oct 2011 18:58:13 -0700
Subject: [PATCH 080/291] ARM: Initialize split page table locks for vector
Subject: [PATCH 080/290] ARM: Initialize split page table locks for vector
page
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Without this patch, ARM can not use SPLIT_PTLOCK_CPUS if
PREEMPT_RT_FULL=y because vectors_user_mapping() creates a
@ -72,5 +72,5 @@ index 82ab015bf42b..8d3c7ce34c24 100644
/*
* The vectors page is always readable from user space for the
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From e2165a1c6c5a4c2b80c3b5131bdd7c9531e5966d Mon Sep 17 00:00:00 2001
From 4c7a8a89b8b16cb2733dc45aae256c0fda1c34c8 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 25 Oct 2012 10:32:35 +0100
Subject: [PATCH 081/291] mm: Enable SLUB for RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 081/290] mm: Enable SLUB for RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Avoid the memory allocation in IRQ section
@ -38,5 +38,5 @@ index 224663e20772..cbe47408c6eb 100644
/*
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From df25287facb539725b686abab7eb72e03d137972 Mon Sep 17 00:00:00 2001
From 2d3739e2e7cae9db7fe6affbc747b7f06dc42613 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 9 Jan 2013 12:08:15 +0100
Subject: [PATCH 082/291] slub: Enable irqs for __GFP_WAIT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 082/290] slub: Enable irqs for __GFP_WAIT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
SYSTEM_RUNNING might be too late for enabling interrupts. Allocations
with GFP_WAIT can happen before that. So use this as an indicator.
@ -44,5 +44,5 @@ index cbe47408c6eb..81c32ceab228 100644
if (!page)
return NULL;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 3f7490c09bf723709d2ab78d73e8af75d175d1f6 Mon Sep 17 00:00:00 2001
From d4993fa5aea9eed8f9fce53e94e226f2504eda18 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 15 Apr 2015 19:00:47 +0200
Subject: [PATCH 083/291] slub: Disable SLUB_CPU_PARTIAL
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 083/290] slub: Disable SLUB_CPU_PARTIAL
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
|BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915
|in_atomic(): 1, irqs_disabled(): 0, pid: 87, name: rcuop/7
@ -50,5 +50,5 @@ index 61e8b531649b..b4e88fb19c26 100644
help
Per cpu partial caches accellerate objects allocation and freeing
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 1465f1fb6c510e3b455896a89b990af4f7d31dd8 Mon Sep 17 00:00:00 2001
From 17e8b2696494bfeee71425d3acac4608ac97b45d Mon Sep 17 00:00:00 2001
From: Yang Shi <yang.shi@windriver.com>
Date: Wed, 30 Oct 2013 11:48:33 -0700
Subject: [PATCH 084/291] mm/memcontrol: Don't call schedule_work_on in
Subject: [PATCH 084/290] mm/memcontrol: Don't call schedule_work_on in
preemption disabled context
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The following trace is triggered when running ltp oom test cases:
@ -71,5 +71,5 @@ index 3a3d109dce21..cf9e81fb342d 100644
}
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 4e9211f677ea1a456883db3c665ffd31a8a974f2 Mon Sep 17 00:00:00 2001
From 43548b6188b27097898381e2f1548ff656f4d127 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 28 Jan 2015 17:14:16 +0100
Subject: [PATCH 085/291] mm/memcontrol: Replace local_irq_disable with local
Subject: [PATCH 085/290] mm/memcontrol: Replace local_irq_disable with local
locks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
There are a few local_irq_disable() which then take sleeping locks. This
patch converts them local locks.
@ -120,5 +120,5 @@ index cf9e81fb342d..421ac74450f6 100644
/**
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From b76cb69dc727feca28a95ed7912d3c1a32b7f9b3 Mon Sep 17 00:00:00 2001
From 6b63a10dc279d7aa3134caeb249969ae7af3f010 Mon Sep 17 00:00:00 2001
From: Mike Galbraith <umgwanakikbuti@gmail.com>
Date: Tue, 22 Mar 2016 11:16:09 +0100
Subject: [PATCH 086/291] mm/zsmalloc: copy with get_cpu_var() and locking
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 086/290] mm/zsmalloc: copy with get_cpu_var() and locking
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
get_cpu_var() disables preemption and triggers a might_sleep() splat later.
This is replaced with get_locked_var().
@ -18,7 +18,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 74 insertions(+), 6 deletions(-)
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index 4b9063d12b93..1a2f6c13acbd 100644
index 85cc29c93d93..63e83b47fa99 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -56,6 +56,7 @@
@ -199,5 +199,5 @@ index 4b9063d12b93..1a2f6c13acbd 100644
migrate_read_unlock(zspage);
unpin_tag(handle);
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From b12c6aa5ca0abacc6642ef5f9664a38eebc659e0 Mon Sep 17 00:00:00 2001
From 3596d839ec05c759a409ec3c9fb058b89bc43de8 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 11 Dec 2018 21:53:43 +0100
Subject: [PATCH 087/291] x86/mm/pat: disable preemption __split_large_page()
Subject: [PATCH 087/290] x86/mm/pat: disable preemption __split_large_page()
after spin_lock()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Commit "x86/mm/pat: Disable preemption around __flush_tlb_all()" added a
warning if __flush_tlb_all() is invoked in preemptible context. On !RT
@ -58,5 +58,5 @@ index e2d4b25c7aa4..9626ebb9e3c8 100644
return 0;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 3bb3dc105ca3567ed9a3c0949c34212b6e1e29ab Mon Sep 17 00:00:00 2001
From 2ca56bb81f83515755165c1c638655a4120b1b06 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 25 Jan 2017 16:34:27 +0100
Subject: [PATCH 088/291] radix-tree: use local locks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 088/290] radix-tree: use local locks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The preload functionality uses per-CPU variables and preempt-disable to
ensure that it does not switch CPUs during its usage. This patch adds
@ -172,5 +172,5 @@ index e5cab5c4e383..9309e813bc1f 100644
if (!this_cpu_read(ida_bitmap)) {
struct ida_bitmap *bitmap = kzalloc(sizeof(*bitmap), gfp);
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From ae4363243810267b721cd1cc91172504af20f458 Mon Sep 17 00:00:00 2001
From c87cd9494b5ba0149620db6bc1655edbe04f9c9d Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:34 -0500
Subject: [PATCH 089/291] timers: Prepare for full preemption
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 089/290] timers: Prepare for full preemption
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
When softirqs can be preempted we need to make sure that cancelling
the timer from the active thread can not deadlock vs. a running timer
@ -172,5 +172,5 @@ index ae64cb819a9a..9019c9caf146 100644
}
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 69f6cf117a94ffa2e96367a29529767dcb1d8e01 Mon Sep 17 00:00:00 2001
From 70c79c38cb1e81d8cffa19dc562b629dcde98c6c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 6 Nov 2011 12:26:18 +0100
Subject: [PATCH 090/291] x86: kvm Require const tsc for RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 090/290] x86: kvm Require const tsc for RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Non constant TSC is a nightmare on bare metal already, but with
virtualization it becomes a complete disaster because the workarounds
@ -33,5 +33,5 @@ index 353f63f3b262..2611898419ff 100644
if (r)
goto out_free_percpu;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 841762dfdf68aeabfd6b0fa45b6337f55e632550 Mon Sep 17 00:00:00 2001
From cffa5c3f97fb6ad83cf3d770f5297f879f6efc36 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 4 Oct 2017 10:24:23 +0200
Subject: [PATCH 091/291] pci/switchtec: Don't use completion's wait queue
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 091/290] pci/switchtec: Don't use completion's wait queue
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The poll callback is using completion's wait_queue_head_t member and
puts it in poll_wait() so the poll() caller gets a wakeup after command
@ -111,5 +111,5 @@ index 72db2e0ebced..77d4fb86d05b 100644
stuser_put(stuser);
}
--
2.24.0
2.24.1

View File

@ -1,11 +1,11 @@
From 4d037c94e1a96fbb44377bb71fb62678ddeadf5f Mon Sep 17 00:00:00 2001
From 0aafaa8df18cf87cf491f2592b9c378667766a62 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Mon, 28 Oct 2013 12:19:57 +0100
Subject: [PATCH 092/291] wait.h: include atomic.h
Subject: [PATCH 092/290] wait.h: include atomic.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
| CC init/main.o
|In file included from include/linux/mmzone.h:9:0,
@ -38,5 +38,5 @@ index ed7c122cb31f..2b5ef8e94d19 100644
typedef struct wait_queue_entry wait_queue_entry_t;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 678ffba561d271dc2b667925993a805e3e704fa6 Mon Sep 17 00:00:00 2001
From eccea3070c1d002aaa2a9cbdaaee36e65f5d06cf Mon Sep 17 00:00:00 2001
From: Daniel Wagner <daniel.wagner@bmw-carit.de>
Date: Fri, 11 Jul 2014 15:26:11 +0200
Subject: [PATCH 093/291] work-simple: Simple work queue implemenation
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 093/290] work-simple: Simple work queue implemenation
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Provides a framework for enqueuing callbacks from irq context
PREEMPT_RT_FULL safe. The callbacks are executed in kthread context.
@ -242,5 +242,5 @@ index 000000000000..a5b89fdacf19
+}
+EXPORT_SYMBOL_GPL(swork_put);
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From e630efe32f11a9b6bb1cd2125d72c2042aabdf79 Mon Sep 17 00:00:00 2001
From cb2283a50926db7e39bf3643c28a9c8c73a3263a Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Mon, 10 Sep 2018 18:00:31 +0200
Subject: [PATCH 094/291] work-simple: drop a shit statement in
Subject: [PATCH 094/290] work-simple: drop a shit statement in
SWORK_EVENT_PENDING
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Dan Carpenter reported
| smatch warnings:
@ -33,5 +33,5 @@ index a5b89fdacf19..c90d14b9b126 100644
static DEFINE_MUTEX(worker_mutex);
static struct sworker *glob_worker;
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 501d25c451ea4875bcaaf1e03db60549693b5b02 Mon Sep 17 00:00:00 2001
From 93e59514ca04f36ad3f87b3c0da5be1e0b9d238f Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 11 Jan 2013 11:23:51 +0100
Subject: [PATCH 095/291] completion: Use simple wait queues
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 095/290] completion: Use simple wait queues
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Completions have no long lasting callbacks and therefor do not need
the complex waitqueue variant. Use simple waitqueues which reduces the
@ -387,5 +387,5 @@ index 66b59ac77c22..c7cb30cdd1b7 100644
wait->task = current;
if (list_empty(&wait->task_list))
--
2.24.0
2.24.1

View File

@ -1,8 +1,8 @@
From 9765896344d21aacd56cf3e8a1f2f1c1e30779cf Mon Sep 17 00:00:00 2001
From 864971842ede76748f6c198f112d6857b19196fa Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Mon, 16 Feb 2015 18:49:10 +0100
Subject: [PATCH 096/291] fs/aio: simple simple work
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Subject: [PATCH 096/290] fs/aio: simple simple work
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
|BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:768
|in_atomic(): 1, irqs_disabled(): 0, pid: 26, name: rcuos/2
@ -85,5 +85,5 @@ index 911e23087dfb..16dcf8521c2c 100644
{
unsigned i, new_nr;
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 3b496e3467c3a76558a4d6695e60bc78481b30db Mon Sep 17 00:00:00 2001
From 06003e1c96291d4d372f2e31c988999c2ef34f31 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 21 Aug 2013 17:48:46 +0200
Subject: [PATCH 097/291] genirq: Do not invoke the affinity callback via a
Subject: [PATCH 097/290] genirq: Do not invoke the affinity callback via a
workqueue on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
Joe Korty reported, that __irq_set_affinity_locked() schedules a
workqueue while holding a rawlock which results in a might_sleep()
@ -138,5 +138,5 @@ index 3c26d0708709..eadcbfbd434a 100644
}
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 46d2a1a8dce9bfd02328affe4407e51245bbf34d Mon Sep 17 00:00:00 2001
From cd74856820b82cb80ddd3b12dde3caad12642b3c Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 15 Nov 2017 17:29:51 +0100
Subject: [PATCH 098/291] time/hrtimer: avoid schedule_work() with interrupts
Subject: [PATCH 098/290] time/hrtimer: avoid schedule_work() with interrupts
disabled
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
The NOHZ code tries to schedule a workqueue with interrupts disabled.
Since this does not work -RT I am switching it to swork instead.
@ -56,5 +56,5 @@ index 9019c9caf146..3fab1c50bf1b 100644
void __user *buffer, size_t *lenp,
loff_t *ppos)
--
2.24.0
2.24.1

View File

@ -1,9 +1,9 @@
From 60c6d506604f96849de575eab0339febb39c5058 Mon Sep 17 00:00:00 2001
From 8553725681eb8c0f78dad5fb1ef542301586e9ff Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 3 Jul 2018 11:25:41 +0200
Subject: [PATCH 099/291] hrtimer: consolidate hrtimer_init() +
Subject: [PATCH 099/290] hrtimer: consolidate hrtimer_init() +
hrtimer_init_sleeper() calls
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.90-rt35.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.94-rt38.tar.xz
hrtimer_init_sleeper() calls require a prior initialisation of the
hrtimer object with hrtimer_init(). Lets make the initialisation of
@ -63,7 +63,7 @@ index 22571abcaa4e..78a529d363f3 100644
while (1) {
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 3892e9c8b2de..b8bbaabd5aff 100644
index 542b4fa2cda9..cbd041b22088 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -364,10 +364,17 @@ DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
@ -100,7 +100,7 @@ index 3892e9c8b2de..b8bbaabd5aff 100644
static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { }
#endif
@@ -480,9 +496,6 @@ extern long hrtimer_nanosleep(const struct timespec64 *rqtp,
@@ -486,9 +502,6 @@ extern long hrtimer_nanosleep(const struct timespec64 *rqtp,
const enum hrtimer_mode mode,
const clockid_t clockid);
@ -170,10 +170,10 @@ index 5c8053098fc8..23e1f8a478e8 100644
current->timer_slack_ns);
}
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index e1a549c9e399..4f43ece42f3b 100644
index 7362554416fd..c6f755495a63 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -1648,13 +1648,44 @@ static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer)
@@ -1651,13 +1651,44 @@ static enum hrtimer_restart hrtimer_wakeup(struct hrtimer *timer)
return HRTIMER_NORESTART;
}
@ -219,7 +219,7 @@ index e1a549c9e399..4f43ece42f3b 100644
int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts)
{
switch(restart->nanosleep.type) {
@@ -1678,8 +1709,6 @@ static int __sched do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mod
@@ -1681,8 +1712,6 @@ static int __sched do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mod
{
struct restart_block *restart;
@ -228,7 +228,7 @@ index e1a549c9e399..4f43ece42f3b 100644
do {
set_current_state(TASK_INTERRUPTIBLE);
hrtimer_start_expires(&t->timer, mode);
@@ -1716,10 +1745,9 @@ static long __sched hrtimer_nanosleep_restart(struct restart_block *restart)
@@ -1719,10 +1748,9 @@ static long __sched hrtimer_nanosleep_restart(struct restart_block *restart)
struct hrtimer_sleeper t;
int ret;
@ -241,7 +241,7 @@ index e1a549c9e399..4f43ece42f3b 100644
ret = do_nanosleep(&t, HRTIMER_MODE_ABS);
destroy_hrtimer_on_stack(&t.timer);
return ret;
@@ -1737,7 +1765,7 @@ long hrtimer_nanosleep(const struct timespec64 *rqtp,
@@ -1740,7 +1768,7 @@ long hrtimer_nanosleep(const struct timespec64 *rqtp,
if (dl_task(current) || rt_task(current))
slack = 0;
@ -250,7 +250,7 @@ index e1a549c9e399..4f43ece42f3b 100644
hrtimer_set_expires_range_ns(&t.timer, timespec64_to_ktime(*rqtp), slack);
ret = do_nanosleep(&t, mode);
if (ret != -ERESTART_RESTARTBLOCK)
@@ -1936,11 +1964,9 @@ schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta,
@@ -1939,11 +1967,9 @@ schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta,
return -EINTR;
}
@ -286,5 +286,5 @@ index 092fa3d75b32..9d472d626aaa 100644
set_current_state(TASK_INTERRUPTIBLE);
hrtimer_start_expires(&t.timer, HRTIMER_MODE_ABS);
--
2.24.0
2.24.1

Some files were not shown because too many files have changed in this diff Show More