aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/series
blob: 0966dd9b4ec9278d406cba6066ebe11b7322a77e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
###########################################################
# DELTA against a known Linus release
###########################################################

############################################################
# UPSTREAM merged
############################################################
# e950cca3f3c40902a052a78a36b3fac1f8a62d19
lib-smp_processor_id-Don-t-use-cpumask_equal.patch
# ce5c31db3645b649a31044a4d8b6057f6c723702
lib-ubsan-Don-t-seralize-UBSAN-report.patch

# 2019-08-09 14:42 Jan Kara [PATCH 0/7 v2] jbd2: Bit spinlock conversions
# + fixups due to Buffer-heads rom above
# d84560f74d852ea0cf663edeaee3a470917c2f36 and later
0001-jbd2-Simplify-journal_unmap_buffer.patch
0002-jbd2-Remove-jbd_trylock_bh_state.patch
0003-jbd2-Move-dropping-of-jh-reference-out-of-un-re-fili.patch
0004-jbd2-Drop-unnecessary-branch-from-jbd2_journal_forge.patch
0005-jbd2-Don-t-call-__bforget-unnecessarily.patch
0006-jbd2-Make-state-lock-a-spinlock.patch
0007-jbd2-Free-journal-head-outside-of-locked-region.patch

# 5a6446626d7e062b47a5cc1cf27d5060e60bb0d9
workqueue-Convert-for_each_wq-to-use-built-in-list-c.patch
# 2579a4eefc04d1c23eef8f3f0db3309f955e5792
x86-ioapic-Rename-misnamed-functions.patch
# 9e8d42a0f7eb9056f8bdb241b91738b5a2923f4c
percpu-refcount-use-normal-instead-of-RCU-sched.patch
# 1dfffa0051eae890ce36924651ecff60df5d779e
drm-i915-Don-t-disable-interrupts-independently-of-t.patch
# a19f89335f4bda3d77d991c96583e3e51856acbb
watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch
# de678bc63cc659d056a5ff3a3b11866d3eb4c1a9
block-Don-t-disable-interrupts-in-trigger_softirq.patch
# 0492747c72a3db0425a234abafb763c5b28c845d
arm64-KVM-compute_layout-before-altenates-are-applie.patch
# 4eab421bc339e ("net: sched: Avoid using yield() in a busy waiting loop")
net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch
# 81f1ba586e393 ("mm/vmalloc: remove preempt_disable/enable when doing preloading")
mm-vmalloc-remove-preempt_disable-enable-when-doing-.patch
# 9090825fa99740f0c794f94b9cbd57ad79101228
KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch

############################################################
# POSTED by others
############################################################

# John's printk series
# [RFC PATCH v1 00/25] printk: new implementation
# Date: Tue, 12 Feb 2019 15:29:38 +0100
# Plus build fixes merged
0001-printk-rb-add-printk-ring-buffer-documentation.patch
0002-printk-rb-add-prb-locking-functions.patch
0003-printk-rb-define-ring-buffer-struct-and-initializer.patch
0004-printk-rb-add-writer-interface.patch
0005-printk-rb-add-basic-non-blocking-reading-interface.patch
0006-printk-rb-add-blocking-reader-support.patch
0007-printk-rb-add-functionality-required-by-printk.patch
0008-printk-add-ring-buffer-and-kthread.patch
0009-printk-remove-exclusive-console-hack.patch
0010-printk-redirect-emit-store-to-new-ringbuffer.patch
0011-printk_safe-remove-printk-safe-code.patch
0012-printk-minimize-console-locking-implementation.patch
0013-printk-track-seq-per-console.patch
0014-printk-do-boot_delay_msec-inside-printk_delay.patch
0015-printk-print-history-for-new-consoles.patch
0016-printk-implement-CON_PRINTBUFFER.patch
0017-printk-add-processor-number-to-output.patch
0018-console-add-write_atomic-interface.patch
0019-printk-introduce-emergency-messages.patch
0020-serial-8250-implement-write_atomic.patch
0021-printk-implement-KERN_CONT.patch
0022-printk-implement-dev-kmsg.patch
0023-printk-implement-syslog.patch
0024-printk-implement-kmsg_dump.patch
0025-printk-remove-unused-code.patch
printk-set-deferred-to-default-loglevel-enforce-mask.patch
serial-8250-remove-that-trylock-in-serial8250_consol.patch
serial-8250-export-symbols-which-are-used-by-symbols.patch
arm-remove-printk_nmi_.patch
printk-only-allow-kernel-to-emergency-message.patch
printk-devkmsg-llseek-reset-clear-if-it-is-lost.patch
printk-print-rate-limitted-message-as-info.patch
printk-kmsg_dump-remove-mutex-usage.patch
printk-devkmsg-read-Return-EPIPE-when-the-first-mess.patch
printk-handle-iterating-while-buffer-changing.patch
printk-hack-out-emergency-loglevel-usage.patch

