From 2694e4dd10a842d2d5acd86ae375495f740f8362 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Wed, 15 Jul 2020 22:05:29 +0200 Subject: [PATCH] [rt] Update to 4.19.132-rt59 --- debian/changelog | 3 + ...M-at91-add-TCB-registers-definitions.patch | 8 +- ...ers-Add-a-new-driver-for-the-Atmel-A.patch | 12 +- ...ers-timer-atmel-tcb-add-clockevent-d.patch | 12 +- ...drivers-atmel-pit-make-option-silent.patch | 12 +- ...at91-Implement-clocksource-selection.patch | 12 +- ...onfigs-at91-use-new-TCB-timer-driver.patch | 12 +- .../0007-ARM-configs-at91-unselect-PIT.patch | 12 +- ...ts-Move-pending-table-allocation-to-.patch | 12 +- ...-convert-worker-lock-to-raw-spinlock.patch | 12 +- ...m-qi-simplify-CGR-allocation-freeing.patch | 12 +- ...obustify-CFS-bandwidth-timer-locking.patch | 14 +- ...012-arm-Convert-arm-boot_lock-to-raw.patch | 12 +- ...-let-setaffinity-unmask-threaded-EOI.patch | 12 +- ...irqsave-in-cgroup_rstat_flush_locked.patch | 12 +- ...lize-cookie-hash-table-raw-spinlocks.patch | 12 +- ...mbus-include-header-for-get_irq_regs.patch | 12 +- ...de-irqflags.h-for-raw_local_irq_save.patch | 12 +- .../0018-efi-Allow-efi-runtime.patch | 14 +- ...fi-drop-task_lock-from-efi_switch_mm.patch | 12 +- ...e_layout-before-altenates-are-applie.patch | 12 +- ...-phandle-cache-outside-of-the-devtre.patch | 12 +- ...ake-quarantine_lock-a-raw_spinlock_t.patch | 12 +- ...xpedited-GP-parallelization-cleverne.patch | 12 +- ...-kmemleak_lock-to-raw-spinlock-on-RT.patch | 12 +- ...-replace-seqcount_t-with-a-seqlock_t.patch | 14 +- ...vide-a-pointer-to-the-valid-CPU-mask.patch | 30 +-- ...ernel-sched-core-add-migrate_disable.patch | 16 +- ...sable-Add-export_symbol_gpl-for-__mi.patch | 14 +- ...o-not-disable-enable-clocks-in-a-row.patch | 12 +- ...B-Allow-higher-clock-rates-for-clock.patch | 12 +- ...31-timekeeping-Split-jiffies-seqlock.patch | 12 +- ...2-signal-Revert-ptrace-preempt-magic.patch | 12 +- ...et-sched-Use-msleep-instead-of-yield.patch | 16 +- ...rq-remove-BUG_ON-irqs_disabled-check.patch | 12 +- ...do-no-disable-interrupts-in-giveback.patch | 12 +- ...rovide-PREEMPT_RT_BASE-config-switch.patch | 12 +- ...sable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch | 12 +- ...abel-disable-if-stop_machine-is-used.patch | 12 +- ...config-options-which-are-not-RT-comp.patch | 12 +- .../0040-lockdep-disable-self-test.patch | 12 +- .../0041-mm-Allow-only-slub-on-RT.patch | 12 +- ...locking-Disable-spin-on-owner-for-RT.patch | 12 +- ...043-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch | 12 +- ...044-rcu-make-RCU_BOOST-default-on-RT.patch | 12 +- ...-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch | 12 +- ...46-net-core-disable-NET_RX_BUSY_POLL.patch | 12 +- ...0047-arm-disable-NEON-in-kernel-mode.patch | 12 +- ...0048-powerpc-Use-generic-rwsem-on-RT.patch | 12 +- ...ble-in-kernel-MPIC-emulation-for-PRE.patch | 12 +- .../0050-powerpc-Disable-highmem-on-RT.patch | 12 +- .../0051-mips-Disable-highmem-on-RT.patch | 12 +- ...86-Use-generic-rwsem_spinlocks-on-rt.patch | 12 +- ...ds-trigger-disable-CPU-trigger-on-RT.patch | 12 +- ...rop-K8-s-driver-from-beeing-selected.patch | 12 +- .../patches-rt/0055-md-disable-bcache.patch | 12 +- ...6-efi-Disable-runtime-services-on-RT.patch | 14 +- ...0057-printk-Add-a-printk-kill-switch.patch | 12 +- ..._early_printk-boot-param-to-help-wit.patch | 12 +- ...pt-Provide-preempt_-_-no-rt-variants.patch | 12 +- ...-migrate_disable-enable-in-different.patch | 12 +- .../0061-rt-Add-local-irq-locks.patch | 12 +- ...provide-get-put-_locked_ptr-variants.patch | 12 +- ...catterlist-Do-not-disable-irqs-on-RT.patch | 12 +- ...-x86-Delay-calling-signals-in-atomic.patch | 12 +- ...ignal-delay-calling-signals-on-32bit.patch | 12 +- ...head-Replace-bh_uptodate_lock-for-rt.patch | 12 +- ...-state-lock-and-journal-head-lock-rt.patch | 12 +- ...st_bl-Make-list-head-locking-RT-safe.patch | 12 +- ...-list_bl-fixup-bogus-lockdep-warning.patch | 12 +- .../0070-genirq-Disable-irqpoll-on-rt.patch | 12 +- ...-genirq-Force-interrupt-thread-on-RT.patch | 12 +- ...d-zone-lock-while-freeing-pages-from.patch | 20 +- ...d-zone-lock-while-freeing-pages-from.patch | 30 +-- ...B-change-list_lock-to-raw_spinlock_t.patch | 58 +++--- ...ving-back-empty-slubs-to-IRQ-enabled.patch | 48 ++--- ...page_alloc-rt-friendly-per-cpu-pages.patch | 46 ++--- ...077-mm-swap-Convert-to-percpu-locked.patch | 16 +- ...m-perform-lru_add_drain_all-remotely.patch | 12 +- ...t-per-cpu-variables-with-preempt-dis.patch | 12 +- ...plit-page-table-locks-for-vector-pag.patch | 12 +- .../0081-mm-Enable-SLUB-for-RT.patch | 18 +- ...0082-slub-Enable-irqs-for-__GFP_WAIT.patch | 18 +- .../0083-slub-Disable-SLUB_CPU_PARTIAL.patch | 12 +- ...n-t-call-schedule_work_on-in-preempt.patch | 12 +- ...place-local_irq_disable-with-local-l.patch | 12 +- ...oc-copy-with-get_cpu_var-and-locking.patch | 12 +- ...le-preemption-__split_large_page-aft.patch | 12 +- .../0088-radix-tree-use-local-locks.patch | 12 +- ...9-timers-Prepare-for-full-preemption.patch | 14 +- ...090-x86-kvm-Require-const-tsc-for-RT.patch | 16 +- ...ec-Don-t-use-completion-s-wait-queue.patch | 12 +- .../0092-wait.h-include-atomic.h.patch | 12 +- ...mple-Simple-work-queue-implemenation.patch | 12 +- ...-a-shit-statement-in-SWORK_EVENT_PEN.patch | 12 +- ...95-completion-Use-simple-wait-queues.patch | 18 +- .../0096-fs-aio-simple-simple-work.patch | 20 +- ...id-schedule_work-with-interrupts-dis.patch | 12 +- ...ate-hrtimer_init-hrtimer_init_sleepe.patch | 12 +- ...099-hrtimers-Prepare-full-preemption.patch | 12 +- ...s-by-default-into-the-softirq-contex.patch | 24 +-- ...air-Make-the-hrtimers-non-hard-again.patch | 14 +- ...-schedule_work-call-to-helper-thread.patch | 12 +- ...te-change-before-hrtimer_cancel-in-d.patch | 12 +- ...timers-Thread-posix-cpu-timers-on-rt.patch | 12 +- ...ched-Move-task_struct-cleanup-to-RCU.patch | 12 +- ...-number-of-task-migrations-per-batch.patch | 14 +- .../0107-sched-Move-mmdrop-to-RCU-on-RT.patch | 51 +++-- ...e-stack-kprobe-clean-up-to-__put_tas.patch | 14 +- ...state-for-tasks-blocked-on-sleeping-.patch | 14 +- ...ount-rcu_preempt_depth-on-RT-in-migh.patch | 16 +- ...-proper-LOCK_OFFSET-for-cond_resched.patch | 12 +- .../0112-sched-Disable-TTWU_QUEUE-on-RT.patch | 12 +- ...Only-wake-up-idle-workers-if-not-blo.patch | 14 +- ...ease-the-nr-of-migratory-tasks-when-.patch | 20 +- ...-hotplug-Lightweight-get-online-cpus.patch | 22 +- ...e-disabled-counter-to-tracing-output.patch | 12 +- .../0117-lockdep-Make-it-RT-aware.patch | 12 +- ...tasklets-from-going-into-infinite-sp.patch | 12 +- ...eemption-after-reenabling-interrupts.patch | 26 +-- ...oftirq-Disable-softirq-stacks-for-RT.patch | 12 +- .../0121-softirq-Split-softirq-locks.patch | 12 +- ...-use-local_bh_disable-in-netif_rx_ni.patch | 16 +- ...abling-of-softirq-processing-in-irq-.patch | 12 +- ...plit-timer-softirqs-out-of-ksoftirqd.patch | 12 +- ...cal_softirq_pending-messages-if-ksof.patch | 12 +- ...cal_softirq_pending-messages-if-task.patch | 12 +- .../0127-rtmutex-trylock-is-okay-on-RT.patch | 12 +- ...-nfs-turn-rmdir_sem-into-a-semaphore.patch | 12 +- ...he-various-new-futex-race-conditions.patch | 12 +- ...on-when-a-requeued-RT-task-times-out.patch | 12 +- ...k-unlock-symetry-versus-pi_lock-and-.patch | 12 +- .../0132-pid.h-include-atomic.h.patch | 12 +- ...arm-include-definition-for-cpumask_t.patch | 12 +- ...ure-Do-NOT-include-rwlock.h-directly.patch | 12 +- ...35-rtmutex-Add-rtmutex_lock_killable.patch | 12 +- ...0136-rtmutex-Make-lock_killable-work.patch | 12 +- ...spinlock-Split-the-lock-types-header.patch | 12 +- .../0138-rtmutex-Avoid-include-hell.patch | 12 +- ...-rbtree-don-t-include-the-rcu-header.patch | 12 +- ...tex-Provide-rt_mutex_slowlock_locked.patch | 12 +- ...ockdep-less-version-of-rt_mutex-s-lo.patch | 12 +- ...tex-add-sleeping-lock-implementation.patch | 14 +- ...utex-implementation-based-on-rtmutex.patch | 12 +- ...wsem-implementation-based-on-rtmutex.patch | 12 +- ...lock-implementation-based-on-rtmutex.patch | 12 +- ...-preserve-state-like-a-sleeping-lock.patch | 12 +- .../0147-rtmutex-wire-up-RT-s-locking.patch | 12 +- ...utex-add-ww_mutex-addon-for-mutex-rt.patch | 12 +- .../0149-kconfig-Add-PREEMPT_RT_FULL.patch | 12 +- ...-fix-deadlock-in-device-mapper-block.patch | 12 +- ...utex-Flush-block-plug-on-__down_read.patch | 12 +- ...re-init-the-wait_lock-in-rt_mutex_in.patch | 12 +- ...ace-fix-ptrace-vs-tasklist_lock-race.patch | 14 +- ...mutex-annotate-sleeping-lock-context.patch | 16 +- ...sable-fallback-to-preempt_disable-in.patch | 18 +- ...eck-for-__LINUX_SPINLOCK_TYPES_H-on-.patch | 12 +- .../0157-rcu-Frob-softirq-test.patch | 12 +- ...58-rcu-Merge-RCU-bh-into-RCU-preempt.patch | 12 +- ...ke-ksoftirqd-do-RCU-quiescent-states.patch | 12 +- ...nate-softirq-processing-from-rcutree.patch | 12 +- ...-use-cpu_online-instead-custom-check.patch | 12 +- ...place-local_irqsave-with-a-locallock.patch | 12 +- ..._normal_after_boot-by-default-for-RT.patch | 12 +- ...erial-omap-Make-the-locking-RT-aware.patch | 12 +- ...al-pl011-Make-the-locking-work-on-RT.patch | 14 +- ...-explicitly-initialize-the-flags-var.patch | 14 +- ...mprove-the-serial-console-PASS_LIMIT.patch | 12 +- ...0-don-t-take-the-trylock-during-oops.patch | 16 +- ...wsem-Remove-preempt_disable-variants.patch | 12 +- ...ate_mm-by-preempt_-disable-enable-_r.patch | 12 +- ...back-explicit-INIT_HLIST_BL_HEAD-ini.patch | 12 +- ...e-preemption-on-i_dir_seq-s-write-si.patch | 12 +- ...e-of-local-lock-in-multi_cpu-decompr.patch | 12 +- ...rmal-Defer-thermal-wakups-to-threads.patch | 12 +- ...e-preemption-around-local_bh_disable.patch | 12 +- ...poll-Do-not-disable-preemption-on-RT.patch | 12 +- ...er-preempt-disable-region-which-suck.patch | 12 +- .../0178-block-mq-use-cpu_light.patch | 12 +- ...ock-mq-do-not-invoke-preempt_disable.patch | 12 +- ...k-mq-don-t-complete-requests-via-IPI.patch | 12 +- ...-Make-raid5_percpu-handling-RT-aware.patch | 12 +- .../0182-rt-Introduce-cpu_chill.patch | 12 +- ...rtimer-Don-t-lose-state-in-cpu_chill.patch | 12 +- ...chill-save-task-state-in-saved_state.patch | 12 +- ...e-blk_queue_usage_counter_release-in.patch | 12 +- ...-block-Use-cpu_chill-for-retry-loops.patch | 12 +- ...cache-Use-cpu_chill-in-trylock-loops.patch | 12 +- ...t-Use-cpu_chill-instead-of-cpu_relax.patch | 12 +- ...use-swait_queue-instead-of-waitqueue.patch | 12 +- .../0190-workqueue-Use-normal-rcu.patch | 12 +- ...cal-irq-lock-instead-of-irq-disable-.patch | 12 +- ...t-workqueue-versus-ata-piix-livelock.patch | 12 +- ...tangle-worker-accounting-from-rqlock.patch | 14 +- .../0194-debugobjects-Make-RT-aware.patch | 12 +- .../0195-seqlock-Prevent-rt-starvation.patch | 12 +- ...vc_xprt_do_enqueue-use-get_cpu_light.patch | 12 +- ...0197-net-Use-skbufhead-with-raw-lock.patch | 34 ++-- ...recursion-to-per-task-variable-on-RT.patch | 77 ++++--- ...y-to-delegate-processing-a-softirq-t.patch | 16 +- ...ake-qdisc-s-busylock-in-__dev_xmit_s.patch | 16 +- ...Qdisc-use-a-seqlock-instead-seqcount.patch | 18 +- ...-missing-serialization-in-ip_send_un.patch | 12 +- .../0203-net-add-a-lock-around-icmp_sk.patch | 12 +- ...schedule_irqoff-disable-interrupts-o.patch | 20 +- ...-push-most-work-into-softirq-context.patch | 12 +- .../0206-printk-Make-rt-aware.patch | 12 +- ...n-t-try-to-print-from-IRQ-NMI-region.patch | 12 +- ...intk-Drop-the-logbuf_lock-more-often.patch | 12 +- ...n-translation-section-permission-fau.patch | 12 +- ...-irq_set_irqchip_state-documentation.patch | 12 +- ...wngrade-preempt_disable-d-region-to-.patch | 12 +- ...-preemp_disable-in-addition-to-local.patch | 14 +- ...13-kgdb-serial-Short-term-workaround.patch | 16 +- ...-sysfs-Add-sys-kernel-realtime-entry.patch | 12 +- .../0215-mm-rt-kmap_atomic-scheduling.patch | 14 +- ...highmem-Add-a-already-used-pte-check.patch | 12 +- .../0217-arm-highmem-Flush-tlb-on-unmap.patch | 12 +- .../0218-arm-Enable-highmem-for-rt.patch | 12 +- .../0219-scsi-fcoe-Make-RT-aware.patch | 12 +- ...ypto-Reduce-preempt-disabled-regions.patch | 12 +- ...-preempt-disabled-regions-more-algos.patch | 12 +- ...ypto-limit-more-FPU-enabled-sections.patch | 12 +- ...-serialize-RT-percpu-scratch-buffer-.patch | 12 +- ...d-a-lock-instead-preempt_disable-loc.patch | 12 +- ...andom_bytes-for-RT_FULL-in-init_oops.patch | 12 +- ...ackprotector-Avoid-random-pool-on-rt.patch | 12 +- .../0227-random-Make-it-work-on-rt.patch | 12 +- ...28-cpu-hotplug-Implement-CPU-pinning.patch | 26 +-- ...ed-user-tasks-to-be-awakened-to-the-.patch | 14 +- ...duct-tape-RT-rwlock-usage-for-non-RT.patch | 30 +-- ...ove-preemption-disabling-in-netif_rx.patch | 18 +- ...r-local_irq_disable-kmalloc-headache.patch | 12 +- ...-users-of-napi_alloc_cache-against-r.patch | 12 +- ...rialize-xt_write_recseq-sections-on-.patch | 12 +- ...Only-do-hardirq-context-test-for-ra.patch} | 12 +- ...fix-warnings-due-to-missing-PREEMPT.patch} | 12 +- ...hed-Add-support-for-lazy-preemption.patch} | 28 +-- ...8-ftrace-Fix-trace-header-alignment.patch} | 12 +- ...239-x86-Support-for-lazy-preemption.patch} | 12 +- ...properly-check-against-preempt-mask.patch} | 12 +- ...use-proper-return-label-on-32bit-x8.patch} | 12 +- ...arm-Add-support-for-lazy-preemption.patch} | 12 +- ...rpc-Add-support-for-lazy-preemption.patch} | 12 +- ...arch-arm64-Add-lazy-preempt-support.patch} | 12 +- ...-Protect-send_msg-with-a-local-lock.patch} | 12 +- ...m-Replace-bit-spinlocks-with-rtmute.patch} | 12 +- ...t-disable-preemption-in-zcomp_strea.patch} | 12 +- ...zcomp_stream_get-smp_processor_id-u.patch} | 12 +- ...9-tpm_tis-fix-stall-after-iowrite-s.patch} | 12 +- ...-deferral-of-watchdogd-wakeup-on-RT.patch} | 12 +- ...se-preempt_disable-enable_rt-where-.patch} | 14 +- ...l_lock-unlock_irq-in-intel_pipe_upd.patch} | 12 +- ...0253-drm-i915-disable-tracing-on-RT.patch} | 12 +- ..._I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch} | 12 +- ...oups-use-simple-wait-in-css_release.patch} | 12 +- ...ert-callback_lock-to-raw_spinlock_t.patch} | 12 +- ...a-locallock-instead-preempt_disable.patch} | 14 +- ...kqueue-Prevent-deadlock-stall-on-RT.patch} | 14 +- ...-tasks-to-cache-one-sigqueue-struct.patch} | 14 +- ...260-Add-localversion-for-RT-release.patch} | 12 +- ...ommu-Use-a-locallock-instead-local_.patch} | 12 +- ... => 0262-powerpc-reshuffle-TIF-bits.patch} | 12 +- ...Convert-show_lock-to-raw_spinlock_t.patch} | 12 +- ...sable-interrupts-independently-of-t.patch} | 12 +- ...Fix-a-lockup-in-wait_for_completion.patch} | 12 +- ...-kthread-add-a-global-worker-thread.patch} | 14 +- ...arm-imx6-cpuidle-Use-raw_spinlock_t.patch} | 12 +- ...o-change-rcu_normal_after_boot-on-R.patch} | 12 +- ...htec-fix-stream_open.cocci-warnings.patch} | 12 +- ...Drop-a-preempt_disable_rt-statement.patch} | 14 +- ...otification-of-canceling-timers-on-.patch} | 12 +- ...re-lock-unlock-symetry-versus-pi_lo.patch} | 12 +- ...bug-on-when-a-requeued-RT-task-time.patch} | 12 +- ...ndle-the-various-new-futex-race-con.patch} | 12 +- ...around-migrate_disable-enable-in-di.patch} | 12 +- ...Make-the-futex_hash_bucket-lock-raw.patch} | 12 +- ...utex-Delay-deallocation-of-pi_state.patch} | 12 +- ...isable-preemption-in-zswap_frontswa.patch} | 12 +- ...revert-aio.patch => 0279-revert-aio.patch} | 20 +- ...h => 0280-fs-aio-simple-simple-work.patch} | 18 +- ...hermal.patch => 0281-revert-thermal.patch} | 12 +- ...mal-Defer-thermal-wakups-to-threads.patch} | 12 +- ...rt-block.patch => 0283-revert-block.patch} | 12 +- ...-blk_queue_usage_counter_release-in.patch} | 12 +- ...work.patch => 0285-workqueue-rework.patch} | 22 +- ...286-i2c-exynos5-Remove-IRQF_ONESHOT.patch} | 12 +- ...287-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch} | 12 +- ...sure-inactive_timer-runs-in-hardirq.patch} | 14 +- ...emp-make-pkg_temp_lock-a-raw-spinlo.patch} | 12 +- ...ock_t-instread-disabling-preemption.patch} | 12 +- ...-the-timer-expire-in-hardirq-contex.patch} | 12 +- ...-preemption-level-before-looking-at.patch} | 12 +- ...ONCE-to-access-timer-base-in-hrimer.patch} | 12 +- ...b-the-expiry-lock-for-non-soft-hrti.patch} | 12 +- ...sing-hrtimer_grab_expiry_lock-on-mi.patch} | 12 +- ...sing-bracket-and-hide-migration_bas.patch} | 12 +- ...ock-expiry-lock-in-the-early-return.patch} | 12 +- ...-enable-Use-sleeping_lock-to-annota.patch} | 20 +- ...allowed_ptr-Check-cpus_mask-not-cpu.patch} | 14 +- ...emove-dead-__migrate_disabled-check.patch} | 14 +- ...-disable-Protect-cpus_ptr-with-lock.patch} | 18 +- ...rocessor_id-Don-t-use-cpumask_equal.patch} | 12 +- ...tex_hash_bucket-spinlock_t-again-an.patch} | 12 +- ...lean-pi_blocked_on-in-the-error-cas.patch} | 12 +- ...b-ubsan-Don-t-seralize-UBSAN-report.patch} | 12 +- ...he-lock-of-kmemleak_object-to-raw_s.patch} | 12 +- ...grate_enable-Use-select_fallback_rq.patch} | 18 +- ...hed-Lazy-migrate_disable-processing.patch} | 38 ++-- ...rate_enable-Use-stop_one_cpu_nowait.patch} | 18 +- ...lize-split-page-table-locks-for-vec.patch} | 12 +- ...lock_t-and-rwlock_t-a-RCU-section-o.patch} | 12 +- ...e_enable-must-access-takedown_cpu_t.patch} | 20 +- ..._id-Adjust-check_preemption_disable.patch} | 12 +- ...ble-Busy-loop-until-the-migration-r.patch} | 18 +- ...d-Use-a-seqlock-instead-of-seqcount.patch} | 12 +- ...te_enable-Use-per-cpu-cpu_stop_work.patch} | 18 +- ...grate_enable-Remove-__schedule-call.patch} | 16 +- ...e-misplaced-local_unlock_irqrestore.patch} | 12 +- ...nclude-header-for-the-current-macro.patch} | 12 +- ...reempt_disable-in-vmw_fifo_ping_hos.patch} | 12 +- ...mpt_lazy-and-migrate_disable-counte.patch} | 12 +- ...flags-parameter-from-calls-to-ubsan.patch} | 12 +- ...king-of-IRQ_WORK_LAZY-flag-set-on-n.patch} | 12 +- ...-a-race-resulting-in-double-enqueue.patch} | 12 +- ...-for-when-grabbing-softirq_expiry_l.patch} | 12 +- ...26-fs-dcache-Include-swait.h-header.patch} | 12 +- ...ush-the-delayed-empty-slubs-in-flus.patch} | 16 +- ...x-UP-case-for-tasklet-CHAINED-state.patch} | 12 +- ... => 0329-Linux-4.19.132-rt59-REBASE.patch} | 18 +- debian/patches-rt/series | 190 +++++++++--------- 331 files changed, 2396 insertions(+), 2381 deletions(-) rename debian/patches-rt/{0236-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch => 0235-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch} (87%) rename debian/patches-rt/{0237-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch => 0236-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch} (92%) rename debian/patches-rt/{0238-sched-Add-support-for-lazy-preemption.patch => 0237-sched-Add-support-for-lazy-preemption.patch} (96%) rename debian/patches-rt/{0239-ftrace-Fix-trace-header-alignment.patch => 0238-ftrace-Fix-trace-header-alignment.patch} (86%) rename debian/patches-rt/{0240-x86-Support-for-lazy-preemption.patch => 0239-x86-Support-for-lazy-preemption.patch} (95%) rename debian/patches-rt/{0241-x86-lazy-preempt-properly-check-against-preempt-mask.patch => 0240-x86-lazy-preempt-properly-check-against-preempt-mask.patch} (75%) rename debian/patches-rt/{0242-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch => 0241-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch} (79%) rename debian/patches-rt/{0243-arm-Add-support-for-lazy-preemption.patch => 0242-arm-Add-support-for-lazy-preemption.patch} (94%) rename debian/patches-rt/{0244-powerpc-Add-support-for-lazy-preemption.patch => 0243-powerpc-Add-support-for-lazy-preemption.patch} (95%) rename debian/patches-rt/{0245-arch-arm64-Add-lazy-preempt-support.patch => 0244-arch-arm64-Add-lazy-preempt-support.patch} (93%) rename debian/patches-rt/{0246-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch => 0245-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch} (88%) rename debian/patches-rt/{0247-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch => 0246-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch} (89%) rename debian/patches-rt/{0248-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch => 0247-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch} (90%) rename debian/patches-rt/{0249-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch => 0248-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch} (79%) rename debian/patches-rt/{0250-tpm_tis-fix-stall-after-iowrite-s.patch => 0249-tpm_tis-fix-stall-after-iowrite-s.patch} (89%) rename debian/patches-rt/{0251-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch => 0250-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch} (90%) rename debian/patches-rt/{0252-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch => 0251-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch} (85%) rename debian/patches-rt/{0253-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch => 0252-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch} (94%) rename debian/patches-rt/{0254-drm-i915-disable-tracing-on-RT.patch => 0253-drm-i915-disable-tracing-on-RT.patch} (81%) rename debian/patches-rt/{0255-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch => 0254-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch} (77%) rename debian/patches-rt/{0256-cgroups-use-simple-wait-in-css_release.patch => 0255-cgroups-use-simple-wait-in-css_release.patch} (90%) rename debian/patches-rt/{0257-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch => 0256-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch} (96%) rename debian/patches-rt/{0258-apparmor-use-a-locallock-instead-preempt_disable.patch => 0257-apparmor-use-a-locallock-instead-preempt_disable.patch} (87%) rename debian/patches-rt/{0259-workqueue-Prevent-deadlock-stall-on-RT.patch => 0258-workqueue-Prevent-deadlock-stall-on-RT.patch} (94%) rename debian/patches-rt/{0260-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch => 0259-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch} (94%) rename debian/patches-rt/{0261-Add-localversion-for-RT-release.patch => 0260-Add-localversion-for-RT-release.patch} (60%) rename debian/patches-rt/{0262-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch => 0261-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch} (90%) rename debian/patches-rt/{0263-powerpc-reshuffle-TIF-bits.patch => 0262-powerpc-reshuffle-TIF-bits.patch} (94%) rename debian/patches-rt/{0264-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch => 0263-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch} (86%) rename debian/patches-rt/{0265-drm-i915-Don-t-disable-interrupts-independently-of-t.patch => 0264-drm-i915-Don-t-disable-interrupts-independently-of-t.patch} (84%) rename debian/patches-rt/{0266-sched-completion-Fix-a-lockup-in-wait_for_completion.patch => 0265-sched-completion-Fix-a-lockup-in-wait_for_completion.patch} (87%) rename debian/patches-rt/{0267-kthread-add-a-global-worker-thread.patch => 0266-kthread-add-a-global-worker-thread.patch} (93%) rename debian/patches-rt/{0268-arm-imx6-cpuidle-Use-raw_spinlock_t.patch => 0267-arm-imx6-cpuidle-Use-raw_spinlock_t.patch} (81%) rename debian/patches-rt/{0269-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch => 0268-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch} (76%) rename debian/patches-rt/{0270-pci-switchtec-fix-stream_open.cocci-warnings.patch => 0269-pci-switchtec-fix-stream_open.cocci-warnings.patch} (80%) rename debian/patches-rt/{0271-sched-core-Drop-a-preempt_disable_rt-statement.patch => 0270-sched-core-Drop-a-preempt_disable_rt-statement.patch} (77%) rename debian/patches-rt/{0272-timers-Redo-the-notification-of-canceling-timers-on-.patch => 0271-timers-Redo-the-notification-of-canceling-timers-on-.patch} (98%) rename debian/patches-rt/{0273-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch => 0272-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch} (75%) rename debian/patches-rt/{0274-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch => 0273-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch} (89%) rename debian/patches-rt/{0275-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch => 0274-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch} (96%) rename debian/patches-rt/{0276-Revert-futex-workaround-migrate_disable-enable-in-di.patch => 0275-Revert-futex-workaround-migrate_disable-enable-in-di.patch} (86%) rename debian/patches-rt/{0277-futex-Make-the-futex_hash_bucket-lock-raw.patch => 0276-futex-Make-the-futex_hash_bucket-lock-raw.patch} (97%) rename debian/patches-rt/{0278-futex-Delay-deallocation-of-pi_state.patch => 0277-futex-Delay-deallocation-of-pi_state.patch} (93%) rename debian/patches-rt/{0279-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch => 0278-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch} (92%) rename debian/patches-rt/{0280-revert-aio.patch => 0279-revert-aio.patch} (77%) rename debian/patches-rt/{0281-fs-aio-simple-simple-work.patch => 0280-fs-aio-simple-simple-work.patch} (83%) rename debian/patches-rt/{0282-revert-thermal.patch => 0281-revert-thermal.patch} (90%) rename debian/patches-rt/{0283-thermal-Defer-thermal-wakups-to-threads.patch => 0282-thermal-Defer-thermal-wakups-to-threads.patch} (89%) rename debian/patches-rt/{0284-revert-block.patch => 0283-revert-block.patch} (88%) rename debian/patches-rt/{0285-block-blk-mq-move-blk_queue_usage_counter_release-in.patch => 0284-block-blk-mq-move-blk_queue_usage_counter_release-in.patch} (92%) rename debian/patches-rt/{0286-workqueue-rework.patch => 0285-workqueue-rework.patch} (98%) rename debian/patches-rt/{0287-i2c-exynos5-Remove-IRQF_ONESHOT.patch => 0286-i2c-exynos5-Remove-IRQF_ONESHOT.patch} (83%) rename debian/patches-rt/{0288-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch => 0287-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch} (82%) rename debian/patches-rt/{0289-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch => 0288-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch} (81%) rename debian/patches-rt/{0290-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch => 0289-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch} (91%) rename debian/patches-rt/{0291-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch => 0290-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch} (96%) rename debian/patches-rt/{0292-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch => 0291-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch} (85%) rename debian/patches-rt/{0293-x86-preempt-Check-preemption-level-before-looking-at.patch => 0292-x86-preempt-Check-preemption-level-before-looking-at.patch} (76%) rename debian/patches-rt/{0294-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch => 0293-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch} (81%) rename debian/patches-rt/{0295-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch => 0294-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch} (80%) rename debian/patches-rt/{0296-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch => 0295-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch} (81%) rename debian/patches-rt/{0297-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch => 0296-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch} (88%) rename debian/patches-rt/{0298-posix-timers-Unlock-expiry-lock-in-the-early-return.patch => 0297-posix-timers-Unlock-expiry-lock-in-the-early-return.patch} (80%) rename debian/patches-rt/{0299-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch => 0298-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch} (75%) rename debian/patches-rt/{0300-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch => 0299-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch} (76%) rename debian/patches-rt/{0301-sched-Remove-dead-__migrate_disabled-check.patch => 0300-sched-Remove-dead-__migrate_disabled-check.patch} (75%) rename debian/patches-rt/{0302-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch => 0301-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch} (71%) rename debian/patches-rt/{0303-lib-smp_processor_id-Don-t-use-cpumask_equal.patch => 0302-lib-smp_processor_id-Don-t-use-cpumask_equal.patch} (82%) rename debian/patches-rt/{0304-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch => 0303-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch} (98%) rename debian/patches-rt/{0305-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch => 0304-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch} (90%) rename debian/patches-rt/{0306-lib-ubsan-Don-t-seralize-UBSAN-report.patch => 0305-lib-ubsan-Don-t-seralize-UBSAN-report.patch} (96%) rename debian/patches-rt/{0307-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch => 0306-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch} (96%) rename debian/patches-rt/{0308-sched-migrate_enable-Use-select_fallback_rq.patch => 0307-sched-migrate_enable-Use-select_fallback_rq.patch} (79%) rename debian/patches-rt/{0309-sched-Lazy-migrate_disable-processing.patch => 0308-sched-Lazy-migrate_disable-processing.patch} (93%) rename debian/patches-rt/{0310-sched-migrate_enable-Use-stop_one_cpu_nowait.patch => 0309-sched-migrate_enable-Use-stop_one_cpu_nowait.patch} (87%) rename debian/patches-rt/{0311-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch => 0310-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch} (88%) rename debian/patches-rt/{0312-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch => 0311-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch} (92%) rename debian/patches-rt/{0313-sched-core-migrate_enable-must-access-takedown_cpu_t.patch => 0312-sched-core-migrate_enable-must-access-takedown_cpu_t.patch} (71%) rename debian/patches-rt/{0314-lib-smp_processor_id-Adjust-check_preemption_disable.patch => 0313-lib-smp_processor_id-Adjust-check_preemption_disable.patch} (79%) rename debian/patches-rt/{0315-sched-migrate_enable-Busy-loop-until-the-migration-r.patch => 0314-sched-migrate_enable-Busy-loop-until-the-migration-r.patch} (79%) rename debian/patches-rt/{0316-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch => 0315-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch} (88%) rename debian/patches-rt/{0317-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch => 0316-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch} (83%) rename debian/patches-rt/{0318-sched-migrate_enable-Remove-__schedule-call.patch => 0317-sched-migrate_enable-Remove-__schedule-call.patch} (71%) rename debian/patches-rt/{0319-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch => 0318-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch} (80%) rename debian/patches-rt/{0320-locallock-Include-header-for-the-current-macro.patch => 0319-locallock-Include-header-for-the-current-macro.patch} (71%) rename debian/patches-rt/{0321-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch => 0320-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch} (82%) rename debian/patches-rt/{0322-tracing-make-preempt_lazy-and-migrate_disable-counte.patch => 0321-tracing-make-preempt_lazy-and-migrate_disable-counte.patch} (84%) rename debian/patches-rt/{0323-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch => 0322-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch} (83%) rename debian/patches-rt/{0324-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch => 0323-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch} (87%) rename debian/patches-rt/{0325-tasklet-Address-a-race-resulting-in-double-enqueue.patch => 0324-tasklet-Address-a-race-resulting-in-double-enqueue.patch} (92%) rename debian/patches-rt/{0326-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch => 0325-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch} (84%) rename debian/patches-rt/{0327-fs-dcache-Include-swait.h-header.patch => 0326-fs-dcache-Include-swait.h-header.patch} (73%) rename debian/patches-rt/{0328-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch => 0327-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch} (83%) rename debian/patches-rt/{0329-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch => 0328-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch} (84%) rename debian/patches-rt/{0330-Linux-4.19.127-rt55-REBASE.patch => 0329-Linux-4.19.132-rt59-REBASE.patch} (50%) diff --git a/debian/changelog b/debian/changelog index ad1765076..f8ec442b5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -36,6 +36,9 @@ linux (4.19.132-1) UNRELEASED; urgency=medium - dm zoned: assign max_io_len correctly - efi: Make it possible to disable efivar_ssdt entirely + [ Salvatore Bonaccorso ] + * [rt] Update to 4.19.132-rt59 + -- Salvatore Bonaccorso Tue, 14 Jul 2020 21:48:28 +0200 linux (4.19.131-2) buster; urgency=medium diff --git a/debian/patches-rt/0001-ARM-at91-add-TCB-registers-definitions.patch b/debian/patches-rt/0001-ARM-at91-add-TCB-registers-definitions.patch index 608006640..5cb88cae9 100644 --- a/debian/patches-rt/0001-ARM-at91-add-TCB-registers-definitions.patch +++ b/debian/patches-rt/0001-ARM-at91-add-TCB-registers-definitions.patch @@ -1,9 +1,9 @@ -From 07cd0dbc80b976663c80755496a03f288decfe5a Mon Sep 17 00:00:00 2001 -Message-Id: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81 Mon Sep 17 00:00:00 2001 +Message-Id: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Alexandre Belloni Date: Thu, 13 Sep 2018 13:30:18 +0200 -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 +Subject: [PATCH 001/329] ARM: at91: add TCB registers definitions +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Add registers and bits definitions for the timer counter blocks found on Atmel ARM SoCs. diff --git a/debian/patches-rt/0002-clocksource-drivers-Add-a-new-driver-for-the-Atmel-A.patch b/debian/patches-rt/0002-clocksource-drivers-Add-a-new-driver-for-the-Atmel-A.patch index 754662878..155b79301 100644 --- a/debian/patches-rt/0002-clocksource-drivers-Add-a-new-driver-for-the-Atmel-A.patch +++ b/debian/patches-rt/0002-clocksource-drivers-Add-a-new-driver-for-the-Atmel-A.patch @@ -1,12 +1,12 @@ -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 e2dc33e3c6862f67375763e71e0faa769276a14d Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Alexandre Belloni Date: Thu, 13 Sep 2018 13:30:19 +0200 -Subject: [PATCH 002/330] clocksource/drivers: Add a new driver for the Atmel +Subject: [PATCH 002/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Add a driver for the Atmel Timer Counter Blocks. This driver provides a clocksource and two clockevent devices. diff --git a/debian/patches-rt/0003-clocksource-drivers-timer-atmel-tcb-add-clockevent-d.patch b/debian/patches-rt/0003-clocksource-drivers-timer-atmel-tcb-add-clockevent-d.patch index ea5489041..4fb2c0e9f 100644 --- a/debian/patches-rt/0003-clocksource-drivers-timer-atmel-tcb-add-clockevent-d.patch +++ b/debian/patches-rt/0003-clocksource-drivers-timer-atmel-tcb-add-clockevent-d.patch @@ -1,12 +1,12 @@ -From d6eb03e5f67486085de39ec702182866ffdced2b Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 973df36d2ea81e30640a9618db832a77d03287f6 Mon Sep 17 00:00:00 2001 +Message-Id: <973df36d2ea81e30640a9618db832a77d03287f6.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Alexandre Belloni Date: Thu, 13 Sep 2018 13:30:20 +0200 -Subject: [PATCH 003/330] clocksource/drivers: timer-atmel-tcb: add clockevent +Subject: [PATCH 003/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Add an other clockevent device that uses a separate TCB channel when available. diff --git a/debian/patches-rt/0004-clocksource-drivers-atmel-pit-make-option-silent.patch b/debian/patches-rt/0004-clocksource-drivers-atmel-pit-make-option-silent.patch index 5fc03f9b7..aee2037b2 100644 --- a/debian/patches-rt/0004-clocksource-drivers-atmel-pit-make-option-silent.patch +++ b/debian/patches-rt/0004-clocksource-drivers-atmel-pit-make-option-silent.patch @@ -1,11 +1,11 @@ -From a6a73dbfa9364e274c53e48d7688f6e8ec5590e4 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6585d2242c353963685bd6af832ed97e9a27255a Mon Sep 17 00:00:00 2001 +Message-Id: <6585d2242c353963685bd6af832ed97e9a27255a.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Alexandre Belloni Date: Thu, 13 Sep 2018 13:30:21 +0200 -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 +Subject: [PATCH 004/329] clocksource/drivers: atmel-pit: make option silent +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz To conform with the other option, make the ATMEL_PIT option silent so it can be selected from the platform diff --git a/debian/patches-rt/0005-ARM-at91-Implement-clocksource-selection.patch b/debian/patches-rt/0005-ARM-at91-Implement-clocksource-selection.patch index f842553bf..d05b04631 100644 --- a/debian/patches-rt/0005-ARM-at91-Implement-clocksource-selection.patch +++ b/debian/patches-rt/0005-ARM-at91-Implement-clocksource-selection.patch @@ -1,11 +1,11 @@ -From df1a4ba0a8f32ea01c78c697ec86f13cce3ef643 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d7c4971ed35222efb7237485812eab5b3e72938e Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Alexandre Belloni Date: Thu, 13 Sep 2018 13:30:22 +0200 -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 +Subject: [PATCH 005/329] ARM: at91: Implement clocksource selection +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Allow selecting and unselecting the PIT clocksource driver so it doesn't have to be compile when unused. diff --git a/debian/patches-rt/0006-ARM-configs-at91-use-new-TCB-timer-driver.patch b/debian/patches-rt/0006-ARM-configs-at91-use-new-TCB-timer-driver.patch index ae0080c76..6d77b3e39 100644 --- a/debian/patches-rt/0006-ARM-configs-at91-use-new-TCB-timer-driver.patch +++ b/debian/patches-rt/0006-ARM-configs-at91-use-new-TCB-timer-driver.patch @@ -1,11 +1,11 @@ -From dcb2bbcbb30d20da84674245778e0331a11506db Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 96f44f96d14cb5465687b6c7d6ec2cf4d26d449d Mon Sep 17 00:00:00 2001 +Message-Id: <96f44f96d14cb5465687b6c7d6ec2cf4d26d449d.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Alexandre Belloni Date: Thu, 13 Sep 2018 13:30:23 +0200 -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 +Subject: [PATCH 006/329] ARM: configs: at91: use new TCB timer driver +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Unselecting ATMEL_TCLIB switches the TCB timer driver from tcb_clksrc to timer-atmel-tcb. diff --git a/debian/patches-rt/0007-ARM-configs-at91-unselect-PIT.patch b/debian/patches-rt/0007-ARM-configs-at91-unselect-PIT.patch index 91398ac6e..330d8a9de 100644 --- a/debian/patches-rt/0007-ARM-configs-at91-unselect-PIT.patch +++ b/debian/patches-rt/0007-ARM-configs-at91-unselect-PIT.patch @@ -1,11 +1,11 @@ -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 1d94c2c8967e08c944fc90a6787c242793e7b3cc Mon Sep 17 00:00:00 2001 +Message-Id: <1d94c2c8967e08c944fc90a6787c242793e7b3cc.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Alexandre Belloni Date: Thu, 13 Sep 2018 13:30:24 +0200 -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 +Subject: [PATCH 007/329] ARM: configs: at91: unselect PIT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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. diff --git a/debian/patches-rt/0008-irqchip-gic-v3-its-Move-pending-table-allocation-to-.patch b/debian/patches-rt/0008-irqchip-gic-v3-its-Move-pending-table-allocation-to-.patch index b7f4354ee..96e563040 100644 --- a/debian/patches-rt/0008-irqchip-gic-v3-its-Move-pending-table-allocation-to-.patch +++ b/debian/patches-rt/0008-irqchip-gic-v3-its-Move-pending-table-allocation-to-.patch @@ -1,12 +1,12 @@ -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 0b822e3b084ef66097cc19d9fcd35ee4ab6eccbc Mon Sep 17 00:00:00 2001 +Message-Id: <0b822e3b084ef66097cc19d9fcd35ee4ab6eccbc.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Marc Zyngier Date: Fri, 27 Jul 2018 13:38:54 +0100 -Subject: [PATCH 008/330] irqchip/gic-v3-its: Move pending table allocation to +Subject: [PATCH 008/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Signed-off-by: Marc Zyngier Signed-off-by: Sebastian Andrzej Siewior diff --git a/debian/patches-rt/0009-kthread-convert-worker-lock-to-raw-spinlock.patch b/debian/patches-rt/0009-kthread-convert-worker-lock-to-raw-spinlock.patch index 74053e536..2d661bbf2 100644 --- a/debian/patches-rt/0009-kthread-convert-worker-lock-to-raw-spinlock.patch +++ b/debian/patches-rt/0009-kthread-convert-worker-lock-to-raw-spinlock.patch @@ -1,11 +1,11 @@ -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 c9d7a2fed0bcf2c9a82c59ebcbc2a9a11a198f3b Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julia Cartwright Date: Fri, 28 Sep 2018 21:03:51 +0000 -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 +Subject: [PATCH 009/329] kthread: convert worker lock to raw spinlock +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0010-crypto-caam-qi-simplify-CGR-allocation-freeing.patch b/debian/patches-rt/0010-crypto-caam-qi-simplify-CGR-allocation-freeing.patch index ddfd3a17b..f2bfbb24b 100644 --- a/debian/patches-rt/0010-crypto-caam-qi-simplify-CGR-allocation-freeing.patch +++ b/debian/patches-rt/0010-crypto-caam-qi-simplify-CGR-allocation-freeing.patch @@ -1,14 +1,14 @@ -From ece8b73ec8e440bd4a31c3e365262f6f77321377 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 32f8d559da2d1a8bcc3d3354e6e2cbe244a5da2f Mon Sep 17 00:00:00 2001 +Message-Id: <32f8d559da2d1a8bcc3d3354e6e2cbe244a5da2f.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: =?UTF-8?q?Horia=20Geant=C4=83?= Date: Mon, 8 Oct 2018 14:09:37 +0300 -Subject: [PATCH 010/330] crypto: caam/qi - simplify CGR allocation, freeing +Subject: [PATCH 010/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [Upstream commit 29e83c757006fd751966bdc53392bb22d74179c6] diff --git a/debian/patches-rt/0011-sched-fair-Robustify-CFS-bandwidth-timer-locking.patch b/debian/patches-rt/0011-sched-fair-Robustify-CFS-bandwidth-timer-locking.patch index 408d15142..1f44670d2 100644 --- a/debian/patches-rt/0011-sched-fair-Robustify-CFS-bandwidth-timer-locking.patch +++ b/debian/patches-rt/0011-sched-fair-Robustify-CFS-bandwidth-timer-locking.patch @@ -1,11 +1,11 @@ -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 4e9e5190267f92f4430dbcde4e7fe5d29acb26d3 Mon Sep 17 00:00:00 2001 +Message-Id: <4e9e5190267f92f4430dbcde4e7fe5d29acb26d3.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Peter Zijlstra Date: Mon, 7 Jan 2019 13:52:31 +0100 -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 +Subject: [PATCH 011/329] sched/fair: Robustify CFS-bandwidth timer locking +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Traditionally hrtimer callbacks were run with IRQs disabled, but with the introduction of HRTIMER_MODE_SOFT it is possible they run from @@ -33,7 +33,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c -index 86ccaaf0c1bf..ded41daf0d73 100644 +index 92b1e71f13c8..a05bcb5f5c26 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4597,7 +4597,7 @@ static u64 distribute_cfs_runtime(struct cfs_bandwidth *cfs_b, u64 remaining) diff --git a/debian/patches-rt/0012-arm-Convert-arm-boot_lock-to-raw.patch b/debian/patches-rt/0012-arm-Convert-arm-boot_lock-to-raw.patch index 3c68906ec..dbf1f9e9e 100644 --- a/debian/patches-rt/0012-arm-Convert-arm-boot_lock-to-raw.patch +++ b/debian/patches-rt/0012-arm-Convert-arm-boot_lock-to-raw.patch @@ -1,11 +1,11 @@ -From b5330f7774aae315712657ef2004c84d1085246d Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 8f09b49880e9787d12d0d4374d3389e9fa98b998 Mon Sep 17 00:00:00 2001 +Message-Id: <8f09b49880e9787d12d0d4374d3389e9fa98b998.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Frank Rowand Date: Mon, 19 Sep 2011 14:51:14 -0700 -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 +Subject: [PATCH 012/329] arm: Convert arm boot_lock to raw +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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. diff --git a/debian/patches-rt/0013-x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch b/debian/patches-rt/0013-x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch index 478bb2a06..be809b713 100644 --- a/debian/patches-rt/0013-x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch +++ b/debian/patches-rt/0013-x86-ioapic-Don-t-let-setaffinity-unmask-threaded-EOI.patch @@ -1,12 +1,12 @@ -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 309eeb867ddba794bd01ff1616eac9bc3c3791c6 Mon Sep 17 00:00:00 2001 +Message-Id: <309eeb867ddba794bd01ff1616eac9bc3c3791c6.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 17 Jul 2018 18:25:31 +0200 -Subject: [PATCH 013/330] x86/ioapic: Don't let setaffinity unmask threaded EOI +Subject: [PATCH 013/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz There is an issue with threaded interrupts which are marked ONESHOT and using the fasteoi handler. diff --git a/debian/patches-rt/0014-cgroup-use-irqsave-in-cgroup_rstat_flush_locked.patch b/debian/patches-rt/0014-cgroup-use-irqsave-in-cgroup_rstat_flush_locked.patch index cc6a1ff9c..c978a37b6 100644 --- a/debian/patches-rt/0014-cgroup-use-irqsave-in-cgroup_rstat_flush_locked.patch +++ b/debian/patches-rt/0014-cgroup-use-irqsave-in-cgroup_rstat_flush_locked.patch @@ -1,11 +1,11 @@ -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 aabbb543ca4b9a9bc2922b2c0b5538fd8c1460b8 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 3 Jul 2018 18:19:48 +0200 -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 +Subject: [PATCH 014/329] cgroup: use irqsave in cgroup_rstat_flush_locked() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz All callers of cgroup_rstat_flush_locked() acquire cgroup_rstat_lock either with spin_lock_irq() or spin_lock_irqsave(). diff --git a/debian/patches-rt/0015-fscache-initialize-cookie-hash-table-raw-spinlocks.patch b/debian/patches-rt/0015-fscache-initialize-cookie-hash-table-raw-spinlocks.patch index 0ef74583e..597527cf6 100644 --- a/debian/patches-rt/0015-fscache-initialize-cookie-hash-table-raw-spinlocks.patch +++ b/debian/patches-rt/0015-fscache-initialize-cookie-hash-table-raw-spinlocks.patch @@ -1,11 +1,11 @@ -From a2f42d911a79b4a69a234abb2540b7e45e136358 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7c9df5c1b58a7859ef142b8aa653626bced61cdb Mon Sep 17 00:00:00 2001 +Message-Id: <7c9df5c1b58a7859ef142b8aa653626bced61cdb.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Clark Williams Date: Tue, 3 Jul 2018 13:34:30 -0500 -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 +Subject: [PATCH 015/329] fscache: initialize cookie hash table raw spinlocks +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0016-Drivers-hv-vmbus-include-header-for-get_irq_regs.patch b/debian/patches-rt/0016-Drivers-hv-vmbus-include-header-for-get_irq_regs.patch index 405516b68..9f43b373c 100644 --- a/debian/patches-rt/0016-Drivers-hv-vmbus-include-header-for-get_irq_regs.patch +++ b/debian/patches-rt/0016-Drivers-hv-vmbus-include-header-for-get_irq_regs.patch @@ -1,14 +1,14 @@ -From ed83918632048e1a2aaeef2357ac17050d4c0897 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 9de54a8f8bd75789fe994fdbd84724ffc4331bde Mon Sep 17 00:00:00 2001 +Message-Id: <9de54a8f8bd75789fe994fdbd84724ffc4331bde.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 29 Aug 2018 21:59:04 +0200 -Subject: [PATCH 016/330] Drivers: hv: vmbus: include header for get_irq_regs() +Subject: [PATCH 016/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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: diff --git a/debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch b/debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch index 5d572b544..a74010251 100644 --- a/debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch +++ b/debian/patches-rt/0017-percpu-include-irqflags.h-for-raw_local_irq_save.patch @@ -1,11 +1,11 @@ -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 0c8f6d96e3ffefd149facbc13f4c9cfe5f11e9e5 Mon Sep 17 00:00:00 2001 +Message-Id: <0c8f6d96e3ffefd149facbc13f4c9cfe5f11e9e5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 11 Oct 2018 16:39:59 +0200 -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 +Subject: [PATCH 017/329] 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.132-rt59.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 diff --git a/debian/patches-rt/0018-efi-Allow-efi-runtime.patch b/debian/patches-rt/0018-efi-Allow-efi-runtime.patch index ce6ede502..bcc8e3223 100644 --- a/debian/patches-rt/0018-efi-Allow-efi-runtime.patch +++ b/debian/patches-rt/0018-efi-Allow-efi-runtime.patch @@ -1,11 +1,11 @@ -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 807b85149744e2d210e0808fe6a354611c9e63e8 Mon Sep 17 00:00:00 2001 +Message-Id: <807b85149744e2d210e0808fe6a354611c9e63e8.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 26 Jul 2018 15:06:10 +0200 -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 +Subject: [PATCH 018/329] efi: Allow efi=runtime +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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. @@ -17,7 +17,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 3 insertions(+) diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c -index f1e0a2715269..3d5cbd3eedb4 100644 +index de1bc38ab39f..22cf4dd07b03 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) diff --git a/debian/patches-rt/0019-x86-efi-drop-task_lock-from-efi_switch_mm.patch b/debian/patches-rt/0019-x86-efi-drop-task_lock-from-efi_switch_mm.patch index 84b83ae72..851e776a3 100644 --- a/debian/patches-rt/0019-x86-efi-drop-task_lock-from-efi_switch_mm.patch +++ b/debian/patches-rt/0019-x86-efi-drop-task_lock-from-efi_switch_mm.patch @@ -1,11 +1,11 @@ -From f58b1dce5d7d97bb8d531d1fd82229f63d9f365f Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 87dc5fa070c8d28ca266fedb2a41308233133907 Mon Sep 17 00:00:00 2001 +Message-Id: <87dc5fa070c8d28ca266fedb2a41308233133907.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 24 Jul 2018 14:48:55 +0200 -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 +Subject: [PATCH 019/329] 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.132-rt59.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 diff --git a/debian/patches-rt/0020-arm64-KVM-compute_layout-before-altenates-are-applie.patch b/debian/patches-rt/0020-arm64-KVM-compute_layout-before-altenates-are-applie.patch index 8469b4d65..ff8eff09a 100644 --- a/debian/patches-rt/0020-arm64-KVM-compute_layout-before-altenates-are-applie.patch +++ b/debian/patches-rt/0020-arm64-KVM-compute_layout-before-altenates-are-applie.patch @@ -1,12 +1,12 @@ -From cee4251021086c8806b95fe27a3587c416343b27 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 44752bc069e62368005b7e0d78b5f55972476ab5 Mon Sep 17 00:00:00 2001 +Message-Id: <44752bc069e62368005b7e0d78b5f55972476ab5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 26 Jul 2018 09:13:42 +0200 -Subject: [PATCH 020/330] arm64: KVM: compute_layout before altenates are +Subject: [PATCH 020/329] arm64: KVM: compute_layout before altenates are applied -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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(). diff --git a/debian/patches-rt/0021-of-allocate-free-phandle-cache-outside-of-the-devtre.patch b/debian/patches-rt/0021-of-allocate-free-phandle-cache-outside-of-the-devtre.patch index e7ea3f6d4..7e3219d08 100644 --- a/debian/patches-rt/0021-of-allocate-free-phandle-cache-outside-of-the-devtre.patch +++ b/debian/patches-rt/0021-of-allocate-free-phandle-cache-outside-of-the-devtre.patch @@ -1,12 +1,12 @@ -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 a93b7610c9ca29439bc6db08b0a000a7d0e66a4d Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 31 Aug 2018 14:16:30 +0200 -Subject: [PATCH 021/330] of: allocate / free phandle cache outside of the +Subject: [PATCH 021/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0022-mm-kasan-make-quarantine_lock-a-raw_spinlock_t.patch b/debian/patches-rt/0022-mm-kasan-make-quarantine_lock-a-raw_spinlock_t.patch index 67fc888c6..e0506d1f8 100644 --- a/debian/patches-rt/0022-mm-kasan-make-quarantine_lock-a-raw_spinlock_t.patch +++ b/debian/patches-rt/0022-mm-kasan-make-quarantine_lock-a-raw_spinlock_t.patch @@ -1,11 +1,11 @@ -From ddfc22e4646ebd7625c8406cee2c82dc9e706eeb Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7f30e9221eefb7abeeae12bf1a6f366c3b6bd5b3 Mon Sep 17 00:00:00 2001 +Message-Id: <7f30e9221eefb7abeeae12bf1a6f366c3b6bd5b3.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Clark Williams Date: Tue, 18 Sep 2018 10:29:31 -0500 -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 +Subject: [PATCH 022/329] 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.132-rt59.tar.xz The static lock quarantine_lock is used in quarantine.c to protect the quarantine queue datastructures. It is taken inside quarantine queue diff --git a/debian/patches-rt/0023-EXP-rcu-Revert-expedited-GP-parallelization-cleverne.patch b/debian/patches-rt/0023-EXP-rcu-Revert-expedited-GP-parallelization-cleverne.patch index d58d6ce33..3c25e356b 100644 --- a/debian/patches-rt/0023-EXP-rcu-Revert-expedited-GP-parallelization-cleverne.patch +++ b/debian/patches-rt/0023-EXP-rcu-Revert-expedited-GP-parallelization-cleverne.patch @@ -1,12 +1,12 @@ -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 ae23d611aae11ce024a695eebdf3e9001e51898a Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Paul E. McKenney" Date: Mon, 29 Oct 2018 11:53:01 +0100 -Subject: [PATCH 023/330] EXP rcu: Revert expedited GP parallelization +Subject: [PATCH 023/329] EXP rcu: Revert expedited GP parallelization cleverness -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz (Commit 258ba8e089db23f760139266c232f01bad73f85c from linux-rcu) diff --git a/debian/patches-rt/0024-kmemleak-Turn-kmemleak_lock-to-raw-spinlock-on-RT.patch b/debian/patches-rt/0024-kmemleak-Turn-kmemleak_lock-to-raw-spinlock-on-RT.patch index 57e0156b2..c34406f6e 100644 --- a/debian/patches-rt/0024-kmemleak-Turn-kmemleak_lock-to-raw-spinlock-on-RT.patch +++ b/debian/patches-rt/0024-kmemleak-Turn-kmemleak_lock-to-raw-spinlock-on-RT.patch @@ -1,14 +1,14 @@ -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 4874f8128a86f1f82b2d0cc160114d6ba2eb3aea Mon Sep 17 00:00:00 2001 +Message-Id: <4874f8128a86f1f82b2d0cc160114d6ba2eb3aea.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: He Zhe Date: Wed, 19 Dec 2018 16:30:57 +0100 -Subject: [PATCH 024/330] kmemleak: Turn kmemleak_lock to raw spinlock on RT +Subject: [PATCH 024/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz kmemleak_lock, as a rwlock on RT, can possibly be held in atomic context and causes the follow BUG. diff --git a/debian/patches-rt/0025-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch b/debian/patches-rt/0025-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch index b940c21d2..a684c05a1 100644 --- a/debian/patches-rt/0025-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch +++ b/debian/patches-rt/0025-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch @@ -1,11 +1,11 @@ -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 b677c35c663fffab6ced63c01c62095fb5e4d93d Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 28 Oct 2016 23:05:11 +0200 -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 +Subject: [PATCH 025/329] NFSv4: replace seqcount_t with a seqlock_t +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 @@ -61,7 +61,7 @@ index 5b61520dce88..2771aafaca19 100644 }; diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c -index 668b648064b7..187d411668ed 100644 +index 05cb68ca1ba1..3e8666aa6829 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -2870,7 +2870,7 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata, diff --git a/debian/patches-rt/0026-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch b/debian/patches-rt/0026-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch index 1cea55bcb..5624300c8 100644 --- a/debian/patches-rt/0026-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch +++ b/debian/patches-rt/0026-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch @@ -1,15 +1,15 @@ -From b2bcf442a6169f3511183be2d5add38de01e7122 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 0393a98b00493daec3caf00a7e579c3f2fb07404 Mon Sep 17 00:00:00 2001 +Message-Id: <0393a98b00493daec3caf00a7e579c3f2fb07404.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 4 Apr 2017 12:50:16 +0200 -Subject: [PATCH 026/330] kernel: sched: Provide a pointer to the valid CPU +Subject: [PATCH 026/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 @@ -136,7 +136,7 @@ index a7c0f97e4b0d..1a08428eedcf 100644 out_unlock: diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c -index 9dab0ed1b227..3623cf32f5f4 100644 +index b9da2cefb564..f3e1242ed979 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -1174,12 +1174,12 @@ static void mt_ase_fp_affinity(void) @@ -337,7 +337,7 @@ index 1a2d18e98bf9..bc182d6fa2a9 100644 /* * One for us, one for whoever does the "release_task()" (usually diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 2befd2c4ce9e..07dc66137a26 100644 +index 843394d0ea42..85d663321fb9 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -878,7 +878,7 @@ static inline bool is_per_cpu_kthread(struct task_struct *p) @@ -460,7 +460,7 @@ index 2befd2c4ce9e..07dc66137a26 100644 * - any previously selected CPU might disappear through hotplug * * Use __set_task_cpu() to avoid calling sched_class::migrate_task_rq, -@@ -4316,7 +4316,7 @@ static int __sched_setscheduler(struct task_struct *p, +@@ -4317,7 +4317,7 @@ static int __sched_setscheduler(struct task_struct *p, * the entire root_domain to become SCHED_DEADLINE. We * will also fail if there's no bandwidth available. */ @@ -469,7 +469,7 @@ index 2befd2c4ce9e..07dc66137a26 100644 rq->rd->dl_bw.bw == 0) { task_rq_unlock(rq, p, &rf); return -EPERM; -@@ -4915,7 +4915,7 @@ long sched_getaffinity(pid_t pid, struct cpumask *mask) +@@ -4916,7 +4916,7 @@ long sched_getaffinity(pid_t pid, struct cpumask *mask) goto out_unlock; raw_spin_lock_irqsave(&p->pi_lock, flags); @@ -478,7 +478,7 @@ index 2befd2c4ce9e..07dc66137a26 100644 raw_spin_unlock_irqrestore(&p->pi_lock, flags); out_unlock: -@@ -5496,7 +5496,7 @@ int task_can_attach(struct task_struct *p, +@@ -5497,7 +5497,7 @@ int task_can_attach(struct task_struct *p, * allowed nodes is unnecessary. Thus, cpusets are not * applicable for such threads. This prevents checking for * success of set_cpus_allowed_ptr() on all attached tasks @@ -487,7 +487,7 @@ index 2befd2c4ce9e..07dc66137a26 100644 */ if (p->flags & PF_NO_SETAFFINITY) { ret = -EINVAL; -@@ -5523,7 +5523,7 @@ int migrate_task_to(struct task_struct *p, int target_cpu) +@@ -5524,7 +5524,7 @@ int migrate_task_to(struct task_struct *p, int target_cpu) if (curr_cpu == target_cpu) return 0; @@ -496,7 +496,7 @@ index 2befd2c4ce9e..07dc66137a26 100644 return -EINVAL; /* TODO: This is not properly updating schedstats */ -@@ -5661,7 +5661,7 @@ static void migrate_tasks(struct rq *dead_rq, struct rq_flags *rf) +@@ -5663,7 +5663,7 @@ static void migrate_tasks(struct rq *dead_rq, struct rq_flags *rf) put_prev_task(rq, next); /* @@ -545,7 +545,7 @@ index daaadf939ccb..f7d2c10b4c92 100644 /* * We have to ensure that we have at least one bit diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c -index ebec37cb3be9..4b13df38c069 100644 +index 8aecfb143859..311b3cf1270e 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -539,7 +539,7 @@ static struct rq *dl_task_offline_migration(struct rq *rq, struct task_struct *p @@ -576,7 +576,7 @@ index ebec37cb3be9..4b13df38c069 100644 !dl_task(task) || !task_on_rq_queued(task))) { diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c -index ded41daf0d73..fe58e95484cf 100644 +index a05bcb5f5c26..97de4ea7dbea 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -1691,7 +1691,7 @@ static void task_numa_compare(struct task_numa_env *env, diff --git a/debian/patches-rt/0027-kernel-sched-core-add-migrate_disable.patch b/debian/patches-rt/0027-kernel-sched-core-add-migrate_disable.patch index c8550fd6c..838042a23 100644 --- a/debian/patches-rt/0027-kernel-sched-core-add-migrate_disable.patch +++ b/debian/patches-rt/0027-kernel-sched-core-add-migrate_disable.patch @@ -1,11 +1,11 @@ -From bc21ea67b9b00e94aab5f17c15e4ebfc04c16d32 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6de086b99c4e4b3fbf978f04612591cc50c6ac79 Mon Sep 17 00:00:00 2001 +Message-Id: <6de086b99c4e4b3fbf978f04612591cc50c6ac79.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Sat, 27 May 2017 19:02:06 +0200 -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 +Subject: [PATCH 027/329] kernel/sched/core: add migrate_disable() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz --- include/linux/preempt.h | 23 +++++++ @@ -89,7 +89,7 @@ index 9fb239e12b82..5801e516ba63 100644 * Callback to arch code if there's nosmp or maxcpus=0 on the * boot command line: diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 07dc66137a26..d0450f06612c 100644 +index 85d663321fb9..fbdf142013b9 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1008,7 +1008,15 @@ void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_ma @@ -148,7 +148,7 @@ index 07dc66137a26..d0450f06612c 100644 if (task_running(rq, p) || p->state == TASK_WAKING) { struct migration_arg arg = { p, dest_cpu }; /* Need help from migration thread: drop lock and wait. */ -@@ -7105,3 +7134,100 @@ const u32 sched_prio_to_wmult[40] = { +@@ -7107,3 +7136,100 @@ const u32 sched_prio_to_wmult[40] = { }; #undef CREATE_TRACE_POINTS diff --git a/debian/patches-rt/0028-sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch b/debian/patches-rt/0028-sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch index d753dc3bb..3e7ed69cc 100644 --- a/debian/patches-rt/0028-sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch +++ b/debian/patches-rt/0028-sched-migrate_disable-Add-export_symbol_gpl-for-__mi.patch @@ -1,12 +1,12 @@ -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 89a73d8e7ad3ce8e0626924dcf9dd3979ef3be3b Mon Sep 17 00:00:00 2001 +Message-Id: <89a73d8e7ad3ce8e0626924dcf9dd3979ef3be3b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 9 Oct 2018 17:34:50 +0200 -Subject: [PATCH 028/330] sched/migrate_disable: Add export_symbol_gpl for +Subject: [PATCH 028/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Jonathan reported that lttng/modules can't use __migrate_disabled(). This function is only used by sched/core itself and the tracing @@ -25,7 +25,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 1 insertion(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index d0450f06612c..e6022cc2605b 100644 +index fbdf142013b9..183881fe4aab 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1013,6 +1013,7 @@ int __migrate_disabled(struct task_struct *p) diff --git a/debian/patches-rt/0029-arm-at91-do-not-disable-enable-clocks-in-a-row.patch b/debian/patches-rt/0029-arm-at91-do-not-disable-enable-clocks-in-a-row.patch index 1b22ac8b2..239d18a15 100644 --- a/debian/patches-rt/0029-arm-at91-do-not-disable-enable-clocks-in-a-row.patch +++ b/debian/patches-rt/0029-arm-at91-do-not-disable-enable-clocks-in-a-row.patch @@ -1,11 +1,11 @@ -From df993c27894ef5e6222614263a3bb50325e7beea Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 19083799e26fad55fbebf807fd419af8d1aa1f8a Mon Sep 17 00:00:00 2001 +Message-Id: <19083799e26fad55fbebf807fd419af8d1aa1f8a.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 9 Mar 2016 10:51:06 +0100 -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 +Subject: [PATCH 029/329] 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.132-rt59.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. diff --git a/debian/patches-rt/0030-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch b/debian/patches-rt/0030-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch index fabf55a72..e5f2bbffe 100644 --- a/debian/patches-rt/0030-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch +++ b/debian/patches-rt/0030-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch @@ -1,15 +1,15 @@ -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 12118ddc139a78b39c1f463eb3856aefaf4465a8 Mon Sep 17 00:00:00 2001 +Message-Id: <12118ddc139a78b39c1f463eb3856aefaf4465a8.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Benedikt Spranger Date: Mon, 8 Mar 2010 18:57:04 +0100 -Subject: [PATCH 030/330] clocksource: TCLIB: Allow higher clock rates for +Subject: [PATCH 030/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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. diff --git a/debian/patches-rt/0031-timekeeping-Split-jiffies-seqlock.patch b/debian/patches-rt/0031-timekeeping-Split-jiffies-seqlock.patch index da17c939f..22171f269 100644 --- a/debian/patches-rt/0031-timekeeping-Split-jiffies-seqlock.patch +++ b/debian/patches-rt/0031-timekeeping-Split-jiffies-seqlock.patch @@ -1,11 +1,11 @@ -From f9064a5ac7a8b372cc7c41f6664d3cd0d652c72a Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From c475b279431f075c7a47aa0eaea252ef670eb27b Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 14 Feb 2013 22:36:59 +0100 -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 +Subject: [PATCH 031/329] timekeeping: Split jiffies seqlock +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Replace jiffies_lock seqlock with a simple seqcounter and a rawlock so it can be taken in atomic context on RT. diff --git a/debian/patches-rt/0032-signal-Revert-ptrace-preempt-magic.patch b/debian/patches-rt/0032-signal-Revert-ptrace-preempt-magic.patch index 7df600e74..4a4a6ec67 100644 --- a/debian/patches-rt/0032-signal-Revert-ptrace-preempt-magic.patch +++ b/debian/patches-rt/0032-signal-Revert-ptrace-preempt-magic.patch @@ -1,11 +1,11 @@ -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 0c9739e057ac5da9d2a2ee50e19be93ab49685a0 Mon Sep 17 00:00:00 2001 +Message-Id: <0c9739e057ac5da9d2a2ee50e19be93ab49685a0.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 21 Sep 2011 19:57:12 +0200 -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 +Subject: [PATCH 032/329] signal: Revert ptrace preempt magic +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Upstream commit '53da1d9456fe7f8 fix ptrace slowness' is nothing more than a bandaid around the ptrace design trainwreck. It's not a diff --git a/debian/patches-rt/0033-net-sched-Use-msleep-instead-of-yield.patch b/debian/patches-rt/0033-net-sched-Use-msleep-instead-of-yield.patch index 8d99b90dc..f3b0b9ec4 100644 --- a/debian/patches-rt/0033-net-sched-Use-msleep-instead-of-yield.patch +++ b/debian/patches-rt/0033-net-sched-Use-msleep-instead-of-yield.patch @@ -1,11 +1,11 @@ -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 f5cdeb20f9bf3932bd736a4b056aa499a57fd2f5 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Marc Kleine-Budde Date: Wed, 5 Mar 2014 00:49:47 +0100 -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 +Subject: [PATCH 033/329] net: sched: Use msleep() instead of yield() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 @@ -50,10 +50,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c -index 8a4d01e427a2..4ab20f1138fd 100644 +index 119e20cad662..49d60ae006ed 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c -@@ -1204,7 +1204,7 @@ void dev_deactivate_many(struct list_head *head) +@@ -1205,7 +1205,7 @@ void dev_deactivate_many(struct list_head *head) /* Wait for outstanding qdisc_run calls. */ list_for_each_entry(dev, head, close_list) { while (some_qdisc_is_busy(dev)) diff --git a/debian/patches-rt/0034-dm-rq-remove-BUG_ON-irqs_disabled-check.patch b/debian/patches-rt/0034-dm-rq-remove-BUG_ON-irqs_disabled-check.patch index 163136edd..80bfd770b 100644 --- a/debian/patches-rt/0034-dm-rq-remove-BUG_ON-irqs_disabled-check.patch +++ b/debian/patches-rt/0034-dm-rq-remove-BUG_ON-irqs_disabled-check.patch @@ -1,11 +1,11 @@ -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 033640b308c05afca115999c55e7733ee6946b6a Mon Sep 17 00:00:00 2001 +Message-Id: <033640b308c05afca115999c55e7733ee6946b6a.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 27 Mar 2018 16:24:15 +0200 -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 +Subject: [PATCH 034/329] dm rq: remove BUG_ON(!irqs_disabled) check +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz In commit 052189a2ec95 ("dm: remove superfluous irq disablement in dm_request_fn") the spin_lock_irq() was replaced with spin_lock() + a diff --git a/debian/patches-rt/0035-usb-do-no-disable-interrupts-in-giveback.patch b/debian/patches-rt/0035-usb-do-no-disable-interrupts-in-giveback.patch index 46d0faf15..190a4628b 100644 --- a/debian/patches-rt/0035-usb-do-no-disable-interrupts-in-giveback.patch +++ b/debian/patches-rt/0035-usb-do-no-disable-interrupts-in-giveback.patch @@ -1,11 +1,11 @@ -From c42d9f8ff6e816c7b9505c5619db2ea2d116f9c3 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 41387348a210d60b68464edf4fa4488c918d7d70 Mon Sep 17 00:00:00 2001 +Message-Id: <41387348a210d60b68464edf4fa4488c918d7d70.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 8 Nov 2013 17:34:54 +0100 -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 +Subject: [PATCH 035/329] usb: do no disable interrupts in giveback +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Since commit 94dfd7ed ("USB: HCD: support giveback of URB in tasklet context") the USB code disables interrupts before invoking the complete diff --git a/debian/patches-rt/0036-rt-Provide-PREEMPT_RT_BASE-config-switch.patch b/debian/patches-rt/0036-rt-Provide-PREEMPT_RT_BASE-config-switch.patch index 9c454dd5c..535258ad1 100644 --- a/debian/patches-rt/0036-rt-Provide-PREEMPT_RT_BASE-config-switch.patch +++ b/debian/patches-rt/0036-rt-Provide-PREEMPT_RT_BASE-config-switch.patch @@ -1,11 +1,11 @@ -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 e598cf96c0e78d1880934e0887b40b90364f4e5c Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 17 Jun 2011 12:39:57 +0200 -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 +Subject: [PATCH 036/329] rt: Provide PREEMPT_RT_BASE config switch +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Introduce PREEMPT_RT_BASE which enables parts of PREEMPT_RT_FULL. Forces interrupt threading and enables some of the RT diff --git a/debian/patches-rt/0037-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch b/debian/patches-rt/0037-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch index 6860e28d9..2c5a43de2 100644 --- a/debian/patches-rt/0037-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch +++ b/debian/patches-rt/0037-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch @@ -1,11 +1,11 @@ -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 f0f0a18808e74adade966893b7ad7d367042701b Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 14 Dec 2011 01:03:49 +0100 -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 +Subject: [PATCH 037/329] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz There are "valid" GFP_ATOMIC allocations such as diff --git a/debian/patches-rt/0038-jump-label-disable-if-stop_machine-is-used.patch b/debian/patches-rt/0038-jump-label-disable-if-stop_machine-is-used.patch index 048725a4e..5ce5950ba 100644 --- a/debian/patches-rt/0038-jump-label-disable-if-stop_machine-is-used.patch +++ b/debian/patches-rt/0038-jump-label-disable-if-stop_machine-is-used.patch @@ -1,11 +1,11 @@ -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 70ce69d8a88a7bed92c04ac1f2e8221c9b971f97 Mon Sep 17 00:00:00 2001 +Message-Id: <70ce69d8a88a7bed92c04ac1f2e8221c9b971f97.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 8 Jul 2015 17:14:48 +0200 -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 +Subject: [PATCH 038/329] jump-label: disable if stop_machine() is used +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Some architectures are using stop_machine() while switching the opcode which leads to latency spikes. diff --git a/debian/patches-rt/0039-kconfig-Disable-config-options-which-are-not-RT-comp.patch b/debian/patches-rt/0039-kconfig-Disable-config-options-which-are-not-RT-comp.patch index 963dd50bc..a344ed197 100644 --- a/debian/patches-rt/0039-kconfig-Disable-config-options-which-are-not-RT-comp.patch +++ b/debian/patches-rt/0039-kconfig-Disable-config-options-which-are-not-RT-comp.patch @@ -1,12 +1,12 @@ -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 f35ee432990b9cab2a5de108c7f38c769dfccb4e Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 24 Jul 2011 12:11:43 +0200 -Subject: [PATCH 039/330] kconfig: Disable config options which are not RT +Subject: [PATCH 039/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Disable stuff which is known to have issues on RT diff --git a/debian/patches-rt/0040-lockdep-disable-self-test.patch b/debian/patches-rt/0040-lockdep-disable-self-test.patch index 6d593442e..fb3d95bbf 100644 --- a/debian/patches-rt/0040-lockdep-disable-self-test.patch +++ b/debian/patches-rt/0040-lockdep-disable-self-test.patch @@ -1,14 +1,14 @@ -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 a3d74f3ed28e8f5f0427b8a9a418fca257c4cf45 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 17 Oct 2017 16:36:18 +0200 -Subject: [PATCH 040/330] lockdep: disable self-test +Subject: [PATCH 040/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0041-mm-Allow-only-slub-on-RT.patch b/debian/patches-rt/0041-mm-Allow-only-slub-on-RT.patch index c1d4afa99..507cc6543 100644 --- a/debian/patches-rt/0041-mm-Allow-only-slub-on-RT.patch +++ b/debian/patches-rt/0041-mm-Allow-only-slub-on-RT.patch @@ -1,11 +1,11 @@ -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 7c1315ffc5e93492cbf98ca4a9794d6f1daab01e Mon Sep 17 00:00:00 2001 +Message-Id: <7c1315ffc5e93492cbf98ca4a9794d6f1daab01e.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Fri, 3 Jul 2009 08:44:03 -0500 -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 +Subject: [PATCH 041/329] mm: Allow only slub on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Disable SLAB and SLOB on -RT. Only SLUB is adopted to -RT needs. diff --git a/debian/patches-rt/0042-locking-Disable-spin-on-owner-for-RT.patch b/debian/patches-rt/0042-locking-Disable-spin-on-owner-for-RT.patch index 4f0817761..48dd257b2 100644 --- a/debian/patches-rt/0042-locking-Disable-spin-on-owner-for-RT.patch +++ b/debian/patches-rt/0042-locking-Disable-spin-on-owner-for-RT.patch @@ -1,14 +1,14 @@ -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 0fd7d310ba9d51979d738e34c436a22a60e8219c Mon Sep 17 00:00:00 2001 +Message-Id: <0fd7d310ba9d51979d738e34c436a22a60e8219c.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:51:45 +0200 -Subject: [PATCH 042/330] locking: Disable spin on owner for RT +Subject: [PATCH 042/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Drop spin on owner for mutex / rwsem. We are most likely not using it but… diff --git a/debian/patches-rt/0043-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch b/debian/patches-rt/0043-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch index 750393f76..5ac479e3c 100644 --- a/debian/patches-rt/0043-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch +++ b/debian/patches-rt/0043-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch @@ -1,11 +1,11 @@ -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 55b88b1d29e9c569c69871e2da7999ea189907ba Mon Sep 17 00:00:00 2001 +Message-Id: <55b88b1d29e9c569c69871e2da7999ea189907ba.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 28 Oct 2012 13:26:09 +0000 -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 +Subject: [PATCH 043/329] rcu: Disable RCU_FAST_NO_HZ on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz This uses a timer_list timer from the irq disabled guts of the idle code. Disable it for now to prevent wreckage. diff --git a/debian/patches-rt/0044-rcu-make-RCU_BOOST-default-on-RT.patch b/debian/patches-rt/0044-rcu-make-RCU_BOOST-default-on-RT.patch index 83de0b98d..a96f4bdd6 100644 --- a/debian/patches-rt/0044-rcu-make-RCU_BOOST-default-on-RT.patch +++ b/debian/patches-rt/0044-rcu-make-RCU_BOOST-default-on-RT.patch @@ -1,11 +1,11 @@ -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 e526523e9b37dd8f44d62f77fde92263bf9c02bb Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 21 Mar 2014 20:19:05 +0100 -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 +Subject: [PATCH 044/329] rcu: make RCU_BOOST default on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0045-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch b/debian/patches-rt/0045-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch index d1f7aaea3..ab9e34185 100644 --- a/debian/patches-rt/0045-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch +++ b/debian/patches-rt/0045-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch @@ -1,11 +1,11 @@ -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 d3dc8f3b1baa6968fcd4780bf2d31bdf3050d7f1 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:03:52 +0200 -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 +Subject: [PATCH 045/329] sched: Disable CONFIG_RT_GROUP_SCHED on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Carsten reported problems when running: diff --git a/debian/patches-rt/0046-net-core-disable-NET_RX_BUSY_POLL.patch b/debian/patches-rt/0046-net-core-disable-NET_RX_BUSY_POLL.patch index c91c76193..6869b6643 100644 --- a/debian/patches-rt/0046-net-core-disable-NET_RX_BUSY_POLL.patch +++ b/debian/patches-rt/0046-net-core-disable-NET_RX_BUSY_POLL.patch @@ -1,14 +1,14 @@ -From fba0603919c5cd1dd19338e31cd405204034e64f Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 42e8a7d40e071b6783aa5ac83d6188be0ae3d61c Mon Sep 17 00:00:00 2001 +Message-Id: <42e8a7d40e071b6783aa5ac83d6188be0ae3d61c.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Sat, 27 May 2017 19:02:06 +0200 -Subject: [PATCH 046/330] net/core: disable NET_RX_BUSY_POLL +Subject: [PATCH 046/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz sk_busy_loop() does preempt_disable() followed by a few operations which can take sleeping locks and may get long. diff --git a/debian/patches-rt/0047-arm-disable-NEON-in-kernel-mode.patch b/debian/patches-rt/0047-arm-disable-NEON-in-kernel-mode.patch index 38fa4a247..bafdb6a95 100644 --- a/debian/patches-rt/0047-arm-disable-NEON-in-kernel-mode.patch +++ b/debian/patches-rt/0047-arm-disable-NEON-in-kernel-mode.patch @@ -1,11 +1,11 @@ -From e0099a0cce872afef4d3276a40c9e70daee9c123 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 5918302b4766f0f5e17df8105c65cd5c2597b72a Mon Sep 17 00:00:00 2001 +Message-Id: <5918302b4766f0f5e17df8105c65cd5c2597b72a.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 1 Dec 2017 10:42:03 +0100 -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 +Subject: [PATCH 047/329] arm*: disable NEON in kernel mode +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0048-powerpc-Use-generic-rwsem-on-RT.patch b/debian/patches-rt/0048-powerpc-Use-generic-rwsem-on-RT.patch index 989d6fdde..f4e9ee059 100644 --- a/debian/patches-rt/0048-powerpc-Use-generic-rwsem-on-RT.patch +++ b/debian/patches-rt/0048-powerpc-Use-generic-rwsem-on-RT.patch @@ -1,11 +1,11 @@ -From ec7330e84b7bbcb8457fd00e0587bfca8d4c91c3 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7b06e6d47b0282d98d760f57b6e09fcb2527a943 Mon Sep 17 00:00:00 2001 +Message-Id: <7b06e6d47b0282d98d760f57b6e09fcb2527a943.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 14 Jul 2015 14:26:34 +0200 -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 +Subject: [PATCH 048/329] powerpc: Use generic rwsem on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Use generic code which uses rtmutex diff --git a/debian/patches-rt/0049-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch b/debian/patches-rt/0049-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch index f956c5f05..575e7382c 100644 --- a/debian/patches-rt/0049-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch +++ b/debian/patches-rt/0049-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch @@ -1,12 +1,12 @@ -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 24faf9104542179355d175b583038573de4ccacf Mon Sep 17 00:00:00 2001 +Message-Id: <24faf9104542179355d175b583038573de4ccacf.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Bogdan Purcareata Date: Fri, 24 Apr 2015 15:53:13 +0000 -Subject: [PATCH 049/330] powerpc/kvm: Disable in-kernel MPIC emulation for +Subject: [PATCH 049/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch b/debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch index 36fdda128..8616f9bc5 100644 --- a/debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch +++ b/debian/patches-rt/0050-powerpc-Disable-highmem-on-RT.patch @@ -1,11 +1,11 @@ -From f1b2a43b677f6cb695ba312e57de2a0c09b98412 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From ff136e3ac7b3eecaf41868d7aa9a1df09386181d Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:08:34 +0200 -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 +Subject: [PATCH 050/329] powerpc: Disable highmem on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The current highmem handling on -RT is not compatible and needs fixups. diff --git a/debian/patches-rt/0051-mips-Disable-highmem-on-RT.patch b/debian/patches-rt/0051-mips-Disable-highmem-on-RT.patch index 8bce83c39..095e28091 100644 --- a/debian/patches-rt/0051-mips-Disable-highmem-on-RT.patch +++ b/debian/patches-rt/0051-mips-Disable-highmem-on-RT.patch @@ -1,11 +1,11 @@ -From e3fafbcb7f57fe9b2a70fd821d7a3499f7164ebf Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From bf22715f3c9c2ceb2fbe4338248a6fc80369c708 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:10:12 +0200 -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 +Subject: [PATCH 051/329] mips: Disable highmem on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The current highmem handling on -RT is not compatible and needs fixups. diff --git a/debian/patches-rt/0052-x86-Use-generic-rwsem_spinlocks-on-rt.patch b/debian/patches-rt/0052-x86-Use-generic-rwsem_spinlocks-on-rt.patch index 94a467ab1..1b64be320 100644 --- a/debian/patches-rt/0052-x86-Use-generic-rwsem_spinlocks-on-rt.patch +++ b/debian/patches-rt/0052-x86-Use-generic-rwsem_spinlocks-on-rt.patch @@ -1,11 +1,11 @@ -From e2affe0d3ea6818a9df69ff68211bed0fd505b2c Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From fe2b32241ea0797ff22b67eac8d314bc374c854a Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 26 Jul 2009 02:21:32 +0200 -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 +Subject: [PATCH 052/329] x86: Use generic rwsem_spinlocks on -rt +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Simplifies the separation of anon_rw_semaphores and rw_semaphores for -rt. diff --git a/debian/patches-rt/0053-leds-trigger-disable-CPU-trigger-on-RT.patch b/debian/patches-rt/0053-leds-trigger-disable-CPU-trigger-on-RT.patch index a8a08a2c9..3a908749f 100644 --- a/debian/patches-rt/0053-leds-trigger-disable-CPU-trigger-on-RT.patch +++ b/debian/patches-rt/0053-leds-trigger-disable-CPU-trigger-on-RT.patch @@ -1,11 +1,11 @@ -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 5b72bb93781b699ad039895e327ccc0ca866970b Mon Sep 17 00:00:00 2001 +Message-Id: <5b72bb93781b699ad039895e327ccc0ca866970b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 23 Jan 2014 14:45:59 +0100 -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 +Subject: [PATCH 053/329] leds: trigger: disable CPU trigger on -RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz as it triggers: |CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.8-rt10 #141 diff --git a/debian/patches-rt/0054-cpufreq-drop-K8-s-driver-from-beeing-selected.patch b/debian/patches-rt/0054-cpufreq-drop-K8-s-driver-from-beeing-selected.patch index 30d435a11..a8e5029e5 100644 --- a/debian/patches-rt/0054-cpufreq-drop-K8-s-driver-from-beeing-selected.patch +++ b/debian/patches-rt/0054-cpufreq-drop-K8-s-driver-from-beeing-selected.patch @@ -1,11 +1,11 @@ -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 cbe5992c8901a9a1a94d018817cf08bf3b4b67b5 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 9 Apr 2015 15:23:01 +0200 -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 +Subject: [PATCH 054/329] cpufreq: drop K8's driver from beeing selected +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Ralf posted a picture of a backtrace from diff --git a/debian/patches-rt/0055-md-disable-bcache.patch b/debian/patches-rt/0055-md-disable-bcache.patch index 1fb18ad38..77bd12c1e 100644 --- a/debian/patches-rt/0055-md-disable-bcache.patch +++ b/debian/patches-rt/0055-md-disable-bcache.patch @@ -1,14 +1,14 @@ -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 aff098564c44ccec507faea44195f42fe5641478 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 29 Aug 2013 11:48:57 +0200 -Subject: [PATCH 055/330] md: disable bcache +Subject: [PATCH 055/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz It uses anon semaphores |drivers/md/bcache/request.c: In function ‘cached_dev_write_complete’: diff --git a/debian/patches-rt/0056-efi-Disable-runtime-services-on-RT.patch b/debian/patches-rt/0056-efi-Disable-runtime-services-on-RT.patch index 3cfa41d38..11db346f6 100644 --- a/debian/patches-rt/0056-efi-Disable-runtime-services-on-RT.patch +++ b/debian/patches-rt/0056-efi-Disable-runtime-services-on-RT.patch @@ -1,11 +1,11 @@ -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 000a39fe9c2683f5c4e4d51e0556638f942661b4 Mon Sep 17 00:00:00 2001 +Message-Id: <000a39fe9c2683f5c4e4d51e0556638f942661b4.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 26 Jul 2018 15:03:16 +0200 -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 +Subject: [PATCH 056/329] efi: Disable runtime services on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Based on meassurements the EFI functions get_variable / get_next_variable take up to 2us which looks okay. @@ -32,7 +32,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c -index 3d5cbd3eedb4..555e45122bf5 100644 +index 22cf4dd07b03..a2e3e3b34562 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -87,7 +87,7 @@ struct mm_struct efi_mm = { diff --git a/debian/patches-rt/0057-printk-Add-a-printk-kill-switch.patch b/debian/patches-rt/0057-printk-Add-a-printk-kill-switch.patch index 3ae611503..984bbc912 100644 --- a/debian/patches-rt/0057-printk-Add-a-printk-kill-switch.patch +++ b/debian/patches-rt/0057-printk-Add-a-printk-kill-switch.patch @@ -1,11 +1,11 @@ -From be673afc886a3182fc5b0c8db43a81da033c8f0d Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4ffb1d59149f330e94cf7d65a55d7129cc29a07c Mon Sep 17 00:00:00 2001 +Message-Id: <4ffb1d59149f330e94cf7d65a55d7129cc29a07c.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Fri, 22 Jul 2011 17:58:40 +0200 -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 +Subject: [PATCH 057/329] printk: Add a printk kill switch +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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. diff --git a/debian/patches-rt/0058-printk-Add-force_early_printk-boot-param-to-help-wit.patch b/debian/patches-rt/0058-printk-Add-force_early_printk-boot-param-to-help-wit.patch index bfea3d9fd..cca2aa56d 100644 --- a/debian/patches-rt/0058-printk-Add-force_early_printk-boot-param-to-help-wit.patch +++ b/debian/patches-rt/0058-printk-Add-force_early_printk-boot-param-to-help-wit.patch @@ -1,12 +1,12 @@ -From b257f7a21e7846cefc9954c981ff6d79f6700fb4 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 71d2e16cc060770b11a4c867f3a5989141ee159b Mon Sep 17 00:00:00 2001 +Message-Id: <71d2e16cc060770b11a4c867f3a5989141ee159b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Peter Zijlstra Date: Fri, 2 Sep 2011 14:41:29 +0200 -Subject: [PATCH 058/330] printk: Add "force_early_printk" boot param to help +Subject: [PATCH 058/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Gives me an option to screw printk and actually see what the machine says. diff --git a/debian/patches-rt/0059-preempt-Provide-preempt_-_-no-rt-variants.patch b/debian/patches-rt/0059-preempt-Provide-preempt_-_-no-rt-variants.patch index 174fa4f5b..ed2084440 100644 --- a/debian/patches-rt/0059-preempt-Provide-preempt_-_-no-rt-variants.patch +++ b/debian/patches-rt/0059-preempt-Provide-preempt_-_-no-rt-variants.patch @@ -1,11 +1,11 @@ -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 34090a54f73194b31812d6a3f9970d1aafa34edc Mon Sep 17 00:00:00 2001 +Message-Id: <34090a54f73194b31812d6a3f9970d1aafa34edc.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 24 Jul 2009 12:38:56 +0200 -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 +Subject: [PATCH 059/329] preempt: Provide preempt_*_(no)rt variants +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz RT needs a few preempt_disable/enable points which are not necessary otherwise. Implement variants to avoid #ifdeffery. diff --git a/debian/patches-rt/0060-futex-workaround-migrate_disable-enable-in-different.patch b/debian/patches-rt/0060-futex-workaround-migrate_disable-enable-in-different.patch index 929e5b912..84472e388 100644 --- a/debian/patches-rt/0060-futex-workaround-migrate_disable-enable-in-different.patch +++ b/debian/patches-rt/0060-futex-workaround-migrate_disable-enable-in-different.patch @@ -1,12 +1,12 @@ -From d6a9cdf745cd79634b4581276a1fff7570beb85c Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 603f4c2d045a534af9b69a5996ee1f748e479353 Mon Sep 17 00:00:00 2001 +Message-Id: <603f4c2d045a534af9b69a5996ee1f748e479353.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 8 Mar 2017 14:23:35 +0100 -Subject: [PATCH 060/330] futex: workaround migrate_disable/enable in different +Subject: [PATCH 060/329] futex: workaround migrate_disable/enable in different context -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0061-rt-Add-local-irq-locks.patch b/debian/patches-rt/0061-rt-Add-local-irq-locks.patch index a1d41ca42..57a674983 100644 --- a/debian/patches-rt/0061-rt-Add-local-irq-locks.patch +++ b/debian/patches-rt/0061-rt-Add-local-irq-locks.patch @@ -1,11 +1,11 @@ -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 7fa2cc7cf2727d220551ce312905ea470ec0bc09 Mon Sep 17 00:00:00 2001 +Message-Id: <7fa2cc7cf2727d220551ce312905ea470ec0bc09.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Mon, 20 Jun 2011 09:03:47 +0200 -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 +Subject: [PATCH 061/329] rt: Add local irq locks +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0062-locallock-provide-get-put-_locked_ptr-variants.patch b/debian/patches-rt/0062-locallock-provide-get-put-_locked_ptr-variants.patch index 1e551615e..03d4a6a74 100644 --- a/debian/patches-rt/0062-locallock-provide-get-put-_locked_ptr-variants.patch +++ b/debian/patches-rt/0062-locallock-provide-get-put-_locked_ptr-variants.patch @@ -1,11 +1,11 @@ -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 d5e4aaae89b930a326c559c93a31a4161ee676f2 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julia Cartwright Date: Mon, 7 May 2018 08:58:56 -0500 -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 +Subject: [PATCH 062/329] locallock: provide {get,put}_locked_ptr() variants +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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. diff --git a/debian/patches-rt/0063-mm-scatterlist-Do-not-disable-irqs-on-RT.patch b/debian/patches-rt/0063-mm-scatterlist-Do-not-disable-irqs-on-RT.patch index e69695076..fda59022c 100644 --- a/debian/patches-rt/0063-mm-scatterlist-Do-not-disable-irqs-on-RT.patch +++ b/debian/patches-rt/0063-mm-scatterlist-Do-not-disable-irqs-on-RT.patch @@ -1,11 +1,11 @@ -From d8c286fb8afb9a25878451e26616b96f9bf2b38e Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 16071d673e3c362fce46ecd14dade1f535c3871e Mon Sep 17 00:00:00 2001 +Message-Id: <16071d673e3c362fce46ecd14dade1f535c3871e.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:34 -0500 -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 +Subject: [PATCH 063/329] mm/scatterlist: Do not disable irqs on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz For -RT it is enough to keep pagefault disabled (which is currently handled by kmap_atomic()). diff --git a/debian/patches-rt/0064-signal-x86-Delay-calling-signals-in-atomic.patch b/debian/patches-rt/0064-signal-x86-Delay-calling-signals-in-atomic.patch index 7e999bdd6..355619489 100644 --- a/debian/patches-rt/0064-signal-x86-Delay-calling-signals-in-atomic.patch +++ b/debian/patches-rt/0064-signal-x86-Delay-calling-signals-in-atomic.patch @@ -1,11 +1,11 @@ -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 139479d76d767ceae115de7929cf34220233ab1f Mon Sep 17 00:00:00 2001 +Message-Id: <139479d76d767ceae115de7929cf34220233ab1f.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Oleg Nesterov Date: Tue, 14 Jul 2015 14:26:34 +0200 -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 +Subject: [PATCH 064/329] signal/x86: Delay calling signals in atomic +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0065-x86-signal-delay-calling-signals-on-32bit.patch b/debian/patches-rt/0065-x86-signal-delay-calling-signals-on-32bit.patch index 26c63187c..8e4af62cd 100644 --- a/debian/patches-rt/0065-x86-signal-delay-calling-signals-on-32bit.patch +++ b/debian/patches-rt/0065-x86-signal-delay-calling-signals-on-32bit.patch @@ -1,11 +1,11 @@ -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 438ef86de6bb44a4e122dc430e6fdd9d17612656 Mon Sep 17 00:00:00 2001 +Message-Id: <438ef86de6bb44a4e122dc430e6fdd9d17612656.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Yang Shi Date: Thu, 10 Dec 2015 10:58:51 -0800 -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 +Subject: [PATCH 065/329] x86/signal: delay calling signals on 32bit +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz When running some ptrace single step tests on x86-32 machine, the below problem is triggered: diff --git a/debian/patches-rt/0066-buffer_head-Replace-bh_uptodate_lock-for-rt.patch b/debian/patches-rt/0066-buffer_head-Replace-bh_uptodate_lock-for-rt.patch index a3517fab2..d971669f9 100644 --- a/debian/patches-rt/0066-buffer_head-Replace-bh_uptodate_lock-for-rt.patch +++ b/debian/patches-rt/0066-buffer_head-Replace-bh_uptodate_lock-for-rt.patch @@ -1,11 +1,11 @@ -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 007865c6e1bdc90fdff24aa16899d34d3ac41db4 Mon Sep 17 00:00:00 2001 +Message-Id: <007865c6e1bdc90fdff24aa16899d34d3ac41db4.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 18 Mar 2011 09:18:52 +0100 -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 +Subject: [PATCH 066/329] buffer_head: Replace bh_uptodate_lock for -rt +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Wrap the bit_spin_lock calls into a separate inline and add the RT replacements with a real spinlock. diff --git a/debian/patches-rt/0067-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch b/debian/patches-rt/0067-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch index 07c85a2a1..e26f4a75c 100644 --- a/debian/patches-rt/0067-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch +++ b/debian/patches-rt/0067-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch @@ -1,12 +1,12 @@ -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 20e223c31710fe0d220cf31f56ea32ef0c61c991 Mon Sep 17 00:00:00 2001 +Message-Id: <20e223c31710fe0d220cf31f56ea32ef0c61c991.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 18 Mar 2011 10:11:25 +0100 -Subject: [PATCH 067/330] fs: jbd/jbd2: Make state lock and journal head lock +Subject: [PATCH 067/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz bit_spin_locks break under RT. diff --git a/debian/patches-rt/0068-list_bl-Make-list-head-locking-RT-safe.patch b/debian/patches-rt/0068-list_bl-Make-list-head-locking-RT-safe.patch index 9241aee2c..88594b418 100644 --- a/debian/patches-rt/0068-list_bl-Make-list-head-locking-RT-safe.patch +++ b/debian/patches-rt/0068-list_bl-Make-list-head-locking-RT-safe.patch @@ -1,11 +1,11 @@ -From d7dbda4307c7d2330cf192e6d04d34f788dfbdea Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 9f2cbdda6b8144d29072afe1527c5dbe54f1bc8f Mon Sep 17 00:00:00 2001 +Message-Id: <9f2cbdda6b8144d29072afe1527c5dbe54f1bc8f.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Paul Gortmaker Date: Fri, 21 Jun 2013 15:07:25 -0400 -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 +Subject: [PATCH 068/329] list_bl: Make list head locking RT safe +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.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 diff --git a/debian/patches-rt/0069-list_bl-fixup-bogus-lockdep-warning.patch b/debian/patches-rt/0069-list_bl-fixup-bogus-lockdep-warning.patch index 52eae2fb0..55af8980e 100644 --- a/debian/patches-rt/0069-list_bl-fixup-bogus-lockdep-warning.patch +++ b/debian/patches-rt/0069-list_bl-fixup-bogus-lockdep-warning.patch @@ -1,11 +1,11 @@ -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 cf5d4a1b169ff7de5df4b8660e3481af31a2b31c Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Josh Cartwright Date: Thu, 31 Mar 2016 00:04:25 -0500 -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 +Subject: [PATCH 069/329] list_bl: fixup bogus lockdep warning +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz At first glance, the use of 'static inline' seems appropriate for INIT_HLIST_BL_HEAD(). diff --git a/debian/patches-rt/0070-genirq-Disable-irqpoll-on-rt.patch b/debian/patches-rt/0070-genirq-Disable-irqpoll-on-rt.patch index 2e8d93235..e647548a9 100644 --- a/debian/patches-rt/0070-genirq-Disable-irqpoll-on-rt.patch +++ b/debian/patches-rt/0070-genirq-Disable-irqpoll-on-rt.patch @@ -1,11 +1,11 @@ -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 7c927f69c47dec2b3a90373d1c0749a88b8e27e2 Mon Sep 17 00:00:00 2001 +Message-Id: <7c927f69c47dec2b3a90373d1c0749a88b8e27e2.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:57 -0500 -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 +Subject: [PATCH 070/329] genirq: Disable irqpoll on -rt +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Creates long latencies for no value diff --git a/debian/patches-rt/0071-genirq-Force-interrupt-thread-on-RT.patch b/debian/patches-rt/0071-genirq-Force-interrupt-thread-on-RT.patch index 9e017b8d5..5be2cb9a4 100644 --- a/debian/patches-rt/0071-genirq-Force-interrupt-thread-on-RT.patch +++ b/debian/patches-rt/0071-genirq-Force-interrupt-thread-on-RT.patch @@ -1,11 +1,11 @@ -From e6e7eb166022fa841ca4b929eb6bc22951a46275 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 5ba03b8944101e0f576b7b359eaf19543a7fee9b Mon Sep 17 00:00:00 2001 +Message-Id: <5ba03b8944101e0f576b7b359eaf19543a7fee9b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 3 Apr 2011 11:57:29 +0200 -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 +Subject: [PATCH 071/329] genirq: Force interrupt thread on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Force threaded_irqs and optimize the code (force_irqthreads) in regard to this. diff --git a/debian/patches-rt/0072-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch b/debian/patches-rt/0072-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch index 681095559..1d4f2491d 100644 --- a/debian/patches-rt/0072-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch +++ b/debian/patches-rt/0072-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch @@ -1,12 +1,12 @@ -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 82fff72073846080cecc7ffa0f3ed27724de4a9b Mon Sep 17 00:00:00 2001 +Message-Id: <82fff72073846080cecc7ffa0f3ed27724de4a9b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Peter Zijlstra Date: Mon, 28 May 2018 15:24:20 +0200 -Subject: [PATCH 072/330] Split IRQ-off and zone->lock while freeing pages from +Subject: [PATCH 072/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Split the IRQ-off section while accessing the PCP list from zone->lock while freeing pages. @@ -21,7 +21,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 52 insertions(+), 30 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index d8c3051387d1..2a543a376a40 100644 +index 7181dfe76440..bab65ef53eda 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1095,7 +1095,7 @@ static inline void prefetch_buddy(struct page *page) @@ -115,7 +115,7 @@ index d8c3051387d1..2a543a376a40 100644 } static void free_one_page(struct zone *zone, -@@ -2545,13 +2552,18 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) +@@ -2540,13 +2547,18 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) { unsigned long flags; int to_drain, batch; @@ -135,7 +135,7 @@ index d8c3051387d1..2a543a376a40 100644 } #endif -@@ -2567,14 +2579,21 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone) +@@ -2562,14 +2574,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; @@ -159,7 +159,7 @@ index d8c3051387d1..2a543a376a40 100644 } /* -@@ -2796,7 +2815,10 @@ static void free_unref_page_commit(struct page *page, unsigned long pfn) +@@ -2791,7 +2810,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); diff --git a/debian/patches-rt/0073-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch b/debian/patches-rt/0073-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch index 2fc5f76dd..3b961d754 100644 --- a/debian/patches-rt/0073-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch +++ b/debian/patches-rt/0073-Split-IRQ-off-and-zone-lock-while-freeing-pages-from.patch @@ -1,12 +1,12 @@ -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 1212c4e9c6d7769a6b923e0bea6b8791b7395b90 Mon Sep 17 00:00:00 2001 +Message-Id: <1212c4e9c6d7769a6b923e0bea6b8791b7395b90.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Peter Zijlstra Date: Mon, 28 May 2018 15:24:21 +0200 -Subject: [PATCH 073/330] Split IRQ-off and zone->lock while freeing pages from +Subject: [PATCH 073/329] 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Split the IRQ-off section while accessing the PCP list from zone->lock while freeing pages. @@ -21,7 +21,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 50 insertions(+), 10 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 2a543a376a40..62b39e3e5cea 100644 +index bab65ef53eda..6c45b7713e56 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1105,8 +1105,8 @@ static inline void prefetch_buddy(struct page *page) @@ -63,7 +63,7 @@ index 2a543a376a40..62b39e3e5cea 100644 __free_one_page(page, page_to_pfn(page), zone, 0, mt); trace_mm_page_pcpu_drain(page, 0, mt); } -@@ -2563,7 +2578,7 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) +@@ -2558,7 +2573,7 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) local_irq_restore(flags); if (to_drain > 0) @@ -72,7 +72,7 @@ index 2a543a376a40..62b39e3e5cea 100644 } #endif -@@ -2593,7 +2608,7 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone) +@@ -2588,7 +2603,7 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone) local_irq_restore(flags); if (count) @@ -81,7 +81,7 @@ index 2a543a376a40..62b39e3e5cea 100644 } /* -@@ -2786,7 +2801,8 @@ static bool free_unref_page_prepare(struct page *page, unsigned long pfn) +@@ -2781,7 +2796,8 @@ static bool free_unref_page_prepare(struct page *page, unsigned long pfn) return true; } @@ -91,7 +91,7 @@ index 2a543a376a40..62b39e3e5cea 100644 { struct zone *zone = page_zone(page); struct per_cpu_pages *pcp; -@@ -2815,10 +2831,8 @@ static void free_unref_page_commit(struct page *page, unsigned long pfn) +@@ -2810,10 +2826,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); @@ -103,7 +103,7 @@ index 2a543a376a40..62b39e3e5cea 100644 } } -@@ -2829,13 +2843,17 @@ void free_unref_page(struct page *page) +@@ -2824,13 +2838,17 @@ void free_unref_page(struct page *page) { unsigned long flags; unsigned long pfn = page_to_pfn(page); @@ -122,7 +122,7 @@ index 2a543a376a40..62b39e3e5cea 100644 } /* -@@ -2846,6 +2864,11 @@ void free_unref_page_list(struct list_head *list) +@@ -2841,6 +2859,11 @@ void free_unref_page_list(struct list_head *list) struct page *page, *next; unsigned long flags, pfn; int batch_count = 0; @@ -134,7 +134,7 @@ index 2a543a376a40..62b39e3e5cea 100644 /* Prepare pages for freeing */ list_for_each_entry_safe(page, next, list, lru) { -@@ -2858,10 +2881,12 @@ void free_unref_page_list(struct list_head *list) +@@ -2853,10 +2876,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); @@ -148,7 +148,7 @@ index 2a543a376a40..62b39e3e5cea 100644 /* * Guard against excessive IRQ disabled times when we get -@@ -2874,6 +2899,21 @@ void free_unref_page_list(struct list_head *list) +@@ -2869,6 +2894,21 @@ void free_unref_page_list(struct list_head *list) } } local_irq_restore(flags); diff --git a/debian/patches-rt/0074-mm-SLxB-change-list_lock-to-raw_spinlock_t.patch b/debian/patches-rt/0074-mm-SLxB-change-list_lock-to-raw_spinlock_t.patch index 8ef57bacf..d1facdea5 100644 --- a/debian/patches-rt/0074-mm-SLxB-change-list_lock-to-raw_spinlock_t.patch +++ b/debian/patches-rt/0074-mm-SLxB-change-list_lock-to-raw_spinlock_t.patch @@ -1,11 +1,11 @@ -From 39ebbedf9476b543cc534b642872b6467de93810 Mon Sep 17 00:00:00 2001 -Message-Id: <39ebbedf9476b543cc534b642872b6467de93810.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6b1bf65d021e071dccf657fbae57841973070648 Mon Sep 17 00:00:00 2001 +Message-Id: <6b1bf65d021e071dccf657fbae57841973070648.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Mon, 28 May 2018 15:24:22 +0200 -Subject: [PATCH 074/330] mm/SLxB: change list_lock to raw_spinlock_t -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 074/329] mm/SLxB: change list_lock to raw_spinlock_t +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The list_lock is used with used with IRQs off on RT. Make it a raw_spinlock_t otherwise the interrupts won't be disabled on -RT. The locking rules remain @@ -402,10 +402,10 @@ index 9632772e14be..d6b01d61f768 100644 #ifdef CONFIG_SLAB struct list_head slabs_partial; /* partial list first, better asm code */ diff --git a/mm/slub.c b/mm/slub.c -index d8116a43a287..83ca3f1c0d86 100644 +index 882a1e0ae89c..66416eff4818 100644 --- a/mm/slub.c +++ b/mm/slub.c -@@ -1167,7 +1167,7 @@ static noinline int free_debug_processing( +@@ -1181,7 +1181,7 @@ static noinline int free_debug_processing( unsigned long uninitialized_var(flags); int ret = 0; @@ -414,7 +414,7 @@ index d8116a43a287..83ca3f1c0d86 100644 slab_lock(page); if (s->flags & SLAB_CONSISTENCY_CHECKS) { -@@ -1202,7 +1202,7 @@ static noinline int free_debug_processing( +@@ -1216,7 +1216,7 @@ static noinline int free_debug_processing( bulk_cnt, cnt); slab_unlock(page); @@ -423,7 +423,7 @@ index d8116a43a287..83ca3f1c0d86 100644 if (!ret) slab_fix(s, "Object at 0x%p not freed", object); return ret; -@@ -1802,7 +1802,7 @@ static void *get_partial_node(struct kmem_cache *s, struct kmem_cache_node *n, +@@ -1821,7 +1821,7 @@ static void *get_partial_node(struct kmem_cache *s, struct kmem_cache_node *n, if (!n || !n->nr_partial) return NULL; @@ -432,7 +432,7 @@ index d8116a43a287..83ca3f1c0d86 100644 list_for_each_entry_safe(page, page2, &n->partial, lru) { void *t; -@@ -1827,7 +1827,7 @@ static void *get_partial_node(struct kmem_cache *s, struct kmem_cache_node *n, +@@ -1846,7 +1846,7 @@ static void *get_partial_node(struct kmem_cache *s, struct kmem_cache_node *n, break; } @@ -441,7 +441,7 @@ index d8116a43a287..83ca3f1c0d86 100644 return object; } -@@ -2071,7 +2071,7 @@ static void deactivate_slab(struct kmem_cache *s, struct page *page, +@@ -2098,7 +2098,7 @@ static void deactivate_slab(struct kmem_cache *s, struct page *page, * that acquire_slab() will see a slab page that * is frozen */ @@ -450,7 +450,7 @@ index d8116a43a287..83ca3f1c0d86 100644 } } else { m = M_FULL; -@@ -2082,7 +2082,7 @@ static void deactivate_slab(struct kmem_cache *s, struct page *page, +@@ -2109,7 +2109,7 @@ static void deactivate_slab(struct kmem_cache *s, struct page *page, * slabs from diagnostic functions will not see * any frozen slabs. */ @@ -459,7 +459,7 @@ index d8116a43a287..83ca3f1c0d86 100644 } } -@@ -2117,7 +2117,7 @@ static void deactivate_slab(struct kmem_cache *s, struct page *page, +@@ -2144,7 +2144,7 @@ static void deactivate_slab(struct kmem_cache *s, struct page *page, goto redo; if (lock) @@ -468,7 +468,7 @@ index d8116a43a287..83ca3f1c0d86 100644 if (m == M_FREE) { stat(s, DEACTIVATE_EMPTY); -@@ -2152,10 +2152,10 @@ static void unfreeze_partials(struct kmem_cache *s, +@@ -2179,10 +2179,10 @@ static void unfreeze_partials(struct kmem_cache *s, n2 = get_node(s, page_to_nid(page)); if (n != n2) { if (n) @@ -481,7 +481,7 @@ index d8116a43a287..83ca3f1c0d86 100644 } do { -@@ -2184,7 +2184,7 @@ static void unfreeze_partials(struct kmem_cache *s, +@@ -2211,7 +2211,7 @@ static void unfreeze_partials(struct kmem_cache *s, } if (n) @@ -490,7 +490,7 @@ index d8116a43a287..83ca3f1c0d86 100644 while (discard_page) { page = discard_page; -@@ -2353,10 +2353,10 @@ static unsigned long count_partial(struct kmem_cache_node *n, +@@ -2380,10 +2380,10 @@ static unsigned long count_partial(struct kmem_cache_node *n, unsigned long x = 0; struct page *page; @@ -503,7 +503,7 @@ index d8116a43a287..83ca3f1c0d86 100644 return x; } #endif /* CONFIG_SLUB_DEBUG || CONFIG_SYSFS */ -@@ -2801,7 +2801,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page, +@@ -2828,7 +2828,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page, do { if (unlikely(n)) { @@ -512,7 +512,7 @@ index d8116a43a287..83ca3f1c0d86 100644 n = NULL; } prior = page->freelist; -@@ -2833,7 +2833,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page, +@@ -2860,7 +2860,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page, * Otherwise the list_lock will synchronize with * other processors updating the list of slabs. */ @@ -521,7 +521,7 @@ index d8116a43a287..83ca3f1c0d86 100644 } } -@@ -2875,7 +2875,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page, +@@ -2902,7 +2902,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page, add_partial(n, page, DEACTIVATE_TO_TAIL); stat(s, FREE_ADD_PARTIAL); } @@ -530,7 +530,7 @@ index d8116a43a287..83ca3f1c0d86 100644 return; slab_empty: -@@ -2890,7 +2890,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page, +@@ -2917,7 +2917,7 @@ static void __slab_free(struct kmem_cache *s, struct page *page, remove_full(s, n, page); } @@ -539,7 +539,7 @@ index d8116a43a287..83ca3f1c0d86 100644 stat(s, FREE_SLAB); discard_slab(s, page); } -@@ -3288,7 +3288,7 @@ static void +@@ -3315,7 +3315,7 @@ static void init_kmem_cache_node(struct kmem_cache_node *n) { n->nr_partial = 0; @@ -548,7 +548,7 @@ index d8116a43a287..83ca3f1c0d86 100644 INIT_LIST_HEAD(&n->partial); #ifdef CONFIG_SLUB_DEBUG atomic_long_set(&n->nr_slabs, 0); -@@ -3675,7 +3675,7 @@ static void free_partial(struct kmem_cache *s, struct kmem_cache_node *n) +@@ -3702,7 +3702,7 @@ static void free_partial(struct kmem_cache *s, struct kmem_cache_node *n) struct page *page, *h; BUG_ON(irqs_disabled()); @@ -557,7 +557,7 @@ index d8116a43a287..83ca3f1c0d86 100644 list_for_each_entry_safe(page, h, &n->partial, lru) { if (!page->inuse) { remove_partial(n, page); -@@ -3685,7 +3685,7 @@ static void free_partial(struct kmem_cache *s, struct kmem_cache_node *n) +@@ -3712,7 +3712,7 @@ static void free_partial(struct kmem_cache *s, struct kmem_cache_node *n) "Objects remaining in %s on __kmem_cache_shutdown()"); } } @@ -566,7 +566,7 @@ index d8116a43a287..83ca3f1c0d86 100644 list_for_each_entry_safe(page, h, &discard, lru) discard_slab(s, page); -@@ -3958,7 +3958,7 @@ int __kmem_cache_shrink(struct kmem_cache *s) +@@ -3985,7 +3985,7 @@ int __kmem_cache_shrink(struct kmem_cache *s) for (i = 0; i < SHRINK_PROMOTE_MAX; i++) INIT_LIST_HEAD(promote + i); @@ -575,7 +575,7 @@ index d8116a43a287..83ca3f1c0d86 100644 /* * Build lists of slabs to discard or promote. -@@ -3989,7 +3989,7 @@ int __kmem_cache_shrink(struct kmem_cache *s) +@@ -4016,7 +4016,7 @@ int __kmem_cache_shrink(struct kmem_cache *s) for (i = SHRINK_PROMOTE_MAX - 1; i >= 0; i--) list_splice(promote + i, &n->partial); @@ -584,7 +584,7 @@ index d8116a43a287..83ca3f1c0d86 100644 /* Release empty slabs */ list_for_each_entry_safe(page, t, &discard, lru) -@@ -4403,7 +4403,7 @@ static int validate_slab_node(struct kmem_cache *s, +@@ -4430,7 +4430,7 @@ static int validate_slab_node(struct kmem_cache *s, struct page *page; unsigned long flags; @@ -593,7 +593,7 @@ index d8116a43a287..83ca3f1c0d86 100644 list_for_each_entry(page, &n->partial, lru) { validate_slab_slab(s, page, map); -@@ -4425,7 +4425,7 @@ static int validate_slab_node(struct kmem_cache *s, +@@ -4452,7 +4452,7 @@ static int validate_slab_node(struct kmem_cache *s, s->name, count, atomic_long_read(&n->nr_slabs)); out: @@ -602,7 +602,7 @@ index d8116a43a287..83ca3f1c0d86 100644 return count; } -@@ -4615,12 +4615,12 @@ static int list_locations(struct kmem_cache *s, char *buf, +@@ -4642,12 +4642,12 @@ static int list_locations(struct kmem_cache *s, char *buf, if (!atomic_long_read(&n->nr_slabs)) continue; diff --git a/debian/patches-rt/0075-mm-SLUB-delay-giving-back-empty-slubs-to-IRQ-enabled.patch b/debian/patches-rt/0075-mm-SLUB-delay-giving-back-empty-slubs-to-IRQ-enabled.patch index f228eeb39..334d000c1 100644 --- a/debian/patches-rt/0075-mm-SLUB-delay-giving-back-empty-slubs-to-IRQ-enabled.patch +++ b/debian/patches-rt/0075-mm-SLUB-delay-giving-back-empty-slubs-to-IRQ-enabled.patch @@ -1,12 +1,12 @@ -From 7b367dfb1943353fa3ba380009621330359ebb3e Mon Sep 17 00:00:00 2001 -Message-Id: <7b367dfb1943353fa3ba380009621330359ebb3e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 1b9d60f29367a7b27d8a716a5d70daa700e744d8 Mon Sep 17 00:00:00 2001 +Message-Id: <1b9d60f29367a7b27d8a716a5d70daa700e744d8.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 21 Jun 2018 17:29:19 +0200 -Subject: [PATCH 075/330] mm/SLUB: delay giving back empty slubs to IRQ enabled +Subject: [PATCH 075/329] mm/SLUB: delay giving back empty slubs to IRQ enabled regions -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz __free_slab() is invoked with disabled interrupts which increases the irq-off time while __free_pages() is doing the work. @@ -21,11 +21,11 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 69 insertions(+), 5 deletions(-) diff --git a/mm/slub.c b/mm/slub.c -index 83ca3f1c0d86..7a0706ccdf30 100644 +index 66416eff4818..b890fe5f9cd3 100644 --- a/mm/slub.c +++ b/mm/slub.c -@@ -1330,6 +1330,12 @@ static inline void dec_slabs_node(struct kmem_cache *s, int node, - +@@ -1349,6 +1349,12 @@ static bool freelist_corrupted(struct kmem_cache *s, struct page *page, + } #endif /* CONFIG_SLUB_DEBUG */ +struct slub_free_list { @@ -37,7 +37,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 /* * Hooks for other subsystems that check memory allocations. In a typical * production configuration these hooks all should produce no code at all. -@@ -1684,6 +1690,16 @@ static void __free_slab(struct kmem_cache *s, struct page *page) +@@ -1703,6 +1709,16 @@ static void __free_slab(struct kmem_cache *s, struct page *page) __free_pages(page, order); } @@ -54,7 +54,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 static void rcu_free_slab(struct rcu_head *h) { struct page *page = container_of(h, struct page, rcu_head); -@@ -1695,6 +1711,12 @@ static void free_slab(struct kmem_cache *s, struct page *page) +@@ -1714,6 +1730,12 @@ static void free_slab(struct kmem_cache *s, struct page *page) { if (unlikely(s->flags & SLAB_TYPESAFE_BY_RCU)) { call_rcu(&page->rcu_head, rcu_free_slab); @@ -67,7 +67,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 } else __free_slab(s, page); } -@@ -2221,14 +2243,21 @@ static void put_cpu_partial(struct kmem_cache *s, struct page *page, int drain) +@@ -2248,14 +2270,21 @@ static void put_cpu_partial(struct kmem_cache *s, struct page *page, int drain) pobjects = oldpage->pobjects; pages = oldpage->pages; if (drain && pobjects > s->cpu_partial) { @@ -89,7 +89,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 oldpage = NULL; pobjects = 0; pages = 0; -@@ -2298,7 +2327,22 @@ static bool has_cpu_slab(int cpu, void *info) +@@ -2325,7 +2354,22 @@ static bool has_cpu_slab(int cpu, void *info) static void flush_all(struct kmem_cache *s) { @@ -112,7 +112,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 } /* -@@ -2496,8 +2540,10 @@ static inline void *get_freelist(struct kmem_cache *s, struct page *page) +@@ -2523,8 +2567,10 @@ static inline void *get_freelist(struct kmem_cache *s, struct page *page) * already disabled (which is the case for bulk allocation). */ static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, @@ -124,7 +124,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 void *freelist; struct page *page; -@@ -2563,6 +2609,13 @@ static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, +@@ -2590,6 +2636,13 @@ static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, VM_BUG_ON(!c->page->frozen); c->freelist = get_freepointer(s, freelist); c->tid = next_tid(c->tid); @@ -138,7 +138,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 return freelist; new_slab: -@@ -2578,7 +2631,7 @@ static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, +@@ -2605,7 +2658,7 @@ static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, if (unlikely(!freelist)) { slab_out_of_memory(s, gfpflags, node); @@ -147,7 +147,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 } page = c->page; -@@ -2591,7 +2644,7 @@ static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, +@@ -2618,7 +2671,7 @@ static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, goto new_slab; /* Slab failed checks. Next slab needed */ deactivate_slab(s, page, get_freepointer(s, freelist), c); @@ -156,7 +156,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 } /* -@@ -2603,6 +2656,7 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, +@@ -2630,6 +2683,7 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, { void *p; unsigned long flags; @@ -164,7 +164,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 local_irq_save(flags); #ifdef CONFIG_PREEMPT -@@ -2614,8 +2668,9 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, +@@ -2641,8 +2695,9 @@ static void *__slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, c = this_cpu_ptr(s->cpu_slab); #endif @@ -175,7 +175,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 return p; } -@@ -3095,6 +3150,7 @@ int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, +@@ -3122,6 +3177,7 @@ int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, void **p) { struct kmem_cache_cpu *c; @@ -183,7 +183,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 int i; /* memcg and kmem_cache debug support */ -@@ -3127,7 +3183,7 @@ int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, +@@ -3154,7 +3210,7 @@ int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, * of re-populating per CPU c->freelist */ p[i] = ___slab_alloc(s, flags, NUMA_NO_NODE, @@ -192,7 +192,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 if (unlikely(!p[i])) goto error; -@@ -3139,6 +3195,7 @@ int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, +@@ -3166,6 +3222,7 @@ int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, } c->tid = next_tid(c->tid); local_irq_enable(); @@ -200,7 +200,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 /* Clear memory outside IRQ disabled fastpath loop */ if (unlikely(flags & __GFP_ZERO)) { -@@ -3153,6 +3210,7 @@ int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, +@@ -3180,6 +3237,7 @@ int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, return i; error: local_irq_enable(); @@ -208,7 +208,7 @@ index 83ca3f1c0d86..7a0706ccdf30 100644 slab_post_alloc_hook(s, flags, i, p); __kmem_cache_free_bulk(s, i, p); return 0; -@@ -4202,6 +4260,12 @@ void __init kmem_cache_init(void) +@@ -4229,6 +4287,12 @@ void __init kmem_cache_init(void) { static __initdata struct kmem_cache boot_kmem_cache, boot_kmem_cache_node; diff --git a/debian/patches-rt/0076-mm-page_alloc-rt-friendly-per-cpu-pages.patch b/debian/patches-rt/0076-mm-page_alloc-rt-friendly-per-cpu-pages.patch index 54848eda5..1a56f0946 100644 --- a/debian/patches-rt/0076-mm-page_alloc-rt-friendly-per-cpu-pages.patch +++ b/debian/patches-rt/0076-mm-page_alloc-rt-friendly-per-cpu-pages.patch @@ -1,11 +1,11 @@ -From abda1f47485a78498dde5581c2b61f1f22454778 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2fed6ba2f350959239f45b5e4d5dc888b23cb153 Mon Sep 17 00:00:00 2001 +Message-Id: <2fed6ba2f350959239f45b5e4d5dc888b23cb153.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:37 -0500 -Subject: [PATCH 076/330] mm: page_alloc: rt-friendly per-cpu pages -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 076/329] mm: page_alloc: rt-friendly per-cpu pages +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz rt-friendly per-cpu pages: convert the irqs-off per-cpu locking method into a preemptible, explicit-per-cpu-locks method. @@ -21,7 +21,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 43 insertions(+), 20 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 62b39e3e5cea..0aad0dbd8bf4 100644 +index 6c45b7713e56..63bf99bdcabc 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -60,6 +60,7 @@ @@ -64,7 +64,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 } static void __init __free_pages_boot_core(struct page *page, unsigned int order) -@@ -2569,13 +2582,13 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) +@@ -2564,13 +2577,13 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) int to_drain, batch; LIST_HEAD(dst); @@ -80,7 +80,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 if (to_drain > 0) free_pcppages_bulk(zone, &dst, false); -@@ -2597,7 +2610,7 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone) +@@ -2592,7 +2605,7 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone) LIST_HEAD(dst); int count; @@ -89,7 +89,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 pset = per_cpu_ptr(zone->pageset, cpu); pcp = &pset->pcp; -@@ -2605,7 +2618,7 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone) +@@ -2600,7 +2613,7 @@ static void drain_pages_zone(unsigned int cpu, struct zone *zone) if (count) isolate_pcp_pages(count, pcp, &dst); @@ -98,7 +98,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 if (count) free_pcppages_bulk(zone, &dst, false); -@@ -2643,6 +2656,7 @@ void drain_local_pages(struct zone *zone) +@@ -2638,6 +2651,7 @@ void drain_local_pages(struct zone *zone) drain_pages(cpu); } @@ -106,7 +106,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 static void drain_local_pages_wq(struct work_struct *work) { /* -@@ -2656,6 +2670,7 @@ static void drain_local_pages_wq(struct work_struct *work) +@@ -2651,6 +2665,7 @@ static void drain_local_pages_wq(struct work_struct *work) drain_local_pages(NULL); preempt_enable(); } @@ -114,7 +114,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 /* * Spill all the per-cpu pages from all CPUs back into the buddy allocator. -@@ -2722,7 +2737,14 @@ void drain_all_pages(struct zone *zone) +@@ -2717,7 +2732,14 @@ void drain_all_pages(struct zone *zone) else cpumask_clear_cpu(cpu, &cpus_with_pcps); } @@ -130,7 +130,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 for_each_cpu(cpu, &cpus_with_pcps) { struct work_struct *work = per_cpu_ptr(&pcpu_drain, cpu); INIT_WORK(work, drain_local_pages_wq); -@@ -2730,6 +2752,7 @@ void drain_all_pages(struct zone *zone) +@@ -2725,6 +2747,7 @@ void drain_all_pages(struct zone *zone) } for_each_cpu(cpu, &cpus_with_pcps) flush_work(per_cpu_ptr(&pcpu_drain, cpu)); @@ -138,7 +138,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 mutex_unlock(&pcpu_drain_mutex); } -@@ -2849,9 +2872,9 @@ void free_unref_page(struct page *page) +@@ -2844,9 +2867,9 @@ void free_unref_page(struct page *page) if (!free_unref_page_prepare(page, pfn)) return; @@ -150,7 +150,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 if (!list_empty(&dst)) free_pcppages_bulk(zone, &dst, false); } -@@ -2878,7 +2901,7 @@ void free_unref_page_list(struct list_head *list) +@@ -2873,7 +2896,7 @@ void free_unref_page_list(struct list_head *list) set_page_private(page, pfn); } @@ -159,7 +159,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 list_for_each_entry_safe(page, next, list, lru) { unsigned long pfn = page_private(page); enum zone_type type; -@@ -2893,12 +2916,12 @@ void free_unref_page_list(struct list_head *list) +@@ -2888,12 +2911,12 @@ void free_unref_page_list(struct list_head *list) * a large list of pages to free. */ if (++batch_count == SWAP_CLUSTER_MAX) { @@ -175,7 +175,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 for (i = 0; i < __MAX_NR_ZONES; ) { struct page *page; -@@ -3047,7 +3070,7 @@ static struct page *rmqueue_pcplist(struct zone *preferred_zone, +@@ -3042,7 +3065,7 @@ static struct page *rmqueue_pcplist(struct zone *preferred_zone, struct page *page; unsigned long flags; @@ -184,7 +184,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 pcp = &this_cpu_ptr(zone->pageset)->pcp; list = &pcp->lists[migratetype]; page = __rmqueue_pcplist(zone, migratetype, pcp, list); -@@ -3055,7 +3078,7 @@ static struct page *rmqueue_pcplist(struct zone *preferred_zone, +@@ -3050,7 +3073,7 @@ static struct page *rmqueue_pcplist(struct zone *preferred_zone, __count_zid_vm_events(PGALLOC, page_zonenum(page), 1 << order); zone_statistics(preferred_zone, zone); } @@ -193,7 +193,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 return page; } -@@ -3082,7 +3105,7 @@ struct page *rmqueue(struct zone *preferred_zone, +@@ -3077,7 +3100,7 @@ struct page *rmqueue(struct zone *preferred_zone, * allocate greater than order-1 page units with __GFP_NOFAIL. */ WARN_ON_ONCE((gfp_flags & __GFP_NOFAIL) && (order > 1)); @@ -202,7 +202,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 do { page = NULL; -@@ -3102,14 +3125,14 @@ struct page *rmqueue(struct zone *preferred_zone, +@@ -3097,14 +3120,14 @@ struct page *rmqueue(struct zone *preferred_zone, __count_zid_vm_events(PGALLOC, page_zonenum(page), 1 << order); zone_statistics(preferred_zone, zone); @@ -219,7 +219,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 return NULL; } -@@ -8130,7 +8153,7 @@ void zone_pcp_reset(struct zone *zone) +@@ -8125,7 +8148,7 @@ void zone_pcp_reset(struct zone *zone) struct per_cpu_pageset *pset; /* avoid races with drain_pages() */ @@ -228,7 +228,7 @@ index 62b39e3e5cea..0aad0dbd8bf4 100644 if (zone->pageset != &boot_pageset) { for_each_online_cpu(cpu) { pset = per_cpu_ptr(zone->pageset, cpu); -@@ -8139,7 +8162,7 @@ void zone_pcp_reset(struct zone *zone) +@@ -8134,7 +8157,7 @@ void zone_pcp_reset(struct zone *zone) free_percpu(zone->pageset); zone->pageset = &boot_pageset; } diff --git a/debian/patches-rt/0077-mm-swap-Convert-to-percpu-locked.patch b/debian/patches-rt/0077-mm-swap-Convert-to-percpu-locked.patch index 9444791c2..9a0b12561 100644 --- a/debian/patches-rt/0077-mm-swap-Convert-to-percpu-locked.patch +++ b/debian/patches-rt/0077-mm-swap-Convert-to-percpu-locked.patch @@ -1,11 +1,11 @@ -From d054e1f303f7a4661d16389108b38a84aa85f441 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2f5c7c8e52ba0322a60691186db870ca4d57c5cb Mon Sep 17 00:00:00 2001 +Message-Id: <2f5c7c8e52ba0322a60691186db870ca4d57c5cb.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:51 -0500 -Subject: [PATCH 077/330] mm/swap: Convert to percpu locked -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 077/329] mm/swap: Convert to percpu locked +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Replace global locks (get_cpu + local_irq_save) with "local_locks()". Currently there is one of for "rotate" and one for "swap". @@ -59,10 +59,10 @@ index 5079ddbec8f9..c40d3a13cbbd 100644 cc->last_migrated_pfn = 0; } diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 0aad0dbd8bf4..98abae7e843e 100644 +index 63bf99bdcabc..1d25236411a7 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -7243,8 +7243,9 @@ void __init free_area_init(unsigned long *zones_size) +@@ -7238,8 +7238,9 @@ void __init free_area_init(unsigned long *zones_size) static int page_alloc_cpu_dead(unsigned int cpu) { diff --git a/debian/patches-rt/0078-mm-perform-lru_add_drain_all-remotely.patch b/debian/patches-rt/0078-mm-perform-lru_add_drain_all-remotely.patch index af5e358de..99e6b5886 100644 --- a/debian/patches-rt/0078-mm-perform-lru_add_drain_all-remotely.patch +++ b/debian/patches-rt/0078-mm-perform-lru_add_drain_all-remotely.patch @@ -1,11 +1,11 @@ -From a8db797e3972c746f7642b6b73bca01fdde9ec4a Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6fe4f5a1dfdf070124bb35ca904901baf7d92445 Mon Sep 17 00:00:00 2001 +Message-Id: <6fe4f5a1dfdf070124bb35ca904901baf7d92445.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Luiz Capitulino Date: Fri, 27 May 2016 15:03:28 +0200 -Subject: [PATCH 078/330] mm: perform lru_add_drain_all() remotely -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 078/329] mm: perform lru_add_drain_all() remotely +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz lru_add_drain_all() works by scheduling lru_add_drain_cpu() to run on all CPUs that have non-empty LRU pagevecs and then waiting for diff --git a/debian/patches-rt/0079-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch b/debian/patches-rt/0079-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch index 6b1d2ec2a..66b851bdd 100644 --- a/debian/patches-rt/0079-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch +++ b/debian/patches-rt/0079-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch @@ -1,12 +1,12 @@ -From 2eb1b2f89292a0e3d57b1f13b86752834510784e Mon Sep 17 00:00:00 2001 -Message-Id: <2eb1b2f89292a0e3d57b1f13b86752834510784e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 411a7404a2e510ec921a6ad71986569dd9a74d44 Mon Sep 17 00:00:00 2001 +Message-Id: <411a7404a2e510ec921a6ad71986569dd9a74d44.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:13 -0500 -Subject: [PATCH 079/330] mm/vmstat: Protect per cpu variables with preempt +Subject: [PATCH 079/329] mm/vmstat: Protect per cpu variables with preempt disable on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Disable preemption on -RT for the vmstat code. On vanila the code runs in IRQ-off regions while on -RT it is not. "preempt_disable" ensures that the diff --git a/debian/patches-rt/0080-ARM-Initialize-split-page-table-locks-for-vector-pag.patch b/debian/patches-rt/0080-ARM-Initialize-split-page-table-locks-for-vector-pag.patch index 61248fb78..6a2c780d0 100644 --- a/debian/patches-rt/0080-ARM-Initialize-split-page-table-locks-for-vector-pag.patch +++ b/debian/patches-rt/0080-ARM-Initialize-split-page-table-locks-for-vector-pag.patch @@ -1,12 +1,12 @@ -From 9204f20ab0da124e60ac40e30f4221b66ee0eb61 Mon Sep 17 00:00:00 2001 -Message-Id: <9204f20ab0da124e60ac40e30f4221b66ee0eb61.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From b16baaea8beaa395bcf9150ca30f9f60fed4a3d3 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Frank Rowand Date: Sat, 1 Oct 2011 18:58:13 -0700 -Subject: [PATCH 080/330] ARM: Initialize split page table locks for vector +Subject: [PATCH 080/329] ARM: Initialize split page table locks for vector page -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Without this patch, ARM can not use SPLIT_PTLOCK_CPUS if PREEMPT_RT_FULL=y because vectors_user_mapping() creates a diff --git a/debian/patches-rt/0081-mm-Enable-SLUB-for-RT.patch b/debian/patches-rt/0081-mm-Enable-SLUB-for-RT.patch index c15129f08..ddae864f2 100644 --- a/debian/patches-rt/0081-mm-Enable-SLUB-for-RT.patch +++ b/debian/patches-rt/0081-mm-Enable-SLUB-for-RT.patch @@ -1,11 +1,11 @@ -From 94db5b5c0cfd8c5e5afbb9d61349434df1eda3dc Mon Sep 17 00:00:00 2001 -Message-Id: <94db5b5c0cfd8c5e5afbb9d61349434df1eda3dc.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4873fd9bc55e5233bb796f72f661818ff5750e73 Mon Sep 17 00:00:00 2001 +Message-Id: <4873fd9bc55e5233bb796f72f661818ff5750e73.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 25 Oct 2012 10:32:35 +0100 -Subject: [PATCH 081/330] mm: Enable SLUB for RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 081/329] mm: Enable SLUB for RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Avoid the memory allocation in IRQ section @@ -17,10 +17,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 6 insertions(+) diff --git a/mm/slub.c b/mm/slub.c -index 7a0706ccdf30..f3fcb9502093 100644 +index b890fe5f9cd3..d33c04a0e5da 100644 --- a/mm/slub.c +++ b/mm/slub.c -@@ -3699,6 +3699,11 @@ static void list_slab_objects(struct kmem_cache *s, struct page *page, +@@ -3726,6 +3726,11 @@ static void list_slab_objects(struct kmem_cache *s, struct page *page, const char *text) { #ifdef CONFIG_SLUB_DEBUG @@ -32,7 +32,7 @@ index 7a0706ccdf30..f3fcb9502093 100644 void *addr = page_address(page); void *p; unsigned long *map = kcalloc(BITS_TO_LONGS(page->objects), -@@ -3720,6 +3725,7 @@ static void list_slab_objects(struct kmem_cache *s, struct page *page, +@@ -3747,6 +3752,7 @@ static void list_slab_objects(struct kmem_cache *s, struct page *page, slab_unlock(page); kfree(map); #endif diff --git a/debian/patches-rt/0082-slub-Enable-irqs-for-__GFP_WAIT.patch b/debian/patches-rt/0082-slub-Enable-irqs-for-__GFP_WAIT.patch index da1cf22ca..de567d436 100644 --- a/debian/patches-rt/0082-slub-Enable-irqs-for-__GFP_WAIT.patch +++ b/debian/patches-rt/0082-slub-Enable-irqs-for-__GFP_WAIT.patch @@ -1,11 +1,11 @@ -From cdb48077b31503604eace5c253d95af45d57fb7f Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 69e10b79d2137f1009db28e55a8f04e23e84de60 Mon Sep 17 00:00:00 2001 +Message-Id: <69e10b79d2137f1009db28e55a8f04e23e84de60.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 9 Jan 2013 12:08:15 +0100 -Subject: [PATCH 082/330] slub: Enable irqs for __GFP_WAIT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 082/329] slub: Enable irqs for __GFP_WAIT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz SYSTEM_RUNNING might be too late for enabling interrupts. Allocations with GFP_WAIT can happen before that. So use this as an indicator. @@ -16,10 +16,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mm/slub.c b/mm/slub.c -index f3fcb9502093..d243c6ef7fc9 100644 +index d33c04a0e5da..af485aba93ec 100644 --- a/mm/slub.c +++ b/mm/slub.c -@@ -1570,10 +1570,17 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node) +@@ -1589,10 +1589,17 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node) void *start, *p; int idx, order; bool shuffle; @@ -37,7 +37,7 @@ index f3fcb9502093..d243c6ef7fc9 100644 local_irq_enable(); flags |= s->allocflags; -@@ -1632,7 +1639,7 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node) +@@ -1651,7 +1658,7 @@ static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node) page->frozen = 1; out: diff --git a/debian/patches-rt/0083-slub-Disable-SLUB_CPU_PARTIAL.patch b/debian/patches-rt/0083-slub-Disable-SLUB_CPU_PARTIAL.patch index 653f36a34..faf1bbb60 100644 --- a/debian/patches-rt/0083-slub-Disable-SLUB_CPU_PARTIAL.patch +++ b/debian/patches-rt/0083-slub-Disable-SLUB_CPU_PARTIAL.patch @@ -1,11 +1,11 @@ -From 65cd4aa9dd745640a6c1fd4f2aeb930f5743b578 Mon Sep 17 00:00:00 2001 -Message-Id: <65cd4aa9dd745640a6c1fd4f2aeb930f5743b578.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 136df21f36f63830989f9293b62640e7a7d22859 Mon Sep 17 00:00:00 2001 +Message-Id: <136df21f36f63830989f9293b62640e7a7d22859.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 15 Apr 2015 19:00:47 +0200 -Subject: [PATCH 083/330] slub: Disable SLUB_CPU_PARTIAL -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 083/329] slub: Disable SLUB_CPU_PARTIAL +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 |in_atomic(): 1, irqs_disabled(): 0, pid: 87, name: rcuop/7 diff --git a/debian/patches-rt/0084-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch b/debian/patches-rt/0084-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch index ab8675094..494c8ef8c 100644 --- a/debian/patches-rt/0084-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch +++ b/debian/patches-rt/0084-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch @@ -1,12 +1,12 @@ -From d01df1ad64744dc92dd654ff0012eda4c068dad7 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4110484e4a50e5389415841f106f6292665c8d68 Mon Sep 17 00:00:00 2001 +Message-Id: <4110484e4a50e5389415841f106f6292665c8d68.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Yang Shi Date: Wed, 30 Oct 2013 11:48:33 -0700 -Subject: [PATCH 084/330] mm/memcontrol: Don't call schedule_work_on in +Subject: [PATCH 084/329] mm/memcontrol: Don't call schedule_work_on in preemption disabled context -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The following trace is triggered when running ltp oom test cases: diff --git a/debian/patches-rt/0085-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch b/debian/patches-rt/0085-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch index 0b74083df..f5f0fb3d8 100644 --- a/debian/patches-rt/0085-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch +++ b/debian/patches-rt/0085-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch @@ -1,12 +1,12 @@ -From 77ce783710c1173421fac0625b9717d0fe6bd861 Mon Sep 17 00:00:00 2001 -Message-Id: <77ce783710c1173421fac0625b9717d0fe6bd861.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 69fb6764651c58c99b1070f6046b16e4e29c8fe5 Mon Sep 17 00:00:00 2001 +Message-Id: <69fb6764651c58c99b1070f6046b16e4e29c8fe5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 28 Jan 2015 17:14:16 +0100 -Subject: [PATCH 085/330] mm/memcontrol: Replace local_irq_disable with local +Subject: [PATCH 085/329] mm/memcontrol: Replace local_irq_disable with local locks -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz There are a few local_irq_disable() which then take sleeping locks. This patch converts them local locks. diff --git a/debian/patches-rt/0086-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch b/debian/patches-rt/0086-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch index d242544f8..f5355e7b3 100644 --- a/debian/patches-rt/0086-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch +++ b/debian/patches-rt/0086-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch @@ -1,11 +1,11 @@ -From bd0237a4fed1901b2c73f6f2657cb517bfca624b Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2f256596af09c555baff31bddcfa3d9225b94290 Mon Sep 17 00:00:00 2001 +Message-Id: <2f256596af09c555baff31bddcfa3d9225b94290.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Tue, 22 Mar 2016 11:16:09 +0100 -Subject: [PATCH 086/330] mm/zsmalloc: copy with get_cpu_var() and locking -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 086/329] mm/zsmalloc: copy with get_cpu_var() and locking +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz get_cpu_var() disables preemption and triggers a might_sleep() splat later. This is replaced with get_locked_var(). diff --git a/debian/patches-rt/0087-x86-mm-pat-disable-preemption-__split_large_page-aft.patch b/debian/patches-rt/0087-x86-mm-pat-disable-preemption-__split_large_page-aft.patch index 34b676ee7..49fe5c91f 100644 --- a/debian/patches-rt/0087-x86-mm-pat-disable-preemption-__split_large_page-aft.patch +++ b/debian/patches-rt/0087-x86-mm-pat-disable-preemption-__split_large_page-aft.patch @@ -1,12 +1,12 @@ -From 16770986d54d3c32d2b8ae4a60b34203c0653de1 Mon Sep 17 00:00:00 2001 -Message-Id: <16770986d54d3c32d2b8ae4a60b34203c0653de1.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 395e14d873c2de95585f3329fc159f66af1ea647 Mon Sep 17 00:00:00 2001 +Message-Id: <395e14d873c2de95585f3329fc159f66af1ea647.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 11 Dec 2018 21:53:43 +0100 -Subject: [PATCH 087/330] x86/mm/pat: disable preemption __split_large_page() +Subject: [PATCH 087/329] x86/mm/pat: disable preemption __split_large_page() after spin_lock() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Commit "x86/mm/pat: Disable preemption around __flush_tlb_all()" added a warning if __flush_tlb_all() is invoked in preemptible context. On !RT diff --git a/debian/patches-rt/0088-radix-tree-use-local-locks.patch b/debian/patches-rt/0088-radix-tree-use-local-locks.patch index 07bdba5c5..041906256 100644 --- a/debian/patches-rt/0088-radix-tree-use-local-locks.patch +++ b/debian/patches-rt/0088-radix-tree-use-local-locks.patch @@ -1,11 +1,11 @@ -From 86f0fd23813b5e4d76e213f0720df690840d9fb4 Mon Sep 17 00:00:00 2001 -Message-Id: <86f0fd23813b5e4d76e213f0720df690840d9fb4.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4d4de1a5469f2ae70c814580ff7c8b075cdbad99 Mon Sep 17 00:00:00 2001 +Message-Id: <4d4de1a5469f2ae70c814580ff7c8b075cdbad99.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 25 Jan 2017 16:34:27 +0100 -Subject: [PATCH 088/330] radix-tree: use local locks -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 088/329] radix-tree: use local locks +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The preload functionality uses per-CPU variables and preempt-disable to ensure that it does not switch CPUs during its usage. This patch adds diff --git a/debian/patches-rt/0089-timers-Prepare-for-full-preemption.patch b/debian/patches-rt/0089-timers-Prepare-for-full-preemption.patch index 3c340add4..a6aa4ac22 100644 --- a/debian/patches-rt/0089-timers-Prepare-for-full-preemption.patch +++ b/debian/patches-rt/0089-timers-Prepare-for-full-preemption.patch @@ -1,11 +1,11 @@ -From 6da3c3ca1b06ab37552a67701decb91ef244b889 Mon Sep 17 00:00:00 2001 -Message-Id: <6da3c3ca1b06ab37552a67701decb91ef244b889.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 77025c9c9fdf7f20ce09e36a49b8da02a23cc6c5 Mon Sep 17 00:00:00 2001 +Message-Id: <77025c9c9fdf7f20ce09e36a49b8da02a23cc6c5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 089/330] timers: Prepare for full preemption -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 089/329] timers: Prepare for full preemption +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz When softirqs can be preempted we need to make sure that cancelling the timer from the active thread can not deadlock vs. a running timer @@ -33,7 +33,7 @@ index 7b066fd38248..54627d046b3a 100644 #else # define del_timer_sync(t) del_timer(t) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index e6022cc2605b..986ed04425be 100644 +index 183881fe4aab..626fb9904ed1 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -498,11 +498,14 @@ void resched_cpu(int cpu) diff --git a/debian/patches-rt/0090-x86-kvm-Require-const-tsc-for-RT.patch b/debian/patches-rt/0090-x86-kvm-Require-const-tsc-for-RT.patch index eb541953b..10067c785 100644 --- a/debian/patches-rt/0090-x86-kvm-Require-const-tsc-for-RT.patch +++ b/debian/patches-rt/0090-x86-kvm-Require-const-tsc-for-RT.patch @@ -1,11 +1,11 @@ -From 8df6f704e04eac71d8ff66069f9b932baedda922 Mon Sep 17 00:00:00 2001 -Message-Id: <8df6f704e04eac71d8ff66069f9b932baedda922.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6d433304f1894bb7aefb0b6e58e8e41e5e18a6b4 Mon Sep 17 00:00:00 2001 +Message-Id: <6d433304f1894bb7aefb0b6e58e8e41e5e18a6b4.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 6 Nov 2011 12:26:18 +0100 -Subject: [PATCH 090/330] x86: kvm Require const tsc for RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 090/329] x86: kvm Require const tsc for RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Non constant TSC is a nightmare on bare metal already, but with virtualization it becomes a complete disaster because the workarounds @@ -18,10 +18,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 7 insertions(+) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c -index b0fd24ee08d2..dc1d536a86ba 100644 +index 0aa5c4134b90..5dcb794b88e2 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c -@@ -6877,6 +6877,13 @@ int kvm_arch_init(void *opaque) +@@ -6848,6 +6848,13 @@ int kvm_arch_init(void *opaque) goto out; } diff --git a/debian/patches-rt/0091-pci-switchtec-Don-t-use-completion-s-wait-queue.patch b/debian/patches-rt/0091-pci-switchtec-Don-t-use-completion-s-wait-queue.patch index 916126dfd..60ec0a0c9 100644 --- a/debian/patches-rt/0091-pci-switchtec-Don-t-use-completion-s-wait-queue.patch +++ b/debian/patches-rt/0091-pci-switchtec-Don-t-use-completion-s-wait-queue.patch @@ -1,11 +1,11 @@ -From d162010e64fe7d5f653343131c52c4d28be04b8e Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From b7bf15cc61470fee2fce877652d997f62af399c7 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 4 Oct 2017 10:24:23 +0200 -Subject: [PATCH 091/330] pci/switchtec: Don't use completion's wait queue -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 091/329] pci/switchtec: Don't use completion's wait queue +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The poll callback is using completion's wait_queue_head_t member and puts it in poll_wait() so the poll() caller gets a wakeup after command diff --git a/debian/patches-rt/0092-wait.h-include-atomic.h.patch b/debian/patches-rt/0092-wait.h-include-atomic.h.patch index 4ff716d5b..613a2ea3e 100644 --- a/debian/patches-rt/0092-wait.h-include-atomic.h.patch +++ b/debian/patches-rt/0092-wait.h-include-atomic.h.patch @@ -1,14 +1,14 @@ -From 53c3e1b86c8c364ff7eb2216997392eba50deb86 Mon Sep 17 00:00:00 2001 -Message-Id: <53c3e1b86c8c364ff7eb2216997392eba50deb86.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 69db399dcf21576a7500c5ee619f2687a1199a37 Mon Sep 17 00:00:00 2001 +Message-Id: <69db399dcf21576a7500c5ee619f2687a1199a37.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 28 Oct 2013 12:19:57 +0100 -Subject: [PATCH 092/330] wait.h: include atomic.h +Subject: [PATCH 092/329] wait.h: include atomic.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz | CC init/main.o |In file included from include/linux/mmzone.h:9:0, diff --git a/debian/patches-rt/0093-work-simple-Simple-work-queue-implemenation.patch b/debian/patches-rt/0093-work-simple-Simple-work-queue-implemenation.patch index 32bc41b4d..3dabfb897 100644 --- a/debian/patches-rt/0093-work-simple-Simple-work-queue-implemenation.patch +++ b/debian/patches-rt/0093-work-simple-Simple-work-queue-implemenation.patch @@ -1,11 +1,11 @@ -From 08ed3c311776de6b7d8600d89e3524938e03707f Mon Sep 17 00:00:00 2001 -Message-Id: <08ed3c311776de6b7d8600d89e3524938e03707f.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4790a4aae67cb29ef058e2bc5f91ed61004957b6 Mon Sep 17 00:00:00 2001 +Message-Id: <4790a4aae67cb29ef058e2bc5f91ed61004957b6.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Daniel Wagner Date: Fri, 11 Jul 2014 15:26:11 +0200 -Subject: [PATCH 093/330] work-simple: Simple work queue implemenation -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 093/329] work-simple: Simple work queue implemenation +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Provides a framework for enqueuing callbacks from irq context PREEMPT_RT_FULL safe. The callbacks are executed in kthread context. diff --git a/debian/patches-rt/0094-work-simple-drop-a-shit-statement-in-SWORK_EVENT_PEN.patch b/debian/patches-rt/0094-work-simple-drop-a-shit-statement-in-SWORK_EVENT_PEN.patch index cb7a4ad06..db64f4aa9 100644 --- a/debian/patches-rt/0094-work-simple-drop-a-shit-statement-in-SWORK_EVENT_PEN.patch +++ b/debian/patches-rt/0094-work-simple-drop-a-shit-statement-in-SWORK_EVENT_PEN.patch @@ -1,12 +1,12 @@ -From d64bfa33220ec37825bf56b524ca8ec253853395 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 41f5d4a8c268864e3eec93d075dbb4c5bb4c7215 Mon Sep 17 00:00:00 2001 +Message-Id: <41f5d4a8c268864e3eec93d075dbb4c5bb4c7215.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 10 Sep 2018 18:00:31 +0200 -Subject: [PATCH 094/330] work-simple: drop a shit statement in +Subject: [PATCH 094/329] work-simple: drop a shit statement in SWORK_EVENT_PENDING -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Dan Carpenter reported | smatch warnings: diff --git a/debian/patches-rt/0095-completion-Use-simple-wait-queues.patch b/debian/patches-rt/0095-completion-Use-simple-wait-queues.patch index f961449e6..16dc15838 100644 --- a/debian/patches-rt/0095-completion-Use-simple-wait-queues.patch +++ b/debian/patches-rt/0095-completion-Use-simple-wait-queues.patch @@ -1,11 +1,11 @@ -From 5b88f91e4d8bd0abaed34ac96c9a50b0792882ae Mon Sep 17 00:00:00 2001 -Message-Id: <5b88f91e4d8bd0abaed34ac96c9a50b0792882ae.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From dd8595e75900ac6512c872c76fb4a2843babfeb0 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 11 Jan 2013 11:23:51 +0100 -Subject: [PATCH 095/330] completion: Use simple wait queues -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 095/329] completion: Use simple wait queues +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Completions have no long lasting callbacks and therefor do not need the complex waitqueue variant. Use simple waitqueues which reduces the @@ -323,10 +323,10 @@ index a1ad5b7d5521..755a58084978 100644 } EXPORT_SYMBOL(completion_done); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 986ed04425be..584978640512 100644 +index 626fb9904ed1..dab0e4382492 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7154,7 +7154,10 @@ void migrate_disable(void) +@@ -7156,7 +7156,10 @@ void migrate_disable(void) return; } #ifdef CONFIG_SCHED_DEBUG @@ -338,7 +338,7 @@ index 986ed04425be..584978640512 100644 #endif if (p->migrate_disable) { -@@ -7184,7 +7187,10 @@ void migrate_enable(void) +@@ -7186,7 +7189,10 @@ void migrate_enable(void) } #ifdef CONFIG_SCHED_DEBUG diff --git a/debian/patches-rt/0096-fs-aio-simple-simple-work.patch b/debian/patches-rt/0096-fs-aio-simple-simple-work.patch index 848077526..131ee3737 100644 --- a/debian/patches-rt/0096-fs-aio-simple-simple-work.patch +++ b/debian/patches-rt/0096-fs-aio-simple-simple-work.patch @@ -1,11 +1,11 @@ -From d6441914ec3b4e35345aa572a92feb01a525bcb0 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 88725b3d530513773c06b5084302bf9ab7ce6118 Mon Sep 17 00:00:00 2001 +Message-Id: <88725b3d530513773c06b5084302bf9ab7ce6118.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 16 Feb 2015 18:49:10 +0100 -Subject: [PATCH 096/330] fs/aio: simple simple work -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 096/329] fs/aio: simple simple work +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:768 |in_atomic(): 1, irqs_disabled(): 0, pid: 26, name: rcuos/2 @@ -33,7 +33,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/fs/aio.c b/fs/aio.c -index b5fbf2061868..93f8cf7fdeab 100644 +index 413ec289bfa1..ac3430d5b0da 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -42,6 +42,7 @@ @@ -52,7 +52,7 @@ index b5fbf2061868..93f8cf7fdeab 100644 /* * signals when all in-flight requests are done -@@ -265,6 +267,7 @@ static int __init aio_setup(void) +@@ -266,6 +268,7 @@ static int __init aio_setup(void) .mount = aio_mount, .kill_sb = kill_anon_super, }; @@ -60,7 +60,7 @@ index b5fbf2061868..93f8cf7fdeab 100644 aio_mnt = kern_mount(&aio_fs); if (IS_ERR(aio_mnt)) panic("Failed to create aio fs mount."); -@@ -606,9 +609,9 @@ static void free_ioctx_reqs(struct percpu_ref *ref) +@@ -607,9 +610,9 @@ static void free_ioctx_reqs(struct percpu_ref *ref) * and ctx->users has dropped to 0, so we know no more kiocbs can be submitted - * now it's safe to cancel any that need to be. */ @@ -72,7 +72,7 @@ index b5fbf2061868..93f8cf7fdeab 100644 struct aio_kiocb *req; spin_lock_irq(&ctx->ctx_lock); -@@ -626,6 +629,14 @@ static void free_ioctx_users(struct percpu_ref *ref) +@@ -627,6 +630,14 @@ static void free_ioctx_users(struct percpu_ref *ref) percpu_ref_put(&ctx->reqs); } diff --git a/debian/patches-rt/0097-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch b/debian/patches-rt/0097-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch index 4fe00dc94..f6bfbdb6d 100644 --- a/debian/patches-rt/0097-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch +++ b/debian/patches-rt/0097-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch @@ -1,12 +1,12 @@ -From aa69306fb5d82a03cd997a6703e819353f8160d0 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2f88e5f4c41b1ff5bf3338f2a8bd3f1ed178e2e3 Mon Sep 17 00:00:00 2001 +Message-Id: <2f88e5f4c41b1ff5bf3338f2a8bd3f1ed178e2e3.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 15 Nov 2017 17:29:51 +0100 -Subject: [PATCH 097/330] time/hrtimer: avoid schedule_work() with interrupts +Subject: [PATCH 097/329] time/hrtimer: avoid schedule_work() with interrupts disabled -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The NOHZ code tries to schedule a workqueue with interrupts disabled. Since this does not work -RT I am switching it to swork instead. diff --git a/debian/patches-rt/0098-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch b/debian/patches-rt/0098-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch index aa3be9035..a364e50fe 100644 --- a/debian/patches-rt/0098-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch +++ b/debian/patches-rt/0098-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch @@ -1,12 +1,12 @@ -From 6baf45cf7600734706bc0491ef07c82537459f6a Mon Sep 17 00:00:00 2001 -Message-Id: <6baf45cf7600734706bc0491ef07c82537459f6a.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From c8e3c8a75997d354c63d081c5a8aefaf2cb38797 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 3 Jul 2018 11:25:41 +0200 -Subject: [PATCH 098/330] hrtimer: consolidate hrtimer_init() + +Subject: [PATCH 098/329] hrtimer: consolidate hrtimer_init() + hrtimer_init_sleeper() calls -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz hrtimer_init_sleeper() calls require a prior initialisation of the hrtimer object with hrtimer_init(). Lets make the initialisation of diff --git a/debian/patches-rt/0099-hrtimers-Prepare-full-preemption.patch b/debian/patches-rt/0099-hrtimers-Prepare-full-preemption.patch index ca83729b6..4e5422eb8 100644 --- a/debian/patches-rt/0099-hrtimers-Prepare-full-preemption.patch +++ b/debian/patches-rt/0099-hrtimers-Prepare-full-preemption.patch @@ -1,11 +1,11 @@ -From c345c877f92b8c7976387fc239f175e11e40c644 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 3119374a6d8237ba8047e076502efaafa2950a3b Mon Sep 17 00:00:00 2001 +Message-Id: <3119374a6d8237ba8047e076502efaafa2950a3b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 099/330] hrtimers: Prepare full preemption -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 099/329] hrtimers: Prepare full preemption +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Make cancellation of a running callback in softirq context safe against preemption. diff --git a/debian/patches-rt/0100-hrtimer-by-timers-by-default-into-the-softirq-contex.patch b/debian/patches-rt/0100-hrtimer-by-timers-by-default-into-the-softirq-contex.patch index 9843110fa..e7e39531b 100644 --- a/debian/patches-rt/0100-hrtimer-by-timers-by-default-into-the-softirq-contex.patch +++ b/debian/patches-rt/0100-hrtimer-by-timers-by-default-into-the-softirq-contex.patch @@ -1,12 +1,12 @@ -From 77dee9ee16bb3b5fe1fb2798f86a011a04428821 Mon Sep 17 00:00:00 2001 -Message-Id: <77dee9ee16bb3b5fe1fb2798f86a011a04428821.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 0438317cbda3b7d1f46b5e1e2fd0df0666c8a523 Mon Sep 17 00:00:00 2001 +Message-Id: <0438317cbda3b7d1f46b5e1e2fd0df0666c8a523.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 3 Jul 2009 08:44:31 -0500 -Subject: [PATCH 100/330] hrtimer: by timers by default into the softirq +Subject: [PATCH 100/329] hrtimer: by timers by default into the softirq context -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz We can't have hrtimers callbacks running in hardirq context on RT. Therefore the timers are deferred to the softirq context by default. @@ -69,10 +69,10 @@ index 8714f1a37d84..082147c07831 100644 /* diff --git a/kernel/events/core.c b/kernel/events/core.c -index 21e3c65abc76..8cf84d6b1dfb 100644 +index a17e6302ded5..e3ea20b36776 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c -@@ -1102,7 +1102,7 @@ static void __perf_mux_hrtimer_init(struct perf_cpu_context *cpuctx, int cpu) +@@ -1107,7 +1107,7 @@ static void __perf_mux_hrtimer_init(struct perf_cpu_context *cpuctx, int cpu) cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * interval); raw_spin_lock_init(&cpuctx->hrtimer_lock); @@ -81,7 +81,7 @@ index 21e3c65abc76..8cf84d6b1dfb 100644 timer->function = perf_mux_hrtimer_handler; } -@@ -9279,7 +9279,7 @@ static void perf_swevent_init_hrtimer(struct perf_event *event) +@@ -9284,7 +9284,7 @@ static void perf_swevent_init_hrtimer(struct perf_event *event) if (!is_sampling_event(event)) return; @@ -91,7 +91,7 @@ index 21e3c65abc76..8cf84d6b1dfb 100644 /* diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 584978640512..2f6b4365d070 100644 +index dab0e4382492..dc70ec937317 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -315,7 +315,7 @@ static void hrtick_rq_init(struct rq *rq) @@ -104,7 +104,7 @@ index 584978640512..2f6b4365d070 100644 } #else /* CONFIG_SCHED_HRTICK */ diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c -index 4b13df38c069..974a8f9b615a 100644 +index 311b3cf1270e..7d47c9b9726e 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -1086,7 +1086,7 @@ void init_dl_task_timer(struct sched_dl_entity *dl_se) @@ -117,7 +117,7 @@ index 4b13df38c069..974a8f9b615a 100644 } diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c -index fe58e95484cf..f35eb8130921 100644 +index 97de4ea7dbea..26ed8b64ebef 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4951,9 +4951,9 @@ void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) diff --git a/debian/patches-rt/0101-sched-fair-Make-the-hrtimers-non-hard-again.patch b/debian/patches-rt/0101-sched-fair-Make-the-hrtimers-non-hard-again.patch index df462b1c0..4353bd1e6 100644 --- a/debian/patches-rt/0101-sched-fair-Make-the-hrtimers-non-hard-again.patch +++ b/debian/patches-rt/0101-sched-fair-Make-the-hrtimers-non-hard-again.patch @@ -1,11 +1,11 @@ -From b2f6295389d39c26d8cfa3280dfd28aee4e86da0 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 49cc3d0703683e80b6ff4167bee12bdd3e8aceb5 Mon Sep 17 00:00:00 2001 +Message-Id: <49cc3d0703683e80b6ff4167bee12bdd3e8aceb5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 8 Jan 2019 12:31:06 +0100 -Subject: [PATCH 101/330] sched/fair: Make the hrtimers non-hard again -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 101/329] sched/fair: Make the hrtimers non-hard again +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Since commit "sched/fair: Robustify CFS-bandwidth timer locking" both hrtimer can run in softirq context because now interrupts are disabled @@ -17,7 +17,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c -index f35eb8130921..fe58e95484cf 100644 +index 26ed8b64ebef..97de4ea7dbea 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4951,9 +4951,9 @@ void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) diff --git a/debian/patches-rt/0102-hrtimer-Move-schedule_work-call-to-helper-thread.patch b/debian/patches-rt/0102-hrtimer-Move-schedule_work-call-to-helper-thread.patch index cabccd12b..441f4388b 100644 --- a/debian/patches-rt/0102-hrtimer-Move-schedule_work-call-to-helper-thread.patch +++ b/debian/patches-rt/0102-hrtimer-Move-schedule_work-call-to-helper-thread.patch @@ -1,11 +1,11 @@ -From d49e5f82ce97ab7def9c08a828d4fca4d96ea540 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From b254e6884c3d1b9ea98c1aab9e5e280ccfa67cf7 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Yang Shi Date: Mon, 16 Sep 2013 14:09:19 -0700 -Subject: [PATCH 102/330] hrtimer: Move schedule_work call to helper thread -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 102/329] hrtimer: Move schedule_work call to helper thread +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz When run ltp leapsec_timer test, the following call trace is caught: diff --git a/debian/patches-rt/0103-hrtimer-move-state-change-before-hrtimer_cancel-in-d.patch b/debian/patches-rt/0103-hrtimer-move-state-change-before-hrtimer_cancel-in-d.patch index daeef4d55..43c100be2 100644 --- a/debian/patches-rt/0103-hrtimer-move-state-change-before-hrtimer_cancel-in-d.patch +++ b/debian/patches-rt/0103-hrtimer-move-state-change-before-hrtimer_cancel-in-d.patch @@ -1,12 +1,12 @@ -From 8764dfa5aa683087cc0a49bdaa9adc6aa6bf36ad Mon Sep 17 00:00:00 2001 -Message-Id: <8764dfa5aa683087cc0a49bdaa9adc6aa6bf36ad.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From c0c4f711bef214253f9e094a2aa8ec4a48b4bab3 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 6 Dec 2018 10:15:13 +0100 -Subject: [PATCH 103/330] hrtimer: move state change before hrtimer_cancel in +Subject: [PATCH 103/329] hrtimer: move state change before hrtimer_cancel in do_nanosleep() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz There is a small window between setting t->task to NULL and waking the task up (which would set TASK_RUNNING). So the timer would fire, run and diff --git a/debian/patches-rt/0104-posix-timers-Thread-posix-cpu-timers-on-rt.patch b/debian/patches-rt/0104-posix-timers-Thread-posix-cpu-timers-on-rt.patch index f4a180198..becc8c39c 100644 --- a/debian/patches-rt/0104-posix-timers-Thread-posix-cpu-timers-on-rt.patch +++ b/debian/patches-rt/0104-posix-timers-Thread-posix-cpu-timers-on-rt.patch @@ -1,11 +1,11 @@ -From 3f690131ebcac46f3552283e10b2bd60beceecd6 Mon Sep 17 00:00:00 2001 -Message-Id: <3f690131ebcac46f3552283e10b2bd60beceecd6.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4b6b43faa02b97fc9179319122bb014f65e235b5 Mon Sep 17 00:00:00 2001 +Message-Id: <4b6b43faa02b97fc9179319122bb014f65e235b5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: John Stultz Date: Fri, 3 Jul 2009 08:29:58 -0500 -Subject: [PATCH 104/330] posix-timers: Thread posix-cpu-timers on -rt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 104/329] posix-timers: Thread posix-cpu-timers on -rt +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz posix-cpu-timer code takes non -rt safe locks in hard irq context. Move it to a thread. diff --git a/debian/patches-rt/0105-sched-Move-task_struct-cleanup-to-RCU.patch b/debian/patches-rt/0105-sched-Move-task_struct-cleanup-to-RCU.patch index a02293304..355a8ac87 100644 --- a/debian/patches-rt/0105-sched-Move-task_struct-cleanup-to-RCU.patch +++ b/debian/patches-rt/0105-sched-Move-task_struct-cleanup-to-RCU.patch @@ -1,11 +1,11 @@ -From 13d5f9e40172286d31f8920528f5a37a6208068c Mon Sep 17 00:00:00 2001 -Message-Id: <13d5f9e40172286d31f8920528f5a37a6208068c.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 75fee459d34af546834611d9cd9a2f002df91bf7 Mon Sep 17 00:00:00 2001 +Message-Id: <75fee459d34af546834611d9cd9a2f002df91bf7.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 31 May 2011 16:59:16 +0200 -Subject: [PATCH 105/330] sched: Move task_struct cleanup to RCU -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 105/329] sched: Move task_struct cleanup to RCU +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz __put_task_struct() does quite some expensive work. We don't want to burden random tasks with that. diff --git a/debian/patches-rt/0106-sched-Limit-the-number-of-task-migrations-per-batch.patch b/debian/patches-rt/0106-sched-Limit-the-number-of-task-migrations-per-batch.patch index 39d2f69f9..a57b521d2 100644 --- a/debian/patches-rt/0106-sched-Limit-the-number-of-task-migrations-per-batch.patch +++ b/debian/patches-rt/0106-sched-Limit-the-number-of-task-migrations-per-batch.patch @@ -1,11 +1,11 @@ -From 377f1de1f1aa4bbd7afa40c6d4262eae1780b84b Mon Sep 17 00:00:00 2001 -Message-Id: <377f1de1f1aa4bbd7afa40c6d4262eae1780b84b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From c6a92414419452341cd67f947084a2be110b7b33 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:12:51 +0200 -Subject: [PATCH 106/330] sched: Limit the number of task migrations per batch -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 106/329] sched: Limit the number of task migrations per batch +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Put an upper limit on the number of tasks which are migrated per batch to avoid large latencies. @@ -16,7 +16,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 4 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 2f6b4365d070..5c23d1272429 100644 +index dc70ec937317..1fe932aac00f 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -44,7 +44,11 @@ const_debug unsigned int sysctl_sched_features = diff --git a/debian/patches-rt/0107-sched-Move-mmdrop-to-RCU-on-RT.patch b/debian/patches-rt/0107-sched-Move-mmdrop-to-RCU-on-RT.patch index 01744aef6..9c6b4429d 100644 --- a/debian/patches-rt/0107-sched-Move-mmdrop-to-RCU-on-RT.patch +++ b/debian/patches-rt/0107-sched-Move-mmdrop-to-RCU-on-RT.patch @@ -1,11 +1,11 @@ -From 3691a6aac0ee8777a3ebd30b1dcfbfc3b254af9b Mon Sep 17 00:00:00 2001 -Message-Id: <3691a6aac0ee8777a3ebd30b1dcfbfc3b254af9b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d91e269d2b5e4934af93621c9b40c63bd78b7c4d Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:20:33 +0200 -Subject: [PATCH 107/330] sched: Move mmdrop to RCU on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 107/329] sched: Move mmdrop to RCU on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Takes sleeping locks and calls into the memory allocator, so nothing we want to do in task switch and oder atomic contexts. @@ -15,9 +15,11 @@ Signed-off-by: Thomas Gleixner include/linux/mm_types.h | 4 ++++ include/linux/sched/mm.h | 11 +++++++++++ kernel/fork.c | 13 +++++++++++++ - kernel/sched/core.c | 18 ++++++++++++++++-- - 4 files changed, 44 insertions(+), 2 deletions(-) + kernel/sched/core.c | 7 ++++++- + 4 files changed, 34 insertions(+), 1 deletion(-) +diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h +index 3a9a996af229..202b736ccbfa 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -12,6 +12,7 @@ @@ -28,7 +30,7 @@ Signed-off-by: Thomas Gleixner #include #include -@@ -489,6 +490,9 @@ struct mm_struct { +@@ -487,6 +488,9 @@ struct mm_struct { bool tlb_flush_batched; #endif struct uprobes_state uprobes_state; @@ -38,11 +40,13 @@ Signed-off-by: Thomas Gleixner #ifdef CONFIG_HUGETLB_PAGE atomic_long_t hugetlb_usage; #endif +diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h +index 766bbe813861..51828764f932 100644 --- a/include/linux/sched/mm.h +++ b/include/linux/sched/mm.h -@@ -51,6 +51,17 @@ static inline void mmdrop(struct mm_stru - - void mmdrop(struct mm_struct *mm); +@@ -49,6 +49,17 @@ static inline void mmdrop(struct mm_struct *mm) + __mmdrop(mm); + } +#ifdef CONFIG_PREEMPT_RT_BASE +extern void __mmdrop_delayed(struct rcu_head *rhp); @@ -55,12 +59,14 @@ Signed-off-by: Thomas Gleixner +# define mmdrop_delayed(mm) mmdrop(mm) +#endif + + void mmdrop(struct mm_struct *mm); + /* - * This has to be called after a get_task_mm()/mmget_not_zero() - * followed by taking the mmap_sem for writing before modifying the +diff --git a/kernel/fork.c b/kernel/fork.c +index 309f4a20d4ac..d4ec53c72577 100644 --- a/kernel/fork.c +++ b/kernel/fork.c -@@ -647,6 +647,19 @@ void __mmdrop(struct mm_struct *mm) +@@ -642,6 +642,19 @@ void __mmdrop(struct mm_struct *mm) } EXPORT_SYMBOL_GPL(__mmdrop); @@ -80,9 +86,11 @@ Signed-off-by: Thomas Gleixner static void mmdrop_async_fn(struct work_struct *work) { struct mm_struct *mm; +diff --git a/kernel/sched/core.c b/kernel/sched/core.c +index 1fe932aac00f..fae976506632 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2729,9 +2729,13 @@ static struct rq *finish_task_switch(str +@@ -2729,9 +2729,13 @@ static struct rq *finish_task_switch(struct task_struct *prev) * provided by mmdrop(), * - a sync_core for SYNC_CORE. */ @@ -97,3 +105,14 @@ Signed-off-by: Thomas Gleixner } if (unlikely(prev_state == TASK_DEAD)) { if (prev->sched_class->task_dead) +@@ -5602,6 +5606,7 @@ void sched_setnuma(struct task_struct *p, int nid) + #endif /* CONFIG_NUMA_BALANCING */ + + #ifdef CONFIG_HOTPLUG_CPU ++ + /* + * Ensure that the idle task is using init_mm right before its CPU goes + * offline. +-- +2.17.1 + diff --git a/debian/patches-rt/0108-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch b/debian/patches-rt/0108-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch index d49b5ce4d..0aa802825 100644 --- a/debian/patches-rt/0108-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch +++ b/debian/patches-rt/0108-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch @@ -1,12 +1,12 @@ -From 8b0464e028d5ed9a0c1f88c889ddcd0822df72b8 Mon Sep 17 00:00:00 2001 -Message-Id: <8b0464e028d5ed9a0c1f88c889ddcd0822df72b8.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From c8f01c68c10d0615999b6f7a53cc7a9238319c61 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 21 Nov 2016 19:31:08 +0100 -Subject: [PATCH 108/330] kernel/sched: move stack + kprobe clean up to +Subject: [PATCH 108/329] kernel/sched: move stack + kprobe clean up to __put_task_struct() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz There is no need to free the stack before the task struct (except for reasons mentioned in commit 68f24b08ee89 ("sched/core: Free the stack early if @@ -49,7 +49,7 @@ index d4ec53c72577..29b54a64daf5 100644 task_numa_free(tsk, true); security_task_free(tsk); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index cb89c90513dd..79e0d052e848 100644 +index fae976506632..7927ce657c44 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2741,15 +2741,6 @@ static struct rq *finish_task_switch(struct task_struct *prev) diff --git a/debian/patches-rt/0109-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch b/debian/patches-rt/0109-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch index a81e7b5f1..6d20343db 100644 --- a/debian/patches-rt/0109-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch +++ b/debian/patches-rt/0109-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch @@ -1,12 +1,12 @@ -From fbc8583b80053646d79cb11b49a44ac16f30a7f1 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 3ba4d8eee40b02f3d072aa382b26c302b18a6e1e Mon Sep 17 00:00:00 2001 +Message-Id: <3ba4d8eee40b02f3d072aa382b26c302b18a6e1e.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sat, 25 Jun 2011 09:21:04 +0200 -Subject: [PATCH 109/330] sched: Add saved_state for tasks blocked on sleeping +Subject: [PATCH 109/329] sched: Add saved_state for tasks blocked on sleeping locks -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Spinlocks are state preserving in !RT. RT changes the state when a task gets blocked on a lock. So we need to remember the state before @@ -43,7 +43,7 @@ index 9a0e01e48602..42846a65df9a 100644 #ifdef CONFIG_SMP diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 79e0d052e848..d1c564acff76 100644 +index 7927ce657c44..dba77f924ec8 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1999,8 +1999,27 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) diff --git a/debian/patches-rt/0110-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch b/debian/patches-rt/0110-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch index 65e7c4560..3177baaaa 100644 --- a/debian/patches-rt/0110-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch +++ b/debian/patches-rt/0110-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch @@ -1,12 +1,12 @@ -From d8dbc6b79d4ddd01f7c17fe56f38a31657f3971c Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 59eae7f9b913be891996c958eeb8bd21ac786558 Mon Sep 17 00:00:00 2001 +Message-Id: <59eae7f9b913be891996c958eeb8bd21ac786558.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 7 Jun 2011 09:19:06 +0200 -Subject: [PATCH 110/330] sched: Do not account rcu_preempt_depth on RT in +Subject: [PATCH 110/329] sched: Do not account rcu_preempt_depth on RT in might_sleep() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz RT changes the rcu_preempt_depth semantics, so we cannot check for it in might_sleep(). @@ -43,10 +43,10 @@ index 68cbe111420b..027c58cdbb6e 100644 /* Internal to kernel */ diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index d1c564acff76..59d43c084023 100644 +index dba77f924ec8..dec4822184bb 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6198,7 +6198,7 @@ void __init sched_init(void) +@@ -6191,7 +6191,7 @@ void __init sched_init(void) #ifdef CONFIG_DEBUG_ATOMIC_SLEEP static inline int preempt_count_equals(int preempt_offset) { diff --git a/debian/patches-rt/0111-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch b/debian/patches-rt/0111-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch index 766a38daf..d89662473 100644 --- a/debian/patches-rt/0111-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch +++ b/debian/patches-rt/0111-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch @@ -1,11 +1,11 @@ -From 39a6634075bf2d2269ccaabe49eb73b4cbae4c46 Mon Sep 17 00:00:00 2001 -Message-Id: <39a6634075bf2d2269ccaabe49eb73b4cbae4c46.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 36ddfc2bd31da8c0d0a868d6964b4bbe5bbe6dd2 Mon Sep 17 00:00:00 2001 +Message-Id: <36ddfc2bd31da8c0d0a868d6964b4bbe5bbe6dd2.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 17 Jul 2011 22:51:33 +0200 -Subject: [PATCH 111/330] sched: Use the proper LOCK_OFFSET for cond_resched() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 111/329] sched: Use the proper LOCK_OFFSET for cond_resched() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz RT does not increment preempt count when a 'sleeping' spinlock is locked. Update PREEMPT_LOCK_OFFSET for that case. diff --git a/debian/patches-rt/0112-sched-Disable-TTWU_QUEUE-on-RT.patch b/debian/patches-rt/0112-sched-Disable-TTWU_QUEUE-on-RT.patch index 2f31937da..fcd0c05b3 100644 --- a/debian/patches-rt/0112-sched-Disable-TTWU_QUEUE-on-RT.patch +++ b/debian/patches-rt/0112-sched-Disable-TTWU_QUEUE-on-RT.patch @@ -1,11 +1,11 @@ -From 5effa31e35d987848f4b459f305ad7dc1b61cd48 Mon Sep 17 00:00:00 2001 -Message-Id: <5effa31e35d987848f4b459f305ad7dc1b61cd48.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From fae184a847d770acc42344912d7a7ee4dd076e71 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 13 Sep 2011 16:42:35 +0200 -Subject: [PATCH 112/330] sched: Disable TTWU_QUEUE on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 112/329] sched: Disable TTWU_QUEUE on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The queued remote wakeup mechanism can introduce rather large latencies if the number of migrated tasks is high. Disable it for RT. diff --git a/debian/patches-rt/0113-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch b/debian/patches-rt/0113-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch index 733a57dbd..0e1f0f2af 100644 --- a/debian/patches-rt/0113-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch +++ b/debian/patches-rt/0113-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch @@ -1,12 +1,12 @@ -From c6c2b9b244badb5d0cad014f0e5ff7db89e43ffb Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 88ad37991950318c862016a9beba42af7bfa91d4 Mon Sep 17 00:00:00 2001 +Message-Id: <88ad37991950318c862016a9beba42af7bfa91d4.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Steven Rostedt Date: Mon, 18 Mar 2013 15:12:49 -0400 -Subject: [PATCH 113/330] sched/workqueue: Only wake up idle workers if not +Subject: [PATCH 113/329] sched/workqueue: Only wake up idle workers if not blocked on sleeping spin lock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz In -rt, most spin_locks() turn into mutexes. One of these spin_lock conversions is performed on the workqueue gcwq->lock. When the idle @@ -28,7 +28,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 59d43c084023..e792543de8eb 100644 +index dec4822184bb..7071cbc98e01 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3539,8 +3539,10 @@ static void __sched notrace __schedule(bool preempt) diff --git a/debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch b/debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch index 46d1a9914..e2484a787 100644 --- a/debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch +++ b/debian/patches-rt/0114-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch @@ -1,12 +1,12 @@ -From 51581e70171fc658c9d84e6bcbf4f165888c3602 Mon Sep 17 00:00:00 2001 -Message-Id: <51581e70171fc658c9d84e6bcbf4f165888c3602.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 1e802fce8a92be8cf3b201d8c658def007b2cbde Mon Sep 17 00:00:00 2001 +Message-Id: <1e802fce8a92be8cf3b201d8c658def007b2cbde.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Daniel Bristot de Oliveira Date: Mon, 26 Jun 2017 17:07:15 +0200 -Subject: [PATCH 114/330] rt: Increase/decrease the nr of migratory tasks when +Subject: [PATCH 114/329] rt: Increase/decrease the nr of migratory tasks when enabling/disabling migration -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz There is a problem in the migrate_disable()/enable() implementation regarding the number of migratory tasks in the rt/dl RQs. The problem @@ -85,10 +85,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 44 insertions(+), 5 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index e792543de8eb..57617777c4ba 100644 +index 7071cbc98e01..3a9b540fd3b9 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7185,6 +7185,47 @@ const u32 sched_prio_to_wmult[40] = { +@@ -7178,6 +7178,47 @@ const u32 sched_prio_to_wmult[40] = { #if defined(CONFIG_PREEMPT_COUNT) && defined(CONFIG_SMP) @@ -136,7 +136,7 @@ index e792543de8eb..57617777c4ba 100644 void migrate_disable(void) { struct task_struct *p = current; -@@ -7208,10 +7249,9 @@ void migrate_disable(void) +@@ -7201,10 +7242,9 @@ void migrate_disable(void) } preempt_disable(); @@ -149,7 +149,7 @@ index e792543de8eb..57617777c4ba 100644 preempt_enable(); } -@@ -7243,9 +7283,8 @@ void migrate_enable(void) +@@ -7236,9 +7276,8 @@ void migrate_enable(void) preempt_disable(); diff --git a/debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch b/debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch index 68c201287..53997f726 100644 --- a/debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch +++ b/debian/patches-rt/0115-hotplug-Lightweight-get-online-cpus.patch @@ -1,11 +1,11 @@ -From 760fbae52ee672d35a40f60ad9b510f1f7ef686d Mon Sep 17 00:00:00 2001 -Message-Id: <760fbae52ee672d35a40f60ad9b510f1f7ef686d.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 85c9e2d307b41b0004871e9161ac37b2f79d3405 Mon Sep 17 00:00:00 2001 +Message-Id: <85c9e2d307b41b0004871e9161ac37b2f79d3405.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 15 Jun 2011 12:36:06 +0200 -Subject: [PATCH 115/330] hotplug: Lightweight get online cpus -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 115/329] hotplug: Lightweight get online cpus +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz get_online_cpus() is a heavy weight function which involves a global mutex. migrate_disable() wants a simpler construct which prevents only @@ -46,10 +46,10 @@ index aab4273810e3..e67645924404 100644 /* Wrappers which go away once all code is converted */ diff --git a/kernel/cpu.c b/kernel/cpu.c -index 6d6c106a495c..dc5d1e940e25 100644 +index 08b9d6ba0807..267fcad3a81e 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c -@@ -281,6 +281,21 @@ static int cpu_hotplug_disabled; +@@ -282,6 +282,21 @@ static int cpu_hotplug_disabled; #ifdef CONFIG_HOTPLUG_CPU @@ -72,10 +72,10 @@ index 6d6c106a495c..dc5d1e940e25 100644 void cpus_read_lock(void) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 57617777c4ba..42b42ebf52bc 100644 +index 3a9b540fd3b9..09a3bd47ac4d 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7249,6 +7249,7 @@ void migrate_disable(void) +@@ -7242,6 +7242,7 @@ void migrate_disable(void) } preempt_disable(); @@ -83,7 +83,7 @@ index 57617777c4ba..42b42ebf52bc 100644 migrate_disable_update_cpus_allowed(p); p->migrate_disable = 1; -@@ -7314,12 +7315,15 @@ void migrate_enable(void) +@@ -7307,12 +7308,15 @@ void migrate_enable(void) arg.task = p; arg.dest_cpu = dest_cpu; diff --git a/debian/patches-rt/0116-trace-Add-migrate-disabled-counter-to-tracing-output.patch b/debian/patches-rt/0116-trace-Add-migrate-disabled-counter-to-tracing-output.patch index a8dce3b92..53927ad36 100644 --- a/debian/patches-rt/0116-trace-Add-migrate-disabled-counter-to-tracing-output.patch +++ b/debian/patches-rt/0116-trace-Add-migrate-disabled-counter-to-tracing-output.patch @@ -1,11 +1,11 @@ -From 7499455407bb0dbe20122d70909f1500c1004d14 Mon Sep 17 00:00:00 2001 -Message-Id: <7499455407bb0dbe20122d70909f1500c1004d14.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4bf6bad97c9674124fcbb9e9a7296fb9ca3182b0 Mon Sep 17 00:00:00 2001 +Message-Id: <4bf6bad97c9674124fcbb9e9a7296fb9ca3182b0.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:56:42 +0200 -Subject: [PATCH 116/330] trace: Add migrate-disabled counter to tracing output -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 116/329] trace: Add migrate-disabled counter to tracing output +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches-rt/0117-lockdep-Make-it-RT-aware.patch b/debian/patches-rt/0117-lockdep-Make-it-RT-aware.patch index 17420d668..97c8a433d 100644 --- a/debian/patches-rt/0117-lockdep-Make-it-RT-aware.patch +++ b/debian/patches-rt/0117-lockdep-Make-it-RT-aware.patch @@ -1,11 +1,11 @@ -From 6b13a5f0f483a4be1ea620a8681b2c3ad1068a53 Mon Sep 17 00:00:00 2001 -Message-Id: <6b13a5f0f483a4be1ea620a8681b2c3ad1068a53.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d95c9b99941927302bb971d15be6c1aa134b9651 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 17 Jul 2011 18:51:23 +0200 -Subject: [PATCH 117/330] lockdep: Make it RT aware -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 117/329] lockdep: Make it RT aware +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz teach lockdep that we don't really do softirqs on -RT. diff --git a/debian/patches-rt/0118-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch b/debian/patches-rt/0118-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch index cce48e81e..43eaf1952 100644 --- a/debian/patches-rt/0118-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch +++ b/debian/patches-rt/0118-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch @@ -1,12 +1,12 @@ -From f32e8b7b0f6569d517f577809cb9172aebe83064 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 768c87ca12f332fce71bd2761d907ac769c41dd1 Mon Sep 17 00:00:00 2001 +Message-Id: <768c87ca12f332fce71bd2761d907ac769c41dd1.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Tue, 29 Nov 2011 20:18:22 -0500 -Subject: [PATCH 118/330] tasklet: Prevent tasklets from going into infinite +Subject: [PATCH 118/329] tasklet: Prevent tasklets from going into infinite spin in RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz When CONFIG_PREEMPT_RT_FULL is enabled, tasklets run as threads, and spinlocks turn are mutexes. But this can cause issues with diff --git a/debian/patches-rt/0119-softirq-Check-preemption-after-reenabling-interrupts.patch b/debian/patches-rt/0119-softirq-Check-preemption-after-reenabling-interrupts.patch index 6f781cbc9..f01f3c55a 100644 --- a/debian/patches-rt/0119-softirq-Check-preemption-after-reenabling-interrupts.patch +++ b/debian/patches-rt/0119-softirq-Check-preemption-after-reenabling-interrupts.patch @@ -1,11 +1,11 @@ -From 48694ef24846509a7675309ef30fca17b76fcb07 Mon Sep 17 00:00:00 2001 -Message-Id: <48694ef24846509a7675309ef30fca17b76fcb07.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7bffa3aab272faffc0258ae1ac28130f1cb15e51 Mon Sep 17 00:00:00 2001 +Message-Id: <7bffa3aab272faffc0258ae1ac28130f1cb15e51.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 13 Nov 2011 17:17:09 +0100 -Subject: [PATCH 119/330] softirq: Check preemption after reenabling interrupts -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 119/329] softirq: Check preemption after reenabling interrupts +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz raise_softirq_irqoff() disables interrupts and wakes the softirq daemon, but after reenabling interrupts there is no preemption check, @@ -120,10 +120,10 @@ index 86a709954f5a..9c069ef83d6d 100644 return 0; } diff --git a/net/core/dev.c b/net/core/dev.c -index 50498a75c04b..0e4cff101523 100644 +index 4b1053057ca6..1f221e369032 100644 --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -2727,6 +2727,7 @@ static void __netif_reschedule(struct Qdisc *q) +@@ -2723,6 +2723,7 @@ static void __netif_reschedule(struct Qdisc *q) sd->output_queue_tailp = &q->next_sched; raise_softirq_irqoff(NET_TX_SOFTIRQ); local_irq_restore(flags); @@ -131,7 +131,7 @@ index 50498a75c04b..0e4cff101523 100644 } void __netif_schedule(struct Qdisc *q) -@@ -2789,6 +2790,7 @@ void __dev_kfree_skb_irq(struct sk_buff *skb, enum skb_free_reason reason) +@@ -2785,6 +2786,7 @@ void __dev_kfree_skb_irq(struct sk_buff *skb, enum skb_free_reason reason) __this_cpu_write(softnet_data.completion_queue, skb); raise_softirq_irqoff(NET_TX_SOFTIRQ); local_irq_restore(flags); @@ -139,7 +139,7 @@ index 50498a75c04b..0e4cff101523 100644 } EXPORT_SYMBOL(__dev_kfree_skb_irq); -@@ -4264,6 +4266,7 @@ static int enqueue_to_backlog(struct sk_buff *skb, int cpu, +@@ -4258,6 +4260,7 @@ static int enqueue_to_backlog(struct sk_buff *skb, int cpu, rps_unlock(sd); local_irq_restore(flags); @@ -147,7 +147,7 @@ index 50498a75c04b..0e4cff101523 100644 atomic_long_inc(&skb->dev->rx_dropped); kfree_skb(skb); -@@ -5814,12 +5817,14 @@ static void net_rps_action_and_irq_enable(struct softnet_data *sd) +@@ -5808,12 +5811,14 @@ static void net_rps_action_and_irq_enable(struct softnet_data *sd) sd->rps_ipi_list = NULL; local_irq_enable(); @@ -162,7 +162,7 @@ index 50498a75c04b..0e4cff101523 100644 } static bool sd_has_rps_ipi_waiting(struct softnet_data *sd) -@@ -5897,6 +5902,7 @@ void __napi_schedule(struct napi_struct *n) +@@ -5891,6 +5896,7 @@ void __napi_schedule(struct napi_struct *n) local_irq_save(flags); ____napi_schedule(this_cpu_ptr(&softnet_data), n); local_irq_restore(flags); @@ -170,7 +170,7 @@ index 50498a75c04b..0e4cff101523 100644 } EXPORT_SYMBOL(__napi_schedule); -@@ -9501,6 +9507,7 @@ static int dev_cpu_dead(unsigned int oldcpu) +@@ -9502,6 +9508,7 @@ static int dev_cpu_dead(unsigned int oldcpu) raise_softirq_irqoff(NET_TX_SOFTIRQ); local_irq_enable(); diff --git a/debian/patches-rt/0120-softirq-Disable-softirq-stacks-for-RT.patch b/debian/patches-rt/0120-softirq-Disable-softirq-stacks-for-RT.patch index 778487530..6f4255629 100644 --- a/debian/patches-rt/0120-softirq-Disable-softirq-stacks-for-RT.patch +++ b/debian/patches-rt/0120-softirq-Disable-softirq-stacks-for-RT.patch @@ -1,11 +1,11 @@ -From 17760159c08298032722aec1863b38e4e9d7c8df Mon Sep 17 00:00:00 2001 -Message-Id: <17760159c08298032722aec1863b38e4e9d7c8df.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f81f11c9eed16e4c02170c311cb5e266f75739c6 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Mon, 18 Jul 2011 13:59:17 +0200 -Subject: [PATCH 120/330] softirq: Disable softirq stacks for RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 120/329] softirq: Disable softirq stacks for RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Disable extra stacks for softirqs. We want to preempt softirqs and having them on special IRQ-stack does not make this easier. diff --git a/debian/patches-rt/0121-softirq-Split-softirq-locks.patch b/debian/patches-rt/0121-softirq-Split-softirq-locks.patch index e1358992c..334855a70 100644 --- a/debian/patches-rt/0121-softirq-Split-softirq-locks.patch +++ b/debian/patches-rt/0121-softirq-Split-softirq-locks.patch @@ -1,11 +1,11 @@ -From 7ffb028cfaf7252d1b4485546feefed68498c041 Mon Sep 17 00:00:00 2001 -Message-Id: <7ffb028cfaf7252d1b4485546feefed68498c041.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 921b748460720ebd192635d0f95162867fcc3dc3 Mon Sep 17 00:00:00 2001 +Message-Id: <921b748460720ebd192635d0f95162867fcc3dc3.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 4 Oct 2012 14:20:47 +0100 -Subject: [PATCH 121/330] softirq: Split softirq locks -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 121/329] softirq: Split softirq locks +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The 3.x RT series removed the split softirq implementation in favour of pushing softirq processing into the context of the thread which diff --git a/debian/patches-rt/0122-net-core-use-local_bh_disable-in-netif_rx_ni.patch b/debian/patches-rt/0122-net-core-use-local_bh_disable-in-netif_rx_ni.patch index a604d382c..b11d350da 100644 --- a/debian/patches-rt/0122-net-core-use-local_bh_disable-in-netif_rx_ni.patch +++ b/debian/patches-rt/0122-net-core-use-local_bh_disable-in-netif_rx_ni.patch @@ -1,11 +1,11 @@ -From c86a807b0ba3c42e49539839c06055e81dc1f8c5 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From bcc13fe39aece97f424f3256e90a6cd0f17d7b01 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 16 Jun 2017 19:03:16 +0200 -Subject: [PATCH 122/330] net/core: use local_bh_disable() in netif_rx_ni() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 122/329] net/core: use local_bh_disable() in netif_rx_ni() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz In 2004 netif_rx_ni() gained a preempt_disable() section around netif_rx() and its do_softirq() + testing for it. The do_softirq() part @@ -22,10 +22,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c -index 0e4cff101523..d4b73961f54b 100644 +index 1f221e369032..2bfd79026bb3 100644 --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -4532,11 +4532,9 @@ int netif_rx_ni(struct sk_buff *skb) +@@ -4526,11 +4526,9 @@ int netif_rx_ni(struct sk_buff *skb) trace_netif_rx_ni_entry(skb); diff --git a/debian/patches-rt/0123-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch b/debian/patches-rt/0123-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch index 4a835594b..2338ba8d0 100644 --- a/debian/patches-rt/0123-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch +++ b/debian/patches-rt/0123-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch @@ -1,12 +1,12 @@ -From 9a7d0a7baf8fdc58ae85f28aa8ddc11e725e9506 Mon Sep 17 00:00:00 2001 -Message-Id: <9a7d0a7baf8fdc58ae85f28aa8ddc11e725e9506.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e0f9b20c3185ff122ec48f9a7fa0cf02a075efe1 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 31 Jan 2012 13:01:27 +0100 -Subject: [PATCH 123/330] genirq: Allow disabling of softirq processing in irq +Subject: [PATCH 123/329] genirq: Allow disabling of softirq processing in irq thread context -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The processing of softirqs in irq thread context is a performance gain for the non-rt workloads of a system, but it's counterproductive for diff --git a/debian/patches-rt/0124-softirq-split-timer-softirqs-out-of-ksoftirqd.patch b/debian/patches-rt/0124-softirq-split-timer-softirqs-out-of-ksoftirqd.patch index 7c027fec7..1ec9feea8 100644 --- a/debian/patches-rt/0124-softirq-split-timer-softirqs-out-of-ksoftirqd.patch +++ b/debian/patches-rt/0124-softirq-split-timer-softirqs-out-of-ksoftirqd.patch @@ -1,11 +1,11 @@ -From 37c06241be6216ceae2fe1bc4680b979adfedc9e Mon Sep 17 00:00:00 2001 -Message-Id: <37c06241be6216ceae2fe1bc4680b979adfedc9e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From feb3592a44d5482ae9e3a5b3812355048aba2956 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 20 Jan 2016 16:34:17 +0100 -Subject: [PATCH 124/330] softirq: split timer softirqs out of ksoftirqd -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 124/329] softirq: split timer softirqs out of ksoftirqd +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The softirqd runs in -RT with SCHED_FIFO (prio 1) and deals mostly with timer wakeup which can not happen in hardirq context. The prio has been diff --git a/debian/patches-rt/0125-softirq-Avoid-local_softirq_pending-messages-if-ksof.patch b/debian/patches-rt/0125-softirq-Avoid-local_softirq_pending-messages-if-ksof.patch index eee1b3468..bcf00b452 100644 --- a/debian/patches-rt/0125-softirq-Avoid-local_softirq_pending-messages-if-ksof.patch +++ b/debian/patches-rt/0125-softirq-Avoid-local_softirq_pending-messages-if-ksof.patch @@ -1,12 +1,12 @@ -From 8d8149c8babe49e42b6924b72fec5c341ce59609 Mon Sep 17 00:00:00 2001 -Message-Id: <8d8149c8babe49e42b6924b72fec5c341ce59609.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f148f4152b11a7592f60ca3e679b0c4a2a40c926 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 18 Feb 2019 13:19:59 +0100 -Subject: [PATCH 125/330] softirq: Avoid "local_softirq_pending" messages if +Subject: [PATCH 125/329] softirq: Avoid "local_softirq_pending" messages if ksoftirqd is blocked -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz If the ksoftirqd thread has a softirq pending and is blocked on the `local_softirq_locks' lock then softirq_check_pending_idle() won't diff --git a/debian/patches-rt/0126-softirq-Avoid-local_softirq_pending-messages-if-task.patch b/debian/patches-rt/0126-softirq-Avoid-local_softirq_pending-messages-if-task.patch index eaad82232..dac0df6a9 100644 --- a/debian/patches-rt/0126-softirq-Avoid-local_softirq_pending-messages-if-task.patch +++ b/debian/patches-rt/0126-softirq-Avoid-local_softirq_pending-messages-if-task.patch @@ -1,12 +1,12 @@ -From bd0ec3ed10c820a977c548af017f27c3c8516d09 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From dd2c7383373a393116806133cd2624132dd009f7 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 19 Feb 2019 16:49:29 +0100 -Subject: [PATCH 126/330] softirq: Avoid "local_softirq_pending" messages if +Subject: [PATCH 126/329] softirq: Avoid "local_softirq_pending" messages if task is in cpu_chill() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz If the softirq thread enters cpu_chill() then ->state is UNINTERRUPTIBLE and has no ->pi_blocked_on set and so its mask is not taken into account. diff --git a/debian/patches-rt/0127-rtmutex-trylock-is-okay-on-RT.patch b/debian/patches-rt/0127-rtmutex-trylock-is-okay-on-RT.patch index d4ce76963..5fc034309 100644 --- a/debian/patches-rt/0127-rtmutex-trylock-is-okay-on-RT.patch +++ b/debian/patches-rt/0127-rtmutex-trylock-is-okay-on-RT.patch @@ -1,11 +1,11 @@ -From 6fd6ead7c002cc211af77ed296eb8076cc06189e Mon Sep 17 00:00:00 2001 -Message-Id: <6fd6ead7c002cc211af77ed296eb8076cc06189e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From edb63219fb471886494b258e2730059c17e69b66 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 2 Dec 2015 11:34:07 +0100 -Subject: [PATCH 127/330] rtmutex: trylock is okay on -RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 127/329] rtmutex: trylock is okay on -RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz non-RT kernel could deadlock on rt_mutex_trylock() in softirq context. On -RT we don't run softirqs in IRQ context but in thread context so it is diff --git a/debian/patches-rt/0128-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch b/debian/patches-rt/0128-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch index fd205a047..17603989b 100644 --- a/debian/patches-rt/0128-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch +++ b/debian/patches-rt/0128-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch @@ -1,11 +1,11 @@ -From aa209e69997c5d05c47950bbf360bb3b36c56d4e Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 0660dd90791122ae769e74eb63234c8565f67f15 Mon Sep 17 00:00:00 2001 +Message-Id: <0660dd90791122ae769e74eb63234c8565f67f15.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 15 Sep 2016 10:51:27 +0200 -Subject: [PATCH 128/330] fs/nfs: turn rmdir_sem into a semaphore -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 128/329] fs/nfs: turn rmdir_sem into a semaphore +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The RW semaphore had a reader side which used the _non_owner version because it most likely took the reader lock in one thread and released it diff --git a/debian/patches-rt/0129-rtmutex-Handle-the-various-new-futex-race-conditions.patch b/debian/patches-rt/0129-rtmutex-Handle-the-various-new-futex-race-conditions.patch index 0420c6dd5..c1d36ca2d 100644 --- a/debian/patches-rt/0129-rtmutex-Handle-the-various-new-futex-race-conditions.patch +++ b/debian/patches-rt/0129-rtmutex-Handle-the-various-new-futex-race-conditions.patch @@ -1,11 +1,11 @@ -From dd0fd98a2b04d787c2bc1703d840f725950efb44 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2bb0c729998289856cf8881739cd03f2f0e29d59 Mon Sep 17 00:00:00 2001 +Message-Id: <2bb0c729998289856cf8881739cd03f2f0e29d59.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 10 Jun 2011 11:04:15 +0200 -Subject: [PATCH 129/330] rtmutex: Handle the various new futex race conditions -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 129/329] rtmutex: Handle the various new futex race conditions +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz RT opens a few new interesting race conditions in the rtmutex/futex combo due to futex hash bucket lock being a 'sleeping' spinlock and diff --git a/debian/patches-rt/0130-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch b/debian/patches-rt/0130-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch index 4d06f51f5..19b8db0c5 100644 --- a/debian/patches-rt/0130-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch +++ b/debian/patches-rt/0130-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch @@ -1,11 +1,11 @@ -From 1ac7fd9c7790dcd9a56dd4f5ee7c475334325588 Mon Sep 17 00:00:00 2001 -Message-Id: <1ac7fd9c7790dcd9a56dd4f5ee7c475334325588.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d8bfdedb7844d7fca24293ca066b4ae5be9e2dea Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Steven Rostedt Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 130/330] futex: Fix bug on when a requeued RT task times out -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 130/329] futex: Fix bug on when a requeued RT task times out +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Requeue with timeout causes a bug with PREEMPT_RT_FULL. diff --git a/debian/patches-rt/0131-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch b/debian/patches-rt/0131-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch index a5b8476ba..cf75080f3 100644 --- a/debian/patches-rt/0131-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch +++ b/debian/patches-rt/0131-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch @@ -1,12 +1,12 @@ -From 9717072ba19978a6d8e38adb0d29c4e4f13fe5d5 Mon Sep 17 00:00:00 2001 -Message-Id: <9717072ba19978a6d8e38adb0d29c4e4f13fe5d5.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 35273d49274c01ab03833c5219ce7b30f9f36cc1 Mon Sep 17 00:00:00 2001 +Message-Id: <35273d49274c01ab03833c5219ce7b30f9f36cc1.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 1 Mar 2013 11:17:42 +0100 -Subject: [PATCH 131/330] futex: Ensure lock/unlock symetry versus pi_lock and +Subject: [PATCH 131/329] futex: Ensure lock/unlock symetry versus pi_lock and hash bucket lock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz In exit_pi_state_list() we have the following locking construct: diff --git a/debian/patches-rt/0132-pid.h-include-atomic.h.patch b/debian/patches-rt/0132-pid.h-include-atomic.h.patch index 17b123565..56ae6b028 100644 --- a/debian/patches-rt/0132-pid.h-include-atomic.h.patch +++ b/debian/patches-rt/0132-pid.h-include-atomic.h.patch @@ -1,11 +1,11 @@ -From d53b2ae993127a1b0d8ef29d0f3e2bfa6be672e2 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6b3e471581877b22e9fbfb1e6472956c9efa7705 Mon Sep 17 00:00:00 2001 +Message-Id: <6b3e471581877b22e9fbfb1e6472956c9efa7705.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Grygorii Strashko Date: Tue, 21 Jul 2015 19:43:56 +0300 -Subject: [PATCH 132/330] pid.h: include atomic.h -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 132/329] pid.h: include atomic.h +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz This patch fixes build error: CC kernel/pid_namespace.o diff --git a/debian/patches-rt/0133-arm-include-definition-for-cpumask_t.patch b/debian/patches-rt/0133-arm-include-definition-for-cpumask_t.patch index 9dc5fc9f3..a8ad13c40 100644 --- a/debian/patches-rt/0133-arm-include-definition-for-cpumask_t.patch +++ b/debian/patches-rt/0133-arm-include-definition-for-cpumask_t.patch @@ -1,11 +1,11 @@ -From 12acd35cb03c39a70b0114789cd0a9157f1ce48c Mon Sep 17 00:00:00 2001 -Message-Id: <12acd35cb03c39a70b0114789cd0a9157f1ce48c.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 704fd0762604e2bd369a99398fb96da26c8f1d39 Mon Sep 17 00:00:00 2001 +Message-Id: <704fd0762604e2bd369a99398fb96da26c8f1d39.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 22 Dec 2016 17:28:33 +0100 -Subject: [PATCH 133/330] arm: include definition for cpumask_t -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 133/329] arm: include definition for cpumask_t +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz This definition gets pulled in by other files. With the (later) split of RCU and spinlock.h it won't compile anymore. diff --git a/debian/patches-rt/0134-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch b/debian/patches-rt/0134-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch index e31a634ec..c9e6e5168 100644 --- a/debian/patches-rt/0134-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch +++ b/debian/patches-rt/0134-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch @@ -1,12 +1,12 @@ -From 71a35e0dd13879ed7303889af99754de08462969 Mon Sep 17 00:00:00 2001 -Message-Id: <71a35e0dd13879ed7303889af99754de08462969.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From abbf607d629b2a88c82356f6426e4589f261c906 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Wolfgang M. Reimer" Date: Tue, 21 Jul 2015 16:20:07 +0200 -Subject: [PATCH 134/330] locking: locktorture: Do NOT include rwlock.h +Subject: [PATCH 134/329] locking: locktorture: Do NOT include rwlock.h directly -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Including rwlock.h directly will cause kernel builds to fail if CONFIG_PREEMPT_RT_FULL is defined. The correct header file diff --git a/debian/patches-rt/0135-rtmutex-Add-rtmutex_lock_killable.patch b/debian/patches-rt/0135-rtmutex-Add-rtmutex_lock_killable.patch index 4a55cc854..0c546ffa1 100644 --- a/debian/patches-rt/0135-rtmutex-Add-rtmutex_lock_killable.patch +++ b/debian/patches-rt/0135-rtmutex-Add-rtmutex_lock_killable.patch @@ -1,11 +1,11 @@ -From 3d8af4d515592cffd67fdcf39d35c64e7e83598c Mon Sep 17 00:00:00 2001 -Message-Id: <3d8af4d515592cffd67fdcf39d35c64e7e83598c.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d46394be0b0a7972dc97ae036ab7dde4d540d863 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 9 Jun 2011 11:43:52 +0200 -Subject: [PATCH 135/330] rtmutex: Add rtmutex_lock_killable() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 135/329] rtmutex: Add rtmutex_lock_killable() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Add "killable" type to rtmutex. We need this since rtmutex are used as "normal" mutexes which do use this type. diff --git a/debian/patches-rt/0136-rtmutex-Make-lock_killable-work.patch b/debian/patches-rt/0136-rtmutex-Make-lock_killable-work.patch index 22b626d58..b167e8dfb 100644 --- a/debian/patches-rt/0136-rtmutex-Make-lock_killable-work.patch +++ b/debian/patches-rt/0136-rtmutex-Make-lock_killable-work.patch @@ -1,11 +1,11 @@ -From 069a09db29e6f1567519760e1d1b148c8dad75cb Mon Sep 17 00:00:00 2001 -Message-Id: <069a09db29e6f1567519760e1d1b148c8dad75cb.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 494edddcde6065246e4fc06c04664a75f6544b33 Mon Sep 17 00:00:00 2001 +Message-Id: <494edddcde6065246e4fc06c04664a75f6544b33.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sat, 1 Apr 2017 12:50:59 +0200 -Subject: [PATCH 136/330] rtmutex: Make lock_killable work -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 136/329] rtmutex: Make lock_killable work +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Locking an rt mutex killable does not work because signal handling is restricted to TASK_INTERRUPTIBLE. diff --git a/debian/patches-rt/0137-spinlock-Split-the-lock-types-header.patch b/debian/patches-rt/0137-spinlock-Split-the-lock-types-header.patch index 81910ed6f..8257f9572 100644 --- a/debian/patches-rt/0137-spinlock-Split-the-lock-types-header.patch +++ b/debian/patches-rt/0137-spinlock-Split-the-lock-types-header.patch @@ -1,11 +1,11 @@ -From 5e42d3cb61508547d068d8bac88f4edf22de19f6 Mon Sep 17 00:00:00 2001 -Message-Id: <5e42d3cb61508547d068d8bac88f4edf22de19f6.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 8e8547bae6810bd2b32db0735d7e3607139f8177 Mon Sep 17 00:00:00 2001 +Message-Id: <8e8547bae6810bd2b32db0735d7e3607139f8177.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 29 Jun 2011 19:34:01 +0200 -Subject: [PATCH 137/330] spinlock: Split the lock types header -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 137/329] spinlock: Split the lock types header +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Split raw_spinlock into its own file and the remaining spinlock_t into its own non-RT header. The non-RT header will be replaced later by sleeping diff --git a/debian/patches-rt/0138-rtmutex-Avoid-include-hell.patch b/debian/patches-rt/0138-rtmutex-Avoid-include-hell.patch index 428f569f6..22626ca73 100644 --- a/debian/patches-rt/0138-rtmutex-Avoid-include-hell.patch +++ b/debian/patches-rt/0138-rtmutex-Avoid-include-hell.patch @@ -1,11 +1,11 @@ -From a55de65b25a8e9ebae2b0aeb91a2ed3772a5320d Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 79a9f81a780a4e0a5e3afdbeeb3a1428b7dbc41d Mon Sep 17 00:00:00 2001 +Message-Id: <79a9f81a780a4e0a5e3afdbeeb3a1428b7dbc41d.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 29 Jun 2011 20:06:39 +0200 -Subject: [PATCH 138/330] rtmutex: Avoid include hell -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 138/329] rtmutex: Avoid include hell +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Include only the required raw types. This avoids pulling in the complete spinlock header which in turn requires rtmutex.h at some point. diff --git a/debian/patches-rt/0139-rbtree-don-t-include-the-rcu-header.patch b/debian/patches-rt/0139-rbtree-don-t-include-the-rcu-header.patch index d58a0d834..a8c817d61 100644 --- a/debian/patches-rt/0139-rbtree-don-t-include-the-rcu-header.patch +++ b/debian/patches-rt/0139-rbtree-don-t-include-the-rcu-header.patch @@ -1,14 +1,14 @@ -From cdcb915e9a0890f1dd0cd2968b110e0db62bbdb3 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 300de200cee155efc83b8fd10740ca001f3e3a51 Mon Sep 17 00:00:00 2001 +Message-Id: <300de200cee155efc83b8fd10740ca001f3e3a51.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 26 Feb 2019 16:56:02 +0100 -Subject: [PATCH 139/330] rbtree: don't include the rcu header +Subject: [PATCH 139/329] rbtree: don't include the rcu header 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The RCU header pulls in spinlock.h and fails due not yet defined types: diff --git a/debian/patches-rt/0140-rtmutex-Provide-rt_mutex_slowlock_locked.patch b/debian/patches-rt/0140-rtmutex-Provide-rt_mutex_slowlock_locked.patch index 7372753cf..e3267a95b 100644 --- a/debian/patches-rt/0140-rtmutex-Provide-rt_mutex_slowlock_locked.patch +++ b/debian/patches-rt/0140-rtmutex-Provide-rt_mutex_slowlock_locked.patch @@ -1,11 +1,11 @@ -From f50980e9779c472c8dcbb529d66ab12804fe53e7 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 9a3c535ec26f02d03862284b47fa4a9633bbe69f Mon Sep 17 00:00:00 2001 +Message-Id: <9a3c535ec26f02d03862284b47fa4a9633bbe69f.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 12 Oct 2017 16:14:22 +0200 -Subject: [PATCH 140/330] rtmutex: Provide rt_mutex_slowlock_locked() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 140/329] rtmutex: Provide rt_mutex_slowlock_locked() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz This is the inner-part of rt_mutex_slowlock(), required for rwsem-rt. diff --git a/debian/patches-rt/0141-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch b/debian/patches-rt/0141-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch index b865cc367..e1118f050 100644 --- a/debian/patches-rt/0141-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch +++ b/debian/patches-rt/0141-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch @@ -1,12 +1,12 @@ -From d98c7d8371e95d28a96e6b0364cf896cd2de136f Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 98b7618e6929d4516b5db099edde7d36b16bf26a Mon Sep 17 00:00:00 2001 +Message-Id: <98b7618e6929d4516b5db099edde7d36b16bf26a.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 12 Oct 2017 16:36:39 +0200 -Subject: [PATCH 141/330] rtmutex: export lockdep-less version of rt_mutex's +Subject: [PATCH 141/329] rtmutex: export lockdep-less version of rt_mutex's lock, trylock and unlock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Required for lock implementation ontop of rtmutex. diff --git a/debian/patches-rt/0142-rtmutex-add-sleeping-lock-implementation.patch b/debian/patches-rt/0142-rtmutex-add-sleeping-lock-implementation.patch index dd25625fb..2ce4ead37 100644 --- a/debian/patches-rt/0142-rtmutex-add-sleeping-lock-implementation.patch +++ b/debian/patches-rt/0142-rtmutex-add-sleeping-lock-implementation.patch @@ -1,11 +1,11 @@ -From 5a8fdc747b99a39b46eed22131df058553387e29 Mon Sep 17 00:00:00 2001 -Message-Id: <5a8fdc747b99a39b46eed22131df058553387e29.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 8110c4679cb552291c1ba1765416e889d07ef28e Mon Sep 17 00:00:00 2001 +Message-Id: <8110c4679cb552291c1ba1765416e889d07ef28e.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:11:19 +0200 -Subject: [PATCH 142/330] rtmutex: add sleeping lock implementation -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 142/329] rtmutex: add sleeping lock implementation +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior @@ -1147,7 +1147,7 @@ index 5955ad2aa2a8..6fcf0a3e180d 100644 #ifdef CONFIG_DEBUG_RT_MUTEXES # include "rtmutex-debug.h" diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 42b42ebf52bc..6a0ccaea2b42 100644 +index 09a3bd47ac4d..9c20e213ef80 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -401,9 +401,15 @@ static bool set_nr_if_polling(struct task_struct *p) diff --git a/debian/patches-rt/0143-rtmutex-add-mutex-implementation-based-on-rtmutex.patch b/debian/patches-rt/0143-rtmutex-add-mutex-implementation-based-on-rtmutex.patch index 779dddeb7..eec4dc875 100644 --- a/debian/patches-rt/0143-rtmutex-add-mutex-implementation-based-on-rtmutex.patch +++ b/debian/patches-rt/0143-rtmutex-add-mutex-implementation-based-on-rtmutex.patch @@ -1,11 +1,11 @@ -From d8cee7c6cad728b4488fc439220a0675a61827d9 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From a0019036eea95155544ba06be73424ff9e1e4379 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:17:03 +0200 -Subject: [PATCH 143/330] rtmutex: add mutex implementation based on rtmutex -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 143/329] rtmutex: add mutex implementation based on rtmutex +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior diff --git a/debian/patches-rt/0144-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch b/debian/patches-rt/0144-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch index 0629553f1..5cd4cfd02 100644 --- a/debian/patches-rt/0144-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch +++ b/debian/patches-rt/0144-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch @@ -1,11 +1,11 @@ -From 477c61540feebd0f5b6e684894284cc78fed4ae9 Mon Sep 17 00:00:00 2001 -Message-Id: <477c61540feebd0f5b6e684894284cc78fed4ae9.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From a4852655557dde4109b2378072bad869e2b267c3 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:28:34 +0200 -Subject: [PATCH 144/330] rtmutex: add rwsem implementation based on rtmutex -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 144/329] rtmutex: add rwsem implementation based on rtmutex +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The RT specific R/W semaphore implementation restricts the number of readers to one because a writer cannot block on multiple readers and inherit its diff --git a/debian/patches-rt/0145-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch b/debian/patches-rt/0145-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch index 738f34f5b..637457f8d 100644 --- a/debian/patches-rt/0145-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch +++ b/debian/patches-rt/0145-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch @@ -1,11 +1,11 @@ -From 4bd45517f2813803b7157c7b176e41c704a7737e Mon Sep 17 00:00:00 2001 -Message-Id: <4bd45517f2813803b7157c7b176e41c704a7737e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f3395089197a2ac80e93ab91acaa78ad3b4ab440 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:18:06 +0200 -Subject: [PATCH 145/330] rtmutex: add rwlock implementation based on rtmutex -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 145/329] rtmutex: add rwlock implementation based on rtmutex +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The implementation is bias-based, similar to the rwsem implementation. diff --git a/debian/patches-rt/0146-rtmutex-rwlock-preserve-state-like-a-sleeping-lock.patch b/debian/patches-rt/0146-rtmutex-rwlock-preserve-state-like-a-sleeping-lock.patch index c5cd4973f..8fa4a4856 100644 --- a/debian/patches-rt/0146-rtmutex-rwlock-preserve-state-like-a-sleeping-lock.patch +++ b/debian/patches-rt/0146-rtmutex-rwlock-preserve-state-like-a-sleeping-lock.patch @@ -1,11 +1,11 @@ -From 37cef0066d9b77015698f8d65d9f3bbb439df92b Mon Sep 17 00:00:00 2001 -Message-Id: <37cef0066d9b77015698f8d65d9f3bbb439df92b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 43c60224c5e3818f45e5d36849f3992786957014 Mon Sep 17 00:00:00 2001 +Message-Id: <43c60224c5e3818f45e5d36849f3992786957014.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 11 Jan 2019 21:16:31 +0100 -Subject: [PATCH 146/330] rtmutex/rwlock: preserve state like a sleeping lock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 146/329] rtmutex/rwlock: preserve state like a sleeping lock +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The rwlock is spinning while acquiring a lock. Therefore it must become a sleeping lock on RT and preserve its task state while sleeping and diff --git a/debian/patches-rt/0147-rtmutex-wire-up-RT-s-locking.patch b/debian/patches-rt/0147-rtmutex-wire-up-RT-s-locking.patch index fe8a4a6f5..a7da866cc 100644 --- a/debian/patches-rt/0147-rtmutex-wire-up-RT-s-locking.patch +++ b/debian/patches-rt/0147-rtmutex-wire-up-RT-s-locking.patch @@ -1,11 +1,11 @@ -From 9511faf87bcb720a27f899f84222c838ac60ca8b Mon Sep 17 00:00:00 2001 -Message-Id: <9511faf87bcb720a27f899f84222c838ac60ca8b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7e66698daafdf89d7871244f5b5c6895770539eb Mon Sep 17 00:00:00 2001 +Message-Id: <7e66698daafdf89d7871244f5b5c6895770539eb.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:31:14 +0200 -Subject: [PATCH 147/330] rtmutex: wire up RT's locking -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 147/329] rtmutex: wire up RT's locking +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior diff --git a/debian/patches-rt/0148-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch b/debian/patches-rt/0148-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch index be26b7cab..b6a37b61f 100644 --- a/debian/patches-rt/0148-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch +++ b/debian/patches-rt/0148-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch @@ -1,11 +1,11 @@ -From ff0d5f239851ec525a993bf986caff0bdd883abd Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 84f4873145a5ecb8580b6760d0c24234123d376c Mon Sep 17 00:00:00 2001 +Message-Id: <84f4873145a5ecb8580b6760d0c24234123d376c.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 12 Oct 2017 17:34:38 +0200 -Subject: [PATCH 148/330] rtmutex: add ww_mutex addon for mutex-rt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 148/329] rtmutex: add ww_mutex addon for mutex-rt +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Signed-off-by: Sebastian Andrzej Siewior --- diff --git a/debian/patches-rt/0149-kconfig-Add-PREEMPT_RT_FULL.patch b/debian/patches-rt/0149-kconfig-Add-PREEMPT_RT_FULL.patch index a3c7a2dc6..365003343 100644 --- a/debian/patches-rt/0149-kconfig-Add-PREEMPT_RT_FULL.patch +++ b/debian/patches-rt/0149-kconfig-Add-PREEMPT_RT_FULL.patch @@ -1,11 +1,11 @@ -From bd31bf253b93264d604435659bc5bee397ca60b3 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 06b2e087f467f71387b985149f4846c57aca20c5 Mon Sep 17 00:00:00 2001 +Message-Id: <06b2e087f467f71387b985149f4846c57aca20c5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 29 Jun 2011 14:58:57 +0200 -Subject: [PATCH 149/330] kconfig: Add PREEMPT_RT_FULL -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 149/329] kconfig: Add PREEMPT_RT_FULL +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Introduce the final symbol for PREEMPT_RT_FULL. diff --git a/debian/patches-rt/0150-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch b/debian/patches-rt/0150-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch index 022f5025f..8748631a9 100644 --- a/debian/patches-rt/0150-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch +++ b/debian/patches-rt/0150-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch @@ -1,12 +1,12 @@ -From 1dfad85220f7105489f2fee644d378628253b21b Mon Sep 17 00:00:00 2001 -Message-Id: <1dfad85220f7105489f2fee644d378628253b21b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4b309e818592cad0ffe36093f4f030325bd8115d Mon Sep 17 00:00:00 2001 +Message-Id: <4b309e818592cad0ffe36093f4f030325bd8115d.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mikulas Patocka Date: Mon, 13 Nov 2017 12:56:53 -0500 -Subject: [PATCH 150/330] locking/rt-mutex: fix deadlock in device mapper / +Subject: [PATCH 150/329] locking/rt-mutex: fix deadlock in device mapper / block-IO -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz When some block device driver creates a bio and submits it to another block device driver, the bio is added to current->bio_list (in order to diff --git a/debian/patches-rt/0151-locking-rt-mutex-Flush-block-plug-on-__down_read.patch b/debian/patches-rt/0151-locking-rt-mutex-Flush-block-plug-on-__down_read.patch index 9d1092fe9..aea573398 100644 --- a/debian/patches-rt/0151-locking-rt-mutex-Flush-block-plug-on-__down_read.patch +++ b/debian/patches-rt/0151-locking-rt-mutex-Flush-block-plug-on-__down_read.patch @@ -1,11 +1,11 @@ -From 504cbd97dfeff708043d3b59a0d3fae27cf74a87 Mon Sep 17 00:00:00 2001 -Message-Id: <504cbd97dfeff708043d3b59a0d3fae27cf74a87.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4662441f1be8cbd75c192c3a9734efbb3e4361c6 Mon Sep 17 00:00:00 2001 +Message-Id: <4662441f1be8cbd75c192c3a9734efbb3e4361c6.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Fri, 4 Jan 2019 15:33:21 -0500 -Subject: [PATCH 151/330] locking/rt-mutex: Flush block plug on __down_read() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 151/329] locking/rt-mutex: Flush block plug on __down_read() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz __down_read() bypasses the rtmutex frontend to call rt_mutex_slowlock_locked() directly, and thus it needs to call diff --git a/debian/patches-rt/0152-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch b/debian/patches-rt/0152-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch index cb8e4e12f..0decaa0ed 100644 --- a/debian/patches-rt/0152-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch +++ b/debian/patches-rt/0152-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch @@ -1,12 +1,12 @@ -From 8aa32b62194368d05be63b62d8cc31110add9adc Mon Sep 17 00:00:00 2001 -Message-Id: <8aa32b62194368d05be63b62d8cc31110add9adc.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 138a7f568e0b6c6dde7b5fdddc00650ad8579dac Mon Sep 17 00:00:00 2001 +Message-Id: <138a7f568e0b6c6dde7b5fdddc00650ad8579dac.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 16 Nov 2017 16:48:48 +0100 -Subject: [PATCH 152/330] locking/rtmutex: re-init the wait_lock in +Subject: [PATCH 152/329] locking/rtmutex: re-init the wait_lock in rt_mutex_init_proxy_locked() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz We could provide a key-class for the lockdep (and fixup all callers) or move the init to all callers (like it was) in order to avoid lockdep diff --git a/debian/patches-rt/0153-ptrace-fix-ptrace-vs-tasklist_lock-race.patch b/debian/patches-rt/0153-ptrace-fix-ptrace-vs-tasklist_lock-race.patch index b820d387b..322b0274a 100644 --- a/debian/patches-rt/0153-ptrace-fix-ptrace-vs-tasklist_lock-race.patch +++ b/debian/patches-rt/0153-ptrace-fix-ptrace-vs-tasklist_lock-race.patch @@ -1,11 +1,11 @@ -From a9b9bdffd6b42a14a9aca584e160bd0483d062d3 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 1c70b9f99adf1d6cb45b18b13c25d5afa92bcd90 Mon Sep 17 00:00:00 2001 +Message-Id: <1c70b9f99adf1d6cb45b18b13c25d5afa92bcd90.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 29 Aug 2013 18:21:04 +0200 -Subject: [PATCH 153/330] ptrace: fix ptrace vs tasklist_lock race -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 153/329] ptrace: fix ptrace vs tasklist_lock race +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz As explained by Alexander Fyodorov : @@ -123,7 +123,7 @@ index b93eb4eaf7ac..a38b304fb9fd 100644 } spin_unlock_irq(&task->sighand->siglock); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 6a0ccaea2b42..6bab30347081 100644 +index 9c20e213ef80..1fc8a3fcc34d 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1349,6 +1349,18 @@ int migrate_swap(struct task_struct *cur, struct task_struct *p, diff --git a/debian/patches-rt/0154-rtmutex-annotate-sleeping-lock-context.patch b/debian/patches-rt/0154-rtmutex-annotate-sleeping-lock-context.patch index 0c45a6b07..a3afd8e12 100644 --- a/debian/patches-rt/0154-rtmutex-annotate-sleeping-lock-context.patch +++ b/debian/patches-rt/0154-rtmutex-annotate-sleeping-lock-context.patch @@ -1,11 +1,11 @@ -From 313a073282879d0a45ec0abc6eeed3e244111017 Mon Sep 17 00:00:00 2001 -Message-Id: <313a073282879d0a45ec0abc6eeed3e244111017.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d291ff6355cdb7f5887d00de427964e00c97201c Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 14:25:13 +0200 -Subject: [PATCH 154/330] rtmutex: annotate sleeping lock context -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 154/329] rtmutex: annotate sleeping lock context +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The RCU code complains on schedule() within a rcu_readlock() section. The valid scenario on -RT is if a sleeping is held. In order to suppress @@ -253,10 +253,10 @@ index 5f6de49dc78e..35f3552b7463 100644 !t->rcu_read_unlock_special.b.blocked) { diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 6bab30347081..d49580cb0eb2 100644 +index 1fc8a3fcc34d..e3f838371f94 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7354,4 +7354,49 @@ void migrate_enable(void) +@@ -7347,4 +7347,49 @@ void migrate_enable(void) preempt_enable(); } EXPORT_SYMBOL(migrate_enable); diff --git a/debian/patches-rt/0155-sched-migrate_disable-fallback-to-preempt_disable-in.patch b/debian/patches-rt/0155-sched-migrate_disable-fallback-to-preempt_disable-in.patch index ee7a8fb09..4cf4e00e4 100644 --- a/debian/patches-rt/0155-sched-migrate_disable-fallback-to-preempt_disable-in.patch +++ b/debian/patches-rt/0155-sched-migrate_disable-fallback-to-preempt_disable-in.patch @@ -1,12 +1,12 @@ -From 42dc89219c3c93c20b33563a85b42d8aa0d2c6c1 Mon Sep 17 00:00:00 2001 -Message-Id: <42dc89219c3c93c20b33563a85b42d8aa0d2c6c1.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 9f19a10ac9dade26a00dc5f2858f6fcb7a8235c9 Mon Sep 17 00:00:00 2001 +Message-Id: <9f19a10ac9dade26a00dc5f2858f6fcb7a8235c9.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 5 Jul 2018 14:44:51 +0200 -Subject: [PATCH 155/330] sched/migrate_disable: fallback to preempt_disable() +Subject: [PATCH 155/329] sched/migrate_disable: fallback to preempt_disable() instead barrier() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz On SMP + !RT migrate_disable() is still around. It is not part of spin_lock() anymore so it has almost no users. However the futex code has a workaround for @@ -97,7 +97,7 @@ index 50197f5c4506..4a4f03a8d8d4 100644 # endif #endif diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index d49580cb0eb2..3b2664e691de 100644 +index e3f838371f94..20842da53a59 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1031,7 +1031,7 @@ void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_ma @@ -127,7 +127,7 @@ index d49580cb0eb2..3b2664e691de 100644 if (__migrate_disabled(p)) { p->migrate_disable_update = 1; goto out; -@@ -7210,7 +7210,7 @@ const u32 sched_prio_to_wmult[40] = { +@@ -7203,7 +7203,7 @@ const u32 sched_prio_to_wmult[40] = { #undef CREATE_TRACE_POINTS @@ -136,7 +136,7 @@ index d49580cb0eb2..3b2664e691de 100644 static inline void update_nr_migratory(struct task_struct *p, long delta) -@@ -7358,45 +7358,44 @@ EXPORT_SYMBOL(migrate_enable); +@@ -7351,45 +7351,44 @@ EXPORT_SYMBOL(migrate_enable); #elif !defined(CONFIG_SMP) && defined(CONFIG_PREEMPT_RT_BASE) void migrate_disable(void) { diff --git a/debian/patches-rt/0156-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch b/debian/patches-rt/0156-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch index 2ec6289e4..f59f5c8bf 100644 --- a/debian/patches-rt/0156-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch +++ b/debian/patches-rt/0156-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch @@ -1,12 +1,12 @@ -From 84d22722929b6e0555582499d16bd3e41292cace Mon Sep 17 00:00:00 2001 -Message-Id: <84d22722929b6e0555582499d16bd3e41292cace.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 343e6dd66acb934255ba07ddff604b558d40751e Mon Sep 17 00:00:00 2001 +Message-Id: <343e6dd66acb934255ba07ddff604b558d40751e.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 4 Aug 2017 17:40:42 +0200 -Subject: [PATCH 156/330] locking: don't check for __LINUX_SPINLOCK_TYPES_H on +Subject: [PATCH 156/329] locking: don't check for __LINUX_SPINLOCK_TYPES_H on -RT archs -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Upstream uses arch_spinlock_t within spinlock_t and requests that spinlock_types.h header file is included first. diff --git a/debian/patches-rt/0157-rcu-Frob-softirq-test.patch b/debian/patches-rt/0157-rcu-Frob-softirq-test.patch index 002276103..0a0464d05 100644 --- a/debian/patches-rt/0157-rcu-Frob-softirq-test.patch +++ b/debian/patches-rt/0157-rcu-Frob-softirq-test.patch @@ -1,11 +1,11 @@ -From d5cafea4f3639cc21eb17e26655de27b533321c3 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From b7ea9b25eaaaacf87c1cebb2d36883c86df30481 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Peter Zijlstra Date: Sat, 13 Aug 2011 00:23:17 +0200 -Subject: [PATCH 157/330] rcu: Frob softirq test -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 157/329] rcu: Frob softirq test +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz With RT_FULL we get the below wreckage: diff --git a/debian/patches-rt/0158-rcu-Merge-RCU-bh-into-RCU-preempt.patch b/debian/patches-rt/0158-rcu-Merge-RCU-bh-into-RCU-preempt.patch index a14dc17ef..558db08a5 100644 --- a/debian/patches-rt/0158-rcu-Merge-RCU-bh-into-RCU-preempt.patch +++ b/debian/patches-rt/0158-rcu-Merge-RCU-bh-into-RCU-preempt.patch @@ -1,11 +1,11 @@ -From 78617fe6518ea6dcb76b03a3aeb2e06876dd8ac2 Mon Sep 17 00:00:00 2001 -Message-Id: <78617fe6518ea6dcb76b03a3aeb2e06876dd8ac2.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 66676f91d51378b4c7544d4e54f3ba5c26e120e8 Mon Sep 17 00:00:00 2001 +Message-Id: <66676f91d51378b4c7544d4e54f3ba5c26e120e8.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 5 Oct 2011 11:59:38 -0700 -Subject: [PATCH 158/330] rcu: Merge RCU-bh into RCU-preempt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 158/329] rcu: Merge RCU-bh into RCU-preempt +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The Linux kernel has long RCU-bh read-side critical sections that intolerably increase scheduling latency under mainline's RCU-bh rules, diff --git a/debian/patches-rt/0159-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch b/debian/patches-rt/0159-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch index 85ec98403..15e284543 100644 --- a/debian/patches-rt/0159-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch +++ b/debian/patches-rt/0159-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch @@ -1,11 +1,11 @@ -From e9f7a22e68b4e4e6607a870e0b870d44de90db27 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4bb3f9983975f5f2ca73d8e9fd18e9ba57ad2796 Mon Sep 17 00:00:00 2001 +Message-Id: <4bb3f9983975f5f2ca73d8e9fd18e9ba57ad2796.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Paul E. McKenney" Date: Wed, 5 Oct 2011 11:45:18 -0700 -Subject: [PATCH 159/330] rcu: Make ksoftirqd do RCU quiescent states -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 159/329] rcu: Make ksoftirqd do RCU quiescent states +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Implementing RCU-bh in terms of RCU-preempt makes the system vulnerable to network-based denial-of-service attacks. This patch therefore diff --git a/debian/patches-rt/0160-rcu-Eliminate-softirq-processing-from-rcutree.patch b/debian/patches-rt/0160-rcu-Eliminate-softirq-processing-from-rcutree.patch index 867be2231..ce6551fbc 100644 --- a/debian/patches-rt/0160-rcu-Eliminate-softirq-processing-from-rcutree.patch +++ b/debian/patches-rt/0160-rcu-Eliminate-softirq-processing-from-rcutree.patch @@ -1,11 +1,11 @@ -From 08921753ffe2db93001cc400672c474c46622517 Mon Sep 17 00:00:00 2001 -Message-Id: <08921753ffe2db93001cc400672c474c46622517.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f465587e9d7d48453b9aa5d1ade43668a249ebd5 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Paul E. McKenney" Date: Mon, 4 Nov 2013 13:21:10 -0800 -Subject: [PATCH 160/330] rcu: Eliminate softirq processing from rcutree -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 160/329] rcu: Eliminate softirq processing from rcutree +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Running RCU out of softirq is a problem for some workloads that would like to manage RCU core processing independently of other softirq work, diff --git a/debian/patches-rt/0161-srcu-use-cpu_online-instead-custom-check.patch b/debian/patches-rt/0161-srcu-use-cpu_online-instead-custom-check.patch index 221872f6e..94ba5eae5 100644 --- a/debian/patches-rt/0161-srcu-use-cpu_online-instead-custom-check.patch +++ b/debian/patches-rt/0161-srcu-use-cpu_online-instead-custom-check.patch @@ -1,11 +1,11 @@ -From 9f8e8547a854126a0f5839db93215dbc259d8ec2 Mon Sep 17 00:00:00 2001 -Message-Id: <9f8e8547a854126a0f5839db93215dbc259d8ec2.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 433eb289b0a03c71187d7162e27e401d25e018dc Mon Sep 17 00:00:00 2001 +Message-Id: <433eb289b0a03c71187d7162e27e401d25e018dc.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 13 Sep 2017 14:43:41 +0200 -Subject: [PATCH 161/330] srcu: use cpu_online() instead custom check -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 161/329] srcu: use cpu_online() instead custom check +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The current check via srcu_online is slightly racy because after looking at srcu_online there could be an interrupt that interrupted us long diff --git a/debian/patches-rt/0162-srcu-replace-local_irqsave-with-a-locallock.patch b/debian/patches-rt/0162-srcu-replace-local_irqsave-with-a-locallock.patch index 497b19ba2..0b61e3e21 100644 --- a/debian/patches-rt/0162-srcu-replace-local_irqsave-with-a-locallock.patch +++ b/debian/patches-rt/0162-srcu-replace-local_irqsave-with-a-locallock.patch @@ -1,11 +1,11 @@ -From 9f82d2ac59a1a0c72b05c389d926e0952efdae29 Mon Sep 17 00:00:00 2001 -Message-Id: <9f82d2ac59a1a0c72b05c389d926e0952efdae29.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From c927dddeac30d11dedfdfa416dd4a8051fa286b0 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 12 Oct 2017 18:37:12 +0200 -Subject: [PATCH 162/330] srcu: replace local_irqsave() with a locallock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 162/329] srcu: replace local_irqsave() with a locallock +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz There are two instances which disable interrupts in order to become a stable this_cpu_ptr() pointer. The restore part is coupled with diff --git a/debian/patches-rt/0163-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch b/debian/patches-rt/0163-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch index 265196519..c29daf934 100644 --- a/debian/patches-rt/0163-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch +++ b/debian/patches-rt/0163-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch @@ -1,11 +1,11 @@ -From e6e0994ce5c645183058e28ff889447c644f8d97 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 085e670eecb4db25794213a9542406e046922a31 Mon Sep 17 00:00:00 2001 +Message-Id: <085e670eecb4db25794213a9542406e046922a31.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julia Cartwright Date: Wed, 12 Oct 2016 11:21:14 -0500 -Subject: [PATCH 163/330] rcu: enable rcu_normal_after_boot by default for RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 163/329] rcu: enable rcu_normal_after_boot by default for RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The forcing of an expedited grace period is an expensive and very RT-application unfriendly operation, as it forcibly preempts all running diff --git a/debian/patches-rt/0164-tty-serial-omap-Make-the-locking-RT-aware.patch b/debian/patches-rt/0164-tty-serial-omap-Make-the-locking-RT-aware.patch index b2ecd4c9e..1eac28db8 100644 --- a/debian/patches-rt/0164-tty-serial-omap-Make-the-locking-RT-aware.patch +++ b/debian/patches-rt/0164-tty-serial-omap-Make-the-locking-RT-aware.patch @@ -1,11 +1,11 @@ -From 4351744a1323868f6ff9585067eb87d3542c7ff2 Mon Sep 17 00:00:00 2001 -Message-Id: <4351744a1323868f6ff9585067eb87d3542c7ff2.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 79dd3527650081cf9b3cc4d470db9c8a4fcb0d7b Mon Sep 17 00:00:00 2001 +Message-Id: <79dd3527650081cf9b3cc4d470db9c8a4fcb0d7b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 28 Jul 2011 13:32:57 +0200 -Subject: [PATCH 164/330] tty/serial/omap: Make the locking RT aware -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 164/329] tty/serial/omap: Make the locking RT aware +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The lock is a sleeping lock and local_irq_save() is not the optimsation we are looking for. Redo it to make it work on -RT and diff --git a/debian/patches-rt/0165-tty-serial-pl011-Make-the-locking-work-on-RT.patch b/debian/patches-rt/0165-tty-serial-pl011-Make-the-locking-work-on-RT.patch index 0173ab06e..77fe65c0e 100644 --- a/debian/patches-rt/0165-tty-serial-pl011-Make-the-locking-work-on-RT.patch +++ b/debian/patches-rt/0165-tty-serial-pl011-Make-the-locking-work-on-RT.patch @@ -1,11 +1,11 @@ -From 9d8a7252bbd0fb318b264ad048365d289cc1cd84 Mon Sep 17 00:00:00 2001 -Message-Id: <9d8a7252bbd0fb318b264ad048365d289cc1cd84.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From babf19bf397f7038e36dc8cb488e1ee5b6c4831e Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 8 Jan 2013 21:36:51 +0100 -Subject: [PATCH 165/330] tty/serial/pl011: Make the locking work on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 165/329] tty/serial/pl011: Make the locking work on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The lock is a sleeping lock and local_irq_save() is not the optimsation we are looking for. Redo it to make it work on -RT and non-RT. @@ -16,7 +16,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index af21122dfade..183e8b731d6a 100644 +index 1d501154e9f7..e00b8b6fdae1 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2214,13 +2214,19 @@ pl011_console_write(struct console *co, const char *s, unsigned int count) diff --git a/debian/patches-rt/0166-tty-serial-pl011-explicitly-initialize-the-flags-var.patch b/debian/patches-rt/0166-tty-serial-pl011-explicitly-initialize-the-flags-var.patch index 7a057f778..068b4b996 100644 --- a/debian/patches-rt/0166-tty-serial-pl011-explicitly-initialize-the-flags-var.patch +++ b/debian/patches-rt/0166-tty-serial-pl011-explicitly-initialize-the-flags-var.patch @@ -1,15 +1,15 @@ -From a9f3facc5fb8f9a6d275f3fce058cc40eea8fd0b Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 51000d5e4bc5e53af304187eeda891f18bd39bd5 Mon Sep 17 00:00:00 2001 +Message-Id: <51000d5e4bc5e53af304187eeda891f18bd39bd5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Kurt Kanzenbach Date: Mon, 24 Sep 2018 10:29:01 +0200 -Subject: [PATCH 166/330] tty: serial: pl011: explicitly initialize the flags +Subject: [PATCH 166/329] tty: serial: pl011: explicitly initialize the flags variable 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Silence the following gcc warning: @@ -31,7 +31,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c -index 183e8b731d6a..2cc6b24bc88d 100644 +index e00b8b6fdae1..55adaabb71ad 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2209,7 +2209,7 @@ pl011_console_write(struct console *co, const char *s, unsigned int count) diff --git a/debian/patches-rt/0167-rt-Improve-the-serial-console-PASS_LIMIT.patch b/debian/patches-rt/0167-rt-Improve-the-serial-console-PASS_LIMIT.patch index 7b52c9b50..d0a9f43bf 100644 --- a/debian/patches-rt/0167-rt-Improve-the-serial-console-PASS_LIMIT.patch +++ b/debian/patches-rt/0167-rt-Improve-the-serial-console-PASS_LIMIT.patch @@ -1,14 +1,14 @@ -From 00680e4f6f2865781feb57c3f2a342e66c8ec466 Mon Sep 17 00:00:00 2001 -Message-Id: <00680e4f6f2865781feb57c3f2a342e66c8ec466.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 41302d99ac548fedf44695f87b6b1ce57dacdd80 Mon Sep 17 00:00:00 2001 +Message-Id: <41302d99ac548fedf44695f87b6b1ce57dacdd80.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Ingo Molnar Date: Wed, 14 Dec 2011 13:05:54 +0100 -Subject: [PATCH 167/330] rt: Improve the serial console PASS_LIMIT +Subject: [PATCH 167/329] rt: Improve the serial console PASS_LIMIT 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Beyond the warning: diff --git a/debian/patches-rt/0168-tty-serial-8250-don-t-take-the-trylock-during-oops.patch b/debian/patches-rt/0168-tty-serial-8250-don-t-take-the-trylock-during-oops.patch index f302ca847..7aafa5226 100644 --- a/debian/patches-rt/0168-tty-serial-8250-don-t-take-the-trylock-during-oops.patch +++ b/debian/patches-rt/0168-tty-serial-8250-don-t-take-the-trylock-during-oops.patch @@ -1,11 +1,11 @@ -From caf97a9a126b4a188408f2d8d87185c333ad119d Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f8c85fb82569dd9308b23d290202f33397e0cc14 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 11 Apr 2016 16:55:02 +0200 -Subject: [PATCH 168/330] tty: serial: 8250: don't take the trylock during oops -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 168/329] tty: serial: 8250: don't take the trylock during oops +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz An oops with irqs off (panic() from irqsafe hrtimer like the watchdog timer) will lead to a lockdep warning on each invocation and as such @@ -18,10 +18,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c -index 5a04d4ddca73..79e509468161 100644 +index 20b799219826..48c9574362c5 100644 --- a/drivers/tty/serial/8250/8250_port.c +++ b/drivers/tty/serial/8250/8250_port.c -@@ -3243,10 +3243,8 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, +@@ -3245,10 +3245,8 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, serial8250_rpm_get(up); diff --git a/debian/patches-rt/0169-locking-percpu-rwsem-Remove-preempt_disable-variants.patch b/debian/patches-rt/0169-locking-percpu-rwsem-Remove-preempt_disable-variants.patch index f297f9fdf..db1017132 100644 --- a/debian/patches-rt/0169-locking-percpu-rwsem-Remove-preempt_disable-variants.patch +++ b/debian/patches-rt/0169-locking-percpu-rwsem-Remove-preempt_disable-variants.patch @@ -1,11 +1,11 @@ -From 4c42325112ee3925ee92b4cc4b44b23ea073c057 Mon Sep 17 00:00:00 2001 -Message-Id: <4c42325112ee3925ee92b4cc4b44b23ea073c057.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 76ccd8ea14e8bdcfe51bcd1e20122f86109be038 Mon Sep 17 00:00:00 2001 +Message-Id: <76ccd8ea14e8bdcfe51bcd1e20122f86109be038.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Peter Zijlstra Date: Wed, 23 Nov 2016 16:29:32 +0100 -Subject: [PATCH 169/330] locking/percpu-rwsem: Remove preempt_disable variants -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 169/329] locking/percpu-rwsem: Remove preempt_disable variants +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Effective revert commit: diff --git a/debian/patches-rt/0170-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch b/debian/patches-rt/0170-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch index ae6790a95..9ff28eca5 100644 --- a/debian/patches-rt/0170-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch +++ b/debian/patches-rt/0170-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch @@ -1,12 +1,12 @@ -From 3ae273bfdd1cde7f18154bcdd0cfe2026abca6cb Mon Sep 17 00:00:00 2001 -Message-Id: <3ae273bfdd1cde7f18154bcdd0cfe2026abca6cb.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From bb72cd110fa9e55b0ed7606b0e034779f9896a62 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Yong Zhang Date: Tue, 15 May 2012 13:53:56 +0800 -Subject: [PATCH 170/330] mm: Protect activate_mm() by +Subject: [PATCH 170/329] mm: Protect activate_mm() by preempt_[disable&enable]_rt() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz User preempt_*_rt instead of local_irq_*_rt or otherwise there will be warning on ARM like below: diff --git a/debian/patches-rt/0171-fs-dcache-bring-back-explicit-INIT_HLIST_BL_HEAD-ini.patch b/debian/patches-rt/0171-fs-dcache-bring-back-explicit-INIT_HLIST_BL_HEAD-ini.patch index cdd3b9554..cf15f2e4b 100644 --- a/debian/patches-rt/0171-fs-dcache-bring-back-explicit-INIT_HLIST_BL_HEAD-ini.patch +++ b/debian/patches-rt/0171-fs-dcache-bring-back-explicit-INIT_HLIST_BL_HEAD-ini.patch @@ -1,12 +1,12 @@ -From 33390317926d4a254812f09ee8944cf82d27b8f6 Mon Sep 17 00:00:00 2001 -Message-Id: <33390317926d4a254812f09ee8944cf82d27b8f6.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6fd83f37a592b5eda452cf36f468429a232c8a32 Mon Sep 17 00:00:00 2001 +Message-Id: <6fd83f37a592b5eda452cf36f468429a232c8a32.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 13 Sep 2017 12:32:34 +0200 -Subject: [PATCH 171/330] fs/dcache: bring back explicit INIT_HLIST_BL_HEAD +Subject: [PATCH 171/329] fs/dcache: bring back explicit INIT_HLIST_BL_HEAD init -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Commit 3d375d78593c ("mm: update callers to use HASH_ZERO flag") removed INIT_HLIST_BL_HEAD and uses the ZERO flag instead for the init. However diff --git a/debian/patches-rt/0172-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch b/debian/patches-rt/0172-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch index 83f72890e..62af2a6ca 100644 --- a/debian/patches-rt/0172-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch +++ b/debian/patches-rt/0172-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch @@ -1,12 +1,12 @@ -From b08fcb88bc88e1ced888e28467b6fd3ec907554f Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 335e9df9c9c22975b4405ed6477dd63fd399fe04 Mon Sep 17 00:00:00 2001 +Message-Id: <335e9df9c9c22975b4405ed6477dd63fd399fe04.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 20 Oct 2017 11:29:53 +0200 -Subject: [PATCH 172/330] fs/dcache: disable preemption on i_dir_seq's write +Subject: [PATCH 172/329] fs/dcache: disable preemption on i_dir_seq's write side -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz i_dir_seq is an opencoded seqcounter. Based on the code it looks like we could have two writers in parallel despite the fact that the d_lock is diff --git a/debian/patches-rt/0173-squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch b/debian/patches-rt/0173-squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch index b07bdf136..7d2b74644 100644 --- a/debian/patches-rt/0173-squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch +++ b/debian/patches-rt/0173-squashfs-make-use-of-local-lock-in-multi_cpu-decompr.patch @@ -1,12 +1,12 @@ -From 8f4f69c13e49174eae6e6dcc9a65b2549e33af1f Mon Sep 17 00:00:00 2001 -Message-Id: <8f4f69c13e49174eae6e6dcc9a65b2549e33af1f.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7eeaa5c0f5e63f15e6236775aaef5f8d535e5be3 Mon Sep 17 00:00:00 2001 +Message-Id: <7eeaa5c0f5e63f15e6236775aaef5f8d535e5be3.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julia Cartwright Date: Mon, 7 May 2018 08:58:57 -0500 -Subject: [PATCH 173/330] squashfs: make use of local lock in multi_cpu +Subject: [PATCH 173/329] squashfs: make use of local lock in multi_cpu decompressor -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Currently, the squashfs multi_cpu decompressor makes use of get_cpu_ptr()/put_cpu_ptr(), which unconditionally disable preemption diff --git a/debian/patches-rt/0174-thermal-Defer-thermal-wakups-to-threads.patch b/debian/patches-rt/0174-thermal-Defer-thermal-wakups-to-threads.patch index 331cf210b..e4c874171 100644 --- a/debian/patches-rt/0174-thermal-Defer-thermal-wakups-to-threads.patch +++ b/debian/patches-rt/0174-thermal-Defer-thermal-wakups-to-threads.patch @@ -1,11 +1,11 @@ -From e19c759fc264301377f279733778b24d8f1be72a Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2fd2eba107e61d67901cd29d4bc3f0d21bb3dce9 Mon Sep 17 00:00:00 2001 +Message-Id: <2fd2eba107e61d67901cd29d4bc3f0d21bb3dce9.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Daniel Wagner Date: Tue, 17 Feb 2015 09:37:44 +0100 -Subject: [PATCH 174/330] thermal: Defer thermal wakups to threads -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 174/329] thermal: Defer thermal wakups to threads +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz On RT the spin lock in pkg_temp_thermal_platfrom_thermal_notify will call schedule while we run in irq context. diff --git a/debian/patches-rt/0175-x86-fpu-Disable-preemption-around-local_bh_disable.patch b/debian/patches-rt/0175-x86-fpu-Disable-preemption-around-local_bh_disable.patch index 13127bc96..e32285323 100644 --- a/debian/patches-rt/0175-x86-fpu-Disable-preemption-around-local_bh_disable.patch +++ b/debian/patches-rt/0175-x86-fpu-Disable-preemption-around-local_bh_disable.patch @@ -1,11 +1,11 @@ -From da1aa8fcd15559b15b97a52cd9c40578c25e19f3 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 63f7c8cd3071ae8436b4e39ef5726408e93d41d6 Mon Sep 17 00:00:00 2001 +Message-Id: <63f7c8cd3071ae8436b4e39ef5726408e93d41d6.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 11 Dec 2018 15:10:33 +0100 -Subject: [PATCH 175/330] x86/fpu: Disable preemption around local_bh_disable() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 175/329] x86/fpu: Disable preemption around local_bh_disable() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz __fpu__restore_sig() restores the content of the FPU state in the CPUs and in order to avoid concurency it disbles BH. On !RT it also disables diff --git a/debian/patches-rt/0176-fs-epoll-Do-not-disable-preemption-on-RT.patch b/debian/patches-rt/0176-fs-epoll-Do-not-disable-preemption-on-RT.patch index 35f7ecab8..35305f52d 100644 --- a/debian/patches-rt/0176-fs-epoll-Do-not-disable-preemption-on-RT.patch +++ b/debian/patches-rt/0176-fs-epoll-Do-not-disable-preemption-on-RT.patch @@ -1,11 +1,11 @@ -From 9e2f0e23efa57a9884caec27a91b1707d651026e Mon Sep 17 00:00:00 2001 -Message-Id: <9e2f0e23efa57a9884caec27a91b1707d651026e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6317fef46866121b7eab68a622598ca77470d59f Mon Sep 17 00:00:00 2001 +Message-Id: <6317fef46866121b7eab68a622598ca77470d59f.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 8 Jul 2011 16:35:35 +0200 -Subject: [PATCH 176/330] fs/epoll: Do not disable preemption on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 176/329] fs/epoll: Do not disable preemption on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz ep_call_nested() takes a sleeping lock so we can't disable preemption. The light version is enough since ep_call_nested() doesn't mind beeing diff --git a/debian/patches-rt/0177-mm-vmalloc-Another-preempt-disable-region-which-suck.patch b/debian/patches-rt/0177-mm-vmalloc-Another-preempt-disable-region-which-suck.patch index 7a6d604b7..0e1503645 100644 --- a/debian/patches-rt/0177-mm-vmalloc-Another-preempt-disable-region-which-suck.patch +++ b/debian/patches-rt/0177-mm-vmalloc-Another-preempt-disable-region-which-suck.patch @@ -1,12 +1,12 @@ -From fa6ff7159c068d7a931643de17835309501964ab Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 44ae1705bf3af875ebd758f32b6f19ccdef487e4 Mon Sep 17 00:00:00 2001 +Message-Id: <44ae1705bf3af875ebd758f32b6f19ccdef487e4.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 12 Jul 2011 11:39:36 +0200 -Subject: [PATCH 177/330] mm/vmalloc: Another preempt disable region which +Subject: [PATCH 177/329] mm/vmalloc: Another preempt disable region which sucks -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Avoid the preempt disable version of get_cpu_var(). The inner-lock should provide enough serialisation. diff --git a/debian/patches-rt/0178-block-mq-use-cpu_light.patch b/debian/patches-rt/0178-block-mq-use-cpu_light.patch index 1a1b38c56..eec405ba2 100644 --- a/debian/patches-rt/0178-block-mq-use-cpu_light.patch +++ b/debian/patches-rt/0178-block-mq-use-cpu_light.patch @@ -1,11 +1,11 @@ -From b3355755085aa26c9a58966925e50a1a33f2a1f0 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From eed61e74c9c138e4fe1b7c02ee7bb6c8008854ad Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 9 Apr 2014 10:37:23 +0200 -Subject: [PATCH 178/330] block: mq: use cpu_light() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 178/329] block: mq: use cpu_light() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz there is a might sleep splat because get_cpu() disables preemption and later we grab a lock. As a workaround for this we use get_cpu_light(). diff --git a/debian/patches-rt/0179-block-mq-do-not-invoke-preempt_disable.patch b/debian/patches-rt/0179-block-mq-do-not-invoke-preempt_disable.patch index 7b44cac83..60adf0a8a 100644 --- a/debian/patches-rt/0179-block-mq-do-not-invoke-preempt_disable.patch +++ b/debian/patches-rt/0179-block-mq-do-not-invoke-preempt_disable.patch @@ -1,11 +1,11 @@ -From d18ac5415ffb74a1761e7cd365e645687a0f561c Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7dd73c22c07933b49db85d4fd3ccb9d06bc7b3b0 Mon Sep 17 00:00:00 2001 +Message-Id: <7dd73c22c07933b49db85d4fd3ccb9d06bc7b3b0.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 179/330] block/mq: do not invoke preempt_disable() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 179/329] block/mq: do not invoke preempt_disable() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz preempt_disable() and get_cpu() don't play well together with the sleeping locks it tries to allocate later. diff --git a/debian/patches-rt/0180-block-mq-don-t-complete-requests-via-IPI.patch b/debian/patches-rt/0180-block-mq-don-t-complete-requests-via-IPI.patch index c9281ced6..2e4898af9 100644 --- a/debian/patches-rt/0180-block-mq-don-t-complete-requests-via-IPI.patch +++ b/debian/patches-rt/0180-block-mq-don-t-complete-requests-via-IPI.patch @@ -1,11 +1,11 @@ -From a423bf6c04e69c3c21e03a47d5d69e0e683d994a Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d2a94af9dad45378ad5e7103644fd879afb93599 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 29 Jan 2015 15:10:08 +0100 -Subject: [PATCH 180/330] block/mq: don't complete requests via IPI -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 180/329] block/mq: don't complete requests via IPI +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The IPI runs in hardirq context and there are sleeping locks. This patch moves the completion into a workqueue. diff --git a/debian/patches-rt/0181-md-raid5-Make-raid5_percpu-handling-RT-aware.patch b/debian/patches-rt/0181-md-raid5-Make-raid5_percpu-handling-RT-aware.patch index 9d5617b79..e5e3db9e3 100644 --- a/debian/patches-rt/0181-md-raid5-Make-raid5_percpu-handling-RT-aware.patch +++ b/debian/patches-rt/0181-md-raid5-Make-raid5_percpu-handling-RT-aware.patch @@ -1,11 +1,11 @@ -From 837ad355b3236dcfed126c8d22d4dff7fa1530d1 Mon Sep 17 00:00:00 2001 -Message-Id: <837ad355b3236dcfed126c8d22d4dff7fa1530d1.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2b7bb0e5b7caeb66dc770e424e5b57da568c3737 Mon Sep 17 00:00:00 2001 +Message-Id: <2b7bb0e5b7caeb66dc770e424e5b57da568c3737.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 6 Apr 2010 16:51:31 +0200 -Subject: [PATCH 181/330] md: raid5: Make raid5_percpu handling RT aware -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 181/329] md: raid5: Make raid5_percpu handling RT aware +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz __raid_run_ops() disables preemption with get_cpu() around the access to the raid5_percpu variables. That causes scheduling while atomic diff --git a/debian/patches-rt/0182-rt-Introduce-cpu_chill.patch b/debian/patches-rt/0182-rt-Introduce-cpu_chill.patch index fe3b49b21..d5de17162 100644 --- a/debian/patches-rt/0182-rt-Introduce-cpu_chill.patch +++ b/debian/patches-rt/0182-rt-Introduce-cpu_chill.patch @@ -1,11 +1,11 @@ -From 2918288a67e706d60b08bc409f37fa8f3239ff02 Mon Sep 17 00:00:00 2001 -Message-Id: <2918288a67e706d60b08bc409f37fa8f3239ff02.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From aa951c4b35370e250c8fd654b973285076a18d62 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 7 Mar 2012 20:51:03 +0100 -Subject: [PATCH 182/330] rt: Introduce cpu_chill() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 182/329] rt: Introduce cpu_chill() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Retry loops on RT might loop forever when the modifying side was preempted. Add cpu_chill() to replace cpu_relax(). cpu_chill() diff --git a/debian/patches-rt/0183-hrtimer-Don-t-lose-state-in-cpu_chill.patch b/debian/patches-rt/0183-hrtimer-Don-t-lose-state-in-cpu_chill.patch index 569658c2c..eca1b26d1 100644 --- a/debian/patches-rt/0183-hrtimer-Don-t-lose-state-in-cpu_chill.patch +++ b/debian/patches-rt/0183-hrtimer-Don-t-lose-state-in-cpu_chill.patch @@ -1,11 +1,11 @@ -From 4c9cd1f060a8e1a2b87d38095ca2702867bbd08e Mon Sep 17 00:00:00 2001 -Message-Id: <4c9cd1f060a8e1a2b87d38095ca2702867bbd08e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 39b74757b00dbf719b56fa969a4f09f37c6dee83 Mon Sep 17 00:00:00 2001 +Message-Id: <39b74757b00dbf719b56fa969a4f09f37c6dee83.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 19 Feb 2019 16:59:15 +0100 -Subject: [PATCH 183/330] hrtimer: Don't lose state in cpu_chill() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 183/329] hrtimer: Don't lose state in cpu_chill() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz In cpu_chill() the state is set to TASK_UNINTERRUPTIBLE and a timer is programmed. On return the state is always TASK_RUNNING which means we diff --git a/debian/patches-rt/0184-hrtimer-cpu_chill-save-task-state-in-saved_state.patch b/debian/patches-rt/0184-hrtimer-cpu_chill-save-task-state-in-saved_state.patch index 53dfa4f64..8b89eb9c4 100644 --- a/debian/patches-rt/0184-hrtimer-cpu_chill-save-task-state-in-saved_state.patch +++ b/debian/patches-rt/0184-hrtimer-cpu_chill-save-task-state-in-saved_state.patch @@ -1,12 +1,12 @@ -From 569087a0a762d646b454e09e9642345d5624babb Mon Sep 17 00:00:00 2001 -Message-Id: <569087a0a762d646b454e09e9642345d5624babb.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e41d0c353762bfc29c92a680d650263a70df9af3 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 26 Feb 2019 12:31:10 +0100 -Subject: [PATCH 184/330] hrtimer: cpu_chill(): save task state in +Subject: [PATCH 184/329] hrtimer: cpu_chill(): save task state in ->saved_state() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz In the previous change I saved the current task state on stack. This was bad because while the task is scheduled-out it might receive a wake-up. diff --git a/debian/patches-rt/0185-block-blk-mq-move-blk_queue_usage_counter_release-in.patch b/debian/patches-rt/0185-block-blk-mq-move-blk_queue_usage_counter_release-in.patch index e64f2b3e0..c5f5c0285 100644 --- a/debian/patches-rt/0185-block-blk-mq-move-blk_queue_usage_counter_release-in.patch +++ b/debian/patches-rt/0185-block-blk-mq-move-blk_queue_usage_counter_release-in.patch @@ -1,12 +1,12 @@ -From 7dcfc21684266ea7a48b604a48ebf368d87e1e45 Mon Sep 17 00:00:00 2001 -Message-Id: <7dcfc21684266ea7a48b604a48ebf368d87e1e45.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From b7202b3b5aaf5b71c64a48c27f30abbe91a7074e Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 13 Mar 2018 13:49:16 +0100 -Subject: [PATCH 185/330] block: blk-mq: move blk_queue_usage_counter_release() +Subject: [PATCH 185/329] block: blk-mq: move blk_queue_usage_counter_release() into process context -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz | BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:914 | in_atomic(): 1, irqs_disabled(): 0, pid: 255, name: kworker/u257:6 diff --git a/debian/patches-rt/0186-block-Use-cpu_chill-for-retry-loops.patch b/debian/patches-rt/0186-block-Use-cpu_chill-for-retry-loops.patch index 2632221cc..5b1a94627 100644 --- a/debian/patches-rt/0186-block-Use-cpu_chill-for-retry-loops.patch +++ b/debian/patches-rt/0186-block-Use-cpu_chill-for-retry-loops.patch @@ -1,11 +1,11 @@ -From ec866f740d2ecbb5a86266c2aee383f462c9bbb5 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d27e692a2248426b3026df987eb302cd03ef3c7e Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 20 Dec 2012 18:28:26 +0100 -Subject: [PATCH 186/330] block: Use cpu_chill() for retry loops -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 186/329] block: Use cpu_chill() for retry loops +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Retry loops on RT might loop forever when the modifying side was preempted. Steven also observed a live lock when there was a diff --git a/debian/patches-rt/0187-fs-dcache-Use-cpu_chill-in-trylock-loops.patch b/debian/patches-rt/0187-fs-dcache-Use-cpu_chill-in-trylock-loops.patch index 92d3e0477..9553f51be 100644 --- a/debian/patches-rt/0187-fs-dcache-Use-cpu_chill-in-trylock-loops.patch +++ b/debian/patches-rt/0187-fs-dcache-Use-cpu_chill-in-trylock-loops.patch @@ -1,11 +1,11 @@ -From 68cde82b625232531dfec53fbef3f21141549240 Mon Sep 17 00:00:00 2001 -Message-Id: <68cde82b625232531dfec53fbef3f21141549240.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e326a5665a08f08494ed0e379ad1d2acaa01a98e Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:00:34 +0100 -Subject: [PATCH 187/330] fs: dcache: Use cpu_chill() in trylock loops -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 187/329] fs: dcache: Use cpu_chill() in trylock loops +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Retry loops on RT might loop forever when the modifying side was preempted. Use cpu_chill() instead of cpu_relax() to let the system diff --git a/debian/patches-rt/0188-net-Use-cpu_chill-instead-of-cpu_relax.patch b/debian/patches-rt/0188-net-Use-cpu_chill-instead-of-cpu_relax.patch index 9a2374b11..0ed5d9895 100644 --- a/debian/patches-rt/0188-net-Use-cpu_chill-instead-of-cpu_relax.patch +++ b/debian/patches-rt/0188-net-Use-cpu_chill-instead-of-cpu_relax.patch @@ -1,11 +1,11 @@ -From 3e45e38580d79bf1f2456a9ea8b501bb7363a973 Mon Sep 17 00:00:00 2001 -Message-Id: <3e45e38580d79bf1f2456a9ea8b501bb7363a973.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6f1f94b1535092a8e77b019ca372fe612e46284a Mon Sep 17 00:00:00 2001 +Message-Id: <6f1f94b1535092a8e77b019ca372fe612e46284a.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:10:04 +0100 -Subject: [PATCH 188/330] net: Use cpu_chill() instead of cpu_relax() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 188/329] net: Use cpu_chill() instead of cpu_relax() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Retry loops on RT might loop forever when the modifying side was preempted. Use cpu_chill() instead of cpu_relax() to let the system diff --git a/debian/patches-rt/0189-fs-dcache-use-swait_queue-instead-of-waitqueue.patch b/debian/patches-rt/0189-fs-dcache-use-swait_queue-instead-of-waitqueue.patch index dd7df64ca..f5ce9e124 100644 --- a/debian/patches-rt/0189-fs-dcache-use-swait_queue-instead-of-waitqueue.patch +++ b/debian/patches-rt/0189-fs-dcache-use-swait_queue-instead-of-waitqueue.patch @@ -1,11 +1,11 @@ -From 5fb17df2b4e8fc49e587980d55f4548025999414 Mon Sep 17 00:00:00 2001 -Message-Id: <5fb17df2b4e8fc49e587980d55f4548025999414.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 63bf7c61a6cfcad6e5c1ddeb1159d816922cf00f Mon Sep 17 00:00:00 2001 +Message-Id: <63bf7c61a6cfcad6e5c1ddeb1159d816922cf00f.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 14:35:49 +0200 -Subject: [PATCH 189/330] fs/dcache: use swait_queue instead of waitqueue -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 189/329] fs/dcache: use swait_queue instead of waitqueue +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz __d_lookup_done() invokes wake_up_all() while holding a hlist_bl_lock() which disables preemption. As a workaround convert it to swait. diff --git a/debian/patches-rt/0190-workqueue-Use-normal-rcu.patch b/debian/patches-rt/0190-workqueue-Use-normal-rcu.patch index 8a9a33166..d7e0115aa 100644 --- a/debian/patches-rt/0190-workqueue-Use-normal-rcu.patch +++ b/debian/patches-rt/0190-workqueue-Use-normal-rcu.patch @@ -1,11 +1,11 @@ -From 61eb806af3c3ca2b3418e5f22021537e66a436da Mon Sep 17 00:00:00 2001 -Message-Id: <61eb806af3c3ca2b3418e5f22021537e66a436da.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 64a91064b24a6f930c3d94ca1eb20013ac5b7b01 Mon Sep 17 00:00:00 2001 +Message-Id: <64a91064b24a6f930c3d94ca1eb20013ac5b7b01.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 24 Jul 2013 15:26:54 +0200 -Subject: [PATCH 190/330] workqueue: Use normal rcu -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 190/329] workqueue: Use normal rcu +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz There is no need for sched_rcu. The undocumented reason why sched_rcu is used is to avoid a few explicit rcu_read_lock()/unlock() pairs by diff --git a/debian/patches-rt/0191-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch b/debian/patches-rt/0191-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch index 8782cd74d..7141b3029 100644 --- a/debian/patches-rt/0191-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch +++ b/debian/patches-rt/0191-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch @@ -1,12 +1,12 @@ -From 43595c8d9ce5178f8e13a2eee73c6ca2653da92f Mon Sep 17 00:00:00 2001 -Message-Id: <43595c8d9ce5178f8e13a2eee73c6ca2653da92f.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 15ef64c24647a083189bfcd22970da29aa874403 Mon Sep 17 00:00:00 2001 +Message-Id: <15ef64c24647a083189bfcd22970da29aa874403.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:42:26 +0200 -Subject: [PATCH 191/330] workqueue: Use local irq lock instead of irq disable +Subject: [PATCH 191/329] workqueue: Use local irq lock instead of irq disable regions -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Use a local_irq_lock as a replacement for irq off regions. We keep the semantic of irq-off in regard to the pool->lock and remain preemptible. diff --git a/debian/patches-rt/0192-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch b/debian/patches-rt/0192-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch index 08a3cbcb8..257507745 100644 --- a/debian/patches-rt/0192-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch +++ b/debian/patches-rt/0192-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch @@ -1,11 +1,11 @@ -From cc3228fe3a528109bacb191683d1294f480de410 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 970283b4b3180ec25600afde5aac8ff16e1b8ee7 Mon Sep 17 00:00:00 2001 +Message-Id: <970283b4b3180ec25600afde5aac8ff16e1b8ee7.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Mon, 1 Jul 2013 11:02:42 +0200 -Subject: [PATCH 192/330] workqueue: Prevent workqueue versus ata-piix livelock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 192/329] workqueue: Prevent workqueue versus ata-piix livelock +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz An Intel i7 system regularly detected rcu_preempt stalls after the kernel was upgraded from 3.6-rt to 3.8-rt. When the stall happened, disk I/O was no diff --git a/debian/patches-rt/0193-sched-Distangle-worker-accounting-from-rqlock.patch b/debian/patches-rt/0193-sched-Distangle-worker-accounting-from-rqlock.patch index db177f3b8..2ead9fc23 100644 --- a/debian/patches-rt/0193-sched-Distangle-worker-accounting-from-rqlock.patch +++ b/debian/patches-rt/0193-sched-Distangle-worker-accounting-from-rqlock.patch @@ -1,11 +1,11 @@ -From 477f99144bd2e1ef2e5e76ac94312873f80e7e52 Mon Sep 17 00:00:00 2001 -Message-Id: <477f99144bd2e1ef2e5e76ac94312873f80e7e52.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 02ccdd4922231b1b1a76a561568592b01e107498 Mon Sep 17 00:00:00 2001 +Message-Id: <02ccdd4922231b1b1a76a561568592b01e107498.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 22 Jun 2011 19:47:03 +0200 -Subject: [PATCH 193/330] sched: Distangle worker accounting from rqlock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 193/329] sched: Distangle worker accounting from rqlock +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The worker accounting for cpu bound workers is plugged into the core scheduler code and the wakeup code. This is not a hard requirement and @@ -37,7 +37,7 @@ Signed-off-by: Sebastian Andrzej Siewior 3 files changed, 47 insertions(+), 100 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 3b2664e691de..dcf2deedd3f8 100644 +index 20842da53a59..1abd32af7918 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1704,10 +1704,6 @@ static inline void ttwu_activate(struct rq *rq, struct task_struct *p, int en_fl diff --git a/debian/patches-rt/0194-debugobjects-Make-RT-aware.patch b/debian/patches-rt/0194-debugobjects-Make-RT-aware.patch index 46d16fd51..b682612fd 100644 --- a/debian/patches-rt/0194-debugobjects-Make-RT-aware.patch +++ b/debian/patches-rt/0194-debugobjects-Make-RT-aware.patch @@ -1,11 +1,11 @@ -From f01cea126f695969c00950fb10a6aa67baa1e83c Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e2fc6d404d64720a63039f4e1b7bfe25e1c6e7a1 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:41:35 +0200 -Subject: [PATCH 194/330] debugobjects: Make RT aware -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 194/329] debugobjects: Make RT aware +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Avoid filling the pool / allocating memory with irqs off(). diff --git a/debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch b/debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch index d84e9b814..a7679635b 100644 --- a/debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch +++ b/debian/patches-rt/0195-seqlock-Prevent-rt-starvation.patch @@ -1,11 +1,11 @@ -From 88a88ad1f0e0805b6da5dcca83b828d540e0d4ef Mon Sep 17 00:00:00 2001 -Message-Id: <88a88ad1f0e0805b6da5dcca83b828d540e0d4ef.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 8cc7c1e95ea40b40a3103e616773ba1ed1fe6d0b Mon Sep 17 00:00:00 2001 +Message-Id: <8cc7c1e95ea40b40a3103e616773ba1ed1fe6d0b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 22 Feb 2012 12:03:30 +0100 -Subject: [PATCH 195/330] seqlock: Prevent rt starvation -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 195/329] seqlock: Prevent rt starvation +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz If a low prio writer gets preempted while holding the seqlock write locked, a high prio reader spins forever on RT. diff --git a/debian/patches-rt/0196-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch b/debian/patches-rt/0196-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch index e2da3c420..200616903 100644 --- a/debian/patches-rt/0196-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch +++ b/debian/patches-rt/0196-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch @@ -1,12 +1,12 @@ -From 20cc8c5033c87d50273d865d426c5e03123ed76a Mon Sep 17 00:00:00 2001 -Message-Id: <20cc8c5033c87d50273d865d426c5e03123ed76a.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 03378d7b8239e5f03dcd6c1cd14d6d96d104da43 Mon Sep 17 00:00:00 2001 +Message-Id: <03378d7b8239e5f03dcd6c1cd14d6d96d104da43.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Wed, 18 Feb 2015 16:05:28 +0100 -Subject: [PATCH 196/330] sunrpc: Make svc_xprt_do_enqueue() use +Subject: [PATCH 196/329] sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 |in_atomic(): 1, irqs_disabled(): 0, pid: 3194, name: rpc.nfsd diff --git a/debian/patches-rt/0197-net-Use-skbufhead-with-raw-lock.patch b/debian/patches-rt/0197-net-Use-skbufhead-with-raw-lock.patch index 1a714cdd7..aae3e6f08 100644 --- a/debian/patches-rt/0197-net-Use-skbufhead-with-raw-lock.patch +++ b/debian/patches-rt/0197-net-Use-skbufhead-with-raw-lock.patch @@ -1,11 +1,11 @@ -From 75d43c972c266add8520e55baa9d3670edfeaf31 Mon Sep 17 00:00:00 2001 -Message-Id: <75d43c972c266add8520e55baa9d3670edfeaf31.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 34aa1240e0fefa206ce5a66d24bb25db3ec59e91 Mon Sep 17 00:00:00 2001 +Message-Id: <34aa1240e0fefa206ce5a66d24bb25db3ec59e91.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 12 Jul 2011 15:38:34 +0200 -Subject: [PATCH 197/330] net: Use skbufhead with raw lock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 197/329] net: Use skbufhead with raw lock +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Use the rps lock as rawlock so we can keep irq-off regions. It looks low latency. However we can't kfree() from this context therefore we defer this @@ -19,10 +19,10 @@ Signed-off-by: Thomas Gleixner 3 files changed, 33 insertions(+), 8 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h -index 84bbdcbb199a..b816eb0bc1c4 100644 +index 4e14926433ed..8fff010fff6e 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h -@@ -2982,6 +2982,7 @@ struct softnet_data { +@@ -2979,6 +2979,7 @@ struct softnet_data { unsigned int dropped; struct sk_buff_head input_pkt_queue; struct napi_struct backlog; @@ -56,10 +56,10 @@ index 25407c206e73..d4d7aea13cc6 100644 struct lock_class_key *class) { diff --git a/net/core/dev.c b/net/core/dev.c -index d4b73961f54b..c0e089fde4b5 100644 +index 2bfd79026bb3..598398e3c841 100644 --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -218,14 +218,14 @@ static inline struct hlist_head *dev_index_hash(struct net *net, int ifindex) +@@ -219,14 +219,14 @@ static inline struct hlist_head *dev_index_hash(struct net *net, int ifindex) static inline void rps_lock(struct softnet_data *sd) { #ifdef CONFIG_RPS @@ -76,7 +76,7 @@ index d4b73961f54b..c0e089fde4b5 100644 #endif } -@@ -5259,7 +5259,7 @@ static void flush_backlog(struct work_struct *work) +@@ -5253,7 +5253,7 @@ static void flush_backlog(struct work_struct *work) skb_queue_walk_safe(&sd->input_pkt_queue, skb, tmp) { if (skb->dev->reg_state == NETREG_UNREGISTERING) { __skb_unlink(skb, &sd->input_pkt_queue); @@ -85,7 +85,7 @@ index d4b73961f54b..c0e089fde4b5 100644 input_queue_head_incr(sd); } } -@@ -5269,11 +5269,14 @@ static void flush_backlog(struct work_struct *work) +@@ -5263,11 +5263,14 @@ static void flush_backlog(struct work_struct *work) skb_queue_walk_safe(&sd->process_queue, skb, tmp) { if (skb->dev->reg_state == NETREG_UNREGISTERING) { __skb_unlink(skb, &sd->process_queue); @@ -101,7 +101,7 @@ index d4b73961f54b..c0e089fde4b5 100644 } static void flush_all_backlogs(void) -@@ -5852,7 +5855,9 @@ static int process_backlog(struct napi_struct *napi, int quota) +@@ -5846,7 +5849,9 @@ static int process_backlog(struct napi_struct *napi, int quota) while (again) { struct sk_buff *skb; @@ -111,7 +111,7 @@ index d4b73961f54b..c0e089fde4b5 100644 rcu_read_lock(); __netif_receive_skb(skb); rcu_read_unlock(); -@@ -5860,9 +5865,9 @@ static int process_backlog(struct napi_struct *napi, int quota) +@@ -5854,9 +5859,9 @@ static int process_backlog(struct napi_struct *napi, int quota) if (++work >= quota) return work; @@ -122,7 +122,7 @@ index d4b73961f54b..c0e089fde4b5 100644 rps_lock(sd); if (skb_queue_empty(&sd->input_pkt_queue)) { /* -@@ -6327,13 +6332,21 @@ static __latent_entropy void net_rx_action(struct softirq_action *h) +@@ -6321,13 +6326,21 @@ static __latent_entropy void net_rx_action(struct softirq_action *h) unsigned long time_limit = jiffies + usecs_to_jiffies(netdev_budget_usecs); int budget = netdev_budget; @@ -144,7 +144,7 @@ index d4b73961f54b..c0e089fde4b5 100644 for (;;) { struct napi_struct *n; -@@ -9519,10 +9532,13 @@ static int dev_cpu_dead(unsigned int oldcpu) +@@ -9520,10 +9533,13 @@ static int dev_cpu_dead(unsigned int oldcpu) netif_rx_ni(skb); input_queue_head_incr(oldsd); } @@ -159,7 +159,7 @@ index d4b73961f54b..c0e089fde4b5 100644 return 0; } -@@ -9833,8 +9849,9 @@ static int __init net_dev_init(void) +@@ -9834,8 +9850,9 @@ static int __init net_dev_init(void) INIT_WORK(flush, flush_backlog); diff --git a/debian/patches-rt/0198-net-move-xmit_recursion-to-per-task-variable-on-RT.patch b/debian/patches-rt/0198-net-move-xmit_recursion-to-per-task-variable-on-RT.patch index e76c46273..5bb9a9037 100644 --- a/debian/patches-rt/0198-net-move-xmit_recursion-to-per-task-variable-on-RT.patch +++ b/debian/patches-rt/0198-net-move-xmit_recursion-to-per-task-variable-on-RT.patch @@ -1,11 +1,11 @@ -From c8dd410ff81f11189662f9bbfcdea62cd979bd7a Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4b967e907820a2c6af47ee605519c24058ee7cb0 Mon Sep 17 00:00:00 2001 +Message-Id: <4b967e907820a2c6af47ee605519c24058ee7cb0.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 13 Jan 2016 15:55:02 +0100 -Subject: [PATCH 198/330] net: move xmit_recursion to per-task variable on -RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 198/329] net: move xmit_recursion to per-task variable on -RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz A softirq on -RT can be preempted. That means one task is in __dev_queue_xmit(), gets preempted and another task may enter @@ -20,19 +20,14 @@ CPU number. Cc: stable-rt@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior -[bwh: Forward-ported to 4.19.131: - - Define dev_xmit_recursion{,_inc,_dec}() instead of - xmit_rec_{read,inc,dec}(), matching the functions introduced by - "net: place xmit recursion in softnet data" - - Make softnet_data::xmit.recursion field, instead of the global - percpu variable xmit_recursion, dependent on !CONFIG_PREEMPT_RT_FULL] --- - include/linux/netdevice.h | 95 ++++++++++++++++++++++++++++++++++++--- + include/linux/netdevice.h | 81 +++++++++++++++++++++++++++++++++++---- include/linux/sched.h | 3 ++ - net/core/dev.c | 15 ++++--- - net/core/filter.c | 6 +-- - 4 files changed, 104 insertions(+), 15 deletions(-) + net/core/dev.c | 6 ++- + 3 files changed, 82 insertions(+), 8 deletions(-) +diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h +index 8fff010fff6e..7bf58533f955 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -587,7 +587,11 @@ struct netdev_queue { @@ -47,22 +42,13 @@ Signed-off-by: Sebastian Andrzej Siewior /* * Time (in jiffies) of last Tx */ -@@ -2961,7 +2965,9 @@ struct softnet_data { +@@ -2998,14 +3002,38 @@ static inline void input_queue_tail_incr_save(struct softnet_data *sd, #endif - /* written and read only by owning cpu: */ - struct { -+#ifndef CONFIG_PREEMPT_RT_FULL - u16 recursion; -+#endif - u8 more; - } xmit; - #ifdef CONFIG_RPS -@@ -3000,12 +3006,36 @@ static inline void input_queue_tail_incr - - DECLARE_PER_CPU_ALIGNED(struct softnet_data, softnet_data); + } +#define XMIT_RECURSION_LIMIT 8 -+ + DECLARE_PER_CPU_ALIGNED(struct softnet_data, softnet_data); + +#ifdef CONFIG_PREEMPT_RT_FULL +static inline int dev_recursion_level(void) +{ @@ -71,7 +57,8 @@ Signed-off-by: Sebastian Andrzej Siewior + +static inline bool dev_xmit_recursion(void) +{ -+ return unlikely(current->xmit_recursion > XMIT_RECURSION_LIMIT); ++ return unlikely(current->xmit_recursion > ++ XMIT_RECURSION_LIMIT); +} + +static inline void dev_xmit_recursion_inc(void) @@ -95,16 +82,15 @@ Signed-off-by: Sebastian Andrzej Siewior static inline bool dev_xmit_recursion(void) { return unlikely(__this_cpu_read(softnet_data.xmit.recursion) > -@@ -3022,6 +3052,8 @@ static inline void dev_xmit_recursion_de +@@ -3021,6 +3049,7 @@ static inline void dev_xmit_recursion_dec(void) + { __this_cpu_dec(softnet_data.xmit.recursion); } - +#endif -+ + void __netif_schedule(struct Qdisc *q); void netif_schedule_queue(struct netdev_queue *txq); - -@@ -3824,10 +3856,48 @@ static inline u32 netif_msg_init(int deb +@@ -3824,10 +3853,48 @@ static inline u32 netif_msg_init(int debug_value, int default_msg_enable_bits) return (1U << debug_value) - 1; } @@ -154,7 +140,7 @@ Signed-off-by: Sebastian Andrzej Siewior } static inline bool __netif_tx_acquire(struct netdev_queue *txq) -@@ -3844,32 +3914,32 @@ static inline void __netif_tx_release(st +@@ -3844,32 +3911,32 @@ static inline void __netif_tx_release(struct netdev_queue *txq) static inline void __netif_tx_lock_bh(struct netdev_queue *txq) { spin_lock_bh(&txq->_xmit_lock); @@ -192,21 +178,25 @@ Signed-off-by: Sebastian Andrzej Siewior txq->trans_start = jiffies; } +diff --git a/include/linux/sched.h b/include/linux/sched.h +index 4a4f03a8d8d4..37334ec1ab3e 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -1217,6 +1217,9 @@ struct task_struct { +@@ -1216,6 +1216,9 @@ struct task_struct { + #endif #ifdef CONFIG_DEBUG_ATOMIC_SLEEP unsigned long task_state_change; - #endif ++#endif +#ifdef CONFIG_PREEMPT_RT_FULL + int xmit_recursion; -+#endif + #endif int pagefault_disabled; #ifdef CONFIG_MMU - struct task_struct *oom_reaper_list; +diff --git a/net/core/dev.c b/net/core/dev.c +index 598398e3c841..bb93ab3f0b1f 100644 --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -3825,7 +3825,11 @@ static int __dev_queue_xmit(struct sk_bu +@@ -3825,7 +3825,11 @@ static int __dev_queue_xmit(struct sk_buff *skb, struct net_device *sb_dev) if (dev->flags & IFF_UP) { int cpu = smp_processor_id(); /* ok because BHs are off */ @@ -218,7 +208,7 @@ Signed-off-by: Sebastian Andrzej Siewior if (dev_xmit_recursion()) goto recursion_alert; -@@ -8572,7 +8576,7 @@ static void netdev_init_one_queue(struct +@@ -8572,7 +8576,7 @@ static void netdev_init_one_queue(struct net_device *dev, /* Initialize queue lock */ spin_lock_init(&queue->_xmit_lock); netdev_set_xmit_lockdep_class(&queue->_xmit_lock, dev->type); @@ -227,3 +217,6 @@ Signed-off-by: Sebastian Andrzej Siewior netdev_queue_numa_node_write(queue, NUMA_NO_NODE); queue->dev = dev; #ifdef CONFIG_BQL +-- +2.17.1 + diff --git a/debian/patches-rt/0199-net-provide-a-way-to-delegate-processing-a-softirq-t.patch b/debian/patches-rt/0199-net-provide-a-way-to-delegate-processing-a-softirq-t.patch index eba623415..d19f49bc9 100644 --- a/debian/patches-rt/0199-net-provide-a-way-to-delegate-processing-a-softirq-t.patch +++ b/debian/patches-rt/0199-net-provide-a-way-to-delegate-processing-a-softirq-t.patch @@ -1,12 +1,12 @@ -From 44a1419ce83f9bae131640cc8ce0cedc3c1241d5 Mon Sep 17 00:00:00 2001 -Message-Id: <44a1419ce83f9bae131640cc8ce0cedc3c1241d5.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 0bbd884e945ff83b97fe56eb4f263f5b13e4c18c Mon Sep 17 00:00:00 2001 +Message-Id: <0bbd884e945ff83b97fe56eb4f263f5b13e4c18c.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 20 Jan 2016 15:39:05 +0100 -Subject: [PATCH 199/330] net: provide a way to delegate processing a softirq +Subject: [PATCH 199/329] net: provide a way to delegate processing a softirq to ksoftirqd -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz If the NET_RX uses up all of his budget it moves the following NAPI invocations into the `ksoftirqd`. On -RT it does not do so. Instead it @@ -75,10 +75,10 @@ index 27a4bb2303d0..25bcf2f2714b 100644 * This function must run with irqs disabled! */ diff --git a/net/core/dev.c b/net/core/dev.c -index b223a825affc..55891a994094 100644 +index bb93ab3f0b1f..bd2d4195d238 100644 --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -6381,7 +6381,7 @@ static __latent_entropy void net_rx_action(struct softirq_action *h) +@@ -6374,7 +6374,7 @@ static __latent_entropy void net_rx_action(struct softirq_action *h) list_splice_tail(&repoll, &list); list_splice(&list, &sd->poll_list); if (!list_empty(&sd->poll_list)) diff --git a/debian/patches-rt/0200-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch b/debian/patches-rt/0200-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch index 1fe3f4da9..30d1332a8 100644 --- a/debian/patches-rt/0200-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch +++ b/debian/patches-rt/0200-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch @@ -1,12 +1,12 @@ -From 2b9c6db8f0c393b038cd357bc7ab7ae367380c1e Mon Sep 17 00:00:00 2001 -Message-Id: <2b9c6db8f0c393b038cd357bc7ab7ae367380c1e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e5db5e7b0b1b099d4e824f40be24d27887cf8660 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 30 Mar 2016 13:36:29 +0200 -Subject: [PATCH 200/330] net: dev: always take qdisc's busylock in +Subject: [PATCH 200/329] net: dev: always take qdisc's busylock in __dev_xmit_skb() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The root-lock is dropped before dev_hard_start_xmit() is invoked and after setting the __QDISC___STATE_RUNNING bit. If this task is now pushed away @@ -25,10 +25,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 4 insertions(+) diff --git a/net/core/dev.c b/net/core/dev.c -index 55891a994094..52d44a4db2ff 100644 +index bd2d4195d238..fcaef21a42c3 100644 --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -3468,7 +3468,11 @@ static inline int __dev_xmit_skb(struct sk_buff *skb, struct Qdisc *q, +@@ -3464,7 +3464,11 @@ static inline int __dev_xmit_skb(struct sk_buff *skb, struct Qdisc *q, * This permits qdisc->running owner to get the lock more * often and dequeue packets faster. */ diff --git a/debian/patches-rt/0201-net-Qdisc-use-a-seqlock-instead-seqcount.patch b/debian/patches-rt/0201-net-Qdisc-use-a-seqlock-instead-seqcount.patch index 035f86099..3f4a0e37a 100644 --- a/debian/patches-rt/0201-net-Qdisc-use-a-seqlock-instead-seqcount.patch +++ b/debian/patches-rt/0201-net-Qdisc-use-a-seqlock-instead-seqcount.patch @@ -1,11 +1,11 @@ -From 13205fdad1d92b748e79bdab4019ab763d35cc71 Mon Sep 17 00:00:00 2001 -Message-Id: <13205fdad1d92b748e79bdab4019ab763d35cc71.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2d33d1be07519caccf9a62439568d2ab8cf9223f Mon Sep 17 00:00:00 2001 +Message-Id: <2d33d1be07519caccf9a62439568d2ab8cf9223f.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 17:36:35 +0200 -Subject: [PATCH 201/330] net/Qdisc: use a seqlock instead seqcount -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 201/329] net/Qdisc: use a seqlock instead seqcount +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The seqcount disables preemption on -RT while it is held which can't remove. Also we don't want the reader to spin for ages if the writer is @@ -258,10 +258,10 @@ index 39e319d04bb8..fe99928aff78 100644 err = -EOPNOTSUPP; if (sch->flags & TCQ_F_MQROOT) { diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c -index 4ab20f1138fd..a9ed58ca3924 100644 +index 49d60ae006ed..c2ee9d1c3770 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c -@@ -575,7 +575,11 @@ struct Qdisc noop_qdisc = { +@@ -576,7 +576,11 @@ struct Qdisc noop_qdisc = { .ops = &noop_qdisc_ops, .q.lock = __SPIN_LOCK_UNLOCKED(noop_qdisc.q.lock), .dev_queue = &noop_netdev_queue, @@ -273,7 +273,7 @@ index 4ab20f1138fd..a9ed58ca3924 100644 .busylock = __SPIN_LOCK_UNLOCKED(noop_qdisc.busylock), .gso_skb = { .next = (struct sk_buff *)&noop_qdisc.gso_skb, -@@ -876,9 +880,17 @@ struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue, +@@ -877,9 +881,17 @@ struct Qdisc *qdisc_alloc(struct netdev_queue *dev_queue, lockdep_set_class(&sch->busylock, dev->qdisc_tx_busylock ?: &qdisc_tx_busylock); diff --git a/debian/patches-rt/0202-net-add-back-the-missing-serialization-in-ip_send_un.patch b/debian/patches-rt/0202-net-add-back-the-missing-serialization-in-ip_send_un.patch index 17c74f115..617f5753d 100644 --- a/debian/patches-rt/0202-net-add-back-the-missing-serialization-in-ip_send_un.patch +++ b/debian/patches-rt/0202-net-add-back-the-missing-serialization-in-ip_send_un.patch @@ -1,15 +1,15 @@ -From 1f5eb8ce42664888b35845d7cab8149fcb69f783 Mon Sep 17 00:00:00 2001 -Message-Id: <1f5eb8ce42664888b35845d7cab8149fcb69f783.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 8458acc14dc949f69fe7ff87873ce4766546ae35 Mon Sep 17 00:00:00 2001 +Message-Id: <8458acc14dc949f69fe7ff87873ce4766546ae35.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 31 Aug 2016 17:21:56 +0200 -Subject: [PATCH 202/330] net: add back the missing serialization in +Subject: [PATCH 202/329] net: add back the missing serialization in ip_send_unicast_reply() 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Some time ago Sami Pietikäinen reported a crash on -RT in ip_send_unicast_reply() which was later fixed by Nicholas Mc Guire diff --git a/debian/patches-rt/0203-net-add-a-lock-around-icmp_sk.patch b/debian/patches-rt/0203-net-add-a-lock-around-icmp_sk.patch index 344b27465..6a2987993 100644 --- a/debian/patches-rt/0203-net-add-a-lock-around-icmp_sk.patch +++ b/debian/patches-rt/0203-net-add-a-lock-around-icmp_sk.patch @@ -1,11 +1,11 @@ -From 8eb504de6869a02cda203cce3db3d4518bf4cdd1 Mon Sep 17 00:00:00 2001 -Message-Id: <8eb504de6869a02cda203cce3db3d4518bf4cdd1.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 124c292b3e4280412282c44269af2f36acf7d4b1 Mon Sep 17 00:00:00 2001 +Message-Id: <124c292b3e4280412282c44269af2f36acf7d4b1.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 31 Aug 2016 17:54:09 +0200 -Subject: [PATCH 203/330] net: add a lock around icmp_sk() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 203/329] net: add a lock around icmp_sk() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz It looks like the this_cpu_ptr() access in icmp_sk() is protected with local_bh_disable(). To avoid missing serialization in -RT I am adding diff --git a/debian/patches-rt/0204-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch b/debian/patches-rt/0204-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch index a94204481..bbefbc650 100644 --- a/debian/patches-rt/0204-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch +++ b/debian/patches-rt/0204-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch @@ -1,12 +1,12 @@ -From 590d25e7d72d525d63309d586bdb442818268a48 Mon Sep 17 00:00:00 2001 -Message-Id: <590d25e7d72d525d63309d586bdb442818268a48.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f7dcbdf784d3f4e7d270e9206fd593e94474333f Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Steven Rostedt Date: Tue, 6 Dec 2016 17:50:30 -0500 -Subject: [PATCH 204/330] net: Have __napi_schedule_irqoff() disable interrupts +Subject: [PATCH 204/329] net: Have __napi_schedule_irqoff() disable interrupts on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz A customer hit a crash where the napi sd->poll_list became corrupted. The customer had the bnx2x driver, which does a @@ -32,7 +32,7 @@ Signed-off-by: Sebastian Andrzej Siewior 2 files changed, 14 insertions(+) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h -index 5de4b66e11fe..1d6bb0ab437f 100644 +index 7bf58533f955..0e34e8051ac2 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -422,7 +422,19 @@ typedef enum rx_handler_result rx_handler_result_t; @@ -56,10 +56,10 @@ index 5de4b66e11fe..1d6bb0ab437f 100644 static inline bool napi_disable_pending(struct napi_struct *n) { diff --git a/net/core/dev.c b/net/core/dev.c -index 52d44a4db2ff..c67056ad032b 100644 +index fcaef21a42c3..1e58809817b2 100644 --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -5951,6 +5951,7 @@ bool napi_schedule_prep(struct napi_struct *n) +@@ -5944,6 +5944,7 @@ bool napi_schedule_prep(struct napi_struct *n) } EXPORT_SYMBOL(napi_schedule_prep); @@ -67,7 +67,7 @@ index 52d44a4db2ff..c67056ad032b 100644 /** * __napi_schedule_irqoff - schedule for receive * @n: entry to schedule -@@ -5962,6 +5963,7 @@ void __napi_schedule_irqoff(struct napi_struct *n) +@@ -5955,6 +5956,7 @@ void __napi_schedule_irqoff(struct napi_struct *n) ____napi_schedule(this_cpu_ptr(&softnet_data), n); } EXPORT_SYMBOL(__napi_schedule_irqoff); diff --git a/debian/patches-rt/0205-irqwork-push-most-work-into-softirq-context.patch b/debian/patches-rt/0205-irqwork-push-most-work-into-softirq-context.patch index bf2c399a1..e1ab571cd 100644 --- a/debian/patches-rt/0205-irqwork-push-most-work-into-softirq-context.patch +++ b/debian/patches-rt/0205-irqwork-push-most-work-into-softirq-context.patch @@ -1,11 +1,11 @@ -From e6034ead729651f152a7472d103e8bafd18855fa Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 3aed2fcc4d4450f9800232001c493c228ca96317 Mon Sep 17 00:00:00 2001 +Message-Id: <3aed2fcc4d4450f9800232001c493c228ca96317.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 23 Jun 2015 15:32:51 +0200 -Subject: [PATCH 205/330] irqwork: push most work into softirq context -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 205/329] irqwork: push most work into softirq context +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Initially we defered all irqwork into softirq because we didn't want the latency spikes if perf or another user was busy and delayed the RT task. diff --git a/debian/patches-rt/0206-printk-Make-rt-aware.patch b/debian/patches-rt/0206-printk-Make-rt-aware.patch index fe4b9c6d7..b0b388b57 100644 --- a/debian/patches-rt/0206-printk-Make-rt-aware.patch +++ b/debian/patches-rt/0206-printk-Make-rt-aware.patch @@ -1,11 +1,11 @@ -From 9bacf7114ebee7464ea5b3637dc4f1d890e8ca77 Mon Sep 17 00:00:00 2001 -Message-Id: <9bacf7114ebee7464ea5b3637dc4f1d890e8ca77.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From ab44380ba163c844ae524ec2a604b54e2b4b074c Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 19 Sep 2012 14:50:37 +0200 -Subject: [PATCH 206/330] printk: Make rt aware -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 206/329] printk: Make rt aware +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Drop the lock before calling the console driver and do not disable interrupts while printing to a serial console. diff --git a/debian/patches-rt/0207-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch b/debian/patches-rt/0207-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch index d3a7e7a0e..099115e9a 100644 --- a/debian/patches-rt/0207-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch +++ b/debian/patches-rt/0207-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch @@ -1,11 +1,11 @@ -From 88063244f722c331d4b2c91d6ca23fc0e597f78d Mon Sep 17 00:00:00 2001 -Message-Id: <88063244f722c331d4b2c91d6ca23fc0e597f78d.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From aed7d2859938ca00a4ea530983068d30e89efd95 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 19 May 2016 17:45:27 +0200 -Subject: [PATCH 207/330] kernel/printk: Don't try to print from IRQ/NMI region -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 207/329] kernel/printk: Don't try to print from IRQ/NMI region +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz On -RT we try to acquire sleeping locks which might lead to warnings from lockdep or a warn_on() from spin_try_lock() (which is a rtmutex on diff --git a/debian/patches-rt/0208-printk-Drop-the-logbuf_lock-more-often.patch b/debian/patches-rt/0208-printk-Drop-the-logbuf_lock-more-often.patch index fcf0f3435..8d15be329 100644 --- a/debian/patches-rt/0208-printk-Drop-the-logbuf_lock-more-often.patch +++ b/debian/patches-rt/0208-printk-Drop-the-logbuf_lock-more-often.patch @@ -1,11 +1,11 @@ -From 930df01c3c062b4e6f57b53b8c8432e3b7915c62 Mon Sep 17 00:00:00 2001 -Message-Id: <930df01c3c062b4e6f57b53b8c8432e3b7915c62.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From eb4479ec80ada455dbd83964ab79b4aef7264b72 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 21 Mar 2013 19:01:05 +0100 -Subject: [PATCH 208/330] printk: Drop the logbuf_lock more often -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 208/329] printk: Drop the logbuf_lock more often +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The lock is hold with irgs off. The latency drops 500us+ on my arm bugs with a "full" buffer after executing "dmesg" on the shell. diff --git a/debian/patches-rt/0209-ARM-enable-irq-in-translation-section-permission-fau.patch b/debian/patches-rt/0209-ARM-enable-irq-in-translation-section-permission-fau.patch index 25d8702b6..bafb39e43 100644 --- a/debian/patches-rt/0209-ARM-enable-irq-in-translation-section-permission-fau.patch +++ b/debian/patches-rt/0209-ARM-enable-irq-in-translation-section-permission-fau.patch @@ -1,15 +1,15 @@ -From 3e10feb90d8a4aa938767db521dc63afbde7d0a3 Mon Sep 17 00:00:00 2001 -Message-Id: <3e10feb90d8a4aa938767db521dc63afbde7d0a3.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From a869b73cd786f0dc6b2c442613e2ecf794862a8b Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Yadi.hu" Date: Wed, 10 Dec 2014 10:32:09 +0800 -Subject: [PATCH 209/330] ARM: enable irq in translation/section permission +Subject: [PATCH 209/329] ARM: enable irq in translation/section permission fault handlers 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Probably happens on all ARM, with CONFIG_PREEMPT_RT_FULL diff --git a/debian/patches-rt/0210-genirq-update-irq_set_irqchip_state-documentation.patch b/debian/patches-rt/0210-genirq-update-irq_set_irqchip_state-documentation.patch index f1e1234fc..2170f85e2 100644 --- a/debian/patches-rt/0210-genirq-update-irq_set_irqchip_state-documentation.patch +++ b/debian/patches-rt/0210-genirq-update-irq_set_irqchip_state-documentation.patch @@ -1,11 +1,11 @@ -From 53455a5a7d8e3d1294adf87d1e0a7ef6fbcb88b9 Mon Sep 17 00:00:00 2001 -Message-Id: <53455a5a7d8e3d1294adf87d1e0a7ef6fbcb88b9.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 90682cd2350b918100574977bab35dfd116fcf32 Mon Sep 17 00:00:00 2001 +Message-Id: <90682cd2350b918100574977bab35dfd116fcf32.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Josh Cartwright Date: Thu, 11 Feb 2016 11:54:00 -0600 -Subject: [PATCH 210/330] genirq: update irq_set_irqchip_state documentation -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 210/329] genirq: update irq_set_irqchip_state documentation +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz On -rt kernels, the use of migrate_disable()/migrate_enable() is sufficient to guarantee a task isn't moved to another CPU. Update the diff --git a/debian/patches-rt/0211-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch b/debian/patches-rt/0211-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch index 254bd981b..2ce0b3b3d 100644 --- a/debian/patches-rt/0211-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch +++ b/debian/patches-rt/0211-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch @@ -1,12 +1,12 @@ -From 384c127b185ee6b0489944dc079453403e60a94f Mon Sep 17 00:00:00 2001 -Message-Id: <384c127b185ee6b0489944dc079453403e60a94f.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From bdd4c581af7a4bba838e5a79d74b26440557da11 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Josh Cartwright Date: Thu, 11 Feb 2016 11:54:01 -0600 -Subject: [PATCH 211/330] KVM: arm/arm64: downgrade preempt_disable()d region +Subject: [PATCH 211/329] KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz kvm_arch_vcpu_ioctl_run() disables the use of preemption when updating the vgic and timer states to prevent the calling task from migrating to diff --git a/debian/patches-rt/0212-arm64-fpsimd-use-preemp_disable-in-addition-to-local.patch b/debian/patches-rt/0212-arm64-fpsimd-use-preemp_disable-in-addition-to-local.patch index 8b7fd09a2..08af28f04 100644 --- a/debian/patches-rt/0212-arm64-fpsimd-use-preemp_disable-in-addition-to-local.patch +++ b/debian/patches-rt/0212-arm64-fpsimd-use-preemp_disable-in-addition-to-local.patch @@ -1,12 +1,12 @@ -From 0b46951e9e58abc007b26a408b6d2b84c11f8f2f Mon Sep 17 00:00:00 2001 -Message-Id: <0b46951e9e58abc007b26a408b6d2b84c11f8f2f.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 710a279c8260c953083bdb35f6c9dea06c68355a Mon Sep 17 00:00:00 2001 +Message-Id: <710a279c8260c953083bdb35f6c9dea06c68355a.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 25 Jul 2018 14:02:38 +0200 -Subject: [PATCH 212/330] arm64: fpsimd: use preemp_disable in addition to +Subject: [PATCH 212/329] arm64: fpsimd: use preemp_disable in addition to local_bh_disable() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz In v4.16-RT I noticed a number of warnings from task_fpsimd_load(). The code disables BH and expects that it is not preemptible. On -RT the @@ -22,7 +22,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c -index 14fdbaa6ee3a..7d572175682a 100644 +index 19c87b52c001..203245dad743 100644 --- a/arch/arm64/kernel/fpsimd.c +++ b/arch/arm64/kernel/fpsimd.c @@ -159,6 +159,16 @@ static void sve_free(struct task_struct *task) diff --git a/debian/patches-rt/0213-kgdb-serial-Short-term-workaround.patch b/debian/patches-rt/0213-kgdb-serial-Short-term-workaround.patch index 5ca9dfb57..c2fb8ccbd 100644 --- a/debian/patches-rt/0213-kgdb-serial-Short-term-workaround.patch +++ b/debian/patches-rt/0213-kgdb-serial-Short-term-workaround.patch @@ -1,11 +1,11 @@ -From 0f58b6c9bc1f8209a6035aa227982cad08a68408 Mon Sep 17 00:00:00 2001 -Message-Id: <0f58b6c9bc1f8209a6035aa227982cad08a68408.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From ebfbbd01a70adc51b3752dbe136c06ec25baee4b Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Jason Wessel Date: Thu, 28 Jul 2011 12:42:23 -0500 -Subject: [PATCH 213/330] kgdb/serial: Short term workaround -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 213/329] kgdb/serial: Short term workaround +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz On 07/27/2011 04:37 PM, Thomas Gleixner wrote: > - KGDB (not yet disabled) is reportedly unusable on -rt right now due @@ -28,7 +28,7 @@ Jason. 3 files changed, 7 insertions(+) diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c -index 79e509468161..84dbc5a9959c 100644 +index 48c9574362c5..2568fd8e2837 100644 --- a/drivers/tty/serial/8250/8250_port.c +++ b/drivers/tty/serial/8250/8250_port.c @@ -31,6 +31,7 @@ @@ -39,7 +39,7 @@ index 79e509468161..84dbc5a9959c 100644 #include #include #include -@@ -3245,6 +3246,8 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, +@@ -3247,6 +3248,8 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, if (port->sysrq || oops_in_progress) locked = 0; diff --git a/debian/patches-rt/0214-sysfs-Add-sys-kernel-realtime-entry.patch b/debian/patches-rt/0214-sysfs-Add-sys-kernel-realtime-entry.patch index a9dbb5139..544908d3b 100644 --- a/debian/patches-rt/0214-sysfs-Add-sys-kernel-realtime-entry.patch +++ b/debian/patches-rt/0214-sysfs-Add-sys-kernel-realtime-entry.patch @@ -1,11 +1,11 @@ -From 22dbbbb88222d2d0e24a88c2d706c04c8a6a3965 Mon Sep 17 00:00:00 2001 -Message-Id: <22dbbbb88222d2d0e24a88c2d706c04c8a6a3965.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2b79d1f51fed6a5007974ef9097554f96946a485 Mon Sep 17 00:00:00 2001 +Message-Id: <2b79d1f51fed6a5007974ef9097554f96946a485.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Clark Williams Date: Sat, 30 Jul 2011 21:55:53 -0500 -Subject: [PATCH 214/330] sysfs: Add /sys/kernel/realtime entry -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 214/329] sysfs: Add /sys/kernel/realtime entry +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Add a /sys/kernel entry to indicate that the kernel is a realtime kernel. diff --git a/debian/patches-rt/0215-mm-rt-kmap_atomic-scheduling.patch b/debian/patches-rt/0215-mm-rt-kmap_atomic-scheduling.patch index 627f790ef..7f4d8c06b 100644 --- a/debian/patches-rt/0215-mm-rt-kmap_atomic-scheduling.patch +++ b/debian/patches-rt/0215-mm-rt-kmap_atomic-scheduling.patch @@ -1,11 +1,11 @@ -From 413cb8e15d807d70d253234711e67abf4ca2890e Mon Sep 17 00:00:00 2001 -Message-Id: <413cb8e15d807d70d253234711e67abf4ca2890e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From b6601317729507f7c3909cfbc339cb143a0793a5 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Peter Zijlstra Date: Thu, 28 Jul 2011 10:43:51 +0200 -Subject: [PATCH 215/330] mm, rt: kmap_atomic scheduling -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 215/329] mm, rt: kmap_atomic scheduling +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz In fact, with migrate_disable() existing one could play games with kmap_atomic. You could save/restore the kmap_atomic slots on context @@ -276,7 +276,7 @@ index 37334ec1ab3e..f18668e166f2 100644 unsigned long task_state_change; #endif diff --git a/include/linux/uaccess.h b/include/linux/uaccess.h -index efe79c1cdd47..128a8489047d 100644 +index d55b68b113de..fdbb3511fe9a 100644 --- a/include/linux/uaccess.h +++ b/include/linux/uaccess.h @@ -185,6 +185,7 @@ static __always_inline void pagefault_disabled_dec(void) diff --git a/debian/patches-rt/0216-x86-highmem-Add-a-already-used-pte-check.patch b/debian/patches-rt/0216-x86-highmem-Add-a-already-used-pte-check.patch index 9c59c1dc9..f8047fda9 100644 --- a/debian/patches-rt/0216-x86-highmem-Add-a-already-used-pte-check.patch +++ b/debian/patches-rt/0216-x86-highmem-Add-a-already-used-pte-check.patch @@ -1,11 +1,11 @@ -From 010446144c1360626283de04c244b2f61602606f Mon Sep 17 00:00:00 2001 -Message-Id: <010446144c1360626283de04c244b2f61602606f.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 31b1a084913d3fc2f1704608432942b23f8c11b8 Mon Sep 17 00:00:00 2001 +Message-Id: <31b1a084913d3fc2f1704608432942b23f8c11b8.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 11 Mar 2013 17:09:55 +0100 -Subject: [PATCH 216/330] x86/highmem: Add a "already used pte" check -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 216/329] x86/highmem: Add a "already used pte" check +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz This is a copy from kmap_atomic_prot(). diff --git a/debian/patches-rt/0217-arm-highmem-Flush-tlb-on-unmap.patch b/debian/patches-rt/0217-arm-highmem-Flush-tlb-on-unmap.patch index b62308c45..ccf9a6388 100644 --- a/debian/patches-rt/0217-arm-highmem-Flush-tlb-on-unmap.patch +++ b/debian/patches-rt/0217-arm-highmem-Flush-tlb-on-unmap.patch @@ -1,11 +1,11 @@ -From aea2c0e41b1f7e7aa50b32c94b7238f9f64eb9d2 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7c823937cacb93dac8c04dedcde80169b6148b0f Mon Sep 17 00:00:00 2001 +Message-Id: <7c823937cacb93dac8c04dedcde80169b6148b0f.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 11 Mar 2013 21:37:27 +0100 -Subject: [PATCH 217/330] arm/highmem: Flush tlb on unmap -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 217/329] arm/highmem: Flush tlb on unmap +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The tlb should be flushed on unmap and thus make the mapping entry invalid. This is only done in the non-debug case which does not look diff --git a/debian/patches-rt/0218-arm-Enable-highmem-for-rt.patch b/debian/patches-rt/0218-arm-Enable-highmem-for-rt.patch index 4938efc6f..c994d7771 100644 --- a/debian/patches-rt/0218-arm-Enable-highmem-for-rt.patch +++ b/debian/patches-rt/0218-arm-Enable-highmem-for-rt.patch @@ -1,11 +1,11 @@ -From cc8f6da32c3bea8090ef60509d92c131c20e9294 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4b5c00cb0fe2083a089d10e255c93ad861a81281 Mon Sep 17 00:00:00 2001 +Message-Id: <4b5c00cb0fe2083a089d10e255c93ad861a81281.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 13 Feb 2013 11:03:11 +0100 -Subject: [PATCH 218/330] arm: Enable highmem for rt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 218/329] arm: Enable highmem for rt +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz fixup highmem for ARM. diff --git a/debian/patches-rt/0219-scsi-fcoe-Make-RT-aware.patch b/debian/patches-rt/0219-scsi-fcoe-Make-RT-aware.patch index 34dfc8d95..bd9d30b86 100644 --- a/debian/patches-rt/0219-scsi-fcoe-Make-RT-aware.patch +++ b/debian/patches-rt/0219-scsi-fcoe-Make-RT-aware.patch @@ -1,11 +1,11 @@ -From ab5c125724ea8ae6fa127a2ff57150be9a751267 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f7ff442a59c1345be55873e574297f4925eb0c88 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sat, 12 Nov 2011 14:00:48 +0100 -Subject: [PATCH 219/330] scsi/fcoe: Make RT aware. -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 219/329] scsi/fcoe: Make RT aware. +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Do not disable preemption while taking sleeping locks. All user look safe for migrate_diable() only. diff --git a/debian/patches-rt/0220-x86-crypto-Reduce-preempt-disabled-regions.patch b/debian/patches-rt/0220-x86-crypto-Reduce-preempt-disabled-regions.patch index 2a0abaa46..93bc14b86 100644 --- a/debian/patches-rt/0220-x86-crypto-Reduce-preempt-disabled-regions.patch +++ b/debian/patches-rt/0220-x86-crypto-Reduce-preempt-disabled-regions.patch @@ -1,11 +1,11 @@ -From 95783ee93e8742bc9ac075e086e37f36d387302b Mon Sep 17 00:00:00 2001 -Message-Id: <95783ee93e8742bc9ac075e086e37f36d387302b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 2ee9e0150ed5068610d747d116fd9d0db9bd8118 Mon Sep 17 00:00:00 2001 +Message-Id: <2ee9e0150ed5068610d747d116fd9d0db9bd8118.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Peter Zijlstra Date: Mon, 14 Nov 2011 18:19:27 +0100 -Subject: [PATCH 220/330] x86: crypto: Reduce preempt disabled regions -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 220/329] x86: crypto: Reduce preempt disabled regions +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Restrict the preempt disabled regions to the actual floating point operations and enable preemption for the administrative actions. diff --git a/debian/patches-rt/0221-crypto-Reduce-preempt-disabled-regions-more-algos.patch b/debian/patches-rt/0221-crypto-Reduce-preempt-disabled-regions-more-algos.patch index feda119da..63b31d498 100644 --- a/debian/patches-rt/0221-crypto-Reduce-preempt-disabled-regions-more-algos.patch +++ b/debian/patches-rt/0221-crypto-Reduce-preempt-disabled-regions-more-algos.patch @@ -1,11 +1,11 @@ -From b7e42023414475d244443b73c555603de0315678 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 077d0a933649fc9074955902f183b159e13f3bc6 Mon Sep 17 00:00:00 2001 +Message-Id: <077d0a933649fc9074955902f183b159e13f3bc6.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 21 Feb 2014 17:24:04 +0100 -Subject: [PATCH 221/330] crypto: Reduce preempt disabled regions, more algos -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 221/329] crypto: Reduce preempt disabled regions, more algos +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Don Estabrook reported | kernel: WARNING: CPU: 2 PID: 858 at kernel/sched/core.c:2428 migrate_disable+0xed/0x100() diff --git a/debian/patches-rt/0222-crypto-limit-more-FPU-enabled-sections.patch b/debian/patches-rt/0222-crypto-limit-more-FPU-enabled-sections.patch index 86c88e5f6..f18ef8d4b 100644 --- a/debian/patches-rt/0222-crypto-limit-more-FPU-enabled-sections.patch +++ b/debian/patches-rt/0222-crypto-limit-more-FPU-enabled-sections.patch @@ -1,14 +1,14 @@ -From d046a77a159054fc36804a547d2191e49b9cb607 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From eed1ca4daba6f786f2579aa6e5c11a212fb410ec Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 30 Nov 2017 13:40:10 +0100 -Subject: [PATCH 222/330] crypto: limit more FPU-enabled sections +Subject: [PATCH 222/329] crypto: limit more FPU-enabled sections 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Those crypto drivers use SSE/AVX/… for their crypto work and in order to do so in kernel they need to enable the "FPU" in kernel mode which diff --git a/debian/patches-rt/0223-crypto-scompress-serialize-RT-percpu-scratch-buffer-.patch b/debian/patches-rt/0223-crypto-scompress-serialize-RT-percpu-scratch-buffer-.patch index ee393ee09..13894f29b 100644 --- a/debian/patches-rt/0223-crypto-scompress-serialize-RT-percpu-scratch-buffer-.patch +++ b/debian/patches-rt/0223-crypto-scompress-serialize-RT-percpu-scratch-buffer-.patch @@ -1,12 +1,12 @@ -From cb16d1f5f60fe332bfe3b9087ce41127a4a2b6f6 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 3de9de18f73fba591806c8e766c9df12d1ec5e64 Mon Sep 17 00:00:00 2001 +Message-Id: <3de9de18f73fba591806c8e766c9df12d1ec5e64.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Wed, 11 Jul 2018 17:14:47 +0200 -Subject: [PATCH 223/330] crypto: scompress - serialize RT percpu scratch +Subject: [PATCH 223/329] crypto: scompress - serialize RT percpu scratch buffer access with a local lock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz | BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974 | in_atomic(): 1, irqs_disabled(): 0, pid: 1401, name: cryptomgr_test diff --git a/debian/patches-rt/0224-crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch b/debian/patches-rt/0224-crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch index 2f6775703..1ed8164df 100644 --- a/debian/patches-rt/0224-crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch +++ b/debian/patches-rt/0224-crypto-cryptd-add-a-lock-instead-preempt_disable-loc.patch @@ -1,12 +1,12 @@ -From b0bbd309321efb8ada7dd55f8cb33da285c993a8 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 1d0c968640cfdcf077654aa9b74d8bc1b1403e96 Mon Sep 17 00:00:00 2001 +Message-Id: <1d0c968640cfdcf077654aa9b74d8bc1b1403e96.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 26 Jul 2018 18:52:00 +0200 -Subject: [PATCH 224/330] crypto: cryptd - add a lock instead +Subject: [PATCH 224/329] crypto: cryptd - add a lock instead preempt_disable/local_bh_disable -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz cryptd has a per-CPU lock which protected with local_bh_disable() and preempt_disable(). diff --git a/debian/patches-rt/0225-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch b/debian/patches-rt/0225-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch index c03af6a66..6368f2246 100644 --- a/debian/patches-rt/0225-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch +++ b/debian/patches-rt/0225-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch @@ -1,12 +1,12 @@ -From cedcd2ac6b88c1741f257bc54a574db15f0950cc Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 0eedfca7cf11a79698e6925457c1a1c06e0d2c62 Mon Sep 17 00:00:00 2001 +Message-Id: <0eedfca7cf11a79698e6925457c1a1c06e0d2c62.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 225/330] panic: skip get_random_bytes for RT_FULL in +Subject: [PATCH 225/329] panic: skip get_random_bytes for RT_FULL in init_oops_id -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Disable on -RT. If this is invoked from irq-context we will have problems to acquire the sleeping lock. diff --git a/debian/patches-rt/0226-x86-stackprotector-Avoid-random-pool-on-rt.patch b/debian/patches-rt/0226-x86-stackprotector-Avoid-random-pool-on-rt.patch index 59a914166..1b22f0ba4 100644 --- a/debian/patches-rt/0226-x86-stackprotector-Avoid-random-pool-on-rt.patch +++ b/debian/patches-rt/0226-x86-stackprotector-Avoid-random-pool-on-rt.patch @@ -1,11 +1,11 @@ -From 72a4312a231a4bd5e0209a71865e9c7ca93e61f9 Mon Sep 17 00:00:00 2001 -Message-Id: <72a4312a231a4bd5e0209a71865e9c7ca93e61f9.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From a1b041fed8f43cf88ee0bdea6caee42b3ab96eee Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 16 Dec 2010 14:25:18 +0100 -Subject: [PATCH 226/330] x86: stackprotector: Avoid random pool on rt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 226/329] x86: stackprotector: Avoid random pool on rt +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz CPU bringup calls into the random pool to initialize the stack canary. During boot that works nicely even on RT as the might sleep diff --git a/debian/patches-rt/0227-random-Make-it-work-on-rt.patch b/debian/patches-rt/0227-random-Make-it-work-on-rt.patch index 74172095a..b3418f5a8 100644 --- a/debian/patches-rt/0227-random-Make-it-work-on-rt.patch +++ b/debian/patches-rt/0227-random-Make-it-work-on-rt.patch @@ -1,11 +1,11 @@ -From 111d77c4af4668c0748dd3a79edea1511cc6fed6 Mon Sep 17 00:00:00 2001 -Message-Id: <111d77c4af4668c0748dd3a79edea1511cc6fed6.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 23ffee65aa85e7f8a6ebfcbb8f4c1901a7435cdf Mon Sep 17 00:00:00 2001 +Message-Id: <23ffee65aa85e7f8a6ebfcbb8f4c1901a7435cdf.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 21 Aug 2012 20:38:50 +0200 -Subject: [PATCH 227/330] random: Make it work on rt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 227/329] random: Make it work on rt +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Delegate the random insertion to the forced threaded interrupt handler. Store the return IP of the hard interrupt handler in the irq diff --git a/debian/patches-rt/0228-cpu-hotplug-Implement-CPU-pinning.patch b/debian/patches-rt/0228-cpu-hotplug-Implement-CPU-pinning.patch index ecc098fee..e50601e4d 100644 --- a/debian/patches-rt/0228-cpu-hotplug-Implement-CPU-pinning.patch +++ b/debian/patches-rt/0228-cpu-hotplug-Implement-CPU-pinning.patch @@ -1,11 +1,11 @@ -From 8e152de56629f2252111613eb660749537f6e1ae Mon Sep 17 00:00:00 2001 -Message-Id: <8e152de56629f2252111613eb660749537f6e1ae.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d7b6dfb25c0b54a721120d4838218d8d6b2567fa Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 19 Jul 2017 17:31:20 +0200 -Subject: [PATCH 228/330] cpu/hotplug: Implement CPU pinning -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 228/329] cpu/hotplug: Implement CPU pinning +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Signed-off-by: Thomas Gleixner --- @@ -26,10 +26,10 @@ index f18668e166f2..ff1fe0b3c1e3 100644 int migrate_disable_atomic; # endif diff --git a/kernel/cpu.c b/kernel/cpu.c -index dc5d1e940e25..c00eab509c0b 100644 +index 267fcad3a81e..f9e0e3db440a 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c -@@ -75,6 +75,11 @@ static DEFINE_PER_CPU(struct cpuhp_cpu_state, cpuhp_state) = { +@@ -76,6 +76,11 @@ static DEFINE_PER_CPU(struct cpuhp_cpu_state, cpuhp_state) = { .fail = CPUHP_INVALID, }; @@ -41,7 +41,7 @@ index dc5d1e940e25..c00eab509c0b 100644 #if defined(CONFIG_LOCKDEP) && defined(CONFIG_SMP) static struct lockdep_map cpuhp_state_up_map = STATIC_LOCKDEP_MAP_INIT("cpuhp_state-up", &cpuhp_state_up_map); -@@ -286,7 +291,28 @@ static int cpu_hotplug_disabled; +@@ -287,7 +292,28 @@ static int cpu_hotplug_disabled; */ void pin_current_cpu(void) { @@ -70,7 +70,7 @@ index dc5d1e940e25..c00eab509c0b 100644 } /** -@@ -294,6 +320,13 @@ void pin_current_cpu(void) +@@ -295,6 +321,13 @@ void pin_current_cpu(void) */ void unpin_current_cpu(void) { @@ -84,7 +84,7 @@ index dc5d1e940e25..c00eab509c0b 100644 } DEFINE_STATIC_PERCPU_RWSEM(cpu_hotplug_lock); -@@ -853,6 +886,7 @@ static int take_cpu_down(void *_param) +@@ -869,6 +902,7 @@ static int take_cpu_down(void *_param) static int takedown_cpu(unsigned int cpu) { @@ -92,7 +92,7 @@ index dc5d1e940e25..c00eab509c0b 100644 struct cpuhp_cpu_state *st = per_cpu_ptr(&cpuhp_state, cpu); int err; -@@ -865,11 +899,14 @@ static int takedown_cpu(unsigned int cpu) +@@ -881,11 +915,14 @@ static int takedown_cpu(unsigned int cpu) */ irq_lock_sparse(); @@ -107,7 +107,7 @@ index dc5d1e940e25..c00eab509c0b 100644 /* CPU refused to die */ irq_unlock_sparse(); /* Unpark the hotplug thread so we can rollback there */ -@@ -888,6 +925,7 @@ static int takedown_cpu(unsigned int cpu) +@@ -904,6 +941,7 @@ static int takedown_cpu(unsigned int cpu) wait_for_ap_thread(st, false); BUG_ON(st->state != CPUHP_AP_IDLE_DEAD); diff --git a/debian/patches-rt/0229-sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch b/debian/patches-rt/0229-sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch index 07a05aa6b..6a3e7b664 100644 --- a/debian/patches-rt/0229-sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch +++ b/debian/patches-rt/0229-sched-Allow-pinned-user-tasks-to-be-awakened-to-the-.patch @@ -1,12 +1,12 @@ -From a3e885fd9cafc709dcb6d14e2e04f66e43c7db6e Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 316706beeb9c64804201fd12d6777b9c638c4a16 Mon Sep 17 00:00:00 2001 +Message-Id: <316706beeb9c64804201fd12d6777b9c638c4a16.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Sun, 19 Aug 2018 08:28:35 +0200 -Subject: [PATCH 229/330] sched: Allow pinned user tasks to be awakened to the +Subject: [PATCH 229/329] sched: Allow pinned user tasks to be awakened to the CPU they pinned -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Since commit 7af443ee16976 ("sched/core: Require cpu_active() in select_task_rq(), for user tasks") select_fallback_rq() will BUG() if @@ -25,7 +25,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index dcf2deedd3f8..6ef0dcea94d7 100644 +index 1abd32af7918..173557e65689 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -904,7 +904,7 @@ static inline bool is_cpu_allowed(struct task_struct *p, int cpu) diff --git a/debian/patches-rt/0230-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch b/debian/patches-rt/0230-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch index ded73e216..b264dce47 100644 --- a/debian/patches-rt/0230-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch +++ b/debian/patches-rt/0230-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch @@ -1,11 +1,11 @@ -From 868d0c19593c39020b71eb6c63794996e42471c2 Mon Sep 17 00:00:00 2001 -Message-Id: <868d0c19593c39020b71eb6c63794996e42471c2.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 570093b6173e0ce8345757a125ceb51bf117b847 Mon Sep 17 00:00:00 2001 +Message-Id: <570093b6173e0ce8345757a125ceb51bf117b847.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 4 Aug 2017 18:31:00 +0200 -Subject: [PATCH 230/330] hotplug: duct-tape RT-rwlock usage for non-RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 230/329] hotplug: duct-tape RT-rwlock usage for non-RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz This type is only available on -RT. We need to craft something for non-RT. Since the only migrate_disable() user is -RT only, there is no @@ -17,10 +17,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/kernel/cpu.c b/kernel/cpu.c -index c00eab509c0b..4841696b0fc0 100644 +index f9e0e3db440a..8f5b80c0743b 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c -@@ -75,7 +75,7 @@ static DEFINE_PER_CPU(struct cpuhp_cpu_state, cpuhp_state) = { +@@ -76,7 +76,7 @@ static DEFINE_PER_CPU(struct cpuhp_cpu_state, cpuhp_state) = { .fail = CPUHP_INVALID, }; @@ -29,7 +29,7 @@ index c00eab509c0b..4841696b0fc0 100644 static DEFINE_PER_CPU(struct rt_rw_lock, cpuhp_pin_lock) = \ __RWLOCK_RT_INITIALIZER(cpuhp_pin_lock); #endif -@@ -291,6 +291,7 @@ static int cpu_hotplug_disabled; +@@ -292,6 +292,7 @@ static int cpu_hotplug_disabled; */ void pin_current_cpu(void) { @@ -37,7 +37,7 @@ index c00eab509c0b..4841696b0fc0 100644 struct rt_rw_lock *cpuhp_pin; unsigned int cpu; int ret; -@@ -313,6 +314,7 @@ void pin_current_cpu(void) +@@ -314,6 +315,7 @@ void pin_current_cpu(void) goto again; } current->pinned_on_cpu = cpu; @@ -45,7 +45,7 @@ index c00eab509c0b..4841696b0fc0 100644 } /** -@@ -320,6 +322,7 @@ void pin_current_cpu(void) +@@ -321,6 +323,7 @@ void pin_current_cpu(void) */ void unpin_current_cpu(void) { @@ -53,7 +53,7 @@ index c00eab509c0b..4841696b0fc0 100644 struct rt_rw_lock *cpuhp_pin = this_cpu_ptr(&cpuhp_pin_lock); if (WARN_ON(current->pinned_on_cpu != smp_processor_id())) -@@ -327,6 +330,7 @@ void unpin_current_cpu(void) +@@ -328,6 +331,7 @@ void unpin_current_cpu(void) current->pinned_on_cpu = -1; __read_rt_unlock(cpuhp_pin); @@ -61,7 +61,7 @@ index c00eab509c0b..4841696b0fc0 100644 } DEFINE_STATIC_PERCPU_RWSEM(cpu_hotplug_lock); -@@ -886,7 +890,9 @@ static int take_cpu_down(void *_param) +@@ -902,7 +906,9 @@ static int take_cpu_down(void *_param) static int takedown_cpu(unsigned int cpu) { @@ -71,7 +71,7 @@ index c00eab509c0b..4841696b0fc0 100644 struct cpuhp_cpu_state *st = per_cpu_ptr(&cpuhp_state, cpu); int err; -@@ -899,14 +905,18 @@ static int takedown_cpu(unsigned int cpu) +@@ -915,14 +921,18 @@ static int takedown_cpu(unsigned int cpu) */ irq_lock_sparse(); @@ -90,7 +90,7 @@ index c00eab509c0b..4841696b0fc0 100644 /* CPU refused to die */ irq_unlock_sparse(); /* Unpark the hotplug thread so we can rollback there */ -@@ -925,7 +935,9 @@ static int takedown_cpu(unsigned int cpu) +@@ -941,7 +951,9 @@ static int takedown_cpu(unsigned int cpu) wait_for_ap_thread(st, false); BUG_ON(st->state != CPUHP_AP_IDLE_DEAD); diff --git a/debian/patches-rt/0231-net-Remove-preemption-disabling-in-netif_rx.patch b/debian/patches-rt/0231-net-Remove-preemption-disabling-in-netif_rx.patch index 7e0323ad4..f316446c5 100644 --- a/debian/patches-rt/0231-net-Remove-preemption-disabling-in-netif_rx.patch +++ b/debian/patches-rt/0231-net-Remove-preemption-disabling-in-netif_rx.patch @@ -1,11 +1,11 @@ -From 5eb268be9849842589d4af1bf2c7aa712de60914 Mon Sep 17 00:00:00 2001 -Message-Id: <5eb268be9849842589d4af1bf2c7aa712de60914.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 5c6867fa8aa3dc6fa2aa3e332bafcd0a6b3beea7 Mon Sep 17 00:00:00 2001 +Message-Id: <5c6867fa8aa3dc6fa2aa3e332bafcd0a6b3beea7.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Priyanka Jain Date: Thu, 17 May 2012 09:35:11 +0530 -Subject: [PATCH 231/330] net: Remove preemption disabling in netif_rx() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 231/329] net: Remove preemption disabling in netif_rx() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz 1)enqueue_to_backlog() (called from netif_rx) should be bind to a particluar CPU. This can be achieved by @@ -39,10 +39,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c -index c67056ad032b..528b89d2ff2e 100644 +index 1e58809817b2..2e69aded30e7 100644 --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -4490,7 +4490,7 @@ static int netif_rx_internal(struct sk_buff *skb) +@@ -4483,7 +4483,7 @@ static int netif_rx_internal(struct sk_buff *skb) struct rps_dev_flow voidflow, *rflow = &voidflow; int cpu; @@ -51,7 +51,7 @@ index c67056ad032b..528b89d2ff2e 100644 rcu_read_lock(); cpu = get_rps_cpu(skb->dev, skb, &rflow); -@@ -4500,14 +4500,14 @@ static int netif_rx_internal(struct sk_buff *skb) +@@ -4493,14 +4493,14 @@ static int netif_rx_internal(struct sk_buff *skb) ret = enqueue_to_backlog(skb, cpu, &rflow->last_qtail); rcu_read_unlock(); diff --git a/debian/patches-rt/0232-net-Another-local_irq_disable-kmalloc-headache.patch b/debian/patches-rt/0232-net-Another-local_irq_disable-kmalloc-headache.patch index beb37640d..443b2cfe3 100644 --- a/debian/patches-rt/0232-net-Another-local_irq_disable-kmalloc-headache.patch +++ b/debian/patches-rt/0232-net-Another-local_irq_disable-kmalloc-headache.patch @@ -1,11 +1,11 @@ -From 7f6015ab5636b089f53f5f5a08c32988dc5fd639 Mon Sep 17 00:00:00 2001 -Message-Id: <7f6015ab5636b089f53f5f5a08c32988dc5fd639.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 0b21d43e6d2bb8d0c26d4246ed9842bad0159a65 Mon Sep 17 00:00:00 2001 +Message-Id: <0b21d43e6d2bb8d0c26d4246ed9842bad0159a65.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 26 Sep 2012 16:21:08 +0200 -Subject: [PATCH 232/330] net: Another local_irq_disable/kmalloc headache -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 232/329] net: Another local_irq_disable/kmalloc headache +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Replace it by a local lock. Though that's pretty inefficient :( diff --git a/debian/patches-rt/0233-net-core-protect-users-of-napi_alloc_cache-against-r.patch b/debian/patches-rt/0233-net-core-protect-users-of-napi_alloc_cache-against-r.patch index 584329246..1039c5d6e 100644 --- a/debian/patches-rt/0233-net-core-protect-users-of-napi_alloc_cache-against-r.patch +++ b/debian/patches-rt/0233-net-core-protect-users-of-napi_alloc_cache-against-r.patch @@ -1,12 +1,12 @@ -From 098879aa8b0108a02ec64bd7119542712b2fa703 Mon Sep 17 00:00:00 2001 -Message-Id: <098879aa8b0108a02ec64bd7119542712b2fa703.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f71a2204c447e6c9806131df8822ef87d5ae206c Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 15 Jan 2016 16:33:34 +0100 -Subject: [PATCH 233/330] net/core: protect users of napi_alloc_cache against +Subject: [PATCH 233/329] net/core: protect users of napi_alloc_cache against reentrance -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz On -RT the code running in BH can not be moved to another CPU so CPU local variable remain local. However the code can be preempted diff --git a/debian/patches-rt/0234-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch b/debian/patches-rt/0234-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch index ddd7c0f0d..2b54d0059 100644 --- a/debian/patches-rt/0234-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch +++ b/debian/patches-rt/0234-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch @@ -1,12 +1,12 @@ -From 8ba436ecb8ea603036e8da052e938ed2961430c9 Mon Sep 17 00:00:00 2001 -Message-Id: <8ba436ecb8ea603036e8da052e938ed2961430c9.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 784d866ac4b6a418130e86aba8622fdccfb8eea3 Mon Sep 17 00:00:00 2001 +Message-Id: <784d866ac4b6a418130e86aba8622fdccfb8eea3.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Sun, 28 Oct 2012 11:18:08 +0100 -Subject: [PATCH 234/330] net: netfilter: Serialize xt_write_recseq sections on +Subject: [PATCH 234/329] net: netfilter: Serialize xt_write_recseq sections on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The netfilter code relies only on the implicit semantics of local_bh_disable() for serializing wt_write_recseq sections. RT breaks diff --git a/debian/patches-rt/0236-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch b/debian/patches-rt/0235-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch similarity index 87% rename from debian/patches-rt/0236-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch rename to debian/patches-rt/0235-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch index c0406b2e8..4c212c53d 100644 --- a/debian/patches-rt/0236-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch +++ b/debian/patches-rt/0235-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch @@ -1,12 +1,12 @@ -From 0e5b48162b7e08556fac58f2f57266b80225a350 Mon Sep 17 00:00:00 2001 -Message-Id: <0e5b48162b7e08556fac58f2f57266b80225a350.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e1efe44daaa675ca34964e23b52808054e162163 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Yong Zhang Date: Mon, 16 Apr 2012 15:01:56 +0800 -Subject: [PATCH 236/330] lockdep: selftest: Only do hardirq context test for +Subject: [PATCH 235/329] lockdep: selftest: Only do hardirq context test for raw spinlock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz On -rt there is no softirq context any more and rwlock is sleepable, disable softirq context test and rwlock+irq test. diff --git a/debian/patches-rt/0237-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch b/debian/patches-rt/0236-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch similarity index 92% rename from debian/patches-rt/0237-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch rename to debian/patches-rt/0236-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch index 64d27bce0..8a8152f57 100644 --- a/debian/patches-rt/0237-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch +++ b/debian/patches-rt/0236-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch @@ -1,12 +1,12 @@ -From b49bc8ef54b13139b11a9f706d2f86bef94dc46f Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 795f4f26c793011ea39217a2574fed283502fa8c Mon Sep 17 00:00:00 2001 +Message-Id: <795f4f26c793011ea39217a2574fed283502fa8c.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Josh Cartwright Date: Wed, 28 Jan 2015 13:08:45 -0600 -Subject: [PATCH 237/330] lockdep: selftest: fix warnings due to missing +Subject: [PATCH 236/329] lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz "lockdep: Selftest: Only do hardirq context test for raw spinlock" disabled the execution of certain tests with PREEMPT_RT_FULL, but did diff --git a/debian/patches-rt/0238-sched-Add-support-for-lazy-preemption.patch b/debian/patches-rt/0237-sched-Add-support-for-lazy-preemption.patch similarity index 96% rename from debian/patches-rt/0238-sched-Add-support-for-lazy-preemption.patch rename to debian/patches-rt/0237-sched-Add-support-for-lazy-preemption.patch index 0395f7c71..7577423ab 100644 --- a/debian/patches-rt/0238-sched-Add-support-for-lazy-preemption.patch +++ b/debian/patches-rt/0237-sched-Add-support-for-lazy-preemption.patch @@ -1,11 +1,11 @@ -From 1d3aebe709090a4051617281d0f33634b8c0ca2e Mon Sep 17 00:00:00 2001 -Message-Id: <1d3aebe709090a4051617281d0f33634b8c0ca2e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 99005508ed83579a749756069a0aacb2a0274dc6 Mon Sep 17 00:00:00 2001 +Message-Id: <99005508ed83579a749756069a0aacb2a0274dc6.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 26 Oct 2012 18:50:54 +0100 -Subject: [PATCH 238/330] sched: Add support for lazy preemption -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 237/329] sched: Add support for lazy preemption +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz It has become an obsession to mitigate the determinism vs. throughput loss of RT. Looking at the mainline semantics of preemption points @@ -248,10 +248,10 @@ index 907d72b3ba95..306567f72a3e 100644 prompt "Preemption Model" default PREEMPT_NONE diff --git a/kernel/cpu.c b/kernel/cpu.c -index 4841696b0fc0..9f2e05b2e65c 100644 +index 8f5b80c0743b..0d3cf1654318 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c -@@ -304,11 +304,13 @@ void pin_current_cpu(void) +@@ -305,11 +305,13 @@ void pin_current_cpu(void) return; } cpu = smp_processor_id(); @@ -266,7 +266,7 @@ index 4841696b0fc0..9f2e05b2e65c 100644 __read_rt_unlock(cpuhp_pin); goto again; diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 6ef0dcea94d7..a17c765d3fcb 100644 +index 173557e65689..14964f9d778c 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -493,6 +493,48 @@ void resched_curr(struct rq *rq) @@ -387,7 +387,7 @@ index 6ef0dcea94d7..a17c765d3fcb 100644 do { /* * Because the function tracer can trace preempt_count_sub() -@@ -5503,7 +5577,9 @@ void init_idle(struct task_struct *idle, int cpu) +@@ -5504,7 +5578,9 @@ void init_idle(struct task_struct *idle, int cpu) /* Set the preempt count _outside_ the spinlocks! */ init_idle_preempt_count(idle, cpu); @@ -398,7 +398,7 @@ index 6ef0dcea94d7..a17c765d3fcb 100644 /* * The idle tasks have their own, simple scheduling class: */ -@@ -7228,6 +7304,7 @@ void migrate_disable(void) +@@ -7221,6 +7297,7 @@ void migrate_disable(void) } preempt_disable(); @@ -406,7 +406,7 @@ index 6ef0dcea94d7..a17c765d3fcb 100644 pin_current_cpu(); migrate_disable_update_cpus_allowed(p); -@@ -7295,6 +7372,7 @@ void migrate_enable(void) +@@ -7288,6 +7365,7 @@ void migrate_enable(void) arg.dest_cpu = dest_cpu; unpin_current_cpu(); @@ -414,7 +414,7 @@ index 6ef0dcea94d7..a17c765d3fcb 100644 preempt_enable(); stop_one_cpu(task_cpu(p), migration_cpu_stop, &arg); tlb_migrate_finish(p->mm); -@@ -7303,6 +7381,7 @@ void migrate_enable(void) +@@ -7296,6 +7374,7 @@ void migrate_enable(void) } } unpin_current_cpu(); @@ -423,7 +423,7 @@ index 6ef0dcea94d7..a17c765d3fcb 100644 } EXPORT_SYMBOL(migrate_enable); diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c -index fe58e95484cf..ef7dea404f26 100644 +index 97de4ea7dbea..03b7a81ab058 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4104,7 +4104,7 @@ check_preempt_tick(struct cfs_rq *cfs_rq, struct sched_entity *curr) diff --git a/debian/patches-rt/0239-ftrace-Fix-trace-header-alignment.patch b/debian/patches-rt/0238-ftrace-Fix-trace-header-alignment.patch similarity index 86% rename from debian/patches-rt/0239-ftrace-Fix-trace-header-alignment.patch rename to debian/patches-rt/0238-ftrace-Fix-trace-header-alignment.patch index 6d5e4a369..052786200 100644 --- a/debian/patches-rt/0239-ftrace-Fix-trace-header-alignment.patch +++ b/debian/patches-rt/0238-ftrace-Fix-trace-header-alignment.patch @@ -1,11 +1,11 @@ -From bc559bf8fbf52aeeaff6faa8a4b4d6ac0cc2da52 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f941fff9d260bfa7c701fa5c173ffe3dbc8c5e6c Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Sun, 16 Oct 2016 05:08:30 +0200 -Subject: [PATCH 239/330] ftrace: Fix trace header alignment -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 238/329] ftrace: Fix trace header alignment +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Line up helper arrows to the right column. diff --git a/debian/patches-rt/0240-x86-Support-for-lazy-preemption.patch b/debian/patches-rt/0239-x86-Support-for-lazy-preemption.patch similarity index 95% rename from debian/patches-rt/0240-x86-Support-for-lazy-preemption.patch rename to debian/patches-rt/0239-x86-Support-for-lazy-preemption.patch index 8407f0249..bcbc2a96d 100644 --- a/debian/patches-rt/0240-x86-Support-for-lazy-preemption.patch +++ b/debian/patches-rt/0239-x86-Support-for-lazy-preemption.patch @@ -1,11 +1,11 @@ -From 4b671af47115b2d520a1ca6665cbf42f48621269 Mon Sep 17 00:00:00 2001 -Message-Id: <4b671af47115b2d520a1ca6665cbf42f48621269.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From edda41e1a73853a8a6703c4e692a98653d1f008d Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 1 Nov 2012 11:03:47 +0100 -Subject: [PATCH 240/330] x86: Support for lazy preemption -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 239/329] x86: Support for lazy preemption +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Implement the x86 pieces for lazy preempt. diff --git a/debian/patches-rt/0241-x86-lazy-preempt-properly-check-against-preempt-mask.patch b/debian/patches-rt/0240-x86-lazy-preempt-properly-check-against-preempt-mask.patch similarity index 75% rename from debian/patches-rt/0241-x86-lazy-preempt-properly-check-against-preempt-mask.patch rename to debian/patches-rt/0240-x86-lazy-preempt-properly-check-against-preempt-mask.patch index 064396eef..2ee3f35e4 100644 --- a/debian/patches-rt/0241-x86-lazy-preempt-properly-check-against-preempt-mask.patch +++ b/debian/patches-rt/0240-x86-lazy-preempt-properly-check-against-preempt-mask.patch @@ -1,12 +1,12 @@ -From fdcecdbbef33371371b9cdb15ae6918af2b96978 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From c94eee1a9ae1745a805eeb2d8d218b0c2c8dba2f Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 18 Feb 2019 16:57:09 +0100 -Subject: [PATCH 241/330] x86: lazy-preempt: properly check against +Subject: [PATCH 240/329] x86: lazy-preempt: properly check against preempt-mask -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz should_resched() should check against preempt_offset after unmasking the need-resched-bit. Otherwise should_resched() won't work for diff --git a/debian/patches-rt/0242-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch b/debian/patches-rt/0241-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch similarity index 79% rename from debian/patches-rt/0242-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch rename to debian/patches-rt/0241-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch index 3cacc2f7c..95609c4af 100644 --- a/debian/patches-rt/0242-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch +++ b/debian/patches-rt/0241-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch @@ -1,12 +1,12 @@ -From 5fd4eedd6c9f19c50a5d7ea66edc4a07bf3ddb32 Mon Sep 17 00:00:00 2001 -Message-Id: <5fd4eedd6c9f19c50a5d7ea66edc4a07bf3ddb32.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 3359648051d20d9c9a72570516dc6d9008e385d5 Mon Sep 17 00:00:00 2001 +Message-Id: <3359648051d20d9c9a72570516dc6d9008e385d5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 26 Feb 2019 14:53:49 +0100 -Subject: [PATCH 242/330] x86: lazy-preempt: use proper return label on +Subject: [PATCH 241/329] x86: lazy-preempt: use proper return label on 32bit-x86 -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The lazy-preempt uses the wrong return label in case preemption isn't possible. This results crash while returning to the kernel. diff --git a/debian/patches-rt/0243-arm-Add-support-for-lazy-preemption.patch b/debian/patches-rt/0242-arm-Add-support-for-lazy-preemption.patch similarity index 94% rename from debian/patches-rt/0243-arm-Add-support-for-lazy-preemption.patch rename to debian/patches-rt/0242-arm-Add-support-for-lazy-preemption.patch index b93ba2cfb..af9d8409f 100644 --- a/debian/patches-rt/0243-arm-Add-support-for-lazy-preemption.patch +++ b/debian/patches-rt/0242-arm-Add-support-for-lazy-preemption.patch @@ -1,11 +1,11 @@ -From 6bfa6ae306b184b9a686976852d8503fdb364142 Mon Sep 17 00:00:00 2001 -Message-Id: <6bfa6ae306b184b9a686976852d8503fdb364142.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 33921563e87daa42262c4f5f948cbc362563a5da Mon Sep 17 00:00:00 2001 +Message-Id: <33921563e87daa42262c4f5f948cbc362563a5da.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 31 Oct 2012 12:04:11 +0100 -Subject: [PATCH 243/330] arm: Add support for lazy preemption -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 242/329] arm: Add support for lazy preemption +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Implement the arm pieces for lazy preempt. diff --git a/debian/patches-rt/0244-powerpc-Add-support-for-lazy-preemption.patch b/debian/patches-rt/0243-powerpc-Add-support-for-lazy-preemption.patch similarity index 95% rename from debian/patches-rt/0244-powerpc-Add-support-for-lazy-preemption.patch rename to debian/patches-rt/0243-powerpc-Add-support-for-lazy-preemption.patch index 4c2ff3d39..574bbbcda 100644 --- a/debian/patches-rt/0244-powerpc-Add-support-for-lazy-preemption.patch +++ b/debian/patches-rt/0243-powerpc-Add-support-for-lazy-preemption.patch @@ -1,11 +1,11 @@ -From 5d9b43bc809a72f178b8cd1dc9d63c7ebd97bc77 Mon Sep 17 00:00:00 2001 -Message-Id: <5d9b43bc809a72f178b8cd1dc9d63c7ebd97bc77.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 260ef32879562ed3b79470a7b376e0016b2f2d5a Mon Sep 17 00:00:00 2001 +Message-Id: <260ef32879562ed3b79470a7b376e0016b2f2d5a.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Thu, 1 Nov 2012 10:14:11 +0100 -Subject: [PATCH 244/330] powerpc: Add support for lazy preemption -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 243/329] powerpc: Add support for lazy preemption +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Implement the powerpc pieces for lazy preempt. diff --git a/debian/patches-rt/0245-arch-arm64-Add-lazy-preempt-support.patch b/debian/patches-rt/0244-arch-arm64-Add-lazy-preempt-support.patch similarity index 93% rename from debian/patches-rt/0245-arch-arm64-Add-lazy-preempt-support.patch rename to debian/patches-rt/0244-arch-arm64-Add-lazy-preempt-support.patch index a2b4be6a1..acd637534 100644 --- a/debian/patches-rt/0245-arch-arm64-Add-lazy-preempt-support.patch +++ b/debian/patches-rt/0244-arch-arm64-Add-lazy-preempt-support.patch @@ -1,11 +1,11 @@ -From 96e3ced3dbd7022ebe4b722d30e6c57394820cc3 Mon Sep 17 00:00:00 2001 -Message-Id: <96e3ced3dbd7022ebe4b722d30e6c57394820cc3.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From cca2e5549775271cf1c2a99dfc80aa845c721961 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Anders Roxell Date: Thu, 14 May 2015 17:52:17 +0200 -Subject: [PATCH 245/330] arch/arm64: Add lazy preempt support -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 244/329] arch/arm64: Add lazy preempt support +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz arm64 is missing support for PREEMPT_RT. The main feature which is lacking is support for lazy preemption. The arch-specific entry code, diff --git a/debian/patches-rt/0246-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch b/debian/patches-rt/0245-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch similarity index 88% rename from debian/patches-rt/0246-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch rename to debian/patches-rt/0245-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch index f3c605750..957797ee9 100644 --- a/debian/patches-rt/0246-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch +++ b/debian/patches-rt/0245-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch @@ -1,12 +1,12 @@ -From 3ee2327f0664af523a61428effbd062295f25e20 Mon Sep 17 00:00:00 2001 -Message-Id: <3ee2327f0664af523a61428effbd062295f25e20.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 419a95ed6b9f18684a98f763a2a71bd326e1d57b Mon Sep 17 00:00:00 2001 +Message-Id: <419a95ed6b9f18684a98f763a2a71bd326e1d57b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Sun, 16 Oct 2016 05:11:54 +0200 -Subject: [PATCH 246/330] connector/cn_proc: Protect send_msg() with a local +Subject: [PATCH 245/329] connector/cn_proc: Protect send_msg() with a local lock on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:931 |in_atomic(): 1, irqs_disabled(): 0, pid: 31807, name: sleep diff --git a/debian/patches-rt/0247-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch b/debian/patches-rt/0246-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch similarity index 89% rename from debian/patches-rt/0247-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch rename to debian/patches-rt/0246-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch index 6f0f4cdfc..fabb1c16e 100644 --- a/debian/patches-rt/0247-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch +++ b/debian/patches-rt/0246-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch @@ -1,12 +1,12 @@ -From bde23f0fd8dced4d464e85e5509b5d5858bddf51 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From ceeee0d5920e787c297fc85ca0f50d08b5e0c87e Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Thu, 31 Mar 2016 04:08:28 +0200 -Subject: [PATCH 247/330] drivers/block/zram: Replace bit spinlocks with +Subject: [PATCH 246/329] drivers/block/zram: Replace bit spinlocks with rtmutex for -rt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz They're nondeterministic, and lead to ___might_sleep() splats in -rt. OTOH, they're a lot less wasteful than an rtmutex per page. diff --git a/debian/patches-rt/0248-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch b/debian/patches-rt/0247-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch similarity index 90% rename from debian/patches-rt/0248-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch rename to debian/patches-rt/0247-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch index 2cd37f7f1..7376d980d 100644 --- a/debian/patches-rt/0248-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch +++ b/debian/patches-rt/0247-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch @@ -1,12 +1,12 @@ -From 2bc0a885483d450bb6a887953c0be7c9eee779d2 Mon Sep 17 00:00:00 2001 -Message-Id: <2bc0a885483d450bb6a887953c0be7c9eee779d2.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From fd8b3b3e54ec20a55a36728795deff41ca074496 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Thu, 20 Oct 2016 11:15:22 +0200 -Subject: [PATCH 248/330] drivers/zram: Don't disable preemption in +Subject: [PATCH 247/329] drivers/zram: Don't disable preemption in zcomp_stream_get/put() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz In v4.7, the driver switched to percpu compression streams, disabling preemption via get/put_cpu_ptr(). Use a per-zcomp_strm lock here. We diff --git a/debian/patches-rt/0249-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch b/debian/patches-rt/0248-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch similarity index 79% rename from debian/patches-rt/0249-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch rename to debian/patches-rt/0248-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch index b8657df19..5e33d3c2c 100644 --- a/debian/patches-rt/0249-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch +++ b/debian/patches-rt/0248-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch @@ -1,12 +1,12 @@ -From 4cdcaa5f91b01d5ed1e71b1ac82067edaa42f1da Mon Sep 17 00:00:00 2001 -Message-Id: <4cdcaa5f91b01d5ed1e71b1ac82067edaa42f1da.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f884b4196f226bd7c13172b1c28eec0cd9fcf2e3 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Wed, 23 Aug 2017 11:57:29 +0200 -Subject: [PATCH 249/330] drivers/zram: fix zcomp_stream_get() +Subject: [PATCH 248/329] drivers/zram: fix zcomp_stream_get() smp_processor_id() use in preemptible code -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Use get_local_ptr() instead this_cpu_ptr() to avoid a warning regarding smp_processor_id() in preemptible code. diff --git a/debian/patches-rt/0250-tpm_tis-fix-stall-after-iowrite-s.patch b/debian/patches-rt/0249-tpm_tis-fix-stall-after-iowrite-s.patch similarity index 89% rename from debian/patches-rt/0250-tpm_tis-fix-stall-after-iowrite-s.patch rename to debian/patches-rt/0249-tpm_tis-fix-stall-after-iowrite-s.patch index 1190e40b0..1dd8fb7d8 100644 --- a/debian/patches-rt/0250-tpm_tis-fix-stall-after-iowrite-s.patch +++ b/debian/patches-rt/0249-tpm_tis-fix-stall-after-iowrite-s.patch @@ -1,11 +1,11 @@ -From d334dbe65f86ee654d0653c61bd2c5e5e3426d6a Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d3528791e1126dc31428038909485f38f30c755b Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Haris Okanovic Date: Tue, 15 Aug 2017 15:13:08 -0500 -Subject: [PATCH 250/330] tpm_tis: fix stall after iowrite*()s -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 249/329] tpm_tis: fix stall after iowrite*()s +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz ioread8() operations to TPM MMIO addresses can stall the cpu when immediately following a sequence of iowrite*()'s to the same region. diff --git a/debian/patches-rt/0251-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch b/debian/patches-rt/0250-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch similarity index 90% rename from debian/patches-rt/0251-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch rename to debian/patches-rt/0250-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch index 93f426898..054cf6398 100644 --- a/debian/patches-rt/0251-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch +++ b/debian/patches-rt/0250-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch @@ -1,11 +1,11 @@ -From da11a4140d575b4486113ea80a344c2f10526634 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From cc76e3461b86d564e0fe0a8eded6357a6a6feea3 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julia Cartwright Date: Fri, 28 Sep 2018 21:03:51 +0000 -Subject: [PATCH 251/330] watchdog: prevent deferral of watchdogd wakeup on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 250/329] watchdog: prevent deferral of watchdogd wakeup on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz When PREEMPT_RT_FULL is enabled, all hrtimer expiry functions are deferred for execution into the context of ktimersoftd unless otherwise diff --git a/debian/patches-rt/0252-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch b/debian/patches-rt/0251-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch similarity index 85% rename from debian/patches-rt/0252-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch rename to debian/patches-rt/0251-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch index 023e91eb3..6f845c96f 100644 --- a/debian/patches-rt/0252-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch +++ b/debian/patches-rt/0251-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch @@ -1,12 +1,12 @@ -From 137193a9e29aab337a25b34884ee028e00b4ffff Mon Sep 17 00:00:00 2001 -Message-Id: <137193a9e29aab337a25b34884ee028e00b4ffff.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From a8807e9c95add534929192facd840e504e31311c Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Sat, 27 Feb 2016 08:09:11 +0100 -Subject: [PATCH 252/330] drm,radeon,i915: Use preempt_disable/enable_rt() +Subject: [PATCH 251/329] drm,radeon,i915: Use preempt_disable/enable_rt() where recommended -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz DRM folks identified the spots, so use them. @@ -20,7 +20,7 @@ Signed-off-by: Thomas Gleixner 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c -index 29877969310d..f65817c51c2a 100644 +index b7c398232136..eed1ba3009c6 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -1025,6 +1025,7 @@ static bool i915_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe, diff --git a/debian/patches-rt/0253-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch b/debian/patches-rt/0252-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch similarity index 94% rename from debian/patches-rt/0253-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch rename to debian/patches-rt/0252-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch index fa278966d..8f0551e94 100644 --- a/debian/patches-rt/0253-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch +++ b/debian/patches-rt/0252-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch @@ -1,12 +1,12 @@ -From ad9a22a28b78660154ae7153813ea337679a4f13 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d2f572428eb2121a8e698318d5880c10b0e6a5d6 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Sat, 27 Feb 2016 09:01:42 +0100 -Subject: [PATCH 253/330] drm,i915: Use local_lock/unlock_irq() in +Subject: [PATCH 252/329] drm,i915: Use local_lock/unlock_irq() in intel_pipe_update_start/end() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ 8.014039] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:918 [ 8.014041] in_atomic(): 0, irqs_disabled(): 1, pid: 78, name: kworker/u4:4 diff --git a/debian/patches-rt/0254-drm-i915-disable-tracing-on-RT.patch b/debian/patches-rt/0253-drm-i915-disable-tracing-on-RT.patch similarity index 81% rename from debian/patches-rt/0254-drm-i915-disable-tracing-on-RT.patch rename to debian/patches-rt/0253-drm-i915-disable-tracing-on-RT.patch index 99f48c5b6..1804ae7d6 100644 --- a/debian/patches-rt/0254-drm-i915-disable-tracing-on-RT.patch +++ b/debian/patches-rt/0253-drm-i915-disable-tracing-on-RT.patch @@ -1,11 +1,11 @@ -From 87a5e8b4b0f251c4d0a8a67b82198016c1b6ca54 Mon Sep 17 00:00:00 2001 -Message-Id: <87a5e8b4b0f251c4d0a8a67b82198016c1b6ca54.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e0bd919791b22815f94a9f79bf7e6542fa250d40 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 6 Dec 2018 09:52:20 +0100 -Subject: [PATCH 254/330] drm/i915: disable tracing on -RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 253/329] drm/i915: disable tracing on -RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Luca Abeni reported this: | BUG: scheduling while atomic: kworker/u8:2/15203/0x00000003 diff --git a/debian/patches-rt/0255-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch b/debian/patches-rt/0254-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch similarity index 77% rename from debian/patches-rt/0255-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch rename to debian/patches-rt/0254-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch index 0acf90dea..f12cb5a87 100644 --- a/debian/patches-rt/0255-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch +++ b/debian/patches-rt/0254-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch @@ -1,12 +1,12 @@ -From ed2b80308dad5ff63222215fb548a977e5dacc69 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 57d48ffba436c769ba80b0500a99edee90200554 Mon Sep 17 00:00:00 2001 +Message-Id: <57d48ffba436c769ba80b0500a99edee90200554.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 19 Dec 2018 10:47:02 +0100 -Subject: [PATCH 255/330] drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with +Subject: [PATCH 254/329] drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The order of the header files is important. If this header file is included after tracepoint.h was included then the NOTRACE here becomes a diff --git a/debian/patches-rt/0256-cgroups-use-simple-wait-in-css_release.patch b/debian/patches-rt/0255-cgroups-use-simple-wait-in-css_release.patch similarity index 90% rename from debian/patches-rt/0256-cgroups-use-simple-wait-in-css_release.patch rename to debian/patches-rt/0255-cgroups-use-simple-wait-in-css_release.patch index ecb244fe6..13017c869 100644 --- a/debian/patches-rt/0256-cgroups-use-simple-wait-in-css_release.patch +++ b/debian/patches-rt/0255-cgroups-use-simple-wait-in-css_release.patch @@ -1,11 +1,11 @@ -From 5036ae1296cc6936c2cb686f902b272dcd74c3e0 Mon Sep 17 00:00:00 2001 -Message-Id: <5036ae1296cc6936c2cb686f902b272dcd74c3e0.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d284a7137ca6403eea4e26b9f26b49bd9143011c Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 13 Feb 2015 15:52:24 +0100 -Subject: [PATCH 256/330] cgroups: use simple wait in css_release() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 255/329] cgroups: use simple wait in css_release() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz To avoid: |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:914 diff --git a/debian/patches-rt/0257-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch b/debian/patches-rt/0256-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch similarity index 96% rename from debian/patches-rt/0257-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch rename to debian/patches-rt/0256-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch index e104ac52e..4f678444b 100644 --- a/debian/patches-rt/0257-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch +++ b/debian/patches-rt/0256-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch @@ -1,11 +1,11 @@ -From 8564b96e7c4c3afd51a3d4f4f84f54b55c238245 Mon Sep 17 00:00:00 2001 -Message-Id: <8564b96e7c4c3afd51a3d4f4f84f54b55c238245.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 93f84cfa94d44ee4e709a49c512af51e3a4303c2 Mon Sep 17 00:00:00 2001 +Message-Id: <93f84cfa94d44ee4e709a49c512af51e3a4303c2.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Mike Galbraith Date: Sun, 8 Jan 2017 09:32:25 +0100 -Subject: [PATCH 257/330] cpuset: Convert callback_lock to raw_spinlock_t -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 256/329] cpuset: Convert callback_lock to raw_spinlock_t +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The two commits below add up to a cpuset might_sleep() splat for RT: diff --git a/debian/patches-rt/0258-apparmor-use-a-locallock-instead-preempt_disable.patch b/debian/patches-rt/0257-apparmor-use-a-locallock-instead-preempt_disable.patch similarity index 87% rename from debian/patches-rt/0258-apparmor-use-a-locallock-instead-preempt_disable.patch rename to debian/patches-rt/0257-apparmor-use-a-locallock-instead-preempt_disable.patch index 4c18e20ed..8e330e839 100644 --- a/debian/patches-rt/0258-apparmor-use-a-locallock-instead-preempt_disable.patch +++ b/debian/patches-rt/0257-apparmor-use-a-locallock-instead-preempt_disable.patch @@ -1,11 +1,11 @@ -From 0d8d113a16a89c356895a373f5ff9a4ada819248 Mon Sep 17 00:00:00 2001 -Message-Id: <0d8d113a16a89c356895a373f5ff9a4ada819248.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 1bee9a8581a1d461d22fd5fe2c4048b60958a3eb Mon Sep 17 00:00:00 2001 +Message-Id: <1bee9a8581a1d461d22fd5fe2c4048b60958a3eb.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 11 Oct 2017 17:43:49 +0200 -Subject: [PATCH 258/330] apparmor: use a locallock instead preempt_disable() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 257/329] apparmor: use a locallock instead preempt_disable() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz get_buffers() disables preemption which acts as a lock for the per-CPU variable. Since we can't disable preemption here on RT, a local_lock is @@ -71,7 +71,7 @@ index b6380c5f0097..12abfddb19c9 100644 #endif /* __AA_PATH_H */ diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c -index 730de4638b4e..edc911ff6a4d 100644 +index 898752b818dc..690c8fccd0a0 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -45,7 +45,7 @@ diff --git a/debian/patches-rt/0259-workqueue-Prevent-deadlock-stall-on-RT.patch b/debian/patches-rt/0258-workqueue-Prevent-deadlock-stall-on-RT.patch similarity index 94% rename from debian/patches-rt/0259-workqueue-Prevent-deadlock-stall-on-RT.patch rename to debian/patches-rt/0258-workqueue-Prevent-deadlock-stall-on-RT.patch index 080f172f6..55e0d278a 100644 --- a/debian/patches-rt/0259-workqueue-Prevent-deadlock-stall-on-RT.patch +++ b/debian/patches-rt/0258-workqueue-Prevent-deadlock-stall-on-RT.patch @@ -1,11 +1,11 @@ -From 3f8e7374498092be66a247e893cda1001a29ee1a Mon Sep 17 00:00:00 2001 -Message-Id: <3f8e7374498092be66a247e893cda1001a29ee1a.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 3233bad46473f1379d6f60644f62563894c066a2 Mon Sep 17 00:00:00 2001 +Message-Id: <3233bad46473f1379d6f60644f62563894c066a2.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 27 Jun 2014 16:24:52 +0200 -Subject: [PATCH 259/330] workqueue: Prevent deadlock/stall on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 258/329] workqueue: Prevent deadlock/stall on RT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Austin reported a XFS deadlock/stall on RT where scheduled work gets never exececuted and tasks are waiting for each other for ever. @@ -46,7 +46,7 @@ Cc: Steven Rostedt 2 files changed, 51 insertions(+), 15 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index a17c765d3fcb..cfde725e1017 100644 +index 14964f9d778c..d25017e931c6 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3610,9 +3610,8 @@ void __noreturn do_task_dead(void) diff --git a/debian/patches-rt/0260-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch b/debian/patches-rt/0259-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch similarity index 94% rename from debian/patches-rt/0260-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch rename to debian/patches-rt/0259-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch index 11a307018..2360b4361 100644 --- a/debian/patches-rt/0260-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch +++ b/debian/patches-rt/0259-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch @@ -1,11 +1,11 @@ -From 8a6f6e3539a8ae5e6455004a233dbbd7e6cbf6d2 Mon Sep 17 00:00:00 2001 -Message-Id: <8a6f6e3539a8ae5e6455004a233dbbd7e6cbf6d2.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d4f7db2d31d500b49410233187d1b42ab749e6d9 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:56 -0500 -Subject: [PATCH 260/330] signals: Allow rt tasks to cache one sigqueue struct -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 259/329] signals: Allow rt tasks to cache one sigqueue struct +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz To avoid allocation allow rt tasks to cache one sigqueue struct in task struct. @@ -45,7 +45,7 @@ index 0be5ce2375cb..6495fda18c2c 100644 /* Test if 'sig' is valid signal. Use this instead of testing _NSIG directly */ static inline int valid_signal(unsigned long sig) diff --git a/kernel/exit.c b/kernel/exit.c -index 54c3269b8dda..c66f21193cf1 100644 +index eeaafd4064c9..7b30795f19ef 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -160,7 +160,7 @@ static void __exit_signal(struct task_struct *tsk) diff --git a/debian/patches-rt/0261-Add-localversion-for-RT-release.patch b/debian/patches-rt/0260-Add-localversion-for-RT-release.patch similarity index 60% rename from debian/patches-rt/0261-Add-localversion-for-RT-release.patch rename to debian/patches-rt/0260-Add-localversion-for-RT-release.patch index 1777f54ba..c4730a816 100644 --- a/debian/patches-rt/0261-Add-localversion-for-RT-release.patch +++ b/debian/patches-rt/0260-Add-localversion-for-RT-release.patch @@ -1,11 +1,11 @@ -From b9e5fdc337addc5c3b49658c7804fc67081ee4a9 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 48c859ef09c1e493cb3e170ff0dc40c3c1c476b5 Mon Sep 17 00:00:00 2001 +Message-Id: <48c859ef09c1e493cb3e170ff0dc40c3c1c476b5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Fri, 8 Jul 2011 20:25:16 +0200 -Subject: [PATCH 261/330] Add localversion for -RT release -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 260/329] Add localversion for -RT release +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches-rt/0262-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch b/debian/patches-rt/0261-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch similarity index 90% rename from debian/patches-rt/0262-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch rename to debian/patches-rt/0261-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch index 88ad44414..e8e32d96e 100644 --- a/debian/patches-rt/0262-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch +++ b/debian/patches-rt/0261-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch @@ -1,12 +1,12 @@ -From 8a21a4074affa0eb2be5aa587d7766a00e7605b5 Mon Sep 17 00:00:00 2001 -Message-Id: <8a21a4074affa0eb2be5aa587d7766a00e7605b5.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 61719bd674ea378eb95e24b6af330f8c016491a2 Mon Sep 17 00:00:00 2001 +Message-Id: <61719bd674ea378eb95e24b6af330f8c016491a2.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 26 Mar 2019 18:31:54 +0100 -Subject: [PATCH 262/330] powerpc/pseries/iommu: Use a locallock instead +Subject: [PATCH 261/329] powerpc/pseries/iommu: Use a locallock instead local_irq_save() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The locallock protects the per-CPU variable tce_page. The function attempts to allocate memory while tce_page is protected (by disabling diff --git a/debian/patches-rt/0263-powerpc-reshuffle-TIF-bits.patch b/debian/patches-rt/0262-powerpc-reshuffle-TIF-bits.patch similarity index 94% rename from debian/patches-rt/0263-powerpc-reshuffle-TIF-bits.patch rename to debian/patches-rt/0262-powerpc-reshuffle-TIF-bits.patch index 82dfa5f97..af70e30a7 100644 --- a/debian/patches-rt/0263-powerpc-reshuffle-TIF-bits.patch +++ b/debian/patches-rt/0262-powerpc-reshuffle-TIF-bits.patch @@ -1,11 +1,11 @@ -From 7ab06e1f695ee73b1bfe354ed23c5082df34daf6 Mon Sep 17 00:00:00 2001 -Message-Id: <7ab06e1f695ee73b1bfe354ed23c5082df34daf6.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6bc0b1e4bce625606b9748ef597130a9759f85eb Mon Sep 17 00:00:00 2001 +Message-Id: <6bc0b1e4bce625606b9748ef597130a9759f85eb.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 22 Mar 2019 17:15:58 +0100 -Subject: [PATCH 263/330] powerpc: reshuffle TIF bits -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 262/329] powerpc: reshuffle TIF bits +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Powerpc32/64 does not compile because TIF_SYSCALL_TRACE's bit is higher than 15 and the assembly instructions don't expect that. diff --git a/debian/patches-rt/0264-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch b/debian/patches-rt/0263-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch similarity index 86% rename from debian/patches-rt/0264-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch rename to debian/patches-rt/0263-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch index 28df5649a..08fc6ced5 100644 --- a/debian/patches-rt/0264-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch +++ b/debian/patches-rt/0263-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch @@ -1,11 +1,11 @@ -From daa9e1b6dcd7026c46a10816dc421bf7fab18bb5 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e1f7b9e1eddc425d8cc697726b124efab2f2bae3 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julien Grall Date: Wed, 13 Mar 2019 11:40:34 +0000 -Subject: [PATCH 264/330] tty/sysrq: Convert show_lock to raw_spinlock_t -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 263/329] tty/sysrq: Convert show_lock to raw_spinlock_t +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Systems which don't provide arch_trigger_cpumask_backtrace() will invoke showacpu() from a smp_call_function() function which is invoked diff --git a/debian/patches-rt/0265-drm-i915-Don-t-disable-interrupts-independently-of-t.patch b/debian/patches-rt/0264-drm-i915-Don-t-disable-interrupts-independently-of-t.patch similarity index 84% rename from debian/patches-rt/0265-drm-i915-Don-t-disable-interrupts-independently-of-t.patch rename to debian/patches-rt/0264-drm-i915-Don-t-disable-interrupts-independently-of-t.patch index ff0ea6c0a..6652e2822 100644 --- a/debian/patches-rt/0265-drm-i915-Don-t-disable-interrupts-independently-of-t.patch +++ b/debian/patches-rt/0264-drm-i915-Don-t-disable-interrupts-independently-of-t.patch @@ -1,12 +1,12 @@ -From aab06248c5ebc69cebfb4034783e82cd3bcb583c Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 3e245283e3b4a92c8e9cf5f69af29712990ef2b5 Mon Sep 17 00:00:00 2001 +Message-Id: <3e245283e3b4a92c8e9cf5f69af29712990ef2b5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 10 Apr 2019 11:01:37 +0200 -Subject: [PATCH 265/330] drm/i915: Don't disable interrupts independently of +Subject: [PATCH 264/329] drm/i915: Don't disable interrupts independently of the lock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The locks (timeline->lock and rq->lock) need to be taken with disabled interrupts. This is done in __retire_engine_request() by disabling the diff --git a/debian/patches-rt/0266-sched-completion-Fix-a-lockup-in-wait_for_completion.patch b/debian/patches-rt/0265-sched-completion-Fix-a-lockup-in-wait_for_completion.patch similarity index 87% rename from debian/patches-rt/0266-sched-completion-Fix-a-lockup-in-wait_for_completion.patch rename to debian/patches-rt/0265-sched-completion-Fix-a-lockup-in-wait_for_completion.patch index 287e44068..606c287cb 100644 --- a/debian/patches-rt/0266-sched-completion-Fix-a-lockup-in-wait_for_completion.patch +++ b/debian/patches-rt/0265-sched-completion-Fix-a-lockup-in-wait_for_completion.patch @@ -1,12 +1,12 @@ -From 5b5332b66ab73ff8f749772e6932cd1597bc1919 Mon Sep 17 00:00:00 2001 -Message-Id: <5b5332b66ab73ff8f749772e6932cd1597bc1919.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 9058e40d61d3df656608abb1afacce8903781751 Mon Sep 17 00:00:00 2001 +Message-Id: <9058e40d61d3df656608abb1afacce8903781751.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Corey Minyard Date: Thu, 9 May 2019 14:33:20 -0500 -Subject: [PATCH 266/330] sched/completion: Fix a lockup in +Subject: [PATCH 265/329] sched/completion: Fix a lockup in wait_for_completion() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Consider following race: diff --git a/debian/patches-rt/0267-kthread-add-a-global-worker-thread.patch b/debian/patches-rt/0266-kthread-add-a-global-worker-thread.patch similarity index 93% rename from debian/patches-rt/0267-kthread-add-a-global-worker-thread.patch rename to debian/patches-rt/0266-kthread-add-a-global-worker-thread.patch index 9fdcdd2d8..b3782d532 100644 --- a/debian/patches-rt/0267-kthread-add-a-global-worker-thread.patch +++ b/debian/patches-rt/0266-kthread-add-a-global-worker-thread.patch @@ -1,11 +1,11 @@ -From cb3a32333406ad52b02055815dfe396f2676bfe8 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7f76ec5f80e3f2615dc4d1c5c95ce8f88e22412b Mon Sep 17 00:00:00 2001 +Message-Id: <7f76ec5f80e3f2615dc4d1c5c95ce8f88e22412b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 12 Feb 2019 15:09:38 +0100 -Subject: [PATCH 267/330] kthread: add a global worker thread. -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 266/329] kthread: add a global worker thread. +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 0532e87d9d44795221aa921ba7024bde689cc894 ] @@ -32,7 +32,7 @@ Signed-off-by: Steven Rostedt (VMware) create mode 100644 include/linux/kthread-cgroup.h diff --git a/drivers/block/loop.c b/drivers/block/loop.c -index c1341c86bcde..aee44299bd07 100644 +index 728681a20b7f..ec7442545b84 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -70,7 +70,7 @@ diff --git a/debian/patches-rt/0268-arm-imx6-cpuidle-Use-raw_spinlock_t.patch b/debian/patches-rt/0267-arm-imx6-cpuidle-Use-raw_spinlock_t.patch similarity index 81% rename from debian/patches-rt/0268-arm-imx6-cpuidle-Use-raw_spinlock_t.patch rename to debian/patches-rt/0267-arm-imx6-cpuidle-Use-raw_spinlock_t.patch index af47c3c8e..5681299e0 100644 --- a/debian/patches-rt/0268-arm-imx6-cpuidle-Use-raw_spinlock_t.patch +++ b/debian/patches-rt/0267-arm-imx6-cpuidle-Use-raw_spinlock_t.patch @@ -1,11 +1,11 @@ -From 58fe9b05e086a9b62bc81814a545291426c64262 Mon Sep 17 00:00:00 2001 -Message-Id: <58fe9b05e086a9b62bc81814a545291426c64262.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 98a1f056e6fe5b7b5d9db8cfc3a6f24a6bec4386 Mon Sep 17 00:00:00 2001 +Message-Id: <98a1f056e6fe5b7b5d9db8cfc3a6f24a6bec4386.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 14 May 2019 17:07:44 +0200 -Subject: [PATCH 268/330] arm: imx6: cpuidle: Use raw_spinlock_t -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 267/329] arm: imx6: cpuidle: Use raw_spinlock_t +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 40d0332ec8312e9c090f0a5414d9c90e12b13611 ] diff --git a/debian/patches-rt/0269-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch b/debian/patches-rt/0268-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch similarity index 76% rename from debian/patches-rt/0269-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch rename to debian/patches-rt/0268-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch index 6f9af42ca..f1c98e230 100644 --- a/debian/patches-rt/0269-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch +++ b/debian/patches-rt/0268-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch @@ -1,12 +1,12 @@ -From 1e9114e34389619347eecc362b72d28efdf53b1a Mon Sep 17 00:00:00 2001 -Message-Id: <1e9114e34389619347eecc362b72d28efdf53b1a.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6ac59ffb1fd38d1523c9426b1084fd65206e40f4 Mon Sep 17 00:00:00 2001 +Message-Id: <6ac59ffb1fd38d1523c9426b1084fd65206e40f4.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 24 Jun 2019 18:29:13 +0200 -Subject: [PATCH 269/330] rcu: Don't allow to change rcu_normal_after_boot on +Subject: [PATCH 268/329] rcu: Don't allow to change rcu_normal_after_boot on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit c6c058c10577815a2491ce661876cff00a4c3b15 ] diff --git a/debian/patches-rt/0270-pci-switchtec-fix-stream_open.cocci-warnings.patch b/debian/patches-rt/0269-pci-switchtec-fix-stream_open.cocci-warnings.patch similarity index 80% rename from debian/patches-rt/0270-pci-switchtec-fix-stream_open.cocci-warnings.patch rename to debian/patches-rt/0269-pci-switchtec-fix-stream_open.cocci-warnings.patch index 8ab0ee6f6..7b95410fe 100644 --- a/debian/patches-rt/0270-pci-switchtec-fix-stream_open.cocci-warnings.patch +++ b/debian/patches-rt/0269-pci-switchtec-fix-stream_open.cocci-warnings.patch @@ -1,11 +1,11 @@ -From c68ac93ed423e121095839f7e136c768b4699d43 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From bfe24ab61ba1de950c24c40f3cc16e232e8f513b Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: kbuild test robot Date: Sat, 13 Apr 2019 11:22:51 +0800 -Subject: [PATCH 270/330] pci/switchtec: fix stream_open.cocci warnings -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 269/329] pci/switchtec: fix stream_open.cocci warnings +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 9462c69e29307adc95c289f50839d5d683973891 ] diff --git a/debian/patches-rt/0271-sched-core-Drop-a-preempt_disable_rt-statement.patch b/debian/patches-rt/0270-sched-core-Drop-a-preempt_disable_rt-statement.patch similarity index 77% rename from debian/patches-rt/0271-sched-core-Drop-a-preempt_disable_rt-statement.patch rename to debian/patches-rt/0270-sched-core-Drop-a-preempt_disable_rt-statement.patch index f06c1b5b1..b73942e70 100644 --- a/debian/patches-rt/0271-sched-core-Drop-a-preempt_disable_rt-statement.patch +++ b/debian/patches-rt/0270-sched-core-Drop-a-preempt_disable_rt-statement.patch @@ -1,11 +1,11 @@ -From 5b4d2d85f418c86a8cc12f7a59dbf13f9d0085da Mon Sep 17 00:00:00 2001 -Message-Id: <5b4d2d85f418c86a8cc12f7a59dbf13f9d0085da.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6bcf841f99e62dd5c548e5f16bbe0f70000d41ac Mon Sep 17 00:00:00 2001 +Message-Id: <6bcf841f99e62dd5c548e5f16bbe0f70000d41ac.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 24 Jun 2019 19:33:16 +0200 -Subject: [PATCH 271/330] sched/core: Drop a preempt_disable_rt() statement -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 270/329] sched/core: Drop a preempt_disable_rt() statement +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 761126efdcbe3fa3e99c9079fa0ad6eca2f251f2 ] @@ -19,7 +19,7 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index cfde725e1017..678c2c4de4f5 100644 +index d25017e931c6..5bfe4eab5b0a 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -558,14 +558,11 @@ void resched_cpu(int cpu) diff --git a/debian/patches-rt/0272-timers-Redo-the-notification-of-canceling-timers-on-.patch b/debian/patches-rt/0271-timers-Redo-the-notification-of-canceling-timers-on-.patch similarity index 98% rename from debian/patches-rt/0272-timers-Redo-the-notification-of-canceling-timers-on-.patch rename to debian/patches-rt/0271-timers-Redo-the-notification-of-canceling-timers-on-.patch index 1fa081131..5a9543f5f 100644 --- a/debian/patches-rt/0272-timers-Redo-the-notification-of-canceling-timers-on-.patch +++ b/debian/patches-rt/0271-timers-Redo-the-notification-of-canceling-timers-on-.patch @@ -1,12 +1,12 @@ -From fd3fade471b409c16306174c905526d89bbcda7c Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 9c88015bd83ae931c56e9e5454d4d7a04f620556 Mon Sep 17 00:00:00 2001 +Message-Id: <9c88015bd83ae931c56e9e5454d4d7a04f620556.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 24 Jun 2019 19:39:06 +0200 -Subject: [PATCH 272/330] timers: Redo the notification of canceling timers on +Subject: [PATCH 271/329] timers: Redo the notification of canceling timers on -RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit c71273154c2ad12e13333aada340ff30e826a11b ] diff --git a/debian/patches-rt/0273-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch b/debian/patches-rt/0272-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch similarity index 75% rename from debian/patches-rt/0273-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch rename to debian/patches-rt/0272-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch index b908e264e..3f2c5fe38 100644 --- a/debian/patches-rt/0273-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch +++ b/debian/patches-rt/0272-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch @@ -1,12 +1,12 @@ -From 3036d52feed97ae1dc6496ffc6e96d3bdf68c2dd Mon Sep 17 00:00:00 2001 -Message-Id: <3036d52feed97ae1dc6496ffc6e96d3bdf68c2dd.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 66c7cf6b753c67f143e2c6dc61729be2e1d530e0 Mon Sep 17 00:00:00 2001 +Message-Id: <66c7cf6b753c67f143e2c6dc61729be2e1d530e0.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 26 Jun 2019 17:44:13 +0200 -Subject: [PATCH 273/330] Revert "futex: Ensure lock/unlock symetry versus +Subject: [PATCH 272/329] Revert "futex: Ensure lock/unlock symetry versus pi_lock and hash bucket lock" -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 6a773b70cf105b46298ed3b44e77c102ce31d9ec ] diff --git a/debian/patches-rt/0274-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch b/debian/patches-rt/0273-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch similarity index 89% rename from debian/patches-rt/0274-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch rename to debian/patches-rt/0273-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch index cbccd0181..81bcda154 100644 --- a/debian/patches-rt/0274-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch +++ b/debian/patches-rt/0273-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch @@ -1,12 +1,12 @@ -From 1dba455f84fb97d18a94e6115a8569a81a63d396 Mon Sep 17 00:00:00 2001 -Message-Id: <1dba455f84fb97d18a94e6115a8569a81a63d396.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From ec21b8604b8cfbf7df298fd12651aee03bbaf287 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 26 Jun 2019 17:44:18 +0200 -Subject: [PATCH 274/330] Revert "futex: Fix bug on when a requeued RT task +Subject: [PATCH 273/329] Revert "futex: Fix bug on when a requeued RT task times out" -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit f1a170cb3289a48df26cae3c60d77608f7a988bb ] diff --git a/debian/patches-rt/0275-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch b/debian/patches-rt/0274-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch similarity index 96% rename from debian/patches-rt/0275-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch rename to debian/patches-rt/0274-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch index 1ce803ec8..3117c0986 100644 --- a/debian/patches-rt/0275-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch +++ b/debian/patches-rt/0274-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch @@ -1,12 +1,12 @@ -From 0fc7b125aa031c61c4ef8f772ab3b0c8ad568240 Mon Sep 17 00:00:00 2001 -Message-Id: <0fc7b125aa031c61c4ef8f772ab3b0c8ad568240.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 52fc3041fc0bb78f7ef6ba817fc1221e201ae18b Mon Sep 17 00:00:00 2001 +Message-Id: <52fc3041fc0bb78f7ef6ba817fc1221e201ae18b.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 26 Jun 2019 17:44:21 +0200 -Subject: [PATCH 275/330] Revert "rtmutex: Handle the various new futex race +Subject: [PATCH 274/329] Revert "rtmutex: Handle the various new futex race conditions" -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 9e0265c21af4d6388d47dcd5ce20f76ec3a2e468 ] diff --git a/debian/patches-rt/0276-Revert-futex-workaround-migrate_disable-enable-in-di.patch b/debian/patches-rt/0275-Revert-futex-workaround-migrate_disable-enable-in-di.patch similarity index 86% rename from debian/patches-rt/0276-Revert-futex-workaround-migrate_disable-enable-in-di.patch rename to debian/patches-rt/0275-Revert-futex-workaround-migrate_disable-enable-in-di.patch index 3b397149c..054a75f34 100644 --- a/debian/patches-rt/0276-Revert-futex-workaround-migrate_disable-enable-in-di.patch +++ b/debian/patches-rt/0275-Revert-futex-workaround-migrate_disable-enable-in-di.patch @@ -1,12 +1,12 @@ -From c144f30bad7b8830004837edaaefc0a343ce2e6a Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e10aae6f56724e12b9041d6537c8017feeda4673 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 26 Jun 2019 17:44:27 +0200 -Subject: [PATCH 276/330] Revert "futex: workaround migrate_disable/enable in +Subject: [PATCH 275/329] Revert "futex: workaround migrate_disable/enable in different context" -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit a71221d81cc4873891ae44f3aa02df596079b786 ] diff --git a/debian/patches-rt/0277-futex-Make-the-futex_hash_bucket-lock-raw.patch b/debian/patches-rt/0276-futex-Make-the-futex_hash_bucket-lock-raw.patch similarity index 97% rename from debian/patches-rt/0277-futex-Make-the-futex_hash_bucket-lock-raw.patch rename to debian/patches-rt/0276-futex-Make-the-futex_hash_bucket-lock-raw.patch index ee4ffdeec..b08c74449 100644 --- a/debian/patches-rt/0277-futex-Make-the-futex_hash_bucket-lock-raw.patch +++ b/debian/patches-rt/0276-futex-Make-the-futex_hash_bucket-lock-raw.patch @@ -1,11 +1,11 @@ -From 483572bcc0a470f60955deb2a9536df74a4cd177 Mon Sep 17 00:00:00 2001 -Message-Id: <483572bcc0a470f60955deb2a9536df74a4cd177.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From cc64cc4873a174bf683de80aedfa267684c45f8d Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 26 Jun 2019 11:59:44 +0200 -Subject: [PATCH 277/330] futex: Make the futex_hash_bucket lock raw -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 276/329] futex: Make the futex_hash_bucket lock raw +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit f646521aadedab78801c9befe193e2e8a0c99298 ] diff --git a/debian/patches-rt/0278-futex-Delay-deallocation-of-pi_state.patch b/debian/patches-rt/0277-futex-Delay-deallocation-of-pi_state.patch similarity index 93% rename from debian/patches-rt/0278-futex-Delay-deallocation-of-pi_state.patch rename to debian/patches-rt/0277-futex-Delay-deallocation-of-pi_state.patch index 32f55706a..0f2493d23 100644 --- a/debian/patches-rt/0278-futex-Delay-deallocation-of-pi_state.patch +++ b/debian/patches-rt/0277-futex-Delay-deallocation-of-pi_state.patch @@ -1,11 +1,11 @@ -From d3c2b2ffe7e4deb822dcba767a1a380bc34010c5 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7ea839d3cfee1e926c2f5ca18563b43f291ed7a5 Mon Sep 17 00:00:00 2001 +Message-Id: <7ea839d3cfee1e926c2f5ca18563b43f291ed7a5.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Wed, 26 Jun 2019 13:35:36 +0200 -Subject: [PATCH 278/330] futex: Delay deallocation of pi_state -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 277/329] futex: Delay deallocation of pi_state +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit d7c7cf8cb68b7df17e6e50be1f25f35d83e686c7 ] diff --git a/debian/patches-rt/0279-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch b/debian/patches-rt/0278-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch similarity index 92% rename from debian/patches-rt/0279-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch rename to debian/patches-rt/0278-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch index 33a30bbaa..3f83b771b 100644 --- a/debian/patches-rt/0279-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch +++ b/debian/patches-rt/0278-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch @@ -1,12 +1,12 @@ -From 78df42872fccc85b692b2af42413e7c1a1bdf656 Mon Sep 17 00:00:00 2001 -Message-Id: <78df42872fccc85b692b2af42413e7c1a1bdf656.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From b9d0bb82934cd695ce548a4cf3c16d095dda7b8d Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Luis Claudio R. Goncalves" Date: Tue, 25 Jun 2019 11:28:04 -0300 -Subject: [PATCH 279/330] mm/zswap: Do not disable preemption in +Subject: [PATCH 278/329] mm/zswap: Do not disable preemption in zswap_frontswap_store() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 4e4cf4be79635e67144632d9135286381acbc95a ] diff --git a/debian/patches-rt/0280-revert-aio.patch b/debian/patches-rt/0279-revert-aio.patch similarity index 77% rename from debian/patches-rt/0280-revert-aio.patch rename to debian/patches-rt/0279-revert-aio.patch index f08edd270..fa85b0ea3 100644 --- a/debian/patches-rt/0280-revert-aio.patch +++ b/debian/patches-rt/0279-revert-aio.patch @@ -1,11 +1,11 @@ -From 48b84b3913f814323d617ce874fe87bec4f0e5dc Mon Sep 17 00:00:00 2001 -Message-Id: <48b84b3913f814323d617ce874fe87bec4f0e5dc.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6574af8b225694bd4a227fa89704d70fafee693d Mon Sep 17 00:00:00 2001 +Message-Id: <6574af8b225694bd4a227fa89704d70fafee693d.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Steven Rostedt (VMware)" Date: Fri, 20 Sep 2019 17:50:53 -0400 -Subject: [PATCH 280/330] revert-aio -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 279/329] revert-aio +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz revert: fs/aio: simple simple work @@ -15,7 +15,7 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/fs/aio.c b/fs/aio.c -index 93f8cf7fdeab..b5fbf2061868 100644 +index ac3430d5b0da..413ec289bfa1 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -42,7 +42,6 @@ @@ -34,7 +34,7 @@ index 93f8cf7fdeab..b5fbf2061868 100644 /* * signals when all in-flight requests are done -@@ -267,7 +265,6 @@ static int __init aio_setup(void) +@@ -268,7 +266,6 @@ static int __init aio_setup(void) .mount = aio_mount, .kill_sb = kill_anon_super, }; @@ -42,7 +42,7 @@ index 93f8cf7fdeab..b5fbf2061868 100644 aio_mnt = kern_mount(&aio_fs); if (IS_ERR(aio_mnt)) panic("Failed to create aio fs mount."); -@@ -609,9 +606,9 @@ static void free_ioctx_reqs(struct percpu_ref *ref) +@@ -610,9 +607,9 @@ static void free_ioctx_reqs(struct percpu_ref *ref) * and ctx->users has dropped to 0, so we know no more kiocbs can be submitted - * now it's safe to cancel any that need to be. */ @@ -54,7 +54,7 @@ index 93f8cf7fdeab..b5fbf2061868 100644 struct aio_kiocb *req; spin_lock_irq(&ctx->ctx_lock); -@@ -629,14 +626,6 @@ static void free_ioctx_users_work(struct swork_event *sev) +@@ -630,14 +627,6 @@ static void free_ioctx_users_work(struct swork_event *sev) percpu_ref_put(&ctx->reqs); } diff --git a/debian/patches-rt/0281-fs-aio-simple-simple-work.patch b/debian/patches-rt/0280-fs-aio-simple-simple-work.patch similarity index 83% rename from debian/patches-rt/0281-fs-aio-simple-simple-work.patch rename to debian/patches-rt/0280-fs-aio-simple-simple-work.patch index 04a7b88e0..8da023ee3 100644 --- a/debian/patches-rt/0281-fs-aio-simple-simple-work.patch +++ b/debian/patches-rt/0280-fs-aio-simple-simple-work.patch @@ -1,11 +1,11 @@ -From 7a7d6085c81d6e0cf4ea15cf7b404919cd9e4328 Mon Sep 17 00:00:00 2001 -Message-Id: <7a7d6085c81d6e0cf4ea15cf7b404919cd9e4328.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 191295eec9afa0d2c09df90b7950c341e377d05f Mon Sep 17 00:00:00 2001 +Message-Id: <191295eec9afa0d2c09df90b7950c341e377d05f.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 16 Feb 2015 18:49:10 +0100 -Subject: [PATCH 281/330] fs/aio: simple simple work -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 280/329] fs/aio: simple simple work +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 1a142116f6435ef070ecebb66d2d599507c10601 ] @@ -36,7 +36,7 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/fs/aio.c b/fs/aio.c -index b5fbf2061868..a92119e05869 100644 +index 413ec289bfa1..5b3462fb3433 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -121,6 +121,7 @@ struct kioctx { @@ -47,7 +47,7 @@ index b5fbf2061868..a92119e05869 100644 /* * signals when all in-flight requests are done -@@ -606,9 +607,9 @@ static void free_ioctx_reqs(struct percpu_ref *ref) +@@ -607,9 +608,9 @@ static void free_ioctx_reqs(struct percpu_ref *ref) * and ctx->users has dropped to 0, so we know no more kiocbs can be submitted - * now it's safe to cancel any that need to be. */ @@ -59,7 +59,7 @@ index b5fbf2061868..a92119e05869 100644 struct aio_kiocb *req; spin_lock_irq(&ctx->ctx_lock); -@@ -626,6 +627,14 @@ static void free_ioctx_users(struct percpu_ref *ref) +@@ -627,6 +628,14 @@ static void free_ioctx_users(struct percpu_ref *ref) percpu_ref_put(&ctx->reqs); } diff --git a/debian/patches-rt/0282-revert-thermal.patch b/debian/patches-rt/0281-revert-thermal.patch similarity index 90% rename from debian/patches-rt/0282-revert-thermal.patch rename to debian/patches-rt/0281-revert-thermal.patch index 00cd564f2..c90754ce3 100644 --- a/debian/patches-rt/0282-revert-thermal.patch +++ b/debian/patches-rt/0281-revert-thermal.patch @@ -1,11 +1,11 @@ -From d3c2d84818c626aa75486d2d4860d96157a3778c Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 5fca7a6ba8c06862d345cb2ac9ef002a94430652 Mon Sep 17 00:00:00 2001 +Message-Id: <5fca7a6ba8c06862d345cb2ac9ef002a94430652.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Steven Rostedt (VMware)" Date: Fri, 20 Sep 2019 17:50:53 -0400 -Subject: [PATCH 282/330] revert-thermal -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 281/329] revert-thermal +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Revert: thermal: Defer thermal wakups to threads diff --git a/debian/patches-rt/0283-thermal-Defer-thermal-wakups-to-threads.patch b/debian/patches-rt/0282-thermal-Defer-thermal-wakups-to-threads.patch similarity index 89% rename from debian/patches-rt/0283-thermal-Defer-thermal-wakups-to-threads.patch rename to debian/patches-rt/0282-thermal-Defer-thermal-wakups-to-threads.patch index d621b7476..fca8c2f3e 100644 --- a/debian/patches-rt/0283-thermal-Defer-thermal-wakups-to-threads.patch +++ b/debian/patches-rt/0282-thermal-Defer-thermal-wakups-to-threads.patch @@ -1,11 +1,11 @@ -From adeb85fb9c262ab2c7dc699ca6e164d7f2f784df Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 25341b5143a591d82378be71ba1be67a69ea9731 Mon Sep 17 00:00:00 2001 +Message-Id: <25341b5143a591d82378be71ba1be67a69ea9731.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Daniel Wagner Date: Tue, 17 Feb 2015 09:37:44 +0100 -Subject: [PATCH 283/330] thermal: Defer thermal wakups to threads -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 282/329] thermal: Defer thermal wakups to threads +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit ad2408dc248fe58536eef5b2b5734d8f9d3a280b ] diff --git a/debian/patches-rt/0284-revert-block.patch b/debian/patches-rt/0283-revert-block.patch similarity index 88% rename from debian/patches-rt/0284-revert-block.patch rename to debian/patches-rt/0283-revert-block.patch index 7954efcc4..823539b48 100644 --- a/debian/patches-rt/0284-revert-block.patch +++ b/debian/patches-rt/0283-revert-block.patch @@ -1,11 +1,11 @@ -From 048ffdc22f7d41c94db5dbd39e592fc4fb99802a Mon Sep 17 00:00:00 2001 -Message-Id: <048ffdc22f7d41c94db5dbd39e592fc4fb99802a.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From ab81e84c1791a02eb1efe5eafb7dda84a67bb17f Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Steven Rostedt (VMware)" Date: Fri, 20 Sep 2019 17:50:54 -0400 -Subject: [PATCH 284/330] revert-block -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 283/329] revert-block +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Revert swork version of: block: blk-mq: move blk_queue_usage_counter_release() into process context diff --git a/debian/patches-rt/0285-block-blk-mq-move-blk_queue_usage_counter_release-in.patch b/debian/patches-rt/0284-block-blk-mq-move-blk_queue_usage_counter_release-in.patch similarity index 92% rename from debian/patches-rt/0285-block-blk-mq-move-blk_queue_usage_counter_release-in.patch rename to debian/patches-rt/0284-block-blk-mq-move-blk_queue_usage_counter_release-in.patch index 432aa6970..92ada59b2 100644 --- a/debian/patches-rt/0285-block-blk-mq-move-blk_queue_usage_counter_release-in.patch +++ b/debian/patches-rt/0284-block-blk-mq-move-blk_queue_usage_counter_release-in.patch @@ -1,12 +1,12 @@ -From 58a163041c755da3c9cda688a917ef6a30497c91 Mon Sep 17 00:00:00 2001 -Message-Id: <58a163041c755da3c9cda688a917ef6a30497c91.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f3341ec1d01c68f154e6804208950561843d5345 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 13 Mar 2018 13:49:16 +0100 -Subject: [PATCH 285/330] block: blk-mq: move blk_queue_usage_counter_release() +Subject: [PATCH 284/329] block: blk-mq: move blk_queue_usage_counter_release() into process context -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 61c928ecf4fe200bda9b49a0813b5ba0f43995b5 ] diff --git a/debian/patches-rt/0286-workqueue-rework.patch b/debian/patches-rt/0285-workqueue-rework.patch similarity index 98% rename from debian/patches-rt/0286-workqueue-rework.patch rename to debian/patches-rt/0285-workqueue-rework.patch index e9c0ecfdd..c11aa71c4 100644 --- a/debian/patches-rt/0286-workqueue-rework.patch +++ b/debian/patches-rt/0285-workqueue-rework.patch @@ -1,11 +1,11 @@ -From 22f861cf6e0f3a56d943758f086f0a1b7d67900b Mon Sep 17 00:00:00 2001 -Message-Id: <22f861cf6e0f3a56d943758f086f0a1b7d67900b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 415fbb6671284badb2bdd179a9dc07264c96ab79 Mon Sep 17 00:00:00 2001 +Message-Id: <415fbb6671284badb2bdd179a9dc07264c96ab79.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 29 May 2019 18:52:27 +0200 -Subject: [PATCH 286/330] workqueue: rework -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 285/329] workqueue: rework +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit d15a862f24df983458533aebd6fa207ecdd1095a ] @@ -69,7 +69,7 @@ index 7d709465876e..752c9e754509 100644 /* * Init percpu_ref in atomic mode so that it's faster to shutdown. diff --git a/drivers/block/loop.c b/drivers/block/loop.c -index aee44299bd07..c1341c86bcde 100644 +index ec7442545b84..728681a20b7f 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -70,7 +70,7 @@ @@ -156,7 +156,7 @@ index 82f21fd4afb0..1ef937d799e4 100644 kfree(packages); } diff --git a/fs/aio.c b/fs/aio.c -index a92119e05869..37e75bb0c406 100644 +index 5b3462fb3433..2219713e755c 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -121,7 +121,7 @@ struct kioctx { @@ -168,7 +168,7 @@ index a92119e05869..37e75bb0c406 100644 /* * signals when all in-flight requests are done -@@ -607,9 +607,9 @@ static void free_ioctx_reqs(struct percpu_ref *ref) +@@ -608,9 +608,9 @@ static void free_ioctx_reqs(struct percpu_ref *ref) * and ctx->users has dropped to 0, so we know no more kiocbs can be submitted - * now it's safe to cancel any that need to be. */ @@ -180,7 +180,7 @@ index a92119e05869..37e75bb0c406 100644 struct aio_kiocb *req; spin_lock_irq(&ctx->ctx_lock); -@@ -631,8 +631,8 @@ static void free_ioctx_users(struct percpu_ref *ref) +@@ -632,8 +632,8 @@ static void free_ioctx_users(struct percpu_ref *ref) { struct kioctx *ctx = container_of(ref, struct kioctx, users); @@ -356,7 +356,7 @@ index 9db017761a1f..5641b55783a6 100644 /** * kthread_associate_blkcg - associate blkcg to current kthread diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 678c2c4de4f5..a1c0123e7636 100644 +index 5bfe4eab5b0a..083e8f55c220 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3607,6 +3607,7 @@ static inline void sched_submit_work(struct task_struct *tsk) diff --git a/debian/patches-rt/0287-i2c-exynos5-Remove-IRQF_ONESHOT.patch b/debian/patches-rt/0286-i2c-exynos5-Remove-IRQF_ONESHOT.patch similarity index 83% rename from debian/patches-rt/0287-i2c-exynos5-Remove-IRQF_ONESHOT.patch rename to debian/patches-rt/0286-i2c-exynos5-Remove-IRQF_ONESHOT.patch index 8b189f33b..c5e998fb4 100644 --- a/debian/patches-rt/0287-i2c-exynos5-Remove-IRQF_ONESHOT.patch +++ b/debian/patches-rt/0286-i2c-exynos5-Remove-IRQF_ONESHOT.patch @@ -1,11 +1,11 @@ -From 4c04d0c8bb09e9ab75d962e9c4d1d93489c76bba Mon Sep 17 00:00:00 2001 -Message-Id: <4c04d0c8bb09e9ab75d962e9c4d1d93489c76bba.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 94af52bb2fd890ab8f8a396016ae0c1cfaf69e82 Mon Sep 17 00:00:00 2001 +Message-Id: <94af52bb2fd890ab8f8a396016ae0c1cfaf69e82.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 13 Aug 2019 12:30:12 +0200 -Subject: [PATCH 287/330] i2c: exynos5: Remove IRQF_ONESHOT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 286/329] i2c: exynos5: Remove IRQF_ONESHOT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 4b217df0ab3f7910c96e42091cc7d9f221d05f01 ] diff --git a/debian/patches-rt/0288-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch b/debian/patches-rt/0287-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch similarity index 82% rename from debian/patches-rt/0288-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch rename to debian/patches-rt/0287-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch index 57b37308c..7cad9c123 100644 --- a/debian/patches-rt/0288-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch +++ b/debian/patches-rt/0287-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch @@ -1,11 +1,11 @@ -From 6ff9b214d36eac6d50c62c1c5ac762c965ea337f Mon Sep 17 00:00:00 2001 -Message-Id: <6ff9b214d36eac6d50c62c1c5ac762c965ea337f.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From bf082b8dc94201b06e0c0d2476b1125e630de281 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 13 Aug 2019 12:30:37 +0200 -Subject: [PATCH 288/330] i2c: hix5hd2: Remove IRQF_ONESHOT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 287/329] i2c: hix5hd2: Remove IRQF_ONESHOT +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit e88b481f3f86f11e3243e0808a830e5ca5782a9d ] diff --git a/debian/patches-rt/0289-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch b/debian/patches-rt/0288-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch similarity index 81% rename from debian/patches-rt/0289-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch rename to debian/patches-rt/0288-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch index 451226f0a..9c243a3e6 100644 --- a/debian/patches-rt/0289-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch +++ b/debian/patches-rt/0288-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch @@ -1,12 +1,12 @@ -From 5de7d5f1057536b8240b95d51c4dadda432cb394 Mon Sep 17 00:00:00 2001 -Message-Id: <5de7d5f1057536b8240b95d51c4dadda432cb394.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From fd634980c408102eba50d12441ecd6bfd5aed6ff Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Juri Lelli Date: Wed, 31 Jul 2019 12:37:15 +0200 -Subject: [PATCH 289/330] sched/deadline: Ensure inactive_timer runs in hardirq +Subject: [PATCH 288/329] sched/deadline: Ensure inactive_timer runs in hardirq context -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit ba94e7aed7405c58251b1380e6e7d73aa8284b41 ] @@ -27,7 +27,7 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c -index 974a8f9b615a..929167a1d991 100644 +index 7d47c9b9726e..19e67ede0414 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -287,7 +287,7 @@ static void task_non_contending(struct task_struct *p) diff --git a/debian/patches-rt/0290-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch b/debian/patches-rt/0289-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch similarity index 91% rename from debian/patches-rt/0290-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch rename to debian/patches-rt/0289-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch index 201c1dd3d..a3b27846a 100644 --- a/debian/patches-rt/0290-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch +++ b/debian/patches-rt/0289-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch @@ -1,12 +1,12 @@ -From ed4192f1c240668a285fb54f0892aa7b04a223ce Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 1c58dfe5587a70a9765f147703ba498b86b5847d Mon Sep 17 00:00:00 2001 +Message-Id: <1c58dfe5587a70a9765f147703ba498b86b5847d.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Clark Williams Date: Mon, 15 Jul 2019 15:25:00 -0500 -Subject: [PATCH 290/330] thermal/x86_pkg_temp: make pkg_temp_lock a raw +Subject: [PATCH 289/329] thermal/x86_pkg_temp: make pkg_temp_lock a raw spinlock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 8b03bb3ea7861b70b506199a69b1c8f81fe2d4d0 ] diff --git a/debian/patches-rt/0291-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch b/debian/patches-rt/0290-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch similarity index 96% rename from debian/patches-rt/0291-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch rename to debian/patches-rt/0290-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch index a242a0a10..5d641bd8d 100644 --- a/debian/patches-rt/0291-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch +++ b/debian/patches-rt/0290-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch @@ -1,11 +1,11 @@ -From 7dca0aaa2c80f7d5f4a76374693823010a2ee1c8 Mon Sep 17 00:00:00 2001 -Message-Id: <7dca0aaa2c80f7d5f4a76374693823010a2ee1c8.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7be655e87046989c0790c608d35c4b2fcc7611a6 Mon Sep 17 00:00:00 2001 +Message-Id: <7be655e87046989c0790c608d35c4b2fcc7611a6.1594742966.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 14 Aug 2019 16:38:43 +0200 -Subject: [PATCH 291/330] dma-buf: Use seqlock_t instread disabling preemption -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 290/329] dma-buf: Use seqlock_t instread disabling preemption +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 240610aa31094f51f299f06eb8dae8d4cd8d4500 ] diff --git a/debian/patches-rt/0292-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch b/debian/patches-rt/0291-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch similarity index 85% rename from debian/patches-rt/0292-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch rename to debian/patches-rt/0291-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch index 3d133fb37..153ceb0a4 100644 --- a/debian/patches-rt/0292-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch +++ b/debian/patches-rt/0291-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch @@ -1,12 +1,12 @@ -From 73929727d444255e92ca4821e3f3005b209182b6 Mon Sep 17 00:00:00 2001 -Message-Id: <73929727d444255e92ca4821e3f3005b209182b6.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 055f45867c70f621e52595c51a8d955744da33c9 Mon Sep 17 00:00:00 2001 +Message-Id: <055f45867c70f621e52595c51a8d955744da33c9.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Thomas Gleixner Date: Tue, 13 Aug 2019 14:29:41 +0200 -Subject: [PATCH 292/330] KVM: arm/arm64: Let the timer expire in hardirq +Subject: [PATCH 291/329] KVM: arm/arm64: Let the timer expire in hardirq context on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 719cc080c914045a6e35787bf4dc3ba91cfd3efb ] diff --git a/debian/patches-rt/0293-x86-preempt-Check-preemption-level-before-looking-at.patch b/debian/patches-rt/0292-x86-preempt-Check-preemption-level-before-looking-at.patch similarity index 76% rename from debian/patches-rt/0293-x86-preempt-Check-preemption-level-before-looking-at.patch rename to debian/patches-rt/0292-x86-preempt-Check-preemption-level-before-looking-at.patch index a962db901..f250f794d 100644 --- a/debian/patches-rt/0293-x86-preempt-Check-preemption-level-before-looking-at.patch +++ b/debian/patches-rt/0292-x86-preempt-Check-preemption-level-before-looking-at.patch @@ -1,12 +1,12 @@ -From 5cb9797fd9e06ce374ac54ba38fee47f4fb81a38 Mon Sep 17 00:00:00 2001 -Message-Id: <5cb9797fd9e06ce374ac54ba38fee47f4fb81a38.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From a9a22d10e0e74af195da95b4f00677180324aa11 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 14 Aug 2019 17:08:58 +0200 -Subject: [PATCH 293/330] x86: preempt: Check preemption level before looking +Subject: [PATCH 292/329] x86: preempt: Check preemption level before looking at lazy-preempt -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 19fc8557f2323c52b26561651ed4d51fc688a740 ] diff --git a/debian/patches-rt/0294-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch b/debian/patches-rt/0293-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch similarity index 81% rename from debian/patches-rt/0294-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch rename to debian/patches-rt/0293-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch index 546322d39..663137f80 100644 --- a/debian/patches-rt/0294-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch +++ b/debian/patches-rt/0293-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch @@ -1,12 +1,12 @@ -From e5996b01815226166260502e786e0e9d7ad91aac Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4bc23ad21f1b95dfd44f9b20a26ade533cceae3e Mon Sep 17 00:00:00 2001 +Message-Id: <4bc23ad21f1b95dfd44f9b20a26ade533cceae3e.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julien Grall Date: Wed, 21 Aug 2019 10:24:07 +0100 -Subject: [PATCH 294/330] hrtimer: Use READ_ONCE to access timer->base in +Subject: [PATCH 293/329] hrtimer: Use READ_ONCE to access timer->base in hrimer_grab_expiry_lock() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 2c8fdbe7ef0ad06c1a326886c5954e117b5657d6 ] diff --git a/debian/patches-rt/0295-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch b/debian/patches-rt/0294-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch similarity index 80% rename from debian/patches-rt/0295-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch rename to debian/patches-rt/0294-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch index 501008bc8..83d82ea2a 100644 --- a/debian/patches-rt/0295-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch +++ b/debian/patches-rt/0294-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch @@ -1,12 +1,12 @@ -From 53da28755db7fc25ef7b25282e4309f85984e886 Mon Sep 17 00:00:00 2001 -Message-Id: <53da28755db7fc25ef7b25282e4309f85984e886.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 1d51a48b53ef01bf731c8f40ad2b79e3fc5f003a Mon Sep 17 00:00:00 2001 +Message-Id: <1d51a48b53ef01bf731c8f40ad2b79e3fc5f003a.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julien Grall Date: Wed, 21 Aug 2019 10:24:08 +0100 -Subject: [PATCH 295/330] hrtimer: Don't grab the expiry lock for non-soft +Subject: [PATCH 294/329] hrtimer: Don't grab the expiry lock for non-soft hrtimer -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit fd420354bea2f57c11f3de191dffdeea76531e76 ] diff --git a/debian/patches-rt/0296-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch b/debian/patches-rt/0295-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch similarity index 81% rename from debian/patches-rt/0296-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch rename to debian/patches-rt/0295-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch index 646d717a7..f8c42df71 100644 --- a/debian/patches-rt/0296-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch +++ b/debian/patches-rt/0295-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch @@ -1,12 +1,12 @@ -From 6ef6d9da759c26bedbafb948953e5e3e9f89447a Mon Sep 17 00:00:00 2001 -Message-Id: <6ef6d9da759c26bedbafb948953e5e3e9f89447a.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From a0d27480eabfc2a30bc50c6ceae95292283ee355 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julien Grall Date: Wed, 21 Aug 2019 10:24:09 +0100 -Subject: [PATCH 296/330] hrtimer: Prevent using hrtimer_grab_expiry_lock() on +Subject: [PATCH 295/329] hrtimer: Prevent using hrtimer_grab_expiry_lock() on migration_base -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit cef1b87f98823af923a386f3f69149acb212d4a1 ] diff --git a/debian/patches-rt/0297-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch b/debian/patches-rt/0296-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch similarity index 88% rename from debian/patches-rt/0297-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch rename to debian/patches-rt/0296-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch index 678413078..cc894879b 100644 --- a/debian/patches-rt/0297-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch +++ b/debian/patches-rt/0296-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch @@ -1,12 +1,12 @@ -From 1e3b340de0a2c04fa1d94e940359ce7eb2fda330 Mon Sep 17 00:00:00 2001 -Message-Id: <1e3b340de0a2c04fa1d94e940359ce7eb2fda330.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From fffd19b6c2a4c20d2683b78df76194cb5227b8eb Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 4 Sep 2019 16:55:27 +0200 -Subject: [PATCH 297/330] hrtimer: Add a missing bracket and hide +Subject: [PATCH 296/329] hrtimer: Add a missing bracket and hide `migration_base' on !SMP -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 47b6de0b7f22c28b40275aeede3993d807668c3b ] diff --git a/debian/patches-rt/0298-posix-timers-Unlock-expiry-lock-in-the-early-return.patch b/debian/patches-rt/0297-posix-timers-Unlock-expiry-lock-in-the-early-return.patch similarity index 80% rename from debian/patches-rt/0298-posix-timers-Unlock-expiry-lock-in-the-early-return.patch rename to debian/patches-rt/0297-posix-timers-Unlock-expiry-lock-in-the-early-return.patch index 5235b6ed6..437f79a27 100644 --- a/debian/patches-rt/0298-posix-timers-Unlock-expiry-lock-in-the-early-return.patch +++ b/debian/patches-rt/0297-posix-timers-Unlock-expiry-lock-in-the-early-return.patch @@ -1,11 +1,11 @@ -From 85a7f8fe8d263b8fd22f3328e32d4f852df8cdf4 Mon Sep 17 00:00:00 2001 -Message-Id: <85a7f8fe8d263b8fd22f3328e32d4f852df8cdf4.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From e280c53167ba340fe0e7384060784ecefd602240 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 16 Sep 2019 12:33:59 +0200 -Subject: [PATCH 298/330] posix-timers: Unlock expiry lock in the early return -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 297/329] posix-timers: Unlock expiry lock in the early return +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 356a2781375ec58521a9bc3f500488745990c242 ] diff --git a/debian/patches-rt/0299-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch b/debian/patches-rt/0298-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch similarity index 75% rename from debian/patches-rt/0299-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch rename to debian/patches-rt/0298-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch index 5f65f7306..07c356c7b 100644 --- a/debian/patches-rt/0299-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch +++ b/debian/patches-rt/0298-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch @@ -1,15 +1,15 @@ -From 7200d432f6acca88cd524ac2ba4d530956270297 Mon Sep 17 00:00:00 2001 -Message-Id: <7200d432f6acca88cd524ac2ba4d530956270297.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 95cca5d507581b837f2f755e5e8c5f4037ce5390 Mon Sep 17 00:00:00 2001 +Message-Id: <95cca5d507581b837f2f755e5e8c5f4037ce5390.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Tue, 24 Sep 2019 14:36:41 +0200 -Subject: [PATCH 299/330] =?UTF-8?q?sched:=20migrate=5Fdis/enable:=20Use=20?= +Subject: [PATCH 298/329] =?UTF-8?q?sched:=20migrate=5Fdis/enable:=20Use=20?= =?UTF-8?q?sleeping=5Flock=E2=80=A6()=20to=20annotate=20sleeping=20points?= 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.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 4230dd3824c3e1785504e6f757ce79a4b55651fa ] @@ -28,10 +28,10 @@ Signed-off-by: Sebastian Andrzej Siewior 2 files changed, 5 insertions(+) diff --git a/kernel/cpu.c b/kernel/cpu.c -index 9f2e05b2e65c..27fe7c8185c9 100644 +index 0d3cf1654318..0fec4bb3d79b 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c -@@ -307,7 +307,9 @@ void pin_current_cpu(void) +@@ -308,7 +308,9 @@ void pin_current_cpu(void) preempt_lazy_enable(); preempt_enable(); @@ -42,10 +42,10 @@ index 9f2e05b2e65c..27fe7c8185c9 100644 preempt_disable(); preempt_lazy_disable(); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index a1c0123e7636..3413b9ebef1f 100644 +index 083e8f55c220..593aa5c2f394 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7372,7 +7372,10 @@ void migrate_enable(void) +@@ -7365,7 +7365,10 @@ void migrate_enable(void) unpin_current_cpu(); preempt_lazy_enable(); preempt_enable(); diff --git a/debian/patches-rt/0300-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch b/debian/patches-rt/0299-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch similarity index 76% rename from debian/patches-rt/0300-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch rename to debian/patches-rt/0299-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch index 0dbb5ce61..196ff916e 100644 --- a/debian/patches-rt/0300-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch +++ b/debian/patches-rt/0299-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch @@ -1,12 +1,12 @@ -From 735958fb6ab655fb68850f0ef23b7c37a8b258f9 Mon Sep 17 00:00:00 2001 -Message-Id: <735958fb6ab655fb68850f0ef23b7c37a8b258f9.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d21255321c6af2fa14dc3c940f2da153d911a4f7 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Sat, 27 Jul 2019 00:56:32 -0500 -Subject: [PATCH 300/330] sched: __set_cpus_allowed_ptr: Check cpus_mask, not +Subject: [PATCH 299/329] sched: __set_cpus_allowed_ptr: Check cpus_mask, not cpus_ptr -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit e5606fb7b042db634ed62b4dd733d62e050e468f ] @@ -25,7 +25,7 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 3413b9ebef1f..d6bd8129a390 100644 +index 593aa5c2f394..c2aebfab8556 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1157,7 +1157,7 @@ static int __set_cpus_allowed_ptr(struct task_struct *p, diff --git a/debian/patches-rt/0301-sched-Remove-dead-__migrate_disabled-check.patch b/debian/patches-rt/0300-sched-Remove-dead-__migrate_disabled-check.patch similarity index 75% rename from debian/patches-rt/0301-sched-Remove-dead-__migrate_disabled-check.patch rename to debian/patches-rt/0300-sched-Remove-dead-__migrate_disabled-check.patch index f4f9f61aa..67c3c3225 100644 --- a/debian/patches-rt/0301-sched-Remove-dead-__migrate_disabled-check.patch +++ b/debian/patches-rt/0300-sched-Remove-dead-__migrate_disabled-check.patch @@ -1,11 +1,11 @@ -From 5aff0cf55a25bc3263b630530b9709bcb061e49b Mon Sep 17 00:00:00 2001 -Message-Id: <5aff0cf55a25bc3263b630530b9709bcb061e49b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From fbec2a140d52ca45636c2d61324f2062efe02530 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Sat, 27 Jul 2019 00:56:33 -0500 -Subject: [PATCH 301/330] sched: Remove dead __migrate_disabled() check -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 300/329] sched: Remove dead __migrate_disabled() check +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 14d9272d534ea91262e15db99443fc5995c7c016 ] @@ -20,7 +20,7 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 7 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index d6bd8129a390..a29f33e776d0 100644 +index c2aebfab8556..03b3ff43d39f 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1182,13 +1182,6 @@ static int __set_cpus_allowed_ptr(struct task_struct *p, diff --git a/debian/patches-rt/0302-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch b/debian/patches-rt/0301-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch similarity index 71% rename from debian/patches-rt/0302-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch rename to debian/patches-rt/0301-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch index c422ade62..1e6ac5a36 100644 --- a/debian/patches-rt/0302-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch +++ b/debian/patches-rt/0301-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch @@ -1,11 +1,11 @@ -From 30bf6f60094018e4f878ea339be2f6e921107b1b Mon Sep 17 00:00:00 2001 -Message-Id: <30bf6f60094018e4f878ea339be2f6e921107b1b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From f5bd71472372edd09e275283f6c5bc42b66514eb Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Sat, 27 Jul 2019 00:56:34 -0500 -Subject: [PATCH 302/330] sched: migrate disable: Protect cpus_ptr with lock -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 301/329] sched: migrate disable: Protect cpus_ptr with lock +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 27ee52a891ed2c7e2e2c8332ccae0de7c2674b09 ] @@ -20,10 +20,10 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index a29f33e776d0..d9a3f88508ee 100644 +index 03b3ff43d39f..c03ad7ae5f96 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7250,9 +7250,8 @@ migrate_disable_update_cpus_allowed(struct task_struct *p) +@@ -7243,9 +7243,8 @@ migrate_disable_update_cpus_allowed(struct task_struct *p) struct rq *rq; struct rq_flags rf; @@ -34,7 +34,7 @@ index a29f33e776d0..d9a3f88508ee 100644 update_nr_migratory(p, -1); p->nr_cpus_allowed = 1; task_rq_unlock(rq, p, &rf); -@@ -7264,9 +7263,8 @@ migrate_enable_update_cpus_allowed(struct task_struct *p) +@@ -7257,9 +7256,8 @@ migrate_enable_update_cpus_allowed(struct task_struct *p) struct rq *rq; struct rq_flags rf; diff --git a/debian/patches-rt/0303-lib-smp_processor_id-Don-t-use-cpumask_equal.patch b/debian/patches-rt/0302-lib-smp_processor_id-Don-t-use-cpumask_equal.patch similarity index 82% rename from debian/patches-rt/0303-lib-smp_processor_id-Don-t-use-cpumask_equal.patch rename to debian/patches-rt/0302-lib-smp_processor_id-Don-t-use-cpumask_equal.patch index 0823de13d..b0aff346f 100644 --- a/debian/patches-rt/0303-lib-smp_processor_id-Don-t-use-cpumask_equal.patch +++ b/debian/patches-rt/0302-lib-smp_processor_id-Don-t-use-cpumask_equal.patch @@ -1,11 +1,11 @@ -From 605c6a52c867dfd1974385c3769e39c6affd3ff4 Mon Sep 17 00:00:00 2001 -Message-Id: <605c6a52c867dfd1974385c3769e39c6affd3ff4.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 3df3c9149f18b2e3acaee0522e78d1c101a936ca Mon Sep 17 00:00:00 2001 +Message-Id: <3df3c9149f18b2e3acaee0522e78d1c101a936ca.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Waiman Long Date: Thu, 3 Oct 2019 16:36:08 -0400 -Subject: [PATCH 303/330] lib/smp_processor_id: Don't use cpumask_equal() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 302/329] lib/smp_processor_id: Don't use cpumask_equal() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 659252061477862f45b79e1de169e6030f5c8918 ] diff --git a/debian/patches-rt/0304-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch b/debian/patches-rt/0303-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch similarity index 98% rename from debian/patches-rt/0304-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch rename to debian/patches-rt/0303-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch index 4f5da9df6..6bb60faa7 100644 --- a/debian/patches-rt/0304-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch +++ b/debian/patches-rt/0303-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch @@ -1,12 +1,12 @@ -From 7a4faab21a6ad6420fbc93acc87ad339a1f6a22c Mon Sep 17 00:00:00 2001 -Message-Id: <7a4faab21a6ad6420fbc93acc87ad339a1f6a22c.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 0ded75d93b687fbf9d416919fb391965fa7dc814 Mon Sep 17 00:00:00 2001 +Message-Id: <0ded75d93b687fbf9d416919fb391965fa7dc814.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Mon, 7 Oct 2019 16:45:18 +0200 -Subject: [PATCH 304/330] futex: Make the futex_hash_bucket spinlock_t again +Subject: [PATCH 303/329] futex: Make the futex_hash_bucket spinlock_t again and bring back its old state -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 954ad80c23edfe71f4e8ce70b961eac884320c3a ] diff --git a/debian/patches-rt/0305-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch b/debian/patches-rt/0304-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch similarity index 90% rename from debian/patches-rt/0305-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch rename to debian/patches-rt/0304-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch index 69f769003..fe30dfe68 100644 --- a/debian/patches-rt/0305-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch +++ b/debian/patches-rt/0304-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch @@ -1,12 +1,12 @@ -From 7879a78135546124887f0dce41e189da8212a53d Mon Sep 17 00:00:00 2001 -Message-Id: <7879a78135546124887f0dce41e189da8212a53d.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 975fb6888fb8ff9a169eccce767acffd9e5d6256 Mon Sep 17 00:00:00 2001 +Message-Id: <975fb6888fb8ff9a169eccce767acffd9e5d6256.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Peter Zijlstra Date: Mon, 30 Sep 2019 18:15:44 +0200 -Subject: [PATCH 305/330] locking/rtmutex: Clean ->pi_blocked_on in the error +Subject: [PATCH 304/329] locking/rtmutex: Clean ->pi_blocked_on in the error case -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 0be4ea6e3ce693101be0fbd55a0cc7ce238ab2eb ] diff --git a/debian/patches-rt/0306-lib-ubsan-Don-t-seralize-UBSAN-report.patch b/debian/patches-rt/0305-lib-ubsan-Don-t-seralize-UBSAN-report.patch similarity index 96% rename from debian/patches-rt/0306-lib-ubsan-Don-t-seralize-UBSAN-report.patch rename to debian/patches-rt/0305-lib-ubsan-Don-t-seralize-UBSAN-report.patch index 5911c6272..687ae7f87 100644 --- a/debian/patches-rt/0306-lib-ubsan-Don-t-seralize-UBSAN-report.patch +++ b/debian/patches-rt/0305-lib-ubsan-Don-t-seralize-UBSAN-report.patch @@ -1,11 +1,11 @@ -From 641bdbffcda79c8d95fbd813967007d966319d5e Mon Sep 17 00:00:00 2001 -Message-Id: <641bdbffcda79c8d95fbd813967007d966319d5e.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From dcf4e30144145c806db929db0179208bf981abd4 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Julien Grall Date: Fri, 20 Sep 2019 11:08:35 +0100 -Subject: [PATCH 306/330] lib/ubsan: Don't seralize UBSAN report -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 305/329] lib/ubsan: Don't seralize UBSAN report +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 4702c28ac777b27acb499cbd5e8e787ce1a7d82d ] diff --git a/debian/patches-rt/0307-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch b/debian/patches-rt/0306-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch similarity index 96% rename from debian/patches-rt/0307-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch rename to debian/patches-rt/0306-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch index 599b5aeb0..317aa4bd0 100644 --- a/debian/patches-rt/0307-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch +++ b/debian/patches-rt/0306-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch @@ -1,12 +1,12 @@ -From 5c2b16ab5e41f4b2f4d045a564c87df4af3a7b80 Mon Sep 17 00:00:00 2001 -Message-Id: <5c2b16ab5e41f4b2f4d045a564c87df4af3a7b80.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From fbe1e13bc339273bf35100490001df4ac3c6df25 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Liu Haitao Date: Fri, 27 Sep 2019 16:22:30 +0800 -Subject: [PATCH 307/330] kmemleak: Change the lock of kmemleak_object to +Subject: [PATCH 306/329] kmemleak: Change the lock of kmemleak_object to raw_spinlock_t -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 217847f57119b5fdd377bfa3d344613ddb98d9fc ] diff --git a/debian/patches-rt/0308-sched-migrate_enable-Use-select_fallback_rq.patch b/debian/patches-rt/0307-sched-migrate_enable-Use-select_fallback_rq.patch similarity index 79% rename from debian/patches-rt/0308-sched-migrate_enable-Use-select_fallback_rq.patch rename to debian/patches-rt/0307-sched-migrate_enable-Use-select_fallback_rq.patch index 81c2453ea..eafc83bcf 100644 --- a/debian/patches-rt/0308-sched-migrate_enable-Use-select_fallback_rq.patch +++ b/debian/patches-rt/0307-sched-migrate_enable-Use-select_fallback_rq.patch @@ -1,11 +1,11 @@ -From e8f09d73623c4aa3148170d6f1176477dc69c9a9 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 3fe7b5d0fa57658cdb38f471f350a94cdfe2daeb Mon Sep 17 00:00:00 2001 +Message-Id: <3fe7b5d0fa57658cdb38f471f350a94cdfe2daeb.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Sat, 12 Oct 2019 01:52:12 -0500 -Subject: [PATCH 308/330] sched: migrate_enable: Use select_fallback_rq() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 307/329] sched: migrate_enable: Use select_fallback_rq() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit adfa969d4cfcc995a9d866020124e50f1827d2d1 ] @@ -22,10 +22,10 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index d9a3f88508ee..6fd3f7b4d7d8 100644 +index c03ad7ae5f96..366a0cb64774 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7335,6 +7335,7 @@ void migrate_enable(void) +@@ -7328,6 +7328,7 @@ void migrate_enable(void) if (p->migrate_disable_update) { struct rq *rq; struct rq_flags rf; @@ -33,7 +33,7 @@ index d9a3f88508ee..6fd3f7b4d7d8 100644 rq = task_rq_lock(p, &rf); update_rq_clock(rq); -@@ -7344,21 +7345,15 @@ void migrate_enable(void) +@@ -7337,21 +7338,15 @@ void migrate_enable(void) p->migrate_disable_update = 0; diff --git a/debian/patches-rt/0309-sched-Lazy-migrate_disable-processing.patch b/debian/patches-rt/0308-sched-Lazy-migrate_disable-processing.patch similarity index 93% rename from debian/patches-rt/0309-sched-Lazy-migrate_disable-processing.patch rename to debian/patches-rt/0308-sched-Lazy-migrate_disable-processing.patch index bcad65872..a32fab52d 100644 --- a/debian/patches-rt/0309-sched-Lazy-migrate_disable-processing.patch +++ b/debian/patches-rt/0308-sched-Lazy-migrate_disable-processing.patch @@ -1,11 +1,11 @@ -From f52d8b9fda534cb6f083517fe283fa5e65410c7e Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6330fae2d363892a27bb557508374c631fcf214b Mon Sep 17 00:00:00 2001 +Message-Id: <6330fae2d363892a27bb557508374c631fcf214b.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Sat, 12 Oct 2019 01:52:13 -0500 -Subject: [PATCH 309/330] sched: Lazy migrate_disable processing -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 308/329] sched: Lazy migrate_disable processing +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 425c5b38779a860062aa62219dc920d374b13c17 ] @@ -124,10 +124,10 @@ index 9e3362748214..4e5af4616dbd 100644 .active_mm = &init_mm, .restart_block = { diff --git a/kernel/cpu.c b/kernel/cpu.c -index 27fe7c8185c9..cb446db5790c 100644 +index 0fec4bb3d79b..bf698d84ac2a 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c -@@ -75,11 +75,6 @@ static DEFINE_PER_CPU(struct cpuhp_cpu_state, cpuhp_state) = { +@@ -76,11 +76,6 @@ static DEFINE_PER_CPU(struct cpuhp_cpu_state, cpuhp_state) = { .fail = CPUHP_INVALID, }; @@ -139,7 +139,7 @@ index 27fe7c8185c9..cb446db5790c 100644 #if defined(CONFIG_LOCKDEP) && defined(CONFIG_SMP) static struct lockdep_map cpuhp_state_up_map = STATIC_LOCKDEP_MAP_INIT("cpuhp_state-up", &cpuhp_state_up_map); -@@ -286,57 +281,6 @@ static int cpu_hotplug_disabled; +@@ -287,57 +282,6 @@ static int cpu_hotplug_disabled; #ifdef CONFIG_HOTPLUG_CPU @@ -197,7 +197,7 @@ index 27fe7c8185c9..cb446db5790c 100644 DEFINE_STATIC_PERCPU_RWSEM(cpu_hotplug_lock); void cpus_read_lock(void) -@@ -865,6 +809,15 @@ static int take_cpu_down(void *_param) +@@ -881,6 +825,15 @@ static int take_cpu_down(void *_param) int err, cpu = smp_processor_id(); int ret; @@ -213,7 +213,7 @@ index 27fe7c8185c9..cb446db5790c 100644 /* Ensure this CPU doesn't handle any more interrupts. */ err = __cpu_disable(); if (err < 0) -@@ -892,11 +845,10 @@ static int take_cpu_down(void *_param) +@@ -908,11 +861,10 @@ static int take_cpu_down(void *_param) return 0; } @@ -227,7 +227,7 @@ index 27fe7c8185c9..cb446db5790c 100644 struct cpuhp_cpu_state *st = per_cpu_ptr(&cpuhp_state, cpu); int err; -@@ -909,17 +861,38 @@ static int takedown_cpu(unsigned int cpu) +@@ -925,17 +877,38 @@ static int takedown_cpu(unsigned int cpu) */ irq_lock_sparse(); @@ -270,7 +270,7 @@ index 27fe7c8185c9..cb446db5790c 100644 #endif /* CPU refused to die */ irq_unlock_sparse(); -@@ -939,8 +912,8 @@ static int takedown_cpu(unsigned int cpu) +@@ -955,8 +928,8 @@ static int takedown_cpu(unsigned int cpu) wait_for_ap_thread(st, false); BUG_ON(st->state != CPUHP_AP_IDLE_DEAD); @@ -282,7 +282,7 @@ index 27fe7c8185c9..cb446db5790c 100644 /* Interrupts are moved away from the dying cpu, reenable alloc/free */ irq_unlock_sparse(); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 6fd3f7b4d7d8..e97ac751aad2 100644 +index 366a0cb64774..2349e0b4ed68 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1065,7 +1065,8 @@ static int migration_cpu_stop(void *data) @@ -355,7 +355,7 @@ index 6fd3f7b4d7d8..e97ac751aad2 100644 /* Promote REQ to ACT */ rq->clock_update_flags <<= 1; update_rq_clock(rq); -@@ -5779,6 +5771,8 @@ static void migrate_tasks(struct rq *dead_rq, struct rq_flags *rf) +@@ -5776,6 +5768,8 @@ static void migrate_tasks(struct rq *dead_rq, struct rq_flags *rf) BUG_ON(!next); put_prev_task(rq, next); @@ -364,7 +364,7 @@ index 6fd3f7b4d7d8..e97ac751aad2 100644 /* * Rules for changing task_struct::cpus_mask are holding * both pi_lock and rq->lock, such that holding either -@@ -7247,14 +7241,9 @@ update_nr_migratory(struct task_struct *p, long delta) +@@ -7240,14 +7234,9 @@ update_nr_migratory(struct task_struct *p, long delta) static inline void migrate_disable_update_cpus_allowed(struct task_struct *p) { @@ -379,7 +379,7 @@ index 6fd3f7b4d7d8..e97ac751aad2 100644 } static inline void -@@ -7272,54 +7261,35 @@ migrate_enable_update_cpus_allowed(struct task_struct *p) +@@ -7265,54 +7254,35 @@ migrate_enable_update_cpus_allowed(struct task_struct *p) void migrate_disable(void) { @@ -450,7 +450,7 @@ index 6fd3f7b4d7d8..e97ac751aad2 100644 WARN_ON_ONCE(p->migrate_disable <= 0); if (p->migrate_disable > 1) { -@@ -7329,67 +7299,69 @@ void migrate_enable(void) +@@ -7322,67 +7292,69 @@ void migrate_enable(void) preempt_disable(); @@ -560,7 +560,7 @@ index 6fd3f7b4d7d8..e97ac751aad2 100644 #endif barrier(); } -@@ -7400,20 +7372,14 @@ void migrate_enable(void) +@@ -7393,20 +7365,14 @@ void migrate_enable(void) #ifdef CONFIG_SCHED_DEBUG struct task_struct *p = current; diff --git a/debian/patches-rt/0310-sched-migrate_enable-Use-stop_one_cpu_nowait.patch b/debian/patches-rt/0309-sched-migrate_enable-Use-stop_one_cpu_nowait.patch similarity index 87% rename from debian/patches-rt/0310-sched-migrate_enable-Use-stop_one_cpu_nowait.patch rename to debian/patches-rt/0309-sched-migrate_enable-Use-stop_one_cpu_nowait.patch index b20f77b28..e191ee37c 100644 --- a/debian/patches-rt/0310-sched-migrate_enable-Use-stop_one_cpu_nowait.patch +++ b/debian/patches-rt/0309-sched-migrate_enable-Use-stop_one_cpu_nowait.patch @@ -1,11 +1,11 @@ -From 0a537f78a9c7a2d565ffb556fc5fe4afbb246909 Mon Sep 17 00:00:00 2001 -Message-Id: <0a537f78a9c7a2d565ffb556fc5fe4afbb246909.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 74f441aad80898e8f2b41661b279c4e2502b029e Mon Sep 17 00:00:00 2001 +Message-Id: <74f441aad80898e8f2b41661b279c4e2502b029e.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Sat, 12 Oct 2019 01:52:14 -0500 -Subject: [PATCH 310/330] sched: migrate_enable: Use stop_one_cpu_nowait() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 309/329] sched: migrate_enable: Use stop_one_cpu_nowait() +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 6b39a1fa8c53cae08dc03afdae193b7d3a78a173 ] @@ -38,7 +38,7 @@ index 6d3635c86dbe..82fc686ddd9e 100644 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index e97ac751aad2..e465381b464d 100644 +index 2349e0b4ed68..bfd63e873fdc 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -990,6 +990,7 @@ static struct rq *move_queued_task(struct rq *rq, struct rq_flags *rf, @@ -73,7 +73,7 @@ index e97ac751aad2..e465381b464d 100644 } rq_unlock(rq, &rf); raw_spin_unlock(&p->pi_lock); -@@ -7322,6 +7328,7 @@ void migrate_enable(void) +@@ -7315,6 +7321,7 @@ void migrate_enable(void) WARN_ON(smp_processor_id() != cpu); if (!is_cpu_allowed(p, cpu)) { struct migration_arg arg = { p }; @@ -81,7 +81,7 @@ index e97ac751aad2..e465381b464d 100644 struct rq_flags rf; rq = task_rq_lock(p, &rf); -@@ -7329,15 +7336,11 @@ void migrate_enable(void) +@@ -7322,15 +7329,11 @@ void migrate_enable(void) arg.dest_cpu = select_fallback_rq(cpu, p); task_rq_unlock(rq, p, &rf); diff --git a/debian/patches-rt/0311-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch b/debian/patches-rt/0310-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch similarity index 88% rename from debian/patches-rt/0311-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch rename to debian/patches-rt/0310-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch index 97359d5f8..ca011a5dd 100644 --- a/debian/patches-rt/0311-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch +++ b/debian/patches-rt/0310-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch @@ -1,12 +1,12 @@ -From 82f96941ce72468ca5a0f98ea49b074f6cb0dd16 Mon Sep 17 00:00:00 2001 -Message-Id: <82f96941ce72468ca5a0f98ea49b074f6cb0dd16.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 80e65b14339d324ee5558ecf6b199ef64761ce76 Mon Sep 17 00:00:00 2001 +Message-Id: <80e65b14339d324ee5558ecf6b199ef64761ce76.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 18 Oct 2019 13:04:15 +0200 -Subject: [PATCH 311/330] Revert "ARM: Initialize split page table locks for +Subject: [PATCH 310/329] Revert "ARM: Initialize split page table locks for vector page" -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 247074c44d8c3e619dfde6404a52295d8d671d38 ] diff --git a/debian/patches-rt/0312-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch b/debian/patches-rt/0311-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch similarity index 92% rename from debian/patches-rt/0312-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch rename to debian/patches-rt/0311-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch index 8e9e90352..296d7bbf2 100644 --- a/debian/patches-rt/0312-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch +++ b/debian/patches-rt/0311-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch @@ -1,12 +1,12 @@ -From c6b4aa78233bb5eed54d03b491b1cd1ee2281614 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 25675e02a214f24d8189c701d68bd1ad1c544627 Mon Sep 17 00:00:00 2001 +Message-Id: <25675e02a214f24d8189c701d68bd1ad1c544627.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 19 Nov 2019 09:25:04 +0100 -Subject: [PATCH 312/330] locking: Make spinlock_t and rwlock_t a RCU section +Subject: [PATCH 311/329] locking: Make spinlock_t and rwlock_t a RCU section on RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 84440022a0e1c8c936d61f8f97593674a295d409 ] diff --git a/debian/patches-rt/0313-sched-core-migrate_enable-must-access-takedown_cpu_t.patch b/debian/patches-rt/0312-sched-core-migrate_enable-must-access-takedown_cpu_t.patch similarity index 71% rename from debian/patches-rt/0313-sched-core-migrate_enable-must-access-takedown_cpu_t.patch rename to debian/patches-rt/0312-sched-core-migrate_enable-must-access-takedown_cpu_t.patch index 5f8841831..60333d432 100644 --- a/debian/patches-rt/0313-sched-core-migrate_enable-must-access-takedown_cpu_t.patch +++ b/debian/patches-rt/0312-sched-core-migrate_enable-must-access-takedown_cpu_t.patch @@ -1,12 +1,12 @@ -From 29c32d3972bb9d63cde1df12571bb803d2ba0579 Mon Sep 17 00:00:00 2001 -Message-Id: <29c32d3972bb9d63cde1df12571bb803d2ba0579.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 7fcb4239e885a460ec9192646fca21fc64abf882 Mon Sep 17 00:00:00 2001 +Message-Id: <7fcb4239e885a460ec9192646fca21fc64abf882.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 29 Nov 2019 17:24:55 +0100 -Subject: [PATCH 313/330] sched/core: migrate_enable() must access +Subject: [PATCH 312/329] sched/core: migrate_enable() must access takedown_cpu_task on !HOTPLUG_CPU -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit a61d1977f692e46bad99a100f264981ba08cb4bd ] @@ -24,10 +24,10 @@ Signed-off-by: Steven Rostedt (VMware) 2 files changed, 4 insertions(+) diff --git a/kernel/cpu.c b/kernel/cpu.c -index cb446db5790c..6876436155eb 100644 +index bf698d84ac2a..0651576f9974 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c -@@ -845,7 +845,9 @@ static int take_cpu_down(void *_param) +@@ -861,7 +861,9 @@ static int take_cpu_down(void *_param) return 0; } @@ -38,10 +38,10 @@ index cb446db5790c..6876436155eb 100644 static int takedown_cpu(unsigned int cpu) { diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index e465381b464d..cbd76324babd 100644 +index bfd63e873fdc..8f0870474a82 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7314,9 +7314,11 @@ void migrate_enable(void) +@@ -7307,9 +7307,11 @@ void migrate_enable(void) p->migrate_disable = 0; rq->nr_pinned--; diff --git a/debian/patches-rt/0314-lib-smp_processor_id-Adjust-check_preemption_disable.patch b/debian/patches-rt/0313-lib-smp_processor_id-Adjust-check_preemption_disable.patch similarity index 79% rename from debian/patches-rt/0314-lib-smp_processor_id-Adjust-check_preemption_disable.patch rename to debian/patches-rt/0313-lib-smp_processor_id-Adjust-check_preemption_disable.patch index f854d1ac8..61bb99c7a 100644 --- a/debian/patches-rt/0314-lib-smp_processor_id-Adjust-check_preemption_disable.patch +++ b/debian/patches-rt/0313-lib-smp_processor_id-Adjust-check_preemption_disable.patch @@ -1,12 +1,12 @@ -From 02bb5f7235090f7478b2ce234db678feefbd5235 Mon Sep 17 00:00:00 2001 -Message-Id: <02bb5f7235090f7478b2ce234db678feefbd5235.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 97da0132d57541883b7539c120ac03d114bf1fb3 Mon Sep 17 00:00:00 2001 +Message-Id: <97da0132d57541883b7539c120ac03d114bf1fb3.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Daniel Wagner Date: Mon, 16 Dec 2019 16:15:57 +0100 -Subject: [PATCH 314/330] lib/smp_processor_id: Adjust +Subject: [PATCH 313/329] lib/smp_processor_id: Adjust check_preemption_disabled() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit af3c1c5fdf177870fb5e6e16b24e374696ab28f5 ] diff --git a/debian/patches-rt/0315-sched-migrate_enable-Busy-loop-until-the-migration-r.patch b/debian/patches-rt/0314-sched-migrate_enable-Busy-loop-until-the-migration-r.patch similarity index 79% rename from debian/patches-rt/0315-sched-migrate_enable-Busy-loop-until-the-migration-r.patch rename to debian/patches-rt/0314-sched-migrate_enable-Busy-loop-until-the-migration-r.patch index 25d70c148..9e2f7f84d 100644 --- a/debian/patches-rt/0315-sched-migrate_enable-Busy-loop-until-the-migration-r.patch +++ b/debian/patches-rt/0314-sched-migrate_enable-Busy-loop-until-the-migration-r.patch @@ -1,12 +1,12 @@ -From 1cb8e2e65fad8f3e5de07e090b2b391b591a19ec Mon Sep 17 00:00:00 2001 -Message-Id: <1cb8e2e65fad8f3e5de07e090b2b391b591a19ec.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 18a4d5ba2aee960585e70cbbb404d7607da4a434 Mon Sep 17 00:00:00 2001 +Message-Id: <18a4d5ba2aee960585e70cbbb404d7607da4a434.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 12 Dec 2019 10:53:59 +0100 -Subject: [PATCH 315/330] sched: migrate_enable: Busy loop until the migration +Subject: [PATCH 314/329] sched: migrate_enable: Busy loop until the migration request is completed -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 140d7f54a5fff02898d2ca9802b39548bf7455f1 ] @@ -31,10 +31,10 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index cbd76324babd..4616c086dd26 100644 +index 8f0870474a82..fee3b5427f8b 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7329,7 +7329,7 @@ void migrate_enable(void) +@@ -7322,7 +7322,7 @@ void migrate_enable(void) WARN_ON(smp_processor_id() != cpu); if (!is_cpu_allowed(p, cpu)) { @@ -43,7 +43,7 @@ index cbd76324babd..4616c086dd26 100644 struct cpu_stop_work work; struct rq_flags rf; -@@ -7342,7 +7342,10 @@ void migrate_enable(void) +@@ -7335,7 +7335,10 @@ void migrate_enable(void) &arg, &work); tlb_migrate_finish(p->mm); __schedule(true); diff --git a/debian/patches-rt/0316-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch b/debian/patches-rt/0315-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch similarity index 88% rename from debian/patches-rt/0316-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch rename to debian/patches-rt/0315-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch index 53e108019..710ec7731 100644 --- a/debian/patches-rt/0316-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch +++ b/debian/patches-rt/0315-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch @@ -1,11 +1,11 @@ -From 0b842c8f3f7cfa306ba7dc58d11e3ad524582290 Mon Sep 17 00:00:00 2001 -Message-Id: <0b842c8f3f7cfa306ba7dc58d11e3ad524582290.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From a60366ea1aea5d5f878e8a8bed7b5d2049133e0c Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Wed, 18 Dec 2019 12:25:09 +0100 -Subject: [PATCH 316/330] userfaultfd: Use a seqlock instead of seqcount -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 315/329] userfaultfd: Use a seqlock instead of seqcount +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit dc952a564d02997330654be9628bbe97ba2a05d3 ] diff --git a/debian/patches-rt/0317-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch b/debian/patches-rt/0316-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch similarity index 83% rename from debian/patches-rt/0317-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch rename to debian/patches-rt/0316-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch index da102f13a..da4f800e8 100644 --- a/debian/patches-rt/0317-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch +++ b/debian/patches-rt/0316-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch @@ -1,11 +1,11 @@ -From 57b22807d21698b7f1ee8f42c59ab3a62aeaf0af Mon Sep 17 00:00:00 2001 -Message-Id: <57b22807d21698b7f1ee8f42c59ab3a62aeaf0af.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 0b0d315243f08fd0410bbec37ac1b8a0cd986912 Mon Sep 17 00:00:00 2001 +Message-Id: <0b0d315243f08fd0410bbec37ac1b8a0cd986912.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Fri, 24 Jan 2020 06:11:46 -0500 -Subject: [PATCH 317/330] sched: migrate_enable: Use per-cpu cpu_stop_work -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 316/329] sched: migrate_enable: Use per-cpu cpu_stop_work +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 2dcd94b443c5dcbc20281666321b7f025f9cc85c ] @@ -33,10 +33,10 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 4616c086dd26..c4290fa5c0b6 100644 +index fee3b5427f8b..859e141cc2a7 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7291,6 +7291,9 @@ static void migrate_disabled_sched(struct task_struct *p) +@@ -7284,6 +7284,9 @@ static void migrate_disabled_sched(struct task_struct *p) p->migrate_disable_scheduled = 1; } @@ -46,7 +46,7 @@ index 4616c086dd26..c4290fa5c0b6 100644 void migrate_enable(void) { struct task_struct *p = current; -@@ -7329,23 +7332,26 @@ void migrate_enable(void) +@@ -7322,23 +7325,26 @@ void migrate_enable(void) WARN_ON(smp_processor_id() != cpu); if (!is_cpu_allowed(p, cpu)) { diff --git a/debian/patches-rt/0318-sched-migrate_enable-Remove-__schedule-call.patch b/debian/patches-rt/0317-sched-migrate_enable-Remove-__schedule-call.patch similarity index 71% rename from debian/patches-rt/0318-sched-migrate_enable-Remove-__schedule-call.patch rename to debian/patches-rt/0317-sched-migrate_enable-Remove-__schedule-call.patch index 1b8cc766a..3c5b59273 100644 --- a/debian/patches-rt/0318-sched-migrate_enable-Remove-__schedule-call.patch +++ b/debian/patches-rt/0317-sched-migrate_enable-Remove-__schedule-call.patch @@ -1,11 +1,11 @@ -From 9bb913d2bb12dc4b240a73d30676a378929d19ac Mon Sep 17 00:00:00 2001 -Message-Id: <9bb913d2bb12dc4b240a73d30676a378929d19ac.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 176485e6e9cf1d4ede4ca5bdf09584a1398dc2e1 Mon Sep 17 00:00:00 2001 +Message-Id: <176485e6e9cf1d4ede4ca5bdf09584a1398dc2e1.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Scott Wood Date: Fri, 24 Jan 2020 06:11:47 -0500 -Subject: [PATCH 318/330] sched: migrate_enable: Remove __schedule() call -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 317/329] sched: migrate_enable: Remove __schedule() call +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit b8162e61e9a33bd1de6452eb838fbf50a93ddd9a ] @@ -28,10 +28,10 @@ Signed-off-by: Steven Rostedt (VMware) 1 file changed, 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index c4290fa5c0b6..02e51c74e0bf 100644 +index 859e141cc2a7..f161ad9365b5 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7351,7 +7351,6 @@ void migrate_enable(void) +@@ -7344,7 +7344,6 @@ void migrate_enable(void) stop_one_cpu_nowait(task_cpu(p), migration_cpu_stop, arg, work); tlb_migrate_finish(p->mm); diff --git a/debian/patches-rt/0319-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch b/debian/patches-rt/0318-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch similarity index 80% rename from debian/patches-rt/0319-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch rename to debian/patches-rt/0318-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch index 010b36573..6c3f33523 100644 --- a/debian/patches-rt/0319-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch +++ b/debian/patches-rt/0318-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch @@ -1,12 +1,12 @@ -From de1993758391183fb2f6c2b22c78a655962ca786 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 1926409737d11d6e33791301a0b7e30ff77b9d37 Mon Sep 17 00:00:00 2001 +Message-Id: <1926409737d11d6e33791301a0b7e30ff77b9d37.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Matt Fleming Date: Sun, 26 Jan 2020 21:19:45 +0000 -Subject: [PATCH 319/330] mm/memcontrol: Move misplaced +Subject: [PATCH 318/329] mm/memcontrol: Move misplaced local_unlock_irqrestore() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 071a1d6a6e14d0dec240a8c67b425140d7f92f6a ] diff --git a/debian/patches-rt/0320-locallock-Include-header-for-the-current-macro.patch b/debian/patches-rt/0319-locallock-Include-header-for-the-current-macro.patch similarity index 71% rename from debian/patches-rt/0320-locallock-Include-header-for-the-current-macro.patch rename to debian/patches-rt/0319-locallock-Include-header-for-the-current-macro.patch index 38557d0f9..ad582cd4e 100644 --- a/debian/patches-rt/0320-locallock-Include-header-for-the-current-macro.patch +++ b/debian/patches-rt/0319-locallock-Include-header-for-the-current-macro.patch @@ -1,11 +1,11 @@ -From 6003658de7b7328becd8c9d1de5fb85a48843b7f Mon Sep 17 00:00:00 2001 -Message-Id: <6003658de7b7328becd8c9d1de5fb85a48843b7f.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 02b6495d76a106ea7570038b44d1335bc5e4c052 Mon Sep 17 00:00:00 2001 +Message-Id: <02b6495d76a106ea7570038b44d1335bc5e4c052.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Tue, 4 Feb 2020 13:29:50 +0100 -Subject: [PATCH 320/330] locallock: Include header for the `current' macro -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 319/329] locallock: Include header for the `current' macro +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit e693075a5fd852043fa8d2b0467e078d9e5cb782 ] diff --git a/debian/patches-rt/0321-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch b/debian/patches-rt/0320-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch similarity index 82% rename from debian/patches-rt/0321-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch rename to debian/patches-rt/0320-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch index 0d69ec74d..87ec4f062 100644 --- a/debian/patches-rt/0321-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch +++ b/debian/patches-rt/0320-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch @@ -1,12 +1,12 @@ -From 398200d74770e1ecce0e14ed1dcb977c6c301c2b Mon Sep 17 00:00:00 2001 -Message-Id: <398200d74770e1ecce0e14ed1dcb977c6c301c2b.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From b1c465b150f9a4b0580ccab1679788b31affb601 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 21 Feb 2020 18:57:11 +0100 -Subject: [PATCH 321/330] drm/vmwgfx: Drop preempt_disable() in +Subject: [PATCH 320/329] drm/vmwgfx: Drop preempt_disable() in vmw_fifo_ping_host() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit b901491e7b9b7a676818d84e482b69be72fc142f ] diff --git a/debian/patches-rt/0322-tracing-make-preempt_lazy-and-migrate_disable-counte.patch b/debian/patches-rt/0321-tracing-make-preempt_lazy-and-migrate_disable-counte.patch similarity index 84% rename from debian/patches-rt/0322-tracing-make-preempt_lazy-and-migrate_disable-counte.patch rename to debian/patches-rt/0321-tracing-make-preempt_lazy-and-migrate_disable-counte.patch index b93a0befe..5152b953e 100644 --- a/debian/patches-rt/0322-tracing-make-preempt_lazy-and-migrate_disable-counte.patch +++ b/debian/patches-rt/0321-tracing-make-preempt_lazy-and-migrate_disable-counte.patch @@ -1,12 +1,12 @@ -From d4baa0fe18784afb68110aa1e54bf9f9fb746ab8 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 5d7e2f8aa80e5ea2ac44e85121a1c7e0d6d962ee Mon Sep 17 00:00:00 2001 +Message-Id: <5d7e2f8aa80e5ea2ac44e85121a1c7e0d6d962ee.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Fri, 21 Feb 2020 18:15:15 +0100 -Subject: [PATCH 322/330] tracing: make preempt_lazy and migrate_disable +Subject: [PATCH 321/329] tracing: make preempt_lazy and migrate_disable counter smaller -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit dd430bf5ecb40f9a89679c85868826475d71de54 ] diff --git a/debian/patches-rt/0323-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch b/debian/patches-rt/0322-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch similarity index 83% rename from debian/patches-rt/0323-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch rename to debian/patches-rt/0322-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch index c2e8d1ae2..0a5509f57 100644 --- a/debian/patches-rt/0323-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch +++ b/debian/patches-rt/0322-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch @@ -1,12 +1,12 @@ -From 5230c041cb74d157caf6562fd8c91a83034d50c3 Mon Sep 17 00:00:00 2001 -Message-Id: <5230c041cb74d157caf6562fd8c91a83034d50c3.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From d8c03d329cd69a71d0969580b01dc12368e4b2e4 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Tiejun Chen Date: Mon, 30 Mar 2020 18:45:23 -0400 -Subject: [PATCH 323/330] lib/ubsan: Remove flags parameter from calls to +Subject: [PATCH 322/329] lib/ubsan: Remove flags parameter from calls to ubsan_prologue() and ubsan_epilogue() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Fails to build with CONFIG_UBSAN=y diff --git a/debian/patches-rt/0324-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch b/debian/patches-rt/0323-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch similarity index 87% rename from debian/patches-rt/0324-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch rename to debian/patches-rt/0323-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch index 6f57a7e99..002c75dcf 100644 --- a/debian/patches-rt/0324-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch +++ b/debian/patches-rt/0323-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch @@ -1,12 +1,12 @@ -From c46f0f670266408c152eaf4ed06578d55d27b819 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From a4e9d54ffdf4911e94d6f4fa6885f2d8ef61da82 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: "Steven Rostedt (VMware)" Date: Sun, 22 Mar 2020 00:00:28 +0100 -Subject: [PATCH 324/330] irq_work: Fix checking of IRQ_WORK_LAZY flag set on +Subject: [PATCH 323/329] irq_work: Fix checking of IRQ_WORK_LAZY flag set on non PREEMPT_RT -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz When CONFIG_PREEMPT_RT_FULL is not set, some of the checks for using lazy_list are not properly made as the IRQ_WORK_LAZY is not checked. There's diff --git a/debian/patches-rt/0325-tasklet-Address-a-race-resulting-in-double-enqueue.patch b/debian/patches-rt/0324-tasklet-Address-a-race-resulting-in-double-enqueue.patch similarity index 92% rename from debian/patches-rt/0325-tasklet-Address-a-race-resulting-in-double-enqueue.patch rename to debian/patches-rt/0324-tasklet-Address-a-race-resulting-in-double-enqueue.patch index 31c804989..c32b4c6ca 100644 --- a/debian/patches-rt/0325-tasklet-Address-a-race-resulting-in-double-enqueue.patch +++ b/debian/patches-rt/0324-tasklet-Address-a-race-resulting-in-double-enqueue.patch @@ -1,11 +1,11 @@ -From 055fcdf83308de4850a75e7b5da0cacbaefb632c Mon Sep 17 00:00:00 2001 -Message-Id: <055fcdf83308de4850a75e7b5da0cacbaefb632c.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 591b7e192d87ceb2e8a89aedff2aeb5a9091f63e Mon Sep 17 00:00:00 2001 +Message-Id: <591b7e192d87ceb2e8a89aedff2aeb5a9091f63e.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Zhang Xiao Date: Tue, 17 Mar 2020 12:47:43 +0100 -Subject: [PATCH 325/330] tasklet: Address a race resulting in double-enqueue -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 324/329] tasklet: Address a race resulting in double-enqueue +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz The kernel bugzilla has the following race condition reported: diff --git a/debian/patches-rt/0326-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch b/debian/patches-rt/0325-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch similarity index 84% rename from debian/patches-rt/0326-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch rename to debian/patches-rt/0325-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch index 7160c8353..e0652f723 100644 --- a/debian/patches-rt/0326-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch +++ b/debian/patches-rt/0325-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch @@ -1,12 +1,12 @@ -From 0d328c09a6239925e54530d121e8ea8d23f1aa37 Mon Sep 17 00:00:00 2001 -Message-Id: <0d328c09a6239925e54530d121e8ea8d23f1aa37.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From b3fffb921d90cab941c78afed33ef847ee4b1553 Mon Sep 17 00:00:00 2001 +Message-Id: +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Rasmus Villemoes Date: Tue, 28 Apr 2020 16:40:26 +0200 -Subject: [PATCH 326/330] hrtimer: fix logic for when grabbing +Subject: [PATCH 325/329] hrtimer: fix logic for when grabbing softirq_expiry_lock can be elided -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Commit diff --git a/debian/patches-rt/0327-fs-dcache-Include-swait.h-header.patch b/debian/patches-rt/0326-fs-dcache-Include-swait.h-header.patch similarity index 73% rename from debian/patches-rt/0327-fs-dcache-Include-swait.h-header.patch rename to debian/patches-rt/0326-fs-dcache-Include-swait.h-header.patch index 438ed2862..f5c8b91f9 100644 --- a/debian/patches-rt/0327-fs-dcache-Include-swait.h-header.patch +++ b/debian/patches-rt/0326-fs-dcache-Include-swait.h-header.patch @@ -1,11 +1,11 @@ -From c4fafd10ae410a9b577a4016b0071034e3113ffd Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 4b0033a519e40f691f601265914225ee885f76ca Mon Sep 17 00:00:00 2001 +Message-Id: <4b0033a519e40f691f601265914225ee885f76ca.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Sebastian Andrzej Siewior Date: Thu, 16 Apr 2020 12:42:15 +0200 -Subject: [PATCH 327/330] fs/dcache: Include swait.h header -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 326/329] fs/dcache: Include swait.h header +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 279f90ddf53cd6bd3c203fbbf488d642ea2603de ] diff --git a/debian/patches-rt/0328-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch b/debian/patches-rt/0327-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch similarity index 83% rename from debian/patches-rt/0328-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch rename to debian/patches-rt/0327-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch index 22e446462..e15301b26 100644 --- a/debian/patches-rt/0328-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch +++ b/debian/patches-rt/0327-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch @@ -1,12 +1,12 @@ -From 35163550074015f85b43664a5b4ae464a44a6529 Mon Sep 17 00:00:00 2001 -Message-Id: <35163550074015f85b43664a5b4ae464a44a6529.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 292a3677c908c9cea53c8105ae6a6571831d26f0 Mon Sep 17 00:00:00 2001 +Message-Id: <292a3677c908c9cea53c8105ae6a6571831d26f0.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Kevin Hao Date: Mon, 4 May 2020 11:34:07 +0800 -Subject: [PATCH 328/330] mm: slub: Always flush the delayed empty slubs in +Subject: [PATCH 327/329] mm: slub: Always flush the delayed empty slubs in flush_all() -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz [ Upstream commit 23a2c31b19e99beaf5107071b0f32a596202cdae ] @@ -49,10 +49,10 @@ Signed-off-by: Tom Zanussi 1 file changed, 3 deletions(-) diff --git a/mm/slub.c b/mm/slub.c -index d243c6ef7fc9..a9473bbb1338 100644 +index af485aba93ec..9bf0c118cc16 100644 --- a/mm/slub.c +++ b/mm/slub.c -@@ -2341,9 +2341,6 @@ static void flush_all(struct kmem_cache *s) +@@ -2368,9 +2368,6 @@ static void flush_all(struct kmem_cache *s) for_each_online_cpu(cpu) { struct slub_free_list *f; diff --git a/debian/patches-rt/0329-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch b/debian/patches-rt/0328-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch similarity index 84% rename from debian/patches-rt/0329-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch rename to debian/patches-rt/0328-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch index 3b0033023..47944c94e 100644 --- a/debian/patches-rt/0329-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch +++ b/debian/patches-rt/0328-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch @@ -1,11 +1,11 @@ -From 6fdc9a6ad87faf040f7455e1371cfb7fa2535889 Mon Sep 17 00:00:00 2001 -Message-Id: <6fdc9a6ad87faf040f7455e1371cfb7fa2535889.1592846147.git.zanussi@kernel.org> -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 5b67a99900fb4d7e4e94029ec496e7f148ad9c74 Mon Sep 17 00:00:00 2001 +Message-Id: <5b67a99900fb4d7e4e94029ec496e7f148ad9c74.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Tom Zanussi Date: Tue, 9 Jun 2020 11:04:08 -0500 -Subject: [PATCH 329/330] tasklet: Fix UP case for tasklet CHAINED state -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Subject: [PATCH 328/329] tasklet: Fix UP case for tasklet CHAINED state +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz commit 62d0a2a30cd0 (tasklet: Address a race resulting in double-enqueue) addresses a problem that can result in a tasklet being diff --git a/debian/patches-rt/0330-Linux-4.19.127-rt55-REBASE.patch b/debian/patches-rt/0329-Linux-4.19.132-rt59-REBASE.patch similarity index 50% rename from debian/patches-rt/0330-Linux-4.19.127-rt55-REBASE.patch rename to debian/patches-rt/0329-Linux-4.19.132-rt59-REBASE.patch index 22a2f3807..6a334c76a 100644 --- a/debian/patches-rt/0330-Linux-4.19.127-rt55-REBASE.patch +++ b/debian/patches-rt/0329-Linux-4.19.132-rt59-REBASE.patch @@ -1,11 +1,11 @@ -From ba502b6eab1519d57f6ea13cb61984415fa7c361 Mon Sep 17 00:00:00 2001 -Message-Id: -In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> -References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org> +From 6265ef0553174b6089ea56bc534d3c517b67d4cb Mon Sep 17 00:00:00 2001 +Message-Id: <6265ef0553174b6089ea56bc534d3c517b67d4cb.1594742967.git.zanussi@kernel.org> +In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> +References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org> From: Tom Zanussi -Date: Wed, 10 Jun 2020 12:21:34 -0500 -Subject: [PATCH 330/330] Linux 4.19.127-rt55 REBASE -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz +Date: Tue, 14 Jul 2020 10:31:04 -0500 +Subject: [PATCH 329/329] Linux 4.19.132-rt59 REBASE +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz Signed-off-by: Tom Zanussi --- @@ -13,12 +13,12 @@ Signed-off-by: Tom Zanussi 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt -index 1199ebade17b..51b05e9abe6f 100644 +index 1199ebade17b..8cdeb45db6e2 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt16 -+-rt55 ++-rt59 -- 2.17.1 diff --git a/debian/patches-rt/series b/debian/patches-rt/series index 04782d7dc..79a59690d 100644 --- a/debian/patches-rt/series +++ b/debian/patches-rt/series @@ -232,98 +232,98 @@ 0232-net-Another-local_irq_disable-kmalloc-headache.patch 0233-net-core-protect-users-of-napi_alloc_cache-against-r.patch 0234-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch -0236-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch -0237-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch -0238-sched-Add-support-for-lazy-preemption.patch -0239-ftrace-Fix-trace-header-alignment.patch -0240-x86-Support-for-lazy-preemption.patch -0241-x86-lazy-preempt-properly-check-against-preempt-mask.patch -0242-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch -0243-arm-Add-support-for-lazy-preemption.patch -0244-powerpc-Add-support-for-lazy-preemption.patch -0245-arch-arm64-Add-lazy-preempt-support.patch -0246-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch -0247-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch -0248-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch -0249-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch -0250-tpm_tis-fix-stall-after-iowrite-s.patch -0251-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch -0252-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch -0253-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch -0254-drm-i915-disable-tracing-on-RT.patch -0255-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch -0256-cgroups-use-simple-wait-in-css_release.patch -0257-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch -0258-apparmor-use-a-locallock-instead-preempt_disable.patch -0259-workqueue-Prevent-deadlock-stall-on-RT.patch -0260-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch -0261-Add-localversion-for-RT-release.patch -0262-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch -0263-powerpc-reshuffle-TIF-bits.patch -0264-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch -0265-drm-i915-Don-t-disable-interrupts-independently-of-t.patch -0266-sched-completion-Fix-a-lockup-in-wait_for_completion.patch -0267-kthread-add-a-global-worker-thread.patch -0268-arm-imx6-cpuidle-Use-raw_spinlock_t.patch -0269-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch -0270-pci-switchtec-fix-stream_open.cocci-warnings.patch -0271-sched-core-Drop-a-preempt_disable_rt-statement.patch -0272-timers-Redo-the-notification-of-canceling-timers-on-.patch -0273-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch -0274-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch -0275-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch -0276-Revert-futex-workaround-migrate_disable-enable-in-di.patch -0277-futex-Make-the-futex_hash_bucket-lock-raw.patch -0278-futex-Delay-deallocation-of-pi_state.patch -0279-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch -0280-revert-aio.patch -0281-fs-aio-simple-simple-work.patch -0282-revert-thermal.patch -0283-thermal-Defer-thermal-wakups-to-threads.patch -0284-revert-block.patch -0285-block-blk-mq-move-blk_queue_usage_counter_release-in.patch -0286-workqueue-rework.patch -0287-i2c-exynos5-Remove-IRQF_ONESHOT.patch -0288-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch -0289-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch -0290-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch -0291-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch -0292-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch -0293-x86-preempt-Check-preemption-level-before-looking-at.patch -0294-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch -0295-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch -0296-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch -0297-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch -0298-posix-timers-Unlock-expiry-lock-in-the-early-return.patch -0299-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch -0300-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch -0301-sched-Remove-dead-__migrate_disabled-check.patch -0302-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch -0303-lib-smp_processor_id-Don-t-use-cpumask_equal.patch -0304-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch -0305-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch -0306-lib-ubsan-Don-t-seralize-UBSAN-report.patch -0307-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch -0308-sched-migrate_enable-Use-select_fallback_rq.patch -0309-sched-Lazy-migrate_disable-processing.patch -0310-sched-migrate_enable-Use-stop_one_cpu_nowait.patch -0311-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch -0312-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch -0313-sched-core-migrate_enable-must-access-takedown_cpu_t.patch -0314-lib-smp_processor_id-Adjust-check_preemption_disable.patch -0315-sched-migrate_enable-Busy-loop-until-the-migration-r.patch -0316-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch -0317-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch -0318-sched-migrate_enable-Remove-__schedule-call.patch -0319-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch -0320-locallock-Include-header-for-the-current-macro.patch -0321-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch -0322-tracing-make-preempt_lazy-and-migrate_disable-counte.patch -0323-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch -0324-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch -0325-tasklet-Address-a-race-resulting-in-double-enqueue.patch -0326-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch -0327-fs-dcache-Include-swait.h-header.patch -0328-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch -0329-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch -0330-Linux-4.19.127-rt55-REBASE.patch +0235-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch +0236-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch +0237-sched-Add-support-for-lazy-preemption.patch +0238-ftrace-Fix-trace-header-alignment.patch +0239-x86-Support-for-lazy-preemption.patch +0240-x86-lazy-preempt-properly-check-against-preempt-mask.patch +0241-x86-lazy-preempt-use-proper-return-label-on-32bit-x8.patch +0242-arm-Add-support-for-lazy-preemption.patch +0243-powerpc-Add-support-for-lazy-preemption.patch +0244-arch-arm64-Add-lazy-preempt-support.patch +0245-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch +0246-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch +0247-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch +0248-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch +0249-tpm_tis-fix-stall-after-iowrite-s.patch +0250-watchdog-prevent-deferral-of-watchdogd-wakeup-on-RT.patch +0251-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch +0252-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch +0253-drm-i915-disable-tracing-on-RT.patch +0254-drm-i915-skip-DRM_I915_LOW_LEVEL_TRACEPOINTS-with-NO.patch +0255-cgroups-use-simple-wait-in-css_release.patch +0256-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch +0257-apparmor-use-a-locallock-instead-preempt_disable.patch +0258-workqueue-Prevent-deadlock-stall-on-RT.patch +0259-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch +0260-Add-localversion-for-RT-release.patch +0261-powerpc-pseries-iommu-Use-a-locallock-instead-local_.patch +0262-powerpc-reshuffle-TIF-bits.patch +0263-tty-sysrq-Convert-show_lock-to-raw_spinlock_t.patch +0264-drm-i915-Don-t-disable-interrupts-independently-of-t.patch +0265-sched-completion-Fix-a-lockup-in-wait_for_completion.patch +0266-kthread-add-a-global-worker-thread.patch +0267-arm-imx6-cpuidle-Use-raw_spinlock_t.patch +0268-rcu-Don-t-allow-to-change-rcu_normal_after_boot-on-R.patch +0269-pci-switchtec-fix-stream_open.cocci-warnings.patch +0270-sched-core-Drop-a-preempt_disable_rt-statement.patch +0271-timers-Redo-the-notification-of-canceling-timers-on-.patch +0272-Revert-futex-Ensure-lock-unlock-symetry-versus-pi_lo.patch +0273-Revert-futex-Fix-bug-on-when-a-requeued-RT-task-time.patch +0274-Revert-rtmutex-Handle-the-various-new-futex-race-con.patch +0275-Revert-futex-workaround-migrate_disable-enable-in-di.patch +0276-futex-Make-the-futex_hash_bucket-lock-raw.patch +0277-futex-Delay-deallocation-of-pi_state.patch +0278-mm-zswap-Do-not-disable-preemption-in-zswap_frontswa.patch +0279-revert-aio.patch +0280-fs-aio-simple-simple-work.patch +0281-revert-thermal.patch +0282-thermal-Defer-thermal-wakups-to-threads.patch +0283-revert-block.patch +0284-block-blk-mq-move-blk_queue_usage_counter_release-in.patch +0285-workqueue-rework.patch +0286-i2c-exynos5-Remove-IRQF_ONESHOT.patch +0287-i2c-hix5hd2-Remove-IRQF_ONESHOT.patch +0288-sched-deadline-Ensure-inactive_timer-runs-in-hardirq.patch +0289-thermal-x86_pkg_temp-make-pkg_temp_lock-a-raw-spinlo.patch +0290-dma-buf-Use-seqlock_t-instread-disabling-preemption.patch +0291-KVM-arm-arm64-Let-the-timer-expire-in-hardirq-contex.patch +0292-x86-preempt-Check-preemption-level-before-looking-at.patch +0293-hrtimer-Use-READ_ONCE-to-access-timer-base-in-hrimer.patch +0294-hrtimer-Don-t-grab-the-expiry-lock-for-non-soft-hrti.patch +0295-hrtimer-Prevent-using-hrtimer_grab_expiry_lock-on-mi.patch +0296-hrtimer-Add-a-missing-bracket-and-hide-migration_bas.patch +0297-posix-timers-Unlock-expiry-lock-in-the-early-return.patch +0298-sched-migrate_dis-enable-Use-sleeping_lock-to-annota.patch +0299-sched-__set_cpus_allowed_ptr-Check-cpus_mask-not-cpu.patch +0300-sched-Remove-dead-__migrate_disabled-check.patch +0301-sched-migrate-disable-Protect-cpus_ptr-with-lock.patch +0302-lib-smp_processor_id-Don-t-use-cpumask_equal.patch +0303-futex-Make-the-futex_hash_bucket-spinlock_t-again-an.patch +0304-locking-rtmutex-Clean-pi_blocked_on-in-the-error-cas.patch +0305-lib-ubsan-Don-t-seralize-UBSAN-report.patch +0306-kmemleak-Change-the-lock-of-kmemleak_object-to-raw_s.patch +0307-sched-migrate_enable-Use-select_fallback_rq.patch +0308-sched-Lazy-migrate_disable-processing.patch +0309-sched-migrate_enable-Use-stop_one_cpu_nowait.patch +0310-Revert-ARM-Initialize-split-page-table-locks-for-vec.patch +0311-locking-Make-spinlock_t-and-rwlock_t-a-RCU-section-o.patch +0312-sched-core-migrate_enable-must-access-takedown_cpu_t.patch +0313-lib-smp_processor_id-Adjust-check_preemption_disable.patch +0314-sched-migrate_enable-Busy-loop-until-the-migration-r.patch +0315-userfaultfd-Use-a-seqlock-instead-of-seqcount.patch +0316-sched-migrate_enable-Use-per-cpu-cpu_stop_work.patch +0317-sched-migrate_enable-Remove-__schedule-call.patch +0318-mm-memcontrol-Move-misplaced-local_unlock_irqrestore.patch +0319-locallock-Include-header-for-the-current-macro.patch +0320-drm-vmwgfx-Drop-preempt_disable-in-vmw_fifo_ping_hos.patch +0321-tracing-make-preempt_lazy-and-migrate_disable-counte.patch +0322-lib-ubsan-Remove-flags-parameter-from-calls-to-ubsan.patch +0323-irq_work-Fix-checking-of-IRQ_WORK_LAZY-flag-set-on-n.patch +0324-tasklet-Address-a-race-resulting-in-double-enqueue.patch +0325-hrtimer-fix-logic-for-when-grabbing-softirq_expiry_l.patch +0326-fs-dcache-Include-swait.h-header.patch +0327-mm-slub-Always-flush-the-delayed-empty-slubs-in-flus.patch +0328-tasklet-Fix-UP-case-for-tasklet-CHAINED-state.patch +0329-Linux-4.19.132-rt59-REBASE.patch