Merge branch '4.19-stable-updates' into 'buster'

4.19 stable updates

See merge request kernel-team/linux!239
This commit is contained in:
Salvatore Bonaccorso 2020-07-06 20:51:23 +00:00
commit a097060416
399 changed files with 3941 additions and 433172 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1020
debian/changelog vendored

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
[abi]
abiname: 9
abiname: 10
ignore-changes:
__cpuhp_*
bpf_analyzer

View File

@ -1,8 +1,9 @@
From 119971df8e4c3a8550b9b7479e5e409dc03f07b6 Mon Sep 17 00:00:00 2001
From 07cd0dbc80b976663c80755496a03f288decfe5a Mon Sep 17 00:00:00 2001
Message-Id: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:18 +0200
Subject: [PATCH 001/325] ARM: at91: add TCB registers definitions
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 001/330] ARM: at91: add TCB registers definitions
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Add registers and bits definitions for the timer counter blocks found on
Atmel ARM SoCs.
@ -206,5 +207,5 @@ index 000000000000..657e234b1483
+
+#endif /* __SOC_ATMEL_TCB_H */
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From aba8ef8111b7a69621be5dd2358f8163dc4a2263 Mon Sep 17 00:00:00 2001
From 3a7e05ef840a3ba6b67e57c983330a57fd7a6e65 Mon Sep 17 00:00:00 2001
Message-Id: <3a7e05ef840a3ba6b67e57c983330a57fd7a6e65.1592846146.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:19 +0200
Subject: [PATCH 002/325] clocksource/drivers: Add a new driver for the Atmel
Subject: [PATCH 002/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Add a driver for the Atmel Timer Counter Blocks. This driver provides a
clocksource and two clockevent devices.
@ -481,5 +484,5 @@ index 000000000000..21fbe430f91b
+}
+TIMER_OF_DECLARE(atmel_tcb_clksrc, "atmel,tcb-timer", tcb_clksrc_init);
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From 8cbcac5c2b1a35f8c81134219ef264b8c9f9e9d7 Mon Sep 17 00:00:00 2001
From d6eb03e5f67486085de39ec702182866ffdced2b Mon Sep 17 00:00:00 2001
Message-Id: <d6eb03e5f67486085de39ec702182866ffdced2b.1592846146.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:20 +0200
Subject: [PATCH 003/325] clocksource/drivers: timer-atmel-tcb: add clockevent
Subject: [PATCH 003/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Add an other clockevent device that uses a separate TCB channel when
available.
@ -267,5 +270,5 @@ index 21fbe430f91b..63ce3b69338a 100644
}
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 5e34b2461c24c7ec974e6c5f33e4431a3260b2c1 Mon Sep 17 00:00:00 2001
From a6a73dbfa9364e274c53e48d7688f6e8ec5590e4 Mon Sep 17 00:00:00 2001
Message-Id: <a6a73dbfa9364e274c53e48d7688f6e8ec5590e4.1592846146.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:21 +0200
Subject: [PATCH 004/325] clocksource/drivers: atmel-pit: make option silent
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 004/330] clocksource/drivers: atmel-pit: make option silent
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
To conform with the other option, make the ATMEL_PIT option silent so it
can be selected from the platform
@ -32,5 +35,5 @@ index 0ab22e7037f4..34b07047b91f 100644
config ATMEL_ST
bool "Atmel ST timer support" if COMPILE_TEST
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 7c8bbf08ffe494d923710239c313474054189139 Mon Sep 17 00:00:00 2001
From df1a4ba0a8f32ea01c78c697ec86f13cce3ef643 Mon Sep 17 00:00:00 2001
Message-Id: <df1a4ba0a8f32ea01c78c697ec86f13cce3ef643.1592846146.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:22 +0200
Subject: [PATCH 005/325] ARM: at91: Implement clocksource selection
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 005/330] ARM: at91: Implement clocksource selection
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Allow selecting and unselecting the PIT clocksource driver so it doesn't
have to be compile when unused.
@ -51,5 +54,5 @@ index 903f23c309df..fa493a86e2bb 100644
bool
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 546eacc7d54dbf5c6b35cea154d82a1aa2611af1 Mon Sep 17 00:00:00 2001
From dcb2bbcbb30d20da84674245778e0331a11506db Mon Sep 17 00:00:00 2001
Message-Id: <dcb2bbcbb30d20da84674245778e0331a11506db.1592846146.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:23 +0200
Subject: [PATCH 006/325] ARM: configs: at91: use new TCB timer driver
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 006/330] ARM: configs: at91: use new TCB timer driver
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Unselecting ATMEL_TCLIB switches the TCB timer driver from tcb_clksrc to
timer-atmel-tcb.
@ -39,5 +42,5 @@ index 2080025556b5..f2bbc6339ca6 100644
CONFIG_EEPROM_AT24=y
CONFIG_SCSI=y
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 44a288d26c969a743059392f799ee270bd87e9bb Mon Sep 17 00:00:00 2001
From 53515792129df60191ffab76cbcb7e98acbfb445 Mon Sep 17 00:00:00 2001
Message-Id: <53515792129df60191ffab76cbcb7e98acbfb445.1592846146.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Thu, 13 Sep 2018 13:30:24 +0200
Subject: [PATCH 007/325] ARM: configs: at91: unselect PIT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 007/330] ARM: configs: at91: unselect PIT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +43,5 @@ index f2bbc6339ca6..be92871ab155 100644
CONFIG_UACCESS_WITH_MEMCPY=y
CONFIG_ZBOOT_ROM_TEXT=0x0
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From d70eac98c1314f780bfe229544f829b50453ae2b Mon Sep 17 00:00:00 2001
From 63a0ba1dbc5b216456c687723511cf8e3c4c5cf7 Mon Sep 17 00:00:00 2001
Message-Id: <63a0ba1dbc5b216456c687723511cf8e3c4c5cf7.1592846146.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Marc Zyngier <marc.zyngier@arm.com>
Date: Fri, 27 Jul 2018 13:38:54 +0100
Subject: [PATCH 008/325] irqchip/gic-v3-its: Move pending table allocation to
Subject: [PATCH 008/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
@ -13,7 +16,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2 files changed, 53 insertions(+), 28 deletions(-)
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index f9b73336a39e..0387399054b7 100644
index fe7d63cdfb1d..937c94625c36 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -179,6 +179,7 @@ static DEFINE_RAW_SPINLOCK(vmovp_lock);
@ -107,7 +110,7 @@ index f9b73336a39e..0387399054b7 100644
}
static void its_cpu_init_collection(struct its_node *its)
@@ -3585,16 +3607,6 @@ static int redist_disable_lpis(void)
@@ -3591,16 +3613,6 @@ static int redist_disable_lpis(void)
u64 timeout = USEC_PER_SEC;
u64 val;
@ -124,7 +127,7 @@ index f9b73336a39e..0387399054b7 100644
if (!gic_rdists_supports_plpis()) {
pr_info("CPU%d: LPIs not supported\n", smp_processor_id());
return -ENXIO;
@@ -3604,7 +3616,18 @@ static int redist_disable_lpis(void)
@@ -3610,7 +3622,18 @@ static int redist_disable_lpis(void)
if (!(val & GICR_CTLR_ENABLE_LPIS))
return 0;
@ -144,7 +147,7 @@ index f9b73336a39e..0387399054b7 100644
smp_processor_id());
add_taint(TAINT_CRAP, LOCKDEP_STILL_OK);
@@ -3860,7 +3883,8 @@ int __init its_init(struct fwnode_handle *handle, struct rdists *rdists,
@@ -3866,7 +3889,8 @@ int __init its_init(struct fwnode_handle *handle, struct rdists *rdists,
}
gic_rdists = rdists;
@ -167,5 +170,5 @@ index 1d21e98d6854..fdddead7e307 100644
struct page *prop_page;
u64 flags;
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 3cf0fcd0004434877a5db97439d4b56e78837a4f Mon Sep 17 00:00:00 2001
From 2b88f6517aa1aae701189bc677e368206ec2dfaa Mon Sep 17 00:00:00 2001
Message-Id: <2b88f6517aa1aae701189bc677e368206ec2dfaa.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Julia Cartwright <julia@ni.com>
Date: Fri, 28 Sep 2018 21:03:51 +0000
Subject: [PATCH 009/325] kthread: convert worker lock to raw spinlock
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 009/330] kthread: convert worker lock to raw spinlock
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +202,5 @@ index 087d18d771b5..5641b55783a6 100644
return ret;
}
--
2.25.1
2.17.1