############################################################
# POSTED
############################################################
# https://lkml.kernel.org/r/20190820170818.oldsdoumzashhcgh@linutronix.de
# 20191118132824.rclhrbujqh4b4g4d@linutronix.de
fs-buffer-Make-BH_Uptodate_Lock-bit_spin_lock-a-regu.patch

# 20191008110021.2j44ayunal7fkb7i@linutronix.de
# Ping => 20191107091108.6ctsai6bdomalmqj@linutronix.de
thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch

# 20191119121429.zhcubzdhm672zasg@linutronix.de
# tip, 9f0bff1180efc9ea988fed3fd93da7647151ac8b
perf-core-Add-SRCU-annotation-for-pmus-list-walk.patch

# 20191219170834.4tah3prf2gdothz4@linutronix.de
kmemleak-Turn-kmemleak_lock-and-object-lock-to-raw_s.patch

############################################################
# Ready for posting
############################################################

# 20191015191821.11479-1-bigeasy@linutronix.de
Use-CONFIG_PREEMPTION.patch

# 20191017090500.ienqyium2phkxpdo@linutronix.de
BPF-Disable-on-PREEMPT_RT.patch

# WORKQUEUE, delay
0001-workqueue-Don-t-assume-that-the-callback-has-interru.patch
0002-sched-swait-Add-swait_event_lock_irq.patch
0003-workqueue-Use-swait-for-wq_manager_wait.patch
0004-workqueue-Convert-the-locks-to-raw-type.patch

# XXX
mm-compaction-Disable-compact_unevictable_allowed-on.patch

############################################################
# Needs to address review feedback
############################################################

# This one would keep the raw-lock and IRQ on/off as the minimal duct tape.
#   cgroup-use-irqsave-in-cgroup_rstat_flush_locked.patch
# The alternative to remove unused code.
# 20190816111817.834-1-bigeasy@linutronix.de | https://www.spinics.net/lists/cgroups/msg23051.html
0001-cgroup-Remove-css_rstat_flush.patch
0002-cgroup-Consolidate-users-of-cgroup_rstat_lock.patch
0003-cgroup-Remove-may_sleep-from-cgroup_rstat_flush_lock.patch
0004-cgroup-Acquire-cgroup_rstat_lock-with-enabled-interr.patch

# UM, microblaze, ia64 fail to build with this patch (while compiling .S
# files). Postpone until the orignal issue pops up.
# percpu-include-irqflags.h-for-raw_local_irq_save.patch

# 20190211113829.sqf6bdi4c4cdd3rp@linutronix.de | 20190821152158.GA12901@cmpxchg.org
mm-workingset-replace-IRQ-off-check-with-a-lockdep-a.patch

# 20190211105835.16851-1-bigeasy@linutronix.de
# drop…
tpm-remove-tpm_dev_wq_lock.patch

############################################################
# Almost ready, needs final polishing
############################################################

# 20191211232345.24810-1-robh@kernel.org
of-Rework-and-simplify-phandle-cache-to-use-a-fixed-.patch

###############################################################
# Stuff broken upstream and upstream wants something different
###############################################################

# Timekeeping split jiffies lock or introduce RAW_SEQLOCK
timekeeping-split-jiffies-lock.patch

