summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/series
blob: 925859dc55317fd5e2ae695b8ed1faa0385956e8 (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
###########################################################
# DELTA against a known Linus release
###########################################################

############################################################
# UPSTREAM merged
############################################################
tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch

############################################################
# POSTED by others
############################################################
# AT91
# Alexandre Belloni | [PATCH v3 0/9] clocksource: improve Atmel TCB timer driver
# Date: Fri, 26 Apr 2019 23:47:09 +0200
0001-ARM-at91-move-SoC-specific-definitions-to-SoC-folder.patch
0002-clocksource-drivers-tcb_clksrc-stop-depending-on-atm.patch
0003-clocksource-drivers-tcb_clksrc-Use-tcb-as-sched_cloc.patch
0004-ARM-at91-Implement-clocksource-selection.patch
0005-clocksource-drivers-tcb_clksrc-move-Kconfig-option.patch
0006-clocksource-drivers-timer-atmel-pit-rework-Kconfig-o.patch
0007-clocksource-drivers-tcb_clksrc-Rename-the-file-for-c.patch
0008-clocksource-drivers-timer-atmel-tcb-tc_clksrc_suspen.patch
0009-misc-atmel_tclib-do-not-probe-already-used-TCBs.patch

kthread-convert-worker-lock-to-raw-spinlock.patch
sched-fair-Robustify-CFS-bandwidth-timer-locking.patch
x86-ima-Check-EFI_RUNTIME_SERVICES-before-using.patch

# 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

############################################################
# POSTED
############################################################
x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch
cgroup-use-irqsave-in-cgroup_rstat_flush_locked.patch
fscache-initialize-cookie-hash-table-raw-spinlocks.patch
Drivers-hv-vmbus-include-header-for-get_irq_regs.patch
percpu-include-irqflags.h-for-raw_local_irq_save.patch
mm-workingset-replace-IRQ-off-check-with-a-lockdep-a.patch
crypto-chtls-remove-cdev_list_lock.patch
crypto-user-remove-crypto_cfg_mutex.patch
tpm-remove-tpm_dev_wq_lock.patch
drm-i915-Don-t-disable-interrupts-independently-of-t.patch

# [PATCH v9] x86: load FPU registers on return to userland
# Date: Wed,  3 Apr 2019 18:41:29 +0200
0001-x86-fpu-Remove-fpu-initialized-usage-in-__fpu__resto.patch
0002-x86-fpu-Remove-fpu__restore.patch
0003-x86-fpu-Remove-preempt_disable-in-fpu__clear.patch
0004-x86-fpu-Always-init-the-state-in-fpu__clear.patch
0005-x86-fpu-Remove-fpu-initialized-usage-in-copy_fpstate.patch
0006-x86-fpu-Don-t-save-fxregs-for-ia32-frames-in-copy_fp.patch
0007-x86-fpu-Remove-fpu-initialized.patch
0008-x86-fpu-Remove-user_fpu_begin.patch
0009-x86-fpu-Add-__-make_fpregs_active-helpers.patch
0010-x86-fpu-Make-__raw_xsave_addr-use-feature-number-ins.patch
0011-x86-fpu-Make-get_xsave_field_ptr-and-get_xsave_addr-.patch
0012-x86-pkru-Provide-.-_pkru_ins-functions.patch
0013-x86-fpu-Only-write-PKRU-if-it-is-different-from-curr.patch
0014-x86-pkeys-Don-t-check-if-PKRU-is-zero-before-writtin.patch
0015-x86-fpu-Eager-switch-PKRU-state.patch
0016-x86-entry-Add-TIF_NEED_FPU_LOAD.patch
0017-x86-fpu-Always-store-the-registers-in-copy_fpstate_t.patch
0018-x86-fpu-Prepare-copy_fpstate_to_sigframe-for-TIF_NEE.patch
0019-x86-fpu-Update-xstate-s-PKRU-value-on-write_pkru.patch
0020-x86-fpu-Inline-copy_user_to_fpregs_zeroing.patch
0021-x86-fpu-Let-__fpu__restore_sig-restore-the-32bit-fxs.patch
0022-x86-fpu-Merge-the-two-code-paths-in-__fpu__restore_s.patch
0023-x86-fpu-Defer-FPU-state-load-until-return-to-userspa.patch
0024-x86-fpu-Add-a-fastpath-to-__fpu__restore_sig.patch
0025-x86-fpu-Add-a-fastpath-to-copy_fpstate_to_sigframe.patch
0026-x86-fpu-Restore-FPU-register-in-copy_fpstate_to_sigf.patch
0027-x86-pkeys-add-PKRU-value-to-init_fpstate.patch
0028-x86-fpu-Fault-in-user-stack-if-copy_fpstate_to_sigfr.patch
0029-x86-fpu-Remove-unnecessary-saving-of-FPU-registers-i.patch

############################################################
# Ready for posting
############################################################
efi-Allow-efi-runtime.patch
drm-i915-fence-Do-not-use-TIMER_IRQSAFE.patch
kthread-Do-not-use-TIMER_IRQSAFE.patch

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

############################################################
# Almost ready, needs final polishing
############################################################
arm64-KVM-compute_layout-before-altenates-are-applie.patch
of-allocate-free-phandle-cache-outside-of-the-devtre.patch
EXP-rcu-skip_workqueue.patch
kmemleak-Turn-kmemleak_lock-to-raw-spinlock-on-RT.patch

###############################################################
# Stuff broken upstream and upstream wants something different
###############################################################
NFSv4-replace-seqcount_t-with-a-seqlock_t.patch
kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch
add_migrate_disable.patch
sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch

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

# Timekeeping split jiffies lock. Needs a good argument :)
timekeeping-split-jiffies-lock.patch

# PTRACE/SIGNAL crap
signal-revert-ptrace-preempt-magic.patch

# NETWORKING
net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch

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

# Kconfig on/off
rt-preempt-base-config.patch
cpumask-disable-offstack-on-rt.patch
jump-label-rt.patch
kconfig-disable-a-few-options-rt.patch
lockdep-disable-self-test.patch
mm-disable-sloub-rt.patch
mutex-no-spin-on-rt.patch
rcu-disable-rcu-fast-no-hz-on-rt.patch
rcu-make-RCU_BOOST-default-on-RT.patch
sched-disable-rt-group-sched-on-rt.patch
net_disable_NET_RX_BUSY_POLL.patch
arm-disable-NEON-in-kernel-mode.patch
power-use-generic-rwsem-on-rt.patch
powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch
power-disable-highmem-on-rt.patch
mips-disable-highmem-on-rt.patch
x86-use-gen-rwsem-spinlocks-rt.patch
leds-trigger-disable-CPU-trigger-on-RT.patch
cpufreq-drop-K8-s-driver-from-beeing-selected.patch
md-disable-bcache.patch
efi-Disable-runtime-services-on-RT.patch

# PREEMPT NORT
preempt-nort-rt-variants.patch

# local locks & migrate disable
futex-workaround-migrate_disable-enable-in-different.patch
rt-local-irq-lock.patch
locallock-provide-get-put-_locked_ptr-variants.patch

# ANNOTATE local_irq_disable sites
mm-scatterlist-dont-disable-irqs-on-RT.patch

# Sigh
oleg-signal-rt-fix.patch
x86-signal-delay-calling-signals-on-32bit.patch

# BIT SPINLOCKS - SIGH
fs-replace-bh_uptodate_lock-for-rt.patch
fs-jbd-replace-bh_state-lock.patch

# GENIRQ
list_bl.h-make-list-head-locking-RT-safe.patch
list_bl-fixup-bogus-lockdep-warning.patch
genirq-disable-irqpoll-on-rt.patch
genirq-force-threading.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

# MM vmstat
mm-make-vmstat-rt-aware.patch

# MM memory
re-preempt_rt_full-arm-coredump-fails-for-cpu-3e-3d-4.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

# RADIX TREE
radix-tree-use-local-locks.patch

# TIMERS
timers-prepare-for-full-preemption.patch

# KVM require constant freq TSC (smp function call -> cpufreq)
x86-kvm-require-const-tsc-for-rt.patch
#
# SIMPLE WAITQUEUE
pci-switchtec-Don-t-use-completion-s-wait-queue.patch
wait.h-include-atomic.h.patch
kthread-add-a-global-worker-thread.patch
completion-use-simple-wait-queues.patch
fs-aio-simple-simple-work.patch
genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch
psi-replace-delayed-work-with-timer-work.patch

# HRTIMERS
time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch
hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch
hrtimers-prepare-full-preemption.patch
hrtimer-by-timers-by-default-into-the-softirq-context.patch
sched-fair-Make-the-hrtimers-non-hard-again.patch
hrtimer-Move-schedule_work-call-to-helper-thread.patch
hrtimer-move-state-change-before-hrtimer_cancel-in-d.patch

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

# SCHEDULER
sched-delay-put-task.patch
sched-limit-nr-migrate.patch
sched-mmdrop-delayed.patch
kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch
sched-rt-mutex-wakeup.patch
sched-might-sleep-do-not-account-rcu-depth.patch
cond-resched-lock-rt-tweak.patch
sched-disable-ttwu-queue.patch
sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch
rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch

# MIGRATE DISABLE AND PER CPU
hotplug-light-get-online-cpus.patch
ftrace-migrate-disable-tracing.patch

# LOCKDEP
lockdep-no-softirq-accounting-on-rt.patch

# SOFTIRQ
tasklet-rt-prevent-tasklets-from-going-into-infinite-spin-in-rt.patch
softirq-preempt-fix-3-re.patch
softirq-disable-softirq-stacks-for-rt.patch
softirq-split-locks.patch
net-core-use-local_bh_disable-in-netif_rx_ni.patch
irq-allow-disabling-of-softirq-processing-in-irq-thread-context.patch
softirq-split-timer-softirqs-out-of-ksoftirqd.patch
rtmutex-trylock-is-okay-on-RT.patch

# compile fix due to rtmutex locks
fs-nfs-turn-rmdir_sem-into-a-semaphore.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
arm-include-definition-for-cpumask_t.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
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
kconfig-preempt-rt-full.patch
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
rtmutex-annotate-sleeping-lock-context.patch
sched-migrate_disable-fallback-to-preempt_disable-in.patch
locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch

# RCU
rcu-Eliminate-softirq-processing-from-rcutree.patch
srcu-Remove-srcu_queue_delayed_work_on.patch
srcu-replace-local_irqsave-with-a-locallock.patch
rcu-enable-rcu_normal_after_boot-by-default-for-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
rt-serial-warn-fix.patch

# FS
peterz-percpu-rwsem-rt.patch
mm-protect-activate-switch-mm.patch
fs-dcache-bring-back-explicit-INIT_HLIST_BL_HEAD-in.patch
fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch
squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch

# X86
thermal-Defer-thermal-wakups-to-threads.patch

# POWER
powerpc-pseries-iommu-Use-a-locallock-instead-local_ir.patch

# CPU get light
epoll-use-get-cpu-light.patch
mm-vmalloc-use-get-cpu-light.patch
block-mq-use-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

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

# block
block-blk-mq-move-blk_queue_usage_counter_release-in.patch

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

# FS LIVELOCK PREVENTION
fs-dcache-use-cpu-chill-in-trylock-loops.patch
net-use-cpu-chill.patch
fs-dcache-use-swait_queue-instead-of-waitqueue.patch

# WORKQUEUE more fixes
workqueue-use-rcu.patch
workqueue-use-locallock.patch
work-queue-work-around-irqsafe-timer-optimization.patch
workqueue-distangle-from-rq-lock.patch

# DEBUGOBJECTS
debugobjects-rt.patch

# SEQLOCKS
seqlock-prevent-rt-starvation.patch

# NETWORKING
sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch
skbufhead-raw-lock.patch
net-move-xmit_recursion-to-per-task-variable-on-RT.patch
net-provide-a-way-to-delegate-processing-a-softirq-t.patch
net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch
net-Qdisc-use-a-seqlock-instead-seqcount.patch
net-add-back-the-missing-serialization-in-ip_send_un.patch
net-add-a-lock-around-icmp_sk.patch
net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch

# irqwork
irqwork-push_most_work_into_softirq_context.patch

# ARM
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

# SYSFS - RT indicator
sysfs-realtime-entry.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

# SCSI/FCOE
scsi-fcoe-rt-aware.patch

# crypto drivers
x86-crypto-reduce-preempt-disabled-regions.patch
crypto-Reduce-preempt-disabled-regions-more-algos.patch
crypto-limit-more-FPU-enabled-sections.patch
crypto-scompress-serialize-RT-percpu-scratch-buffer-.patch
crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch

# RANDOM
panic-disable-random-on-rt.patch
x86-stackprot-no-random-on-rt.patch
powerpc-stackprotector-work-around-stack-guard-init-.patch
random-make-it-work-on-rt.patch
random-avoid-preempt_disable-ed-section.patch

# HOTPLUG
cpu-hotplug--Implement-CPU-pinning.patch
sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch
hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch

# NET
upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch
net-another-local-irq-disable-alloc-atomic-headache.patch
net-core-protect-users-of-napi_alloc_cache-against-r.patch
net-fix-iptable-xt-write-recseq-begin-rt-fallout.patch
net-make-devnet_rename_seq-a-mutex.patch

# LOCKDEP
lockdep-selftest-only-do-hardirq-context-test-for-raw-spinlock.patch
lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch

# PREEMPT LAZY
preempt-lazy-support.patch
ftrace-Fix-trace-header-alignment.patch
x86-preempt-lazy.patch
arm-preempt-lazy-support.patch
powerpc-preempt-lazy-support.patch
arch-arm64-Add-lazy-preempt-support.patch

# DRIVERS
connector-cn_proc-Protect-send_msg-with-a-local-lock.patch
drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch
drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch
tpm_tis-fix-stall-after-iowrite-s.patch
watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch

# I915
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

# CGROUPS
cgroups-use-simple-wait-in-css_release.patch
cpuset-Convert-callback_lock-to-raw_spinlock_t.patch

# Security
apparmor-use-a-locallock-instead-preempt_disable.patch

# WORKQUEUE SIGH
workqueue-prevent-deadlock-stall.patch

# Nice to have
signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch

# Add RT to version
localversion.patch