View File

@ -1,11 +1,14 @@
From 222023498c02fbc8c0143bb3237a0e0a674175e5 Mon Sep 17 00:00:00 2001
From ece8b73ec8e440bd4a31c3e365262f6f77321377 Mon Sep 17 00:00:00 2001
Message-Id: <ece8b73ec8e440bd4a31c3e365262f6f77321377.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: =?UTF-8?q?Horia=20Geant=C4=83?= <horia.geanta@nxp.com>
Date: Mon, 8 Oct 2018 14:09:37 +0300
Subject: [PATCH 010/325] crypto: caam/qi - simplify CGR allocation, freeing
Subject: [PATCH 010/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
[Upstream commit 29e83c757006fd751966bdc53392bb22d74179c6]
@ -136,5 +139,5 @@ index 357b69f57072..b6c8acc30853 100644
/**
* qi_cache_alloc - Allocate buffers from CAAM-QI cache
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 698e9d4aa2337745a67cdb0d0130df1851dd9a25 Mon Sep 17 00:00:00 2001
From 523d1d6151bf8e68c3a6f27bfa42f3166966a8c7 Mon Sep 17 00:00:00 2001
Message-Id: <523d1d6151bf8e68c3a6f27bfa42f3166966a8c7.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Peter Zijlstra <peterz@infradead.org>
Date: Mon, 7 Jan 2019 13:52:31 +0100
Subject: [PATCH 011/325] sched/fair: Robustify CFS-bandwidth timer locking
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 011/330] sched/fair: Robustify CFS-bandwidth timer locking
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +147,5 @@ index 86ccaaf0c1bf..ded41daf0d73 100644
return idle ? HRTIMER_NORESTART : HRTIMER_RESTART;
}
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From a5adb64cd4a86c6fa8bc3b35141ade2fa82d3d27 Mon Sep 17 00:00:00 2001
From b5330f7774aae315712657ef2004c84d1085246d Mon Sep 17 00:00:00 2001
Message-Id: <b5330f7774aae315712657ef2004c84d1085246d.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Frank Rowand <frank.rowand@am.sony.com>
Date: Mon, 19 Sep 2011 14:51:14 -0700
Subject: [PATCH 012/325] arm: Convert arm boot_lock to raw
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 012/330] arm: Convert arm boot_lock to raw
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +431,5 @@ index c2366510187a..6b60f582b738 100644
return pen_release != -1 ? -ENOSYS : 0;
}
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From 21f4cc8e461111c6918c67c907cb4a8ae8afa936 Mon Sep 17 00:00:00 2001
From 9fc24b69a709c6f6dffa94b71a56c271dd6211c0 Mon Sep 17 00:00:00 2001
Message-Id: <9fc24b69a709c6f6dffa94b71a56c271dd6211c0.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 17 Jul 2018 18:25:31 +0200
Subject: [PATCH 013/325] x86/ioapic: Don't let setaffinity unmask threaded EOI
Subject: [PATCH 013/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
There is an issue with threaded interrupts which are marked ONESHOT
and using the fasteoi handler.
@ -97,5 +100,5 @@ index fa3b85b222e3..1bdad61a3ef7 100644
static void ioapic_ir_ack_level(struct irq_data *irq_data)
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From d92527bb24ae4fa57d587ae040d61e04458f59ac Mon Sep 17 00:00:00 2001
From 4a35b70a502fad9d53627081bf02ba98ed08ae4e Mon Sep 17 00:00:00 2001
Message-Id: <4a35b70a502fad9d53627081bf02ba98ed08ae4e.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 3 Jul 2018 18:19:48 +0200
Subject: [PATCH 014/325] cgroup: use irqsave in cgroup_rstat_flush_locked()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 014/330] cgroup: use irqsave in cgroup_rstat_flush_locked()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
All callers of cgroup_rstat_flush_locked() acquire cgroup_rstat_lock
either with spin_lock_irq() or spin_lock_irqsave().
@ -22,10 +25,10 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/kernel/cgroup/rstat.c b/kernel/cgroup/rstat.c
index bb95a35e8c2d..3266a9781b4e 100644
index d0ed410b4127..3c949c46c6b3 100644
--- a/kernel/cgroup/rstat.c
+++ b/kernel/cgroup/rstat.c
@@ -159,8 +159,9 @@ static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep)
@@ -149,8 +149,9 @@ static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep)
raw_spinlock_t *cpu_lock = per_cpu_ptr(&cgroup_rstat_cpu_lock,
cpu);
struct cgroup *pos = NULL;
@ -36,7 +39,7 @@ index bb95a35e8c2d..3266a9781b4e 100644
while ((pos = cgroup_rstat_cpu_pop_updated(pos, cgrp, cpu))) {
struct cgroup_subsys_state *css;
@@ -172,7 +173,7 @@ static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep)
@@ -162,7 +163,7 @@ static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep)
css->ss->css_rstat_flush(css, cpu);
rcu_read_unlock();
}
@ -46,5 +49,5 @@ index bb95a35e8c2d..3266a9781b4e 100644
/* if @may_sleep, play nice and yield if necessary */
if (may_sleep && (need_resched() ||
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 79bc9b1cb45fe96b437ac97ffbbb28c1f02523a9 Mon Sep 17 00:00:00 2001
From a2f42d911a79b4a69a234abb2540b7e45e136358 Mon Sep 17 00:00:00 2001
Message-Id: <a2f42d911a79b4a69a234abb2540b7e45e136358.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Clark Williams <williams@redhat.com>
Date: Tue, 3 Jul 2018 13:34:30 -0500
Subject: [PATCH 015/325] fscache: initialize cookie hash table raw spinlocks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 015/330] fscache: initialize cookie hash table raw spinlocks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +63,5 @@ index 84b90a79d75a..87a9330eafa2 100644
/**
* fscache_register_netfs - Register a filesystem as desiring caching services
--
2.25.1
2.17.1

View File

@ -1,11 +1,14 @@
From 19172d30b8e9f6e2c70d3170a75da4aac327cb9b Mon Sep 17 00:00:00 2001
From ed83918632048e1a2aaeef2357ac17050d4c0897 Mon Sep 17 00:00:00 2001
Message-Id: <ed83918632048e1a2aaeef2357ac17050d4c0897.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 29 Aug 2018 21:59:04 +0200
Subject: [PATCH 016/325] Drivers: hv: vmbus: include header for get_irq_regs()
Subject: [PATCH 016/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +39,5 @@ index 87d3d7da78f8..1d2d8a4b837d 100644
#include "hv_trace.h"
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From ea486c7cc32c9056a03180db47f3710c7fc2052f Mon Sep 17 00:00:00 2001
From 67955e639b641e0d236cb72fbfb78d513f815ce4 Mon Sep 17 00:00:00 2001
Message-Id: <67955e639b641e0d236cb72fbfb78d513f815ce4.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 11 Oct 2018 16:39:59 +0200
Subject: [PATCH 017/325] 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.115-rt48.tar.xz
Subject: [PATCH 017/330] 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.127-rt55.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 +32,5 @@ index 1817a8415a5e..942d64c0476e 100644
#ifdef CONFIG_SMP
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 2d27283a8f76ac017050287c1a62c14cddaf11d4 Mon Sep 17 00:00:00 2001
From 87a59b5dfefbfe6ef7dbf349b524e3fb175f10bc Mon Sep 17 00:00:00 2001
Message-Id: <87a59b5dfefbfe6ef7dbf349b524e3fb175f10bc.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 26 Jul 2018 15:06:10 +0200
Subject: [PATCH 018/325] efi: Allow efi=runtime
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 018/330] efi: Allow efi=runtime
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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.
@ -14,7 +17,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 3 insertions(+)
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
index d54fca902e64..5db20908aa9c 100644
index f1e0a2715269..3d5cbd3eedb4 100644
--- a/drivers/firmware/efi/efi.c
+++ b/drivers/firmware/efi/efi.c
@@ -113,6 +113,9 @@ static int __init parse_efi_cmdline(char *str)
@ -28,5 +31,5 @@ index d54fca902e64..5db20908aa9c 100644
}
early_param("efi", parse_efi_cmdline);
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 91fec13b5fdf4dce19d23cd229ecfdafcc6f6d22 Mon Sep 17 00:00:00 2001
From f58b1dce5d7d97bb8d531d1fd82229f63d9f365f Mon Sep 17 00:00:00 2001
Message-Id: <f58b1dce5d7d97bb8d531d1fd82229f63d9f365f.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 24 Jul 2018 14:48:55 +0200
Subject: [PATCH 019/325] 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.115-rt48.tar.xz
Subject: [PATCH 019/330] 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.127-rt55.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
@ -24,7 +27,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/x86/platform/efi/efi_64.c b/arch/x86/platform/efi/efi_64.c
index 2a9a703ef4a0..f104c9f2998d 100644
index 52dd59af873e..04f05173e6ff 100644
--- a/arch/x86/platform/efi/efi_64.c
+++ b/arch/x86/platform/efi/efi_64.c
@@ -617,18 +617,16 @@ void __init efi_dump_pagetable(void)
@ -51,5 +54,5 @@ index 2a9a703ef4a0..f104c9f2998d 100644
#ifdef CONFIG_EFI_MIXED
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From 83b8acc7de0d3e2798ec54ba770e14b691202d69 Mon Sep 17 00:00:00 2001
From cee4251021086c8806b95fe27a3587c416343b27 Mon Sep 17 00:00:00 2001
Message-Id: <cee4251021086c8806b95fe27a3587c416343b27.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 26 Jul 2018 09:13:42 +0200
Subject: [PATCH 020/325] arm64: KVM: compute_layout before altenates are
Subject: [PATCH 020/330] arm64: KVM: compute_layout before altenates are
applied
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +82,5 @@ index c712a7376bc1..792da0e125de 100644
* Compute HYP VA by using the same computation as kern_hyp_va()
*/
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From 63891871ac6a67c1bae2aa15b3a3aef0f4060b58 Mon Sep 17 00:00:00 2001
From 8231839ea6b5b1d00e3c51e5a95fc05fad1e4b3d Mon Sep 17 00:00:00 2001
Message-Id: <8231839ea6b5b1d00e3c51e5a95fc05fad1e4b3d.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 31 Aug 2018 14:16:30 +0200
Subject: [PATCH 021/325] of: allocate / free phandle cache outside of the
Subject: [PATCH 021/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +102,5 @@ index f0dbb7ad88cf..c59b30bab0e0 100644
void __init of_core_init(void)
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 2cc8c4e626119389ae39665998b3dede468665e6 Mon Sep 17 00:00:00 2001
From ddfc22e4646ebd7625c8406cee2c82dc9e706eeb Mon Sep 17 00:00:00 2001
Message-Id: <ddfc22e4646ebd7625c8406cee2c82dc9e706eeb.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Clark Williams <williams@redhat.com>
Date: Tue, 18 Sep 2018 10:29:31 -0500
Subject: [PATCH 022/325] 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.115-rt48.tar.xz
Subject: [PATCH 022/330] 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.127-rt55.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 +97,5 @@ index 3a8ddf8baf7d..b209dbaefde8 100644
qlist_free_all(&to_free, cache);
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From ef814d6ef67f5228fd470d84ad33515c6a1efa57 Mon Sep 17 00:00:00 2001
From 663ee9b36ce5702a7109f98003e5ac144c147ce8 Mon Sep 17 00:00:00 2001
Message-Id: <663ee9b36ce5702a7109f98003e5ac144c147ce8.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: "Paul E. McKenney" <paulmck@linux.ibm.com>
Date: Mon, 29 Oct 2018 11:53:01 +0100
Subject: [PATCH 023/325] EXP rcu: Revert expedited GP parallelization
Subject: [PATCH 023/330] EXP rcu: Revert expedited GP parallelization
cleverness
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
(Commit 258ba8e089db23f760139266c232f01bad73f85c from linux-rcu)
@ -47,5 +50,5 @@ index 0b2c2ad69629..a0486414edb4 100644
}
--
2.25.1
2.17.1

View File

@ -1,11 +1,14 @@
From 28341f3661c5c3dac734d973251ad13a637fb0bd Mon Sep 17 00:00:00 2001
From 4b563ec476c710e76b14442995b3bc33a0080378 Mon Sep 17 00:00:00 2001
Message-Id: <4b563ec476c710e76b14442995b3bc33a0080378.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: He Zhe <zhe.he@windriver.com>
Date: Wed, 19 Dec 2018 16:30:57 +0100
Subject: [PATCH 024/325] kmemleak: Turn kmemleak_lock to raw spinlock on RT
Subject: [PATCH 024/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
kmemleak_lock, as a rwlock on RT, can possibly be held in atomic context and
causes the follow BUG.
@ -165,5 +168,5 @@ index 5eeabece0c17..92ce99b15f2b 100644
/*
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 89760c7945fc386046ef15f564d7e91990f88ed8 Mon Sep 17 00:00:00 2001
From 7b19ab6d7165436a3b6f7d398b04fe5b3c43f1b8 Mon Sep 17 00:00:00 2001
Message-Id: <7b19ab6d7165436a3b6f7d398b04fe5b3c43f1b8.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 28 Oct 2016 23:05:11 +0200
Subject: [PATCH 025/325] NFSv4: replace seqcount_t with a seqlock_t
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 025/330] NFSv4: replace seqcount_t with a seqlock_t
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +135,5 @@ index b3086e99420c..c9bf1eb7e1b2 100644
}
--
2.25.1
2.17.1

View File

@ -1,12 +1,15 @@
From afc9cd313faee6faecfc1ab87693f143c9206536 Mon Sep 17 00:00:00 2001
From b2bcf442a6169f3511183be2d5add38de01e7122 Mon Sep 17 00:00:00 2001
Message-Id: <b2bcf442a6169f3511183be2d5add38de01e7122.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 4 Apr 2017 12:50:16 +0200
Subject: [PATCH 026/325] kernel: sched: Provide a pointer to the valid CPU
Subject: [PATCH 026/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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
@ -271,7 +274,7 @@ index 9eb99a43f849..e4d0cfebaac5 100644
static inline void task_core_dumping(struct seq_file *m, struct mm_struct *mm)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 0530de9a4efc..4298a87b9de6 100644
index c69f308f3a53..463c20160105 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -660,7 +660,8 @@ struct task_struct {
@ -781,5 +784,5 @@ index 5522692100ba..8b4be8e1802a 100644
trace_foo_with_template_simple("HELLO", cnt);
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 8ad94df28becac218184cd246b017a0141a46247 Mon Sep 17 00:00:00 2001
From bc21ea67b9b00e94aab5f17c15e4ebfc04c16d32 Mon Sep 17 00:00:00 2001
Message-Id: <bc21ea67b9b00e94aab5f17c15e4ebfc04c16d32.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Sat, 27 May 2017 19:02:06 +0200
Subject: [PATCH 027/325] kernel/sched/core: add migrate_disable()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 027/330] kernel/sched/core: add migrate_disable()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
---
include/linux/preempt.h | 23 +++++++
@ -54,7 +57,7 @@ index c01813c3fbe9..3196d0e76719 100644
#ifdef MODULE
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4298a87b9de6..0489d3e0e78c 100644
index 463c20160105..3277801f519d 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -662,6 +662,13 @@ struct task_struct {
@ -262,5 +265,5 @@ index 78fadf0438ea..5027158d3908 100644
#undef PN
#undef __PN
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From 8a5a5668c864f35ac4028c8c775918b8bd4fca1c Mon Sep 17 00:00:00 2001
From 7c2d3cd530fafd2579f51fdf728efac5efa06e64 Mon Sep 17 00:00:00 2001
Message-Id: <7c2d3cd530fafd2579f51fdf728efac5efa06e64.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 9 Oct 2018 17:34:50 +0200
Subject: [PATCH 028/325] sched/migrate_disable: Add export_symbol_gpl for
Subject: [PATCH 028/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +37,5 @@ index d0450f06612c..e6022cc2605b 100644
static void __do_set_cpus_allowed_tail(struct task_struct *p,
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 097c224348ebf8f796c6f6cd0c2eacf0b63a347b Mon Sep 17 00:00:00 2001
From df993c27894ef5e6222614263a3bb50325e7beea Mon Sep 17 00:00:00 2001
Message-Id: <df993c27894ef5e6222614263a3bb50325e7beea.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 9 Mar 2016 10:51:06 +0100
Subject: [PATCH 029/325] 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.115-rt48.tar.xz
Subject: [PATCH 029/330] 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.127-rt55.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 +97,5 @@ index 43f4d5c4d6fa..de6baf564dfe 100644
.set_state_oneshot = tc_set_oneshot,
},
--
2.25.1
2.17.1

View File

@ -1,12 +1,15 @@
From b5661f6c782e92843b5e1d081ab704dd3fb79a61 Mon Sep 17 00:00:00 2001
From 98324319b88d92e82e7dca6c9fce5fef5f1ad6cd Mon Sep 17 00:00:00 2001
Message-Id: <98324319b88d92e82e7dca6c9fce5fef5f1ad6cd.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Benedikt Spranger <b.spranger@linutronix.de>
Date: Mon, 8 Mar 2010 18:57:04 +0100
Subject: [PATCH 030/325] clocksource: TCLIB: Allow higher clock rates for
Subject: [PATCH 030/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +169,5 @@ index 3726eacdf65d..0900dec7ec04 100644
tristate "Dummy IRQ handler"
default n
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 22522352d905d453f9bdc5271ca567d5fafdad16 Mon Sep 17 00:00:00 2001
From f9064a5ac7a8b372cc7c41f6664d3cd0d652c72a Mon Sep 17 00:00:00 2001
Message-Id: <f9064a5ac7a8b372cc7c41f6664d3cd0d652c72a.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 14 Feb 2013 22:36:59 +0100
Subject: [PATCH 031/325] timekeeping: Split jiffies seqlock
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 031/330] timekeeping: Split jiffies seqlock
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +170,5 @@ index 141ab3ab0354..099737f6f10c 100644
#define CS_NAME_LEN 32
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 4e6ea3956be0848c8a5771c159c7fe513e2dd745 Mon Sep 17 00:00:00 2001
From 63bd6f12bf459b90a60d42a1a1934428b56703b2 Mon Sep 17 00:00:00 2001
Message-Id: <63bd6f12bf459b90a60d42a1a1934428b56703b2.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 21 Sep 2011 19:57:12 +0200
Subject: [PATCH 032/325] signal: Revert ptrace preempt magic
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 032/330] signal: Revert ptrace preempt magic
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Upstream commit '53da1d9456fe7f8 fix ptrace slowness' is nothing more
than a bandaid around the ptrace design trainwreck. It's not a
@ -14,7 +17,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 8 deletions(-)
diff --git a/kernel/signal.c b/kernel/signal.c
index c42eaf39b572..feeae7177ee1 100644
index 6a5692118139..f810797e48cb 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2108,15 +2108,7 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info)
@ -34,5 +37,5 @@ index c42eaf39b572..feeae7177ee1 100644
} else {
/*
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 8eed50e0a7fd1ea99c11d47421ca4ea0266c829f Mon Sep 17 00:00:00 2001
From 8d8fd79497b0a37bd55eef0dc21ad274d3cbf8c4 Mon Sep 17 00:00:00 2001
Message-Id: <8d8fd79497b0a37bd55eef0dc21ad274d3cbf8c4.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Wed, 5 Mar 2014 00:49:47 +0100
Subject: [PATCH 033/325] net: sched: Use msleep() instead of yield()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 033/330] net: sched: Use msleep() instead of yield()
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +63,5 @@ index 8a4d01e427a2..4ab20f1138fd 100644
* unwind stale skb lists and qdisc statistics
*/
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From fada05aa298813af2111a2118e1c1af72332e628 Mon Sep 17 00:00:00 2001
From 8a0b137903b17bfba32e5879cb82453cce87bce8 Mon Sep 17 00:00:00 2001
Message-Id: <8a0b137903b17bfba32e5879cb82453cce87bce8.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 27 Mar 2018 16:24:15 +0200
Subject: [PATCH 034/325] dm rq: remove BUG_ON(!irqs_disabled) check
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 034/330] dm rq: remove BUG_ON(!irqs_disabled) check
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +36,5 @@ index 4d36373e1c0f..12ed08245130 100644
}
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 1e7b0ed8d23d5a93afc426a2701805787cb7459a Mon Sep 17 00:00:00 2001
From c42d9f8ff6e816c7b9505c5619db2ea2d116f9c3 Mon Sep 17 00:00:00 2001
Message-Id: <c42d9f8ff6e816c7b9505c5619db2ea2d116f9c3.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 8 Nov 2013 17:34:54 +0100
Subject: [PATCH 035/325] usb: do no disable interrupts in giveback
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 035/330] usb: do no disable interrupts in giveback
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +45,5 @@ index b82a7d787add..2f3015356124 100644
usb_anchor_resume_wakeups(anchor);
atomic_dec(&urb->use_count);
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From ac2295358559dac261e20522d82cc3896bd63e97 Mon Sep 17 00:00:00 2001
From 9bbb97fd14d7adf24e33fd132dc90363ee9b0eb9 Mon Sep 17 00:00:00 2001
Message-Id: <9bbb97fd14d7adf24e33fd132dc90363ee9b0eb9.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 17 Jun 2011 12:39:57 +0200
Subject: [PATCH 036/325] rt: Provide PREEMPT_RT_BASE config switch
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 036/330] rt: Provide PREEMPT_RT_BASE config switch
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Introduce PREEMPT_RT_BASE which enables parts of
PREEMPT_RT_FULL. Forces interrupt threading and enables some of the RT
@ -60,5 +63,5 @@ index cd1655122ec0..027db5976c2f 100644
\ No newline at end of file
+ bool
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 267b99f0dfc2274075fc4d4652995fe24311f05b Mon Sep 17 00:00:00 2001
From 23ecea24e7a8967b7aa41cbbc2bdc68e5488da3b Mon Sep 17 00:00:00 2001
Message-Id: <23ecea24e7a8967b7aa41cbbc2bdc68e5488da3b.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 14 Dec 2011 01:03:49 +0100
Subject: [PATCH 037/325] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 037/330] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
There are "valid" GFP_ATOMIC allocations such as
@ -72,5 +75,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.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From d6d2f824df497fe197e5d2bc268eb4e086935778 Mon Sep 17 00:00:00 2001
From 1ece596541b3a857f449f35acb8f31bb59e9f84a Mon Sep 17 00:00:00 2001
Message-Id: <1ece596541b3a857f449f35acb8f31bb59e9f84a.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 8 Jul 2015 17:14:48 +0200
Subject: [PATCH 038/325] jump-label: disable if stop_machine() is used
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 038/330] jump-label: disable if stop_machine() is used
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Some architectures are using stop_machine() while switching the opcode which
leads to latency spikes.
@ -38,5 +41,5 @@ index e2f7c50dbace..91ba9fe945ff 100644
select HAVE_ARCH_MMAP_RND_BITS if MMU
select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT)
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From b922a824955d554c93823ba2547095def5b87842 Mon Sep 17 00:00:00 2001
From 523f4d05d6acc578a3270548ea5d6dc58f76faeb Mon Sep 17 00:00:00 2001
Message-Id: <523f4d05d6acc578a3270548ea5d6dc58f76faeb.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 24 Jul 2011 12:11:43 +0200
Subject: [PATCH 039/325] kconfig: Disable config options which are not RT
Subject: [PATCH 039/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Disable stuff which is known to have issues on RT
@ -39,5 +42,5 @@ index b457e94ae618..0dddbb2a3282 100644
select RADIX_TREE_MULTIORDER
help
--
2.25.1
2.17.1

View File

@ -1,11 +1,14 @@
From d503eb089b47efb99b62cfd52744ae0e8522ba67 Mon Sep 17 00:00:00 2001
From 8dea7bc14458299afacd76fa1f347ffdeabe829a Mon Sep 17 00:00:00 2001
Message-Id: <8dea7bc14458299afacd76fa1f347ffdeabe829a.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 17 Oct 2017 16:36:18 +0200
Subject: [PATCH 040/325] lockdep: disable self-test
Subject: [PATCH 040/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +34,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.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From bf1579f9280b4c92ce6b02c3f014d40eff596b86 Mon Sep 17 00:00:00 2001
From 2f7534e810d4069b5ce3ccb730b0873917ca7832 Mon Sep 17 00:00:00 2001
Message-Id: <2f7534e810d4069b5ce3ccb730b0873917ca7832.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:44:03 -0500
Subject: [PATCH 041/325] mm: Allow only slub on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 041/330] mm: Allow only slub on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Disable SLAB and SLOB on -RT. Only SLUB is adopted to -RT needs.
@ -33,5 +36,5 @@ index 47035b5a46f6..ae9a0113a699 100644
SLOB replaces the stock allocator with a drastically simpler
allocator. SLOB is generally more space efficient but
--
2.25.1
2.17.1

View File

@ -1,11 +1,14 @@
From f90c261f0738ea136c59392132ba130bad2c03b4 Mon Sep 17 00:00:00 2001
From 9117450a92f0382c88bb580ec82d02af1e7ef4cf Mon Sep 17 00:00:00 2001
Message-Id: <9117450a92f0382c88bb580ec82d02af1e7ef4cf.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 17 Jul 2011 21:51:45 +0200
Subject: [PATCH 042/325] locking: Disable spin on owner for RT
Subject: [PATCH 042/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Drop spin on owner for mutex / rwsem. We are most likely not using it
but…
@ -34,5 +37,5 @@ index 84d882f3e299..af27c4000812 100644
config LOCK_SPIN_ON_OWNER
def_bool y
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From df00a54df3c3cf8857d0f2836e313a11d3c38180 Mon Sep 17 00:00:00 2001
From 7cd88e0bc8f5e84d50b8c030c559e2f15453cf0a Mon Sep 17 00:00:00 2001
Message-Id: <7cd88e0bc8f5e84d50b8c030c559e2f15453cf0a.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 28 Oct 2012 13:26:09 +0000
Subject: [PATCH 043/325] rcu: Disable RCU_FAST_NO_HZ on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 043/330] rcu: Disable RCU_FAST_NO_HZ on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +29,5 @@ index 9210379c0353..644264be90f0 100644
help
This option permits CPUs to enter dynticks-idle state even if
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 1b6c39d11d3f8f75251ccbaa4dbbf2db13892023 Mon Sep 17 00:00:00 2001
From 5e2789c8f2577b965b4850c91839a3e680ce301d Mon Sep 17 00:00:00 2001
Message-Id: <5e2789c8f2577b965b4850c91839a3e680ce301d.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 21 Mar 2014 20:19:05 +0100
Subject: [PATCH 044/325] rcu: make RCU_BOOST default on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 044/330] rcu: make RCU_BOOST default on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +33,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.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From f9726e45c479872aa7380cd7f5190cebcac02c70 Mon Sep 17 00:00:00 2001
From 91af26714b8fb61247dde6420eaf9fc3329fda2e Mon Sep 17 00:00:00 2001
Message-Id: <91af26714b8fb61247dde6420eaf9fc3329fda2e.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 18 Jul 2011 17:03:52 +0200
Subject: [PATCH 045/325] sched: Disable CONFIG_RT_GROUP_SCHED on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 045/330] sched: Disable CONFIG_RT_GROUP_SCHED on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Carsten reported problems when running:
@ -31,5 +34,5 @@ index ae9a0113a699..61e8b531649b 100644
help
This feature lets you explicitly allocate real CPU bandwidth
--
2.25.1
2.17.1