# PTRACE/SIGNAL crap
# https://lore.kernel.org/lkml/CADkTA4PBT374CY+UNb85WjQEaNCDodMZu=MgpG8aMYbAu2eOGA@mail.gmail.com/
signal-revert-ptrace-preempt-magic.patch

##################################################
# REAL RT STUFF starts here
##################################################

############################################################
# SEQCOUNT related
# XXX, rework
dma-buf-Use-seqlock_t-instread-disabling-preemption.patch
seqlock-prevent-rt-starvation.patch
NFSv4-replace-seqcount_t-with-a-seqlock_t.patch
net-Qdisc-use-a-seqlock-instead-seqcount.patch
net-make-devnet_rename_seq-a-mutex.patch
userfaultfd-Use-a-seqlock-instead-of-seqcount.patch

# Revisit and add to the other NFS crap
fs-nfs-turn-rmdir_sem-into-a-semaphore.patch

# Revisit
fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch

# Revisit - check HCH reply. Check all use cases
list_bl.h-make-list-head-locking-RT-safe.patch
# Check .... (these are needed due to the previous list_bl change)
fscache-initialize-cookie-hash-table-raw-spinlocks.patch
fs-dcache-bring-back-explicit-INIT_HLIST_BL_HEAD-in.patch
fs-dcache-use-swait_queue-instead-of-waitqueue.patch
############################################################

# split changelog
kconfig-disable-a-few-options-rt.patch

# proper changelog
mm-disable-sloub-rt.patch

# Post
rcu-make-RCU_BOOST-default-on-RT.patch

# Revisit ????
sched-disable-rt-group-sched-on-rt.patch

# Post
net_disable_NET_RX_BUSY_POLL.patch

# proper changelog
md-disable-bcache.patch

# proper changelog
efi-Disable-runtime-services-on-RT.patch
efi-Allow-efi-runtime.patch

# Fix with something like get_locked_pte_irqsafe ...
x86-Disable-HAVE_ARCH_JUMP_LABEL.patch

# local locks & migrate disable
# Rework, write proper changelog and argument
rt-local-irq-lock.patch

# Move post local lock
softirq-Add-preemptible-softirq.patch

# Sigh
# Check proper again. Crap....
oleg-signal-rt-fix.patch

# MM page alloc
#
0001-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch
0002-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch
0003-mm-SLxB-change-list_lock-to-raw_spinlock_t.patch
0004-mm-SLUB-delay-giving-back-empty-slubs-to-IRQ-enabled.patch
mm-page_alloc-rt-friendly-per-cpu-pages.patch

# MM SWAP
# mm-convert-swap-to-percpu-locked.patch
# mm-perform-lru_add_drain_all-remotely.patch
0001-mm-page_alloc-Split-drain_local_pages.patch
0002-mm-swap-Add-static-key-dependent-pagevec-locking.patch
0003-mm-swap-Access-struct-pagevec-remotely.patch
0004-mm-swap-Enable-use_pvec_lock-nohz_full-dependent.patch
mm-swap-Enable-use-pvec-lock-on-RT.patch

# PREEMPT NORT
preempt-nort-rt-variants.patch
mm-make-vmstat-rt-aware.patch

# MM SLxB
mm-enable-slub.patch
slub-enable-irqs-for-no-wait.patch
slub-disable-SLUB_CPU_PARTIAL.patch

# MM
mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch
mm-memcontrol-do_not_disable_irq.patch
mm_zsmalloc_copy_with_get_cpu_var_and_locking.patch
mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch

# RADIX TREE
# Local lock use case ....
radix-tree-use-local-locks.patch

# KVM require constant freq TSC (smp function call -> cpufreq)
# proper changelog
x86-kvm-require-const-tsc-for-rt.patch

# SIMPLE WAITQUEUE
# Revisit
pci-switchtec-Don-t-use-completion-s-wait-queue.patch
wait.h-include-atomic.h.patch
completion-use-simple-wait-queues.patch

# HRTIMERS
# Check whether schedule_hrtimeout() could be hard always
hrtimer-Allow-raw-wakeups-during-boot.patch

# Check, Changelog ...
hrtimer-move-state-change-before-hrtimer_cancel-in-d.patch

# POSIX-CPU-TIMERS
posix-timers-thread-posix-cpu-timers-on-rt.patch
posix-timers-expiry-lock.patch

# SCHEDULER
# PUSH IPI?
sched-limit-nr-migrate.patch

# Combine in series with delay put task
sched-mmdrop-delayed.patch

# Revisit, still needed.
kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch

# RT bulk - Revisit
sched-rt-mutex-wakeup.patch
sched-might-sleep-do-not-account-rcu-depth.patch
sched-disable-ttwu-queue.patch

# SOFTIRQ
softirq-Avoid-a-cancel-dead-lock-in-tasklet-handling.patch

# A few of those will also just schedule ksoftirqd and schedule at some random
# point. They may hold a spinlock_t so it is not always random, recheck all.
softirq-preempt-fix-3-re.patch

# Post towards end with x86 crap and skip the rest for now
softirq-disable-softirq-stacks-for-rt.patch

# Rewrite changelog and repost
net-core-use-local_bh_disable-in-netif_rx_ni.patch

# FUTEX/RTMUTEX
rtmutex-futex-prepare-rt.patch
futex-requeue-pi-fix.patch
futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch

# RTMUTEX
pid.h-include-atomic.h.patch
locking-locktorture-Do-NOT-include-rwlock.h-directly.patch
rtmutex-lock-killable.patch
rtmutex-Make-lock_killable-work.patch
spinlock-types-separate-raw.patch
rtmutex-avoid-include-hell.patch
rtmutex_dont_include_rcu.patch
rtmutex-Provide-rt_mutex_slowlock_locked.patch
rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch
rtmutex-add-sleeping-lock-implementation.patch
cond-resched-lock-rt-tweak.patch
locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch
rtmutex-trylock-is-okay-on-RT.patch
rtmutex-add-mutex-implementation-based-on-rtmutex.patch
rtmutex-add-rwsem-implementation-based-on-rtmutex.patch
rtmutex-add-rwlock-implementation-based-on-rtmutex.patch
rtmutex-wire-up-RT-s-locking.patch
rtmutex-add-ww_mutex-addon-for-mutex-rt.patch
# Allow to enable RT-FULL after sleeping spinlocks are wired up
locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch
locking-rt-mutex-Flush-block-plug-on-__down_read.patch
locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch
ptrace-fix-ptrace-vs-tasklist_lock-race.patch

# MIGRATE DISABLE AND PER CPU
# Revisit
sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch
add_migrate_disable.patch
sched-core-migrate_enable-must-access-takedown_cpu_t.patch
sched-migrate_enable-Use-stop_one_cpu_nowait.patch
ftrace-migrate-disable-tracing.patch
futex-workaround-migrate_disable-enable-in-different.patch
locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch

# RCU
# Talk to Paul, Local locks
locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch
rcu-Use-rcuc-threads-on-PREEMPT_RT-as-we-did.patch
srcu-replace-local_irqsave-with-a-locallock.patch
rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch
rcutorture-Avoid-problematic-critical-section-nestin.patch

# Can this be more pretty? Revisit with current RT
rt-serial-warn-fix.patch

# CPU get light
# Review
epoll-use-get-cpu-light.patch
mm-vmalloc-use-get-cpu-light.patch
block-mq-drop-preempt-disable.patch
block-mq-don-t-complete-requests-via-IPI.patch
md-raid5-percpu-handling-rt-aware.patch
scsi-fcoe-rt-aware.patch
sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch

# CPU CHILL
rt-introduce-cpu-chill.patch

# BLOCK LIVELOCK PREVENTION
block-use-cpu-chill.patch

# FS LIVELOCK PREVENTION
fs-namespace-use-cpu-chill-in-trylock-loops.patch
# Revisit
net-use-cpu-chill.patch

# DEBUGOBJECTS
# Post
debugobjects-rt.patch

# NETWORKING
# Revisit
skbufhead-raw-lock.patch
net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch

# irqwork
# Revisit
irqwork-push_most_work_into_softirq_context.patch