View File

@ -1,11 +1,14 @@
From 996a1b580a6cc76c1463f9f69662448d34ebb398 Mon Sep 17 00:00:00 2001
From fba0603919c5cd1dd19338e31cd405204034e64f Mon Sep 17 00:00:00 2001
Message-Id: <fba0603919c5cd1dd19338e31cd405204034e64f.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Sat, 27 May 2017 19:02:06 +0200
Subject: [PATCH 046/325] net/core: disable NET_RX_BUSY_POLL
Subject: [PATCH 046/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
sk_busy_loop() does preempt_disable() followed by a few operations which can
take sleeping locks and may get long.
@ -34,5 +37,5 @@ index 228dfa382eec..bc8d01996f22 100644
config BQL
bool
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From fe0a55f724947832043b3e9dce548b136de75da7 Mon Sep 17 00:00:00 2001
From e0099a0cce872afef4d3276a40c9e70daee9c123 Mon Sep 17 00:00:00 2001
Message-Id: <e0099a0cce872afef4d3276a40c9e70daee9c123.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Fri, 1 Dec 2017 10:42:03 +0100
Subject: [PATCH 047/325] arm*: disable NEON in kernel mode
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 047/330] arm*: disable NEON in kernel mode
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +165,5 @@ index 34b4e3d46aab..ae055cdad8cf 100644
crc32_pmull_algs[1].update = crc32c_pmull_update;
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From f66e42e47b6d784455711d775e0e896078112788 Mon Sep 17 00:00:00 2001
From ec7330e84b7bbcb8457fd00e0587bfca8d4c91c3 Mon Sep 17 00:00:00 2001
Message-Id: <ec7330e84b7bbcb8457fd00e0587bfca8d4c91c3.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 14 Jul 2015 14:26:34 +0200
Subject: [PATCH 048/325] powerpc: Use generic rwsem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 048/330] powerpc: Use generic rwsem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Use generic code which uses rtmutex
@ -12,7 +15,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 6f475dc5829b..3d5c86336072 100644
index f38d153d2586..53fa972c2548 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -105,10 +105,11 @@ config LOCKDEP_SUPPORT
@ -29,5 +32,5 @@ index 6f475dc5829b..3d5c86336072 100644
config GENERIC_LOCKBREAK
bool
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From a0922c5ef203ce1bf241a3189fd9bf2475f7871e Mon Sep 17 00:00:00 2001
From 87606cf3013d6722b78e6ddd779dd1e92eb8ceca Mon Sep 17 00:00:00 2001
Message-Id: <87606cf3013d6722b78e6ddd779dd1e92eb8ceca.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Date: Fri, 24 Apr 2015 15:53:13 +0000
Subject: [PATCH 049/325] powerpc/kvm: Disable in-kernel MPIC emulation for
Subject: [PATCH 049/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +44,5 @@ index 68a0e9d5b440..6f4d5d7615af 100644
select HAVE_KVM_IRQFD
select HAVE_KVM_IRQ_ROUTING
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 05259869f3f330c74c6647e1bcceda4f6a17996d Mon Sep 17 00:00:00 2001
From f1b2a43b677f6cb695ba312e57de2a0c09b98412 Mon Sep 17 00:00:00 2001
Message-Id: <f1b2a43b677f6cb695ba312e57de2a0c09b98412.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 18 Jul 2011 17:08:34 +0200
Subject: [PATCH 050/325] powerpc: Disable highmem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 050/330] powerpc: Disable highmem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
The current highmem handling on -RT is not compatible and needs fixups.
@ -12,7 +15,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 3d5c86336072..1b332f69dd36 100644
index 53fa972c2548..8455293d1435 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -399,7 +399,7 @@ menu "Kernel options"
@ -25,5 +28,5 @@ index 3d5c86336072..1b332f69dd36 100644
source kernel/Kconfig.hz
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 2724f222d99a9ed81df4fa565d6cf82d34259d69 Mon Sep 17 00:00:00 2001
From e3fafbcb7f57fe9b2a70fd821d7a3499f7164ebf Mon Sep 17 00:00:00 2001
Message-Id: <e3fafbcb7f57fe9b2a70fd821d7a3499f7164ebf.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 18 Jul 2011 17:10:12 +0200
Subject: [PATCH 051/325] mips: Disable highmem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 051/330] mips: Disable highmem on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
The current highmem handling on -RT is not compatible and needs fixups.
@ -25,5 +28,5 @@ index a830a9701e50..3d5fae3891be 100644
config CPU_SUPPORTS_HIGHMEM
bool
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 78bb51d4c679626974498c8ae3af2866d451c48b Mon Sep 17 00:00:00 2001
From e2affe0d3ea6818a9df69ff68211bed0fd505b2c Mon Sep 17 00:00:00 2001
Message-Id: <e2affe0d3ea6818a9df69ff68211bed0fd505b2c.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 26 Jul 2009 02:21:32 +0200
Subject: [PATCH 052/325] x86: Use generic rwsem_spinlocks on -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 052/330] x86: Use generic rwsem_spinlocks on -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Simplifies the separation of anon_rw_semaphores and rw_semaphores for
-rt.
@ -30,5 +33,5 @@ index e40ba59efe7f..f22e787329cf 100644
config GENERIC_CALIBRATE_DELAY
def_bool y
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 88db50cf7dd13e56c63f264a6bb3763f59ed0795 Mon Sep 17 00:00:00 2001
From 049a5cd3a17958b2c72a457e21d7e32d8acf6845 Mon Sep 17 00:00:00 2001
Message-Id: <049a5cd3a17958b2c72a457e21d7e32d8acf6845.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 23 Jan 2014 14:45:59 +0100
Subject: [PATCH 053/325] leds: trigger: disable CPU trigger on -RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 053/330] leds: trigger: disable CPU trigger on -RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
as it triggers:
|CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.8-rt10 #141
@ -37,5 +40,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.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From d8c10b642fecafbf8fdcc70eb887ac2b1b2010de Mon Sep 17 00:00:00 2001
From 8dc4f59d3d6db08c4b9ab5723d95e3542eaac829 Mon Sep 17 00:00:00 2001
Message-Id: <8dc4f59d3d6db08c4b9ab5723d95e3542eaac829.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 9 Apr 2015 15:23:01 +0200
Subject: [PATCH 054/325] cpufreq: drop K8's driver from beeing selected
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 054/330] cpufreq: drop K8's driver from beeing selected
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Ralf posted a picture of a backtrace from
@ -35,5 +38,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.25.1
2.17.1