# crypto drivers
# Revisit
x86-crypto-reduce-preempt-disabled-regions.patch
crypto-Reduce-preempt-disabled-regions-more-algos.patch
crypto-limit-more-FPU-enabled-sections.patch
crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch

# RANDOM
panic-disable-random-on-rt.patch
# Check me ....
x86-stackprot-no-random-on-rt.patch
# Random push into ringbuffer
random-make-it-work-on-rt.patch

# NET
# Revisit
upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch

# LOCKDEP
# Lockdep together with lockdep branch ....
lockdep-no-softirq-accounting-on-rt.patch
lockdep-selftest-only-do-hardirq-context-test-for-raw-spinlock.patch
lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch
# Fix lockdep selftest - talk to Peter - including lockdep branch
lockdep-disable-self-test.patch

# I915
# Low prio
drmradeoni915_Use_preempt_disableenable_rt()_where_recommended.patch
drmi915_Use_local_lockunlock_irq()_in_intel_pipe_update_startend().patch
drm-i915-disable-tracing-on-RT.patch
drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch
drm-i915-Don-t-disable-interrupts-for-intel_engine_b.patch
drm-i915-Drop-the-IRQ-off-asserts.patch

# CGROUPS
# Revisit and Post
cpuset-Convert-callback_lock-to-raw_spinlock_t.patch

# Security
# -next, df323337e507a ("apparmor: Use a memory pool instead per-CPU caches")
apparmor-use-a-locallock-instead-preempt_disable.patch

################################################################################
################################################################################
# Enable X86-64
x86-Enable-RT.patch
################################################################################
################################################################################

# KMAP/HIGHMEM
mm-rt-kmap-atomic-scheduling.patch
x86-highmem-add-a-already-used-pte-check.patch
arm-highmem-flush-tlb-on-unmap.patch
arm-enable-highmem-for-rt.patch
# Rewrite as pagefault disabled is upstream splitted already. The problem comes
# with the highmem pieces.
mm-scatterlist-dont-disable-irqs-on-RT.patch

# PREEMPT LAZY
preempt-lazy-support.patch
x86-preempt-lazy.patch
arm-preempt-lazy-support.patch
powerpc-preempt-lazy-support.patch
arch-arm64-Add-lazy-preempt-support.patch

jump-label-rt.patch

# Skip until ARM or make it depend on ARM
leds-trigger-disable-CPU-trigger-on-RT.patch

# DRIVERS SERIAL
drivers-tty-fix-omap-lock-crap.patch
drivers-tty-pl011-irq-disable-madness.patch
tty-serial-pl011-warning-about-uninitialized.patch

# misc ARM
arm-include-definition-for-cpumask_t.patch
ARM-enable-irq-in-translation-section-permission-fau.patch
genirq-update-irq_set_irqchip_state-documentation.patch
KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch
arm64-fpsimd-use-preemp_disable-in-addition-to-local.patch

# Those two should vanish soon (not use PIT during bootup)
at91_dont_enable_disable_clock.patch
clocksource-tclib-allow-higher-clockrates.patch

# Other architectures
x86-Enable-RT-also-on-32bit.patch
ARM-Allow-to-enable-RT.patch
ARM64-Allow-to-enable-RT.patch

# PowerPC
powerpc-pseries-iommu-Use-a-locallock-instead-local_ir.patch
powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch
power-disable-highmem-on-rt.patch
powerpc-stackprotector-work-around-stack-guard-init-.patch
POWERPC-Allow-to-enable-RT.patch

# MIPS
mips-disable-highmem-on-rt.patch

# DRIVERS
# Postpone, disable
connector-cn_proc-Protect-send_msg-with-a-local-lock.patch

# Postpone, disable
drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch
drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch
squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch

# Generic iowriteN_buffer() function ....
tpm_tis-fix-stall-after-iowrite-s.patch

# Postpone
signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch
genirq-disable-irqpoll-on-rt.patch

# SYSFS - RT indicator
sysfs-realtime-entry.patch

# Add RT to version
localversion.patch