View File

@ -1,11 +1,14 @@
From 248d9794b36b5701308e7a624204d116f681240f Mon Sep 17 00:00:00 2001
From 3ea96f7ad4ba1ee631264d36a1aef047d0c69224 Mon Sep 17 00:00:00 2001
Message-Id: <3ea96f7ad4ba1ee631264d36a1aef047d0c69224.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 29 Aug 2013 11:48:57 +0200
Subject: [PATCH 055/325] md: disable bcache
Subject: [PATCH 055/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
It uses anon semaphores
|drivers/md/bcache/request.c: In function cached_dev_write_complete:
@ -37,5 +40,5 @@ index f6e0a8b3a61e..18c03d79a442 100644
help
Allows a block device to be used as cache for other devices; uses
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 1bfed58b8d4d1812c80dbd9d096d5e1e011ca0fc Mon Sep 17 00:00:00 2001
From 43b593bfaeee4443e7148f10440e6a1bfc23b488 Mon Sep 17 00:00:00 2001
Message-Id: <43b593bfaeee4443e7148f10440e6a1bfc23b488.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 26 Jul 2018 15:03:16 +0200
Subject: [PATCH 056/325] efi: Disable runtime services on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 056/330] efi: Disable runtime services on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Based on meassurements the EFI functions get_variable /
get_next_variable take up to 2us which looks okay.
@ -29,7 +32,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
index 5db20908aa9c..1708505fdf5d 100644
index 3d5cbd3eedb4..555e45122bf5 100644
--- a/drivers/firmware/efi/efi.c
+++ b/drivers/firmware/efi/efi.c
@@ -87,7 +87,7 @@ struct mm_struct efi_mm = {
@ -42,5 +45,5 @@ index 5db20908aa9c..1708505fdf5d 100644
{
disable_runtime = true;
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From b19916a6a05bf459669c0666d128f744d601c728 Mon Sep 17 00:00:00 2001
From be673afc886a3182fc5b0c8db43a81da033c8f0d Mon Sep 17 00:00:00 2001
Message-Id: <be673afc886a3182fc5b0c8db43a81da033c8f0d.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 22 Jul 2011 17:58:40 +0200
Subject: [PATCH 057/325] printk: Add a printk kill switch
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 057/330] printk: Add a printk kill switch
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +173,5 @@ index 71381168dede..685443375dc0 100644
nmi_panic(regs, "Hard LOCKUP");
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From 435cedf56c779ff8b0aff154014fac752d0cfc53 Mon Sep 17 00:00:00 2001
From b257f7a21e7846cefc9954c981ff6d79f6700fb4 Mon Sep 17 00:00:00 2001
Message-Id: <b257f7a21e7846cefc9954c981ff6d79f6700fb4.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Peter Zijlstra <peterz@infradead.org>
Date: Fri, 2 Sep 2011 14:41:29 +0200
Subject: [PATCH 058/325] printk: Add "force_early_printk" boot param to help
Subject: [PATCH 058/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Gives me an option to screw printk and actually see what the machine
says.
@ -35,5 +38,5 @@ index 29838e532f46..f934baed564d 100644
{
printk_killswitch = true;
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 0f4ab1168734c622efbc4fd6b4def90ab992be6b Mon Sep 17 00:00:00 2001
From 80491e850b7b96971c05fdf86426877c9d1304e9 Mon Sep 17 00:00:00 2001
Message-Id: <80491e850b7b96971c05fdf86426877c9d1304e9.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 24 Jul 2009 12:38:56 +0200
Subject: [PATCH 059/325] preempt: Provide preempt_*_(no)rt variants
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 059/330] preempt: Provide preempt_*_(no)rt variants
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
RT needs a few preempt_disable/enable points which are not necessary
otherwise. Implement variants to avoid #ifdeffery.
@ -49,5 +52,5 @@ index 3196d0e76719..f7a17fcc3fec 100644
struct preempt_notifier;
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From f9c934a2065deec2a867e69c90d82e5f01a0031a Mon Sep 17 00:00:00 2001
From d6a9cdf745cd79634b4581276a1fff7570beb85c Mon Sep 17 00:00:00 2001
Message-Id: <d6a9cdf745cd79634b4581276a1fff7570beb85c.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 8 Mar 2017 14:23:35 +0100
Subject: [PATCH 060/325] futex: workaround migrate_disable/enable in different
Subject: [PATCH 060/330] futex: workaround migrate_disable/enable in different
context
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +69,5 @@ index 920d853a8e9e..32f9e3fa8c46 100644
/*
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From e14e89e35c111f053cf74355bdc468577cdddf32 Mon Sep 17 00:00:00 2001
From 5b7e7169be4389cda315a618a77fec0b378095ca Mon Sep 17 00:00:00 2001
Message-Id: <5b7e7169be4389cda315a618a77fec0b378095ca.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 20 Jun 2011 09:03:47 +0200
Subject: [PATCH 061/325] rt: Add local irq locks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 061/330] rt: Add local irq locks
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +340,5 @@ index 70b7123f38c7..24421bf8c4b3 100644
#define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10)
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 0dc8625af525103cb6b43e7f73288315aa9182c2 Mon Sep 17 00:00:00 2001
From 29cd5fd02b7f0dbdcdf3398745fb90248bae6a11 Mon Sep 17 00:00:00 2001
Message-Id: <29cd5fd02b7f0dbdcdf3398745fb90248bae6a11.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Julia Cartwright <julia@ni.com>
Date: Mon, 7 May 2018 08:58:56 -0500
Subject: [PATCH 062/325] locallock: provide {get,put}_locked_ptr() variants
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 062/330] locallock: provide {get,put}_locked_ptr() variants
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +48,5 @@ index d658c2552601..921eab83cd34 100644
#define local_lock_cpu(lvar) get_cpu()
#define local_unlock_cpu(lvar) put_cpu()
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 9977834321f77cd9919949417d7aff598ed71023 Mon Sep 17 00:00:00 2001
From d8c286fb8afb9a25878451e26616b96f9bf2b38e Mon Sep 17 00:00:00 2001
Message-Id: <d8c286fb8afb9a25878451e26616b96f9bf2b38e.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 3 Jul 2009 08:44:34 -0500
Subject: [PATCH 063/325] mm/scatterlist: Do not disable irqs on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 063/330] mm/scatterlist: Do not disable irqs on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
For -RT it is enough to keep pagefault disabled (which is currently handled by
kmap_atomic()).
@ -26,5 +29,5 @@ index 60e7eca2f4be..aad8b9ecd496 100644
} else
kunmap(miter->page);
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From f2ef7528019291f9ad8d4cf90b57d315f8accd38 Mon Sep 17 00:00:00 2001
From 6fe95ca706326c7519412c75e10c7d70713424cb Mon Sep 17 00:00:00 2001
Message-Id: <6fe95ca706326c7519412c75e10c7d70713424cb.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Oleg Nesterov <oleg@redhat.com>
Date: Tue, 14 Jul 2015 14:26:34 +0200
Subject: [PATCH 064/325] signal/x86: Delay calling signals in atomic
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 064/330] signal/x86: Delay calling signals in atomic
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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
@ -80,7 +83,7 @@ index 33d3c88a7225..fb0438d06ca7 100644
typedef sigset_t compat_sigset_t;
#endif
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 0489d3e0e78c..e4af260f81c5 100644
index 3277801f519d..3b0a95e10939 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -881,6 +881,10 @@ struct task_struct {
@ -95,7 +98,7 @@ index 0489d3e0e78c..e4af260f81c5 100644
size_t sas_ss_size;
unsigned int sas_ss_flags;
diff --git a/kernel/signal.c b/kernel/signal.c
index feeae7177ee1..d1fa3c405784 100644
index f810797e48cb..6f7191a72103 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1282,8 +1282,8 @@ int do_send_sig_info(int sig, struct siginfo *info, struct task_struct *p,
@ -150,5 +153,5 @@ index feeae7177ee1..d1fa3c405784 100644
* Nuke all other threads in the group.
*/
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From ad228035652dbf96f3ee14ca10e14e85fb4e5b3c Mon Sep 17 00:00:00 2001
From 58212e94797862f347a83da1c62d6dbf644c28b8 Mon Sep 17 00:00:00 2001
Message-Id: <58212e94797862f347a83da1c62d6dbf644c28b8.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Yang Shi <yang.shi@linaro.org>
Date: Thu, 10 Dec 2015 10:58:51 -0800
Subject: [PATCH 065/325] x86/signal: delay calling signals on 32bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 065/330] x86/signal: delay calling signals on 32bit
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
When running some ptrace single step tests on x86-32 machine, the below problem
is triggered:
@ -45,5 +48,5 @@ index fb0438d06ca7..c00e27af2205 100644
#endif
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 9c2e7dffa272d9112c453d37bf48c92bb1b4d287 Mon Sep 17 00:00:00 2001
From 2c8893c469811fe57a6ccb47cd67600bf510dcdc Mon Sep 17 00:00:00 2001
Message-Id: <2c8893c469811fe57a6ccb47cd67600bf510dcdc.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 18 Mar 2011 09:18:52 +0100
Subject: [PATCH 066/325] buffer_head: Replace bh_uptodate_lock for -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 066/330] buffer_head: Replace bh_uptodate_lock for -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Wrap the bit_spin_lock calls into a separate inline and add the RT
replacements with a real spinlock.
@ -16,7 +19,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
4 files changed, 46 insertions(+), 25 deletions(-)
diff --git a/fs/buffer.c b/fs/buffer.c
index a550e0d8e965..a5b3a456dbff 100644
index c49fdab5cb36..b649c4d58637 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -274,8 +274,7 @@ static void end_buffer_async_read(struct buffer_head *bh, int uptodate)
@ -78,7 +81,7 @@ index a550e0d8e965..a5b3a456dbff 100644
}
EXPORT_SYMBOL(end_buffer_async_write);
@@ -3368,6 +3360,7 @@ struct buffer_head *alloc_buffer_head(gfp_t gfp_flags)
@@ -3379,6 +3371,7 @@ struct buffer_head *alloc_buffer_head(gfp_t gfp_flags)
struct buffer_head *ret = kmem_cache_zalloc(bh_cachep, gfp_flags);
if (ret) {
INIT_LIST_HEAD(&ret->b_assoc_buffers);
@ -146,7 +149,7 @@ index 8946130c87ad..71d0b3ba70f8 100644
/**
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index 96225a77c112..8a1bcfb145d7 100644
index 9168fc33a4f7..572541d6cc90 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -76,8 +76,42 @@ struct buffer_head {
@ -193,5 +196,5 @@ index 96225a77c112..8a1bcfb145d7 100644
* macro tricks to expand the set_buffer_foo(), clear_buffer_foo()
* and buffer_foo() functions.
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From c6247543e73c08256490bf6ccd225a3476eefd3a Mon Sep 17 00:00:00 2001
From 3cc11354713594d4fb2664a7fb4cb59872176ed0 Mon Sep 17 00:00:00 2001
Message-Id: <3cc11354713594d4fb2664a7fb4cb59872176ed0.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 18 Mar 2011 10:11:25 +0100
Subject: [PATCH 067/325] fs: jbd/jbd2: Make state lock and journal head lock
Subject: [PATCH 067/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
bit_spin_locks break under RT.
@ -19,7 +22,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2 files changed, 32 insertions(+)
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index 8a1bcfb145d7..5869330d1f38 100644
index 572541d6cc90..703bf3335a3d 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -78,6 +78,10 @@ struct buffer_head {
@ -106,5 +109,5 @@ index 268f3000d1b3..8f5d6ecb802e 100644
#define J_ASSERT(assert) BUG_ON(!(assert))
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From ffb1cb4821d5ac6ec3e2f69dc118584321113848 Mon Sep 17 00:00:00 2001
From d7dbda4307c7d2330cf192e6d04d34f788dfbdea Mon Sep 17 00:00:00 2001
Message-Id: <d7dbda4307c7d2330cf192e6d04d34f788dfbdea.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Fri, 21 Jun 2013 15:07:25 -0400
Subject: [PATCH 068/325] list_bl: Make list head locking RT safe
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 068/330] list_bl: Make list head locking RT safe
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.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 +120,5 @@ index 3fc2cc57ba1b..69b659259bac 100644
static inline bool hlist_bl_is_locked(struct hlist_bl_head *b)
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From bdcdc6774f7346b9302a7cf88c2c6ad00afe3459 Mon Sep 17 00:00:00 2001
From 546e11e3b7d198f31697e3d37f91f7d13691a5e9 Mon Sep 17 00:00:00 2001
Message-Id: <546e11e3b7d198f31697e3d37f91f7d13691a5e9.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Josh Cartwright <joshc@ni.com>
Date: Thu, 31 Mar 2016 00:04:25 -0500
Subject: [PATCH 069/325] list_bl: fixup bogus lockdep warning
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 069/330] list_bl: fixup bogus lockdep warning
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
At first glance, the use of 'static inline' seems appropriate for
INIT_HLIST_BL_HEAD().
@ -100,5 +103,5 @@ index 69b659259bac..0b5de7d9ffcf 100644
static inline void INIT_HLIST_BL_NODE(struct hlist_bl_node *h)
{
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 7cebafc45724ddb601b485b97c0c931378a7d60d Mon Sep 17 00:00:00 2001
From 58fdb46a53ff73cd5b4c8142eff4acb4799ae34b Mon Sep 17 00:00:00 2001
Message-Id: <58fdb46a53ff73cd5b4c8142eff4acb4799ae34b.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:57 -0500
Subject: [PATCH 070/325] genirq: Disable irqpoll on -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 070/330] genirq: Disable irqpoll on -rt
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Creates long latencies for no value
@ -39,5 +42,5 @@ index d867d6ddafdd..cd12ee86c01e 100644
printk(KERN_WARNING "Misrouted IRQ fixup and polling support "
"enabled\n");
--
2.25.1
2.17.1

View File

@ -1,8 +1,11 @@
From 7dca342c202dd085c2ed2817d5bf9bdfb8d9fd4b Mon Sep 17 00:00:00 2001
From e6e7eb166022fa841ca4b929eb6bc22951a46275 Mon Sep 17 00:00:00 2001
Message-Id: <e6e7eb166022fa841ca4b929eb6bc22951a46275.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 3 Apr 2011 11:57:29 +0200
Subject: [PATCH 071/325] genirq: Force interrupt thread on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.115-rt48.tar.xz
Subject: [PATCH 071/330] genirq: Force interrupt thread on RT
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Force threaded_irqs and optimize the code (force_irqthreads) in regard
to this.
@ -50,5 +53,5 @@ index efcb54ee0922..0809bf7743af 100644
static void __synchronize_hardirq(struct irq_desc *desc, bool sync_chip)
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From 2e4f0bf4e4b7f98603bec063dc960b95fd97fbce Mon Sep 17 00:00:00 2001
From 021d0c4398f9f1d303211609224bcc816a76ec03 Mon Sep 17 00:00:00 2001
Message-Id: <021d0c4398f9f1d303211609224bcc816a76ec03.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Peter Zijlstra <peterz@infradead.org>
Date: Mon, 28 May 2018 15:24:20 +0200
Subject: [PATCH 072/325] Split IRQ-off and zone->lock while freeing pages from
Subject: [PATCH 072/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Split the IRQ-off section while accessing the PCP list from zone->lock
while freeing pages.
@ -18,7 +21,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 52 insertions(+), 30 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index e5c610d711f3..0cfcd42517a4 100644
index d8c3051387d1..2a543a376a40 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1095,7 +1095,7 @@ static inline void prefetch_buddy(struct page *page)
@ -112,7 +115,7 @@ index e5c610d711f3..0cfcd42517a4 100644
}
static void free_one_page(struct zone *zone,
@@ -2544,13 +2551,18 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp)
@@ -2545,13 +2552,18 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp)
{
unsigned long flags;
int to_drain, batch;
@ -132,7 +135,7 @@ index e5c610d711f3..0cfcd42517a4 100644
}
#endif
@@ -2566,14 +2578,21 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone)
@@ -2567,14 +2579,21 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone)
unsigned long flags;
struct per_cpu_pageset *pset;
struct per_cpu_pages *pcp;
@ -156,7 +159,7 @@ index e5c610d711f3..0cfcd42517a4 100644
}
/*
@@ -2795,7 +2814,10 @@ static void free_unref_page_commit(struct page *page, unsigned long pfn)
@@ -2796,7 +2815,10 @@ static void free_unref_page_commit(struct page *page, unsigned long pfn)
pcp->count++;
if (pcp->count >= pcp->high) {
unsigned long batch = READ_ONCE(pcp->batch);
@ -169,5 +172,5 @@ index e5c610d711f3..0cfcd42517a4 100644
}
--
2.25.1
2.17.1

View File

@ -1,9 +1,12 @@
From e2fc0821dfc12bc01f49756080b4563f0fc2c45c Mon Sep 17 00:00:00 2001
From 377595cd119888aa39bd32ee3c2ae94341f8b596 Mon Sep 17 00:00:00 2001
Message-Id: <377595cd119888aa39bd32ee3c2ae94341f8b596.1592846147.git.zanussi@kernel.org>
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
From: Peter Zijlstra <peterz@infradead.org>
Date: Mon, 28 May 2018 15:24:21 +0200
Subject: [PATCH 073/325] Split IRQ-off and zone->lock while freeing pages from
Subject: [PATCH 073/330] 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.115-rt48.tar.xz
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
Split the IRQ-off section while accessing the PCP list from zone->lock
while freeing pages.
@ -18,7 +21,7 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
1 file changed, 50 insertions(+), 10 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 0cfcd42517a4..9a4d150ea5b7 100644
index 2a543a376a40..62b39e3e5cea 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1105,8 +1105,8 @@ static inline void prefetch_buddy(struct page *page)
@ -60,7 +63,7 @@ index 0cfcd42517a4..9a4d150ea5b7 100644
__free_one_page(page, page_to_pfn(page), zone, 0, mt);
trace_mm_page_pcpu_drain(page, 0, mt);
}
@@ -2562,7 +2577,7 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp)
@@ -2563,7 +2578,7 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp)
local_irq_restore(flags);
if (to_drain > 0)
@ -69,7 +72,7 @@ index 0cfcd42517a4..9a4d150ea5b7 100644
}
#endif
@@ -2592,7 +2607,7 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone)
@@ -2593,7 +2608,7 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone)
local_irq_restore(flags);
if (count)
@ -78,7 +81,7 @@ index 0cfcd42517a4..9a4d150ea5b7 100644
}
/*
@@ -2785,7 +2800,8 @@ static bool free_unref_page_prepare(struct page *page, unsigned long pfn)
@@ -2786,7 +2801,8 @@ static bool free_unref_page_prepare(struct page *page, unsigned long pfn)
return true;
}
@ -88,7 +91,7 @@ index 0cfcd42517a4..9a4d150ea5b7 100644
{
struct zone *zone = page_zone(page);
struct per_cpu_pages *pcp;
@@ -2814,10 +2830,8 @@ static void free_unref_page_commit(struct page *page, unsigned long pfn)
@@ -2815,10 +2831,8 @@ static void free_unref_page_commit(struct page *page, unsigned long pfn)
pcp->count++;
if (pcp->count >= pcp->high) {
unsigned long batch = READ_ONCE(pcp->batch);
@ -100,7 +103,7 @@ index 0cfcd42517a4..9a4d150ea5b7 100644
}
}
@@ -2828,13 +2842,17 @@ void free_unref_page(struct page *page)
@@ -2829,13 +2843,17 @@ void free_unref_page(struct page *page)
{
unsigned long flags;
unsigned long pfn = page_to_pfn(page);
@ -119,7 +122,7 @@ index 0cfcd42517a4..9a4d150ea5b7 100644
}
/*
@@ -2845,6 +2863,11 @@ void free_unref_page_list(struct list_head *list)
@@ -2846,6 +2864,11 @@ void free_unref_page_list(struct list_head *list)
struct page *page, *next;
unsigned long flags, pfn;
int batch_count = 0;
@ -131,7 +134,7 @@ index 0cfcd42517a4..9a4d150ea5b7 100644
/* Prepare pages for freeing */
list_for_each_entry_safe(page, next, list, lru) {
@@ -2857,10 +2880,12 @@ void free_unref_page_list(struct list_head *list)
@@ -2858,10 +2881,12 @@ void free_unref_page_list(struct list_head *list)
local_irq_save(flags);
list_for_each_entry_safe(page, next, list, lru) {
unsigned long pfn = page_private(page);
@ -145,7 +148,7 @@ index 0cfcd42517a4..9a4d150ea5b7 100644
/*
* Guard against excessive IRQ disabled times when we get
@@ -2873,6 +2898,21 @@ void free_unref_page_list(struct list_head *list)
@@ -2874,6 +2899,21 @@ void free_unref_page_list(struct list_head *list)
}
}
local_irq_restore(flags);
@ -168,5 +171,5 @@ index 0cfcd42517a4..9a4d150ea5b7 100644
/*
--
2.25.1
2.17.1

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