From a1d47ff7660481495760647de4b7cb29e8c29586 Mon Sep 17 00:00:00 2001 From: Tiejun Chen Date: Fri, 6 Jul 2018 14:02:07 +0800 Subject: [PATCH] update -rt to 4.14.53-rt34 Signed-off-by: Tiejun Chen --- examples/rt-for-vmware.yml | 2 +- kernel/Makefile | 4 +- ...t.c-fix-vmstat_update-preemption-BUG.patch | 59 ++++++++++++++++ ...utex_futex_unlock-safe-for-irq-off-.patch} | 6 +- ...dep-false-positive-boost_mtx-compla.patch} | 8 +-- ...=> 0004-brd-remove-unused-brd_mutex.patch} | 6 +- ...Remove-redundant-preemptible-checks.patch} | 6 +- ...t_check-from-strscpy-and-restore-st.patch} | 6 +- ...e-raw-locks-on-atomic-context-paths.patch} | 32 ++++----- ...se-dev_data-in-irte_ga_set_affinity.patch} | 10 +-- ...nto-account-that-alloc_dev_data-may-.patch | 38 ----------- ...ocking-get_irq_table-from-atomic-co.patch} | 22 +++--- ...dev_data_list-into-a-lock-less-list.patch} | 6 +- ...omain-id-out-of-amd_iommu_devtable_.patch} | 6 +- ...rq_lookup_table-out-of-the-amd_iomm.patch} | 6 +- ...the-special-case-from-alloc_irq_tab.patch} | 6 +- ...le-instead-irt-as-variable-name-in-.patch} | 6 +- ...out-setting-the-remap-table-for-a-d.patch} | 6 +- ...e-lock-while-allocating-new-irq-rem.patch} | 6 +- ...amd_iommu_devtable_lock-a-spin_lock.patch} | 6 +- ...proper-error-code-in-irq_remapping_.patch} | 6 +- ...-keys-for-migrate_enable-nohz_activ.patch} | 6 +- ...mer-Correct-blantanly-wrong-comment.patch} | 6 +- ...rneldoc-for-struct-hrtimer_cpu_base.patch} | 6 +- ...lock-argument-in-schedule_hrtimeout.patch} | 6 +- ...er-Fix-hrtimer-function-description.patch} | 6 +- ...4-hrtimer-Cleanup-hrtimer_mode-enum.patch} | 6 +- ...rint-hrtimer-mode-in-hrtimer_start-.patch} | 6 +- ...-Switch-for-loop-to-_ffs-evaluation.patch} | 6 +- ...running-timer-in-hrtimer_clock_base.patch} | 6 +- ...ake-room-in-struct-hrtimer_cpu_base.patch} | 6 +- ...Reduce-conditional-code-hres_active.patch} | 6 +- ...or-functions-instead-of-direct-acce.patch} | 6 +- ...-remote-enqueue-check-unconditional.patch} | 6 +- ...mer_cpu_base.next_timer-handling-un.patch} | 6 +- ...ke-hrtimer_reprogramm-unconditional.patch} | 6 +- ...mer_force_reprogramm-unconditionall.patch} | 6 +- ...er-Unify-handling-of-hrtimer-remove.patch} | 6 +- ...er-Unify-handling-of-remote-enqueue.patch} | 6 +- ...te-enqueue-decision-less-restrictiv.patch} | 6 +- ...ase-argument-from-hrtimer_reprogram.patch} | 6 +- ...rtimer-Split-hrtimer_start_range_ns.patch} | 6 +- ...imer-Split-__hrtimer_get_next_event.patch} | 6 +- ...ave-irqrestore-around-__run_hrtimer.patch} | 6 +- ...-bases-and-hrtimer-mode-for-soft-ir.patch} | 6 +- ...andling-of-hard-and-softirq-based-h.patch} | 6 +- ...-support-for-softirq-based-hrtimers.patch} | 6 +- ...ment-SOFT-HARD-clock-base-selection.patch} | 6 +- ...rtimer_tasklet-with-softirq-based-h.patch} | 6 +- ...place-hrtimer-tasklet-with-softirq-.patch} | 6 +- ...rtimer-tasklet-with-softirq-hrtimer.patch} | 12 ++-- ...0049-softirq-Remove-tasklet_hrtimer.patch} | 6 +- ...eplace-tasklet-with-softirq-hrtimer.patch} | 6 +- ...eplace-tasklet-with-softirq-hrtimer.patch} | 6 +- ...eplace-tasklet-with-softirq-hrtimer.patch} | 6 +- ...-not-disable-enable-clocks-in-a-row.patch} | 6 +- ...r_tasks_mm_cpumask-call-to-__cpu_di.patch} | 6 +- ...dle-non-enqueued-waiters-gracefully.patch} | 6 +- ...ree-include-rcu.h-because-we-use-it.patch} | 6 +- ...xrpc-remove-unused-static-variables.patch} | 6 +- ...d-syscon-atmel-smc-include-string.h.patch} | 6 +- ... => 0059-sched-swait-include-wait.h.patch} | 6 +- ...replace-seqcount_t-with-a-seqlock_t.patch} | 14 ++-- ...ecursive-locking-in-hci_send_to_cha.patch} | 6 +- ...w_cpu_ptr-instead-of-get_cpu_ptr-fo.patch} | 6 +- ...dio-don-t-inclide-rwlock.h-directly.patch} | 6 +- ...pfs-don-t-inclide-rwlock.h-directly.patch} | 6 +- ...rm-i915-properly-init-lockdep-class.patch} | 6 +- ...nt-return-values-of-timerqueue_add-.patch} | 6 +- ...rc64-use-generic-rwsem-spinlocks-rt.patch} | 6 +- ...l-SRCU-provide-a-static-initializer.patch} | 6 +- ...lock_assert-irqs_disabled-combo-che.patch} | 6 +- ...ide-a-pointer-to-the-valid-CPU-mask.patch} | 44 ++++++------ ...rnel-sched-core-add-migrate_disable.patch} | 14 ++-- ...he-order-of-trace_types_lock-and-ev.patch} | 8 +-- ...te-trace_recursive_-un-lock-to-be-s.patch} | 6 +- ...e-lookups-from-tracing_map-hitcount.patch} | 6 +- ...-Increase-tracing-map-KEYS_MAX-size.patch} | 6 +- ...ke-traceprobe-parsing-code-reusable.patch} | 14 ++-- ...cing-Clean-up-hist_field_flags-enum.patch} | 6 +- ...racing-Add-hist_field_name-accessor.patch} | 6 +- ...ch => 0079-tracing-Reimplement-log2.patch} | 6 +- ...-trigger-Documentation-to-histogram.patch} | 6 +- ...Add-Documentation-for-log2-modifier.patch} | 6 +- ...port-to-detect-and-avoid-duplicates.patch} | 6 +- ...Remove-code-which-merges-duplicates.patch} | 6 +- ...nterface-for-setting-absolute-time-.patch} | 10 +-- ...ine-the-unimplemented-RINGBUF_TYPE_.patch} | 6 +- ...acing-Add-timestamp_mode-trace-file.patch} | 8 +-- ...t-triggers-access-to-ring_buffer_ev.patch} | 36 +++++----- ...buffer-event-param-to-hist-field-fu.patch} | 6 +- ...out-hist-trigger-assignment-parsing.patch} | 6 +- ...-Add-hist-trigger-timestamp-support.patch} | 6 +- ...lement-variable-support-to-tracing_.patch} | 6 +- ...-Add-hist_data-member-to-hist_field.patch} | 6 +- ...-modifier-for-hist-trigger-timestam.patch} | 10 +-- ...d-variable-support-to-hist-triggers.patch} | 6 +- ...or-variables-in-named-trigger-compa.patch} | 6 +- ...6-tracing-Move-get_hist_field_flags.patch} | 6 +- ...e-expression-support-to-hist-trigge.patch} | 6 +- ...alize-per-element-hist-trigger-data.patch} | 6 +- ...ing_map_elt-to-hist_field-accessor-.patch} | 6 +- ...0-tracing-Add-hist_field-type-field.patch} | 6 +- ...ble-reference-handling-to-hist-trig.patch} | 14 ++-- ...racing-Add-hist-trigger-action-hook.patch} | 6 +- ...ng-Add-support-for-synthetic-events.patch} | 6 +- ...ing-Add-support-for-field-variables.patch} | 6 +- ...onmatch-hist-trigger-action-support.patch} | 6 +- ...d-onmax-hist-trigger-action-support.patch} | 6 +- ...tespace-to-surround-hist-trigger-fi.patch} | 6 +- ...ing-Add-cpu-field-for-hist-triggers.patch} | 6 +- ...trigger-support-for-variable-refere.patch} | 6 +- ...error-error-facility-for-hist-trigg.patch} | 6 +- ...er-event-hist-trigger-Documentation.patch} | 6 +- ...g-Make-tracing_set_clock-non-static.patch} | 10 +-- ...a-clock-attribute-for-hist-triggers.patch} | 6 +- ...-back-context-level-recursive-check.patch} | 6 +- ...uplicate-results-in-mapping-context.patch} | 6 +- ...esting-for-adding-events-within-eve.patch} | 6 +- ...ing-buffer-nesting-to-allow-synthet.patch} | 6 +- ...-event-blurb-to-HIST_TRIGGERS-confi.patch} | 6 +- ...Add-inter-event-hist-triggers-testc.patch} | 6 +- ...ay-of-hist-trigger-expressions-cont.patch} | 6 +- ...-flag-strings-when-displaying-varia.patch} | 6 +- ...n-comparisons-when-testing-matching.patch} | 6 +- ...-variable-string-fields-are-NULL-te.patch} | 6 +- ...-Shorten-interrupt-disabled-regions.patch} | 6 +- ...5-timekeeping-Split-jiffies-seqlock.patch} | 6 +- ...for-preempt-off-in-preempt_schedule.patch} | 10 +-- ...-signal-Revert-ptrace-preempt-magic.patch} | 10 +-- ...28-arm-Convert-arm-boot_lock-to-raw.patch} | 6 +- ...robe-replace-patch_lock-to-raw-lock.patch} | 6 +- ...ix-timers-Prevent-broadcast-signals.patch} | 6 +- ...-tasks-to-cache-one-sigqueue-struct.patch} | 12 ++-- ...ndom-Reduce-preempt-disabled-region.patch} | 6 +- ...ve-irq-handler-when-clock-event-is-.patch} | 6 +- ...rs-timer-atmel-pit-fix-double-free_.patch} | 6 +- ...-Allow-higher-clock-rates-for-clock.patch} | 6 +- ...et-Use-disable_irq_nosync-in-8139too.patch | 30 -------- ...-suspend-Prevent-might-sleep-splats.patch} | 6 +- ...0137-net-flip-lock-dep-thingy.patch.patch} | 8 +-- ...t-sched-Use-msleep-instead-of-yield.patch} | 6 +- ...9-net-core-disable-NET_RX_BUSY_POLL.patch} | 6 +- ...-unmask-io_apic-when-interrupt-is-i.patch} | 6 +- ...41-rcu-segcblist-include-rcupdate.h.patch} | 6 +- ...142-printk-Add-a-printk-kill-switch.patch} | 6 +- ...early_printk-boot-param-to-help-wit.patch} | 6 +- ...ovide-PREEMPT_RT_BASE-config-switch.patch} | 6 +- ...onfig-options-which-are-not-RT-comp.patch} | 8 +-- ...=> 0146-kconfig-Add-PREEMPT_RT_FULL.patch} | 6 +- ...WARN_ON-variants-dependend-on-RT-RT.patch} | 10 +-- ...Use-WARN_ON_NORT-in-__attach_device.patch} | 6 +- ...al_irq_-variants-depending-on-RT-RT.patch} | 6 +- ...t-Provide-preempt_-_-no-rt-variants.patch} | 6 +- ...migrate_disable-enable-in-different.patch} | 6 +- ...atch => 0152-rt-Add-local-irq-locks.patch} | 6 +- ...e-interrupts-in-ide-code-for-preemp.patch} | 6 +- ...t-disable-interrupts-for-PREEMPT-RT.patch} | 6 +- ...ox-IB-driver-patch-use-_nort-primit.patch} | 6 +- ...-not-disable-interrupts-on-PREEMPT_.patch} | 6 +- ...le-interrupts-on-RT-in-kernel-users.patch} | 6 +- ...-usb-Use-_nort-in-giveback-function.patch} | 6 +- ...atterlist-Do-not-disable-irqs-on-RT.patch} | 6 +- ...not-protect-workingset_shadow_nodes.patch} | 6 +- ...l-Make-__lock_task_sighand-RT-aware.patch} | 8 +-- ...x86-Delay-calling-signals-in-atomic.patch} | 12 ++-- ...gnal-delay-calling-signals-on-32bit.patch} | 6 +- ... 0164-net-wireless-Use-WARN_ON_NORT.patch} | 8 +-- ...ead-Replace-bh_uptodate_lock-for-rt.patch} | 6 +- ...state-lock-and-journal-head-lock-rt.patch} | 6 +- ...t_bl-Make-list-head-locking-RT-safe.patch} | 6 +- ...list_bl-fixup-bogus-lockdep-warning.patch} | 6 +- ...> 0169-genirq-Disable-irqpoll-on-rt.patch} | 6 +- ...genirq-Force-interrupt-thread-on-RT.patch} | 6 +- ...ivers-net-vortex-fix-locking-issues.patch} | 6 +- ...=> 0172-delayacct-use-raw_spinlocks.patch} | 6 +- ...age_alloc-rt-friendly-per-cpu-pages.patch} | 12 ++-- ..._alloc-Reduce-lock-sections-further.patch} | 8 +-- ...75-mm-swap-Convert-to-percpu-locked.patch} | 10 +-- ...-perform-lru_add_drain_all-remotely.patch} | 6 +- ...-per-cpu-variables-with-preempt-dis.patch} | 6 +- ...lit-page-table-locks-for-vector-pag.patch} | 6 +- ...9-mm-bounce-Use-local_irq_save_nort.patch} | 6 +- ...ch => 0180-mm-Allow-only-slub-on-RT.patch} | 6 +- ...patch => 0181-mm-Enable-SLUB-for-RT.patch} | 6 +- ...sible-memory-leak-in-kmem_cache_all.patch} | 6 +- ...183-slub-Enable-irqs-for-__GFP_WAIT.patch} | 6 +- ... 0184-slub-Disable-SLUB_CPU_PARTIAL.patch} | 6 +- ...-local_lock_on-instead-of-plain-spi.patch} | 8 +-- ...-t-call-schedule_work_on-in-preempt.patch} | 8 +-- ...lace-local_irq_disable-with-local-l.patch} | 22 +++--- ...n-t-disable-IRQs-in-wb_congested_pu.patch} | 10 +-- ...c-copy-with-get_cpu_var-and-locking.patch} | 6 +- ... => 0190-radix-tree-use-local-locks.patch} | 8 +-- ...ndom_bytes-for-RT_FULL-in-init_oops.patch} | 6 +- ...-timers-Prepare-for-full-preemption.patch} | 8 +-- ...waking-softirqs-from-the-jiffy-tick.patch} | 6 +- ...ent-erroneous-tick-stop-invocations.patch} | 6 +- ...95-x86-kvm-Require-const-tsc-for-RT.patch} | 10 +-- ...tch => 0196-wait.h-include-atomic.h.patch} | 6 +- ...ple-Simple-work-queue-implemenation.patch} | 6 +- ...8-completion-Use-simple-wait-queues.patch} | 16 ++--- ...h => 0199-fs-aio-simple-simple-work.patch} | 10 +-- ...oke-the-affinity-callback-via-a-wor.patch} | 6 +- ...d-schedule_work-with-interrupts-dis.patch} | 6 +- ...te-hrtimer_init-hrtimer_init_sleepe.patch} | 10 +-- ...03-hrtimers-Prepare-full-preemption.patch} | 6 +- ...-by-default-into-the-softirq-contex.patch} | 22 +++--- ...r-Prevent-live-lock-in-alarm_cancel.patch} | 6 +- ...-proper-timer-while-waiting-for-ala.patch} | 6 +- ...-move-the-rcu-head-out-of-the-union.patch} | 6 +- ...schedule_work-call-to-helper-thread.patch} | 6 +- ... => 0209-timer-fd-Prevent-live-lock.patch} | 6 +- ...imers-Thread-posix-cpu-timers-on-rt.patch} | 10 +-- ...hed-Move-task_struct-cleanup-to-RCU.patch} | 10 +-- ...number-of-task-migrations-per-batch.patch} | 8 +-- ...0213-sched-Move-mmdrop-to-RCU-on-RT.patch} | 14 ++-- ...-stack-kprobe-clean-up-to-__put_tas.patch} | 8 +-- ...tate-for-tasks-blocked-on-sleeping-.patch} | 16 ++--- ...k-state-corruption-by-spurious-lock.patch} | 8 +-- ...patch => 0217-sched-Remove-TASK_ALL.patch} | 8 +-- ...unt-rcu_preempt_depth-on-RT-in-migh.patch} | 10 +-- ...tirq-semantics-into-account-in-cond.patch} | 16 ++--- ...proper-LOCK_OFFSET-for-cond_resched.patch} | 6 +- ...0221-sched-Disable-TTWU_QUEUE-on-RT.patch} | 6 +- ...Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch} | 6 +- ...-success-when-only-changing-the-sav.patch} | 8 +-- ...nly-wake-up-idle-workers-if-not-blo.patch} | 8 +-- ...ase-the-nr-of-migratory-tasks-when-.patch} | 14 ++-- ...vert-stop_machine_run-to-PREEMPT_RT.patch} | 10 +-- ...0227-stop_machine-Use-raw-spinlocks.patch} | 37 +++++----- ...hotplug-Lightweight-get-online-cpus.patch} | 18 ++--- ...-disabled-counter-to-tracing-output.patch} | 8 +-- ...ch => 0230-lockdep-Make-it-RT-aware.patch} | 6 +- ...h => 0231-lockdep-disable-self-test.patch} | 6 +- ...ocking-Disable-spin-on-owner-for-RT.patch} | 6 +- ...asklets-from-going-into-infinite-sp.patch} | 6 +- ...emption-after-reenabling-interrupts.patch} | 8 +-- ...ftirq-Disable-softirq-stacks-for-RT.patch} | 6 +- ...=> 0236-softirq-Split-softirq-locks.patch} | 16 ++--- ...-kernel-softirq-unlock-with-irqs-on.patch} | 6 +- ...bling-of-softirq-processing-in-irq-.patch} | 6 +- ...lit-timer-softirqs-out-of-ksoftirqd.patch} | 6 +- ...rq-wake-the-timer-softirq-if-needed.patch} | 6 +- ... 0241-rtmutex-trylock-is-okay-on-RT.patch} | 6 +- ...nfs-turn-rmdir_sem-into-a-semaphore.patch} | 6 +- ...e-various-new-futex-race-conditions.patch} | 6 +- ...n-when-a-requeued-RT-task-times-out.patch} | 6 +- ...utex-don-t-drop-the-wait_lock-twice.patch} | 6 +- ...-unlock-symetry-versus-pi_lock-and-.patch} | 6 +- ...atch => 0247-pid.h-include-atomic.h.patch} | 6 +- ...rm-include-definition-for-cpumask_t.patch} | 6 +- ...re-Do-NOT-include-rwlock.h-directly.patch} | 6 +- ...0-rtmutex-Add-rtmutex_lock_killable.patch} | 6 +- ...251-rtmutex-Make-lock_killable-work.patch} | 6 +- ...pinlock-Split-the-lock-types-header.patch} | 6 +- ... => 0253-rtmutex-Avoid-include-hell.patch} | 6 +- ...rbtree-don-t-include-the-rcu-header.patch} | 6 +- ...ex-Provide-rt_mutex_slowlock_locked.patch} | 6 +- ...ckdep-less-version-of-rt_mutex-s-lo.patch} | 6 +- ...ex-add-sleeping-lock-implementation.patch} | 36 +++++----- ...tex-implementation-based-on-rtmutex.patch} | 6 +- ...sem-implementation-based-on-rtmutex.patch} | 6 +- ...ock-implementation-based-on-rtmutex.patch} | 6 +- ...> 0261-rtmutex-wire-up-RT-s-locking.patch} | 10 +-- ...tex-add-ww_mutex-addon-for-mutex-rt.patch} | 6 +- ...fix-deadlock-in-device-mapper-block.patch} | 6 +- ...e-init-the-wait_lock-in-rt_mutex_in.patch} | 6 +- ...ce-fix-ptrace-vs-tasklist_lock-race.patch} | 12 ++-- ...ip-that-warning-but-only-on-sleepin.patch} | 8 +-- ...dule-in-RCU-section-warning-on-UP-t.patch} | 16 ++--- ...ck-for-__LINUX_SPINLOCK_TYPES_H-on-.patch} | 6 +- ...patch => 0269-rcu-Frob-softirq-test.patch} | 8 +-- ...0-rcu-Merge-RCU-bh-into-RCU-preempt.patch} | 6 +- ...e-ksoftirqd-do-RCU-quiescent-states.patch} | 16 ++--- ...-Disable-irq-while-calling-rcu_pree.patch} | 6 +- ...rial-omap-Make-the-locking-RT-aware.patch} | 6 +- ...l-pl011-Make-the-locking-work-on-RT.patch} | 12 ++-- ...prove-the-serial-console-PASS_LIMIT.patch} | 6 +- ...-don-t-take-the-trylock-during-oops.patch} | 10 +-- ...sem-Remove-preempt_disable-variants.patch} | 8 +-- ...=> 0278-fs-namespace-preemption-fix.patch} | 8 +-- ...te_mm-by-preempt_-disable-enable-_r.patch} | 6 +- ...rn-off-warning-which-is-bogus-on-RT.patch} | 6 +- ...s-ntfs-disable-interrupt-only-on-RT.patch} | 6 +- ...ll-your-plug-when-waiting-for-space.patch} | 8 +-- ...ll-your-plug-when-waiting-for-space.patch} | 6 +- ...back-explicit-INIT_HLIST_BL_HEAD-in.patch} | 14 ++-- ...-preemption-on-i_dir_seq-s-write-si.patch} | 26 +++---- ...86-x86-Convert-mce-timer-to-hrtimer.patch} | 6 +- ...mce-use-swait-queue-for-mce-wakeups.patch} | 6 +- ...ckprotector-Avoid-random-pool-on-rt.patch} | 6 +- ...6-Use-generic-rwsem_spinlocks-on-rt.patch} | 6 +- ...0290-x86-UV-raw_spinlock-conversion.patch} | 6 +- ...mal-Defer-thermal-wakups-to-threads.patch} | 6 +- ...oll-Do-not-disable-preemption-on-RT.patch} | 6 +- ...r-preempt-disable-region-which-suck.patch} | 6 +- ...atch => 0294-block-mq-use-cpu_light.patch} | 8 +-- ...ck-mq-do-not-invoke-preempt_disable.patch} | 14 ++-- ...-mq-don-t-complete-requests-via-IPI.patch} | 14 ++-- ...Make-raid5_percpu-handling-RT-aware.patch} | 12 ++-- ...-md-raid5-do-not-disable-interrupts.patch} | 8 +-- ...atch => 0299-rt-Introduce-cpu_chill.patch} | 6 +- ...a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch} | 6 +- ...el-cpu_chill-use-schedule_hrtimeout.patch} | 6 +- ...Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch} | 6 +- ...utex-annotate-sleeping-lock-context.patch} | 14 ++-- ...atch => 0304-block-blk-mq-Use-swait.patch} | 14 ++-- ... 0305-Revert-block-blk-mq-Use-swait.patch} | 14 ++-- ...-blk_queue_usage_counter_release-in.patch} | 6 +- ...block-Use-cpu_chill-for-retry-loops.patch} | 6 +- ...ache-Use-cpu_chill-in-trylock-loops.patch} | 12 ++-- ...-Use-cpu_chill-instead-of-cpu_relax.patch} | 8 +-- ...se-swait_queue-instead-of-waitqueue.patch} | 22 +++--- ...ch => 0311-workqueue-Use-normal-rcu.patch} | 8 +-- ...al-irq-lock-instead-of-irq-disable-.patch} | 8 +-- ...-workqueue-versus-ata-piix-livelock.patch} | 8 +-- ...angle-worker-accounting-from-rqlock.patch} | 16 ++--- ... => 0315-percpu_ida-Use-local-locks.patch} | 6 +- ... => 0316-debugobjects-Make-RT-aware.patch} | 6 +- ...bel-disable-if-stop_machine-is-used.patch} | 6 +- ... 0318-seqlock-Prevent-rt-starvation.patch} | 6 +- ...c_xprt_do_enqueue-use-get_cpu_light.patch} | 6 +- ...320-net-Use-skbufhead-with-raw-lock.patch} | 8 +-- ...plug-Drain-input_pkt_queue-lockless.patch} | 8 +-- ...ecursion-to-per-task-variable-on-RT.patch} | 12 ++-- ...ct-instead-of-CPU-number-as-the-que.patch} | 8 +-- ...-to-delegate-processing-a-softirq-t.patch} | 8 +-- ...ke-qdisc-s-busylock-in-__dev_xmit_s.patch} | 8 +-- ...disc-use-a-seqlock-instead-seqcount.patch} | 6 +- ...missing-serialization-in-ip_send_un.patch} | 8 +-- ...e-tcp_sk_lock-lock-with-BH-disabled.patch} | 8 +-- ... 0329-net-add-a-lock-around-icmp_sk.patch} | 6 +- ... => 0330-net-use-trylock-in-icmp_sk.patch} | 6 +- ...chedule_irqoff-disable-interrupts-o.patch} | 8 +-- ...push-most-work-into-softirq-context.patch} | 6 +- ...k-Move-irq-safe-work-to-irq-context.patch} | 6 +- ...cm_stream_lock-irqs_disabled-splats.patch} | 6 +- ....patch => 0335-printk-Make-rt-aware.patch} | 6 +- ...-t-try-to-print-from-IRQ-NMI-region.patch} | 6 +- ...ntk-Drop-the-logbuf_lock-more-often.patch} | 6 +- ...338-powerpc-Use-generic-rwsem-on-RT.patch} | 6 +- ...le-in-kernel-MPIC-emulation-for-PRE.patch} | 6 +- ...e-init.c-adapt-to-completions-using.patch} | 6 +- ...tclib-Default-to-tclib-timer-for-RT.patch} | 6 +- ...0342-arm-unwind-use-a-raw_spin_lock.patch} | 6 +- ...-translation-section-permission-fau.patch} | 6 +- ...irq_set_irqchip_state-documentation.patch} | 6 +- ...ngrade-preempt_disable-d-region-to-.patch} | 6 +- ...346-arm64-xen-Make-XEN-depend-on-RT.patch} | 10 +-- ...7-kgdb-serial-Short-term-workaround.patch} | 10 +-- ...sysfs-Add-sys-kernel-realtime-entry.patch} | 6 +- ... 0349-powerpc-Disable-highmem-on-RT.patch} | 6 +- ... => 0350-mips-Disable-highmem-on-RT.patch} | 6 +- ...> 0351-mm-rt-kmap_atomic-scheduling.patch} | 10 +-- ...m-rt-Fix-generic-kmap_atomic-for-RT.patch} | 6 +- ...ighmem-Add-a-already-used-pte-check.patch} | 6 +- ...0354-arm-highmem-Flush-tlb-on-unmap.patch} | 6 +- ...h => 0355-arm-Enable-highmem-for-rt.patch} | 6 +- ...tch => 0356-scsi-fcoe-Make-RT-aware.patch} | 6 +- ...-t-disable-interrupts-in-qc_issue-h.patch} | 6 +- ...pto-Reduce-preempt-disabled-regions.patch} | 6 +- ...preempt-disabled-regions-more-algos.patch} | 8 +-- ...pto-limit-more-FPU-enabled-sections.patch} | 6 +- ...361-arm-disable-NEON-in-kernel-mode.patch} | 6 +- ...ware.patch => 0362-dm-Make-rt-aware.patch} | 6 +- ...cpi_gbl_hardware-lock-back-to-a-raw.patch} | 6 +- ...able-CONFIG_CPUMASK_OFFSTACK-for-RT.patch} | 6 +- ...h => 0365-random-Make-it-work-on-rt.patch} | 6 +- ...om-avoid-preempt_disable-ed-section.patch} | 6 +- ...m-don-t-print-that-the-init-is-done.patch} | 6 +- ...8-cpu-hotplug-Implement-CPU-pinning.patch} | 10 +-- ...uct-tape-RT-rwlock-usage-for-non-RT.patch} | 6 +- ...local_irq_save_nort-in-qla2x00_poll.patch} | 6 +- ...ve-preemption-disabling-in-netif_rx.patch} | 8 +-- ...-local_irq_disable-kmalloc-headache.patch} | 8 +-- ...users-of-napi_alloc_cache-against-r.patch} | 8 +-- ...ialize-xt_write_recseq-sections-on-.patch} | 6 +- ...dd-a-mutex-around-devnet_rename_seq.patch} | 8 +-- ...nvert-crypto-notifier-chain-to-SRCU.patch} | 6 +- ...Only-do-hardirq-context-test-for-ra.patch} | 6 +- ...fix-warnings-due-to-missing-PREEMPT.patch} | 6 +- ...use-cpu_online-instead-custom-check.patch} | 6 +- ...t-call_srcu-use-under-raw-spinlocks.patch} | 6 +- ...lace-local_irqsave-with-a-locallock.patch} | 6 +- ...82-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch} | 6 +- ...ate-softirq-processing-from-rcutree.patch} | 20 +++--- ...84-rcu-make-RCU_BOOST-default-on-RT.patch} | 6 +- ...normal_after_boot-by-default-for-RT.patch} | 6 +- ...hed-Add-support-for-lazy-preemption.patch} | 32 ++++----- ...7-ftrace-Fix-trace-header-alignment.patch} | 8 +-- ...388-x86-Support-for-lazy-preemption.patch} | 14 ++-- ...arm-Add-support-for-lazy-preemption.patch} | 6 +- ...rpc-Add-support-for-lazy-preemption.patch} | 8 +-- ...arch-arm64-Add-lazy-preempt-support.patch} | 8 +-- ...s-trigger-disable-CPU-trigger-on-RT.patch} | 6 +- ...93-mmci-Remove-bogus-local_irq_save.patch} | 6 +- ...op-K8-s-driver-from-beeing-selected.patch} | 6 +- ...-Protect-send_msg-with-a-local-lock.patch} | 6 +- ...m-Replace-bit-spinlocks-with-rtmute.patch} | 6 +- ...t-disable-preemption-in-zcomp_strea.patch} | 6 +- ...zcomp_stream_get-smp_processor_id-u.patch} | 6 +- ...9-tpm_tis-fix-stall-after-iowrite-s.patch} | 6 +- ...c-Don-t-use-completion-s-wait-queue.patch} | 6 +- ...se-preempt_disable-enable_rt-where-.patch} | 6 +- ...l_lock-unlock_irq-in-intel_pipe_upd.patch} | 6 +- ...oups-use-simple-wait-in-css_release.patch} | 6 +- ...t-scheduling-while-atomic-in-cgroup.patch} | 8 +-- ...-Prevent-scheduling-while-atomic-in.patch} | 8 +-- ...ert-callback_lock-to-raw_spinlock_t.patch} | 6 +- ...to-schedule_delayed_work-to-helper-.patch} | 6 +- ...e-call-to-schedule_delayed_work-to-.patch} | 6 +- ...che.patch => 0409-md-disable-bcache.patch} | 6 +- ...a-locallock-instead-preempt_disable.patch} | 6 +- ...kqueue-Prevent-deadlock-stall-on-RT.patch} | 14 ++-- ...412-Add-localversion-for-RT-release.patch} | 6 +- ...d-modifier-parsing-hist-error-for-hi.patch | 52 ++++++++++++++ .../0414-0414-Linux-4.14.40-rt30-REBASE.patch | 19 ------ ...d-parsing-hist-error-for-hist-trigge.patch | 53 +++++++++++++++ ...proper-field-flag-printing-when-disp.patch | 68 +++++++++++++++++++ ...lized-variable-in-create_tracing_map.patch | 39 +++++++++++ ...ing-Fix-a-potential-NULL-dereference.patch | 35 ++++++++++ .../0418-Linux-4.14.52-rt34-REBASE.patch | 19 ++++++ 423 files changed, 1918 insertions(+), 1679 deletions(-) create mode 100644 kernel/patches-4.14.x-rt/0001-Revert-mm-vmstat.c-fix-vmstat_update-preemption-BUG.patch rename kernel/patches-4.14.x-rt/{0001-0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch => 0002-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch} (96%) rename kernel/patches-4.14.x-rt/{0002-0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch => 0003-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch} (91%) rename kernel/patches-4.14.x-rt/{0003-0003-brd-remove-unused-brd_mutex.patch => 0004-brd-remove-unused-brd_mutex.patch} (87%) rename kernel/patches-4.14.x-rt/{0004-0004-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch => 0005-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch} (91%) rename kernel/patches-4.14.x-rt/{0005-0005-string-drop-__must_check-from-strscpy-and-restore-st.patch => 0006-string-drop-__must_check-from-strscpy-and-restore-st.patch} (95%) rename kernel/patches-4.14.x-rt/{0006-0006-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch => 0007-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch} (83%) rename kernel/patches-4.14.x-rt/{0007-0007-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch => 0008-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch} (82%) delete mode 100644 kernel/patches-4.14.x-rt/0009-0009-iommu-amd-Take-into-account-that-alloc_dev_data-may-.patch rename kernel/patches-4.14.x-rt/{0008-0008-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch => 0009-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch} (84%) rename kernel/patches-4.14.x-rt/{0010-0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch => 0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch} (96%) rename kernel/patches-4.14.x-rt/{0011-0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch => 0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch} (93%) rename kernel/patches-4.14.x-rt/{0012-0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch => 0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch} (92%) rename kernel/patches-4.14.x-rt/{0013-0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch => 0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch} (95%) rename kernel/patches-4.14.x-rt/{0014-0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch => 0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch} (92%) rename kernel/patches-4.14.x-rt/{0015-0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch => 0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch} (94%) rename kernel/patches-4.14.x-rt/{0016-0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch => 0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch} (96%) rename kernel/patches-4.14.x-rt/{0017-0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch => 0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch} (95%) rename kernel/patches-4.14.x-rt/{0018-0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch => 0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch} (91%) rename kernel/patches-4.14.x-rt/{0019-0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch => 0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch} (98%) rename kernel/patches-4.14.x-rt/{0020-0020-hrtimer-Correct-blantanly-wrong-comment.patch => 0020-hrtimer-Correct-blantanly-wrong-comment.patch} (91%) rename kernel/patches-4.14.x-rt/{0021-0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch => 0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch} (93%) rename kernel/patches-4.14.x-rt/{0022-0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch => 0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch} (96%) rename kernel/patches-4.14.x-rt/{0023-0023-hrtimer-Fix-hrtimer-function-description.patch => 0023-hrtimer-Fix-hrtimer-function-description.patch} (95%) rename kernel/patches-4.14.x-rt/{0024-0024-hrtimer-Cleanup-hrtimer_mode-enum.patch => 0024-hrtimer-Cleanup-hrtimer_mode-enum.patch} (92%) rename kernel/patches-4.14.x-rt/{0025-0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch => 0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch} (96%) rename kernel/patches-4.14.x-rt/{0026-0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch => 0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch} (95%) rename kernel/patches-4.14.x-rt/{0027-0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch => 0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch} (98%) rename kernel/patches-4.14.x-rt/{0028-0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch => 0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch} (90%) rename kernel/patches-4.14.x-rt/{0029-0029-hrtimer-Reduce-conditional-code-hres_active.patch => 0029-hrtimer-Reduce-conditional-code-hres_active.patch} (97%) rename kernel/patches-4.14.x-rt/{0030-0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch => 0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch} (89%) rename kernel/patches-4.14.x-rt/{0031-0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch => 0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch} (97%) rename kernel/patches-4.14.x-rt/{0032-0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch => 0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch} (96%) rename kernel/patches-4.14.x-rt/{0033-0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch => 0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch} (97%) rename kernel/patches-4.14.x-rt/{0034-0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch => 0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch} (96%) rename kernel/patches-4.14.x-rt/{0035-0035-hrtimer-Unify-handling-of-hrtimer-remove.patch => 0035-hrtimer-Unify-handling-of-hrtimer-remove.patch} (96%) rename kernel/patches-4.14.x-rt/{0036-0036-hrtimer-Unify-handling-of-remote-enqueue.patch => 0036-hrtimer-Unify-handling-of-remote-enqueue.patch} (97%) rename kernel/patches-4.14.x-rt/{0037-0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch => 0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch} (90%) rename kernel/patches-4.14.x-rt/{0038-0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch => 0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch} (94%) rename kernel/patches-4.14.x-rt/{0039-0039-hrtimer-Split-hrtimer_start_range_ns.patch => 0039-hrtimer-Split-hrtimer_start_range_ns.patch} (95%) rename kernel/patches-4.14.x-rt/{0040-0040-hrtimer-Split-__hrtimer_get_next_event.patch => 0040-hrtimer-Split-__hrtimer_get_next_event.patch} (93%) rename kernel/patches-4.14.x-rt/{0041-0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch => 0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch} (97%) rename kernel/patches-4.14.x-rt/{0042-0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch => 0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch} (96%) rename kernel/patches-4.14.x-rt/{0043-0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch => 0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch} (96%) rename kernel/patches-4.14.x-rt/{0044-0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch => 0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch} (99%) rename kernel/patches-4.14.x-rt/{0045-0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch => 0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch} (94%) rename kernel/patches-4.14.x-rt/{0046-0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch => 0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch} (98%) rename kernel/patches-4.14.x-rt/{0047-0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch => 0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch} (97%) rename kernel/patches-4.14.x-rt/{0048-0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch => 0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch} (94%) rename kernel/patches-4.14.x-rt/{0049-0049-softirq-Remove-tasklet_hrtimer.patch => 0049-softirq-Remove-tasklet_hrtimer.patch} (96%) rename kernel/patches-4.14.x-rt/{0050-0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch => 0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch} (96%) rename kernel/patches-4.14.x-rt/{0051-0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch => 0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch} (96%) rename kernel/patches-4.14.x-rt/{0052-0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch => 0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch} (96%) rename kernel/patches-4.14.x-rt/{0053-0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch => 0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch} (95%) rename kernel/patches-4.14.x-rt/{0054-0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch => 0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch} (96%) rename kernel/patches-4.14.x-rt/{0055-0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch => 0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch} (89%) rename kernel/patches-4.14.x-rt/{0056-0056-rbtree-include-rcu.h-because-we-use-it.patch => 0056-rbtree-include-rcu.h-because-we-use-it.patch} (90%) rename kernel/patches-4.14.x-rt/{0057-0057-rxrpc-remove-unused-static-variables.patch => 0057-rxrpc-remove-unused-static-variables.patch} (87%) rename kernel/patches-4.14.x-rt/{0058-0058-mfd-syscon-atmel-smc-include-string.h.patch => 0058-mfd-syscon-atmel-smc-include-string.h.patch} (83%) rename kernel/patches-4.14.x-rt/{0059-0059-sched-swait-include-wait.h.patch => 0059-sched-swait-include-wait.h.patch} (91%) rename kernel/patches-4.14.x-rt/{0060-0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch => 0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch} (93%) rename kernel/patches-4.14.x-rt/{0061-0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch => 0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch} (94%) rename kernel/patches-4.14.x-rt/{0062-0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch => 0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch} (91%) rename kernel/patches-4.14.x-rt/{0063-0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch => 0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch} (89%) rename kernel/patches-4.14.x-rt/{0064-0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch => 0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch} (87%) rename kernel/patches-4.14.x-rt/{0065-0065-drm-i915-properly-init-lockdep-class.patch => 0065-drm-i915-properly-init-lockdep-class.patch} (90%) rename kernel/patches-4.14.x-rt/{0066-0066-timerqueue-Document-return-values-of-timerqueue_add-.patch => 0066-timerqueue-Document-return-values-of-timerqueue_add-.patch} (91%) rename kernel/patches-4.14.x-rt/{0067-0067-sparc64-use-generic-rwsem-spinlocks-rt.patch => 0067-sparc64-use-generic-rwsem-spinlocks-rt.patch} (84%) rename kernel/patches-4.14.x-rt/{0068-0068-kernel-SRCU-provide-a-static-initializer.patch => 0068-kernel-SRCU-provide-a-static-initializer.patch} (97%) rename kernel/patches-4.14.x-rt/{0069-0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch => 0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch} (94%) rename kernel/patches-4.14.x-rt/{0070-0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch => 0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch} (96%) rename kernel/patches-4.14.x-rt/{0071-0071-kernel-sched-core-add-migrate_disable.patch => 0071-kernel-sched-core-add-migrate_disable.patch} (95%) rename kernel/patches-4.14.x-rt/{0072-0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch => 0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch} (96%) rename kernel/patches-4.14.x-rt/{0073-0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch => 0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch} (96%) rename kernel/patches-4.14.x-rt/{0074-0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch => 0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch} (90%) rename kernel/patches-4.14.x-rt/{0075-0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch => 0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch} (89%) rename kernel/patches-4.14.x-rt/{0076-0076-tracing-Make-traceprobe-parsing-code-reusable.patch => 0076-tracing-Make-traceprobe-parsing-code-reusable.patch} (96%) rename kernel/patches-4.14.x-rt/{0077-0077-tracing-Clean-up-hist_field_flags-enum.patch => 0077-tracing-Clean-up-hist_field_flags-enum.patch} (92%) rename kernel/patches-4.14.x-rt/{0078-0078-tracing-Add-hist_field_name-accessor.patch => 0078-tracing-Add-hist_field_name-accessor.patch} (97%) rename kernel/patches-4.14.x-rt/{0079-0079-tracing-Reimplement-log2.patch => 0079-tracing-Reimplement-log2.patch} (97%) rename kernel/patches-4.14.x-rt/{0080-0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch => 0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch} (99%) rename kernel/patches-4.14.x-rt/{0081-0081-tracing-Add-Documentation-for-log2-modifier.patch => 0081-tracing-Add-Documentation-for-log2-modifier.patch} (89%) rename kernel/patches-4.14.x-rt/{0082-0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch => 0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch} (97%) rename kernel/patches-4.14.x-rt/{0083-0083-tracing-Remove-code-which-merges-duplicates.patch => 0083-tracing-Remove-code-which-merges-duplicates.patch} (97%) rename kernel/patches-4.14.x-rt/{0084-0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch => 0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch} (95%) rename kernel/patches-4.14.x-rt/{0085-0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch => 0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch} (98%) rename kernel/patches-4.14.x-rt/{0086-0086-tracing-Add-timestamp_mode-trace-file.patch => 0086-tracing-Add-timestamp_mode-trace-file.patch} (96%) rename kernel/patches-4.14.x-rt/{0087-0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch => 0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch} (90%) rename kernel/patches-4.14.x-rt/{0088-0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch => 0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch} (97%) rename kernel/patches-4.14.x-rt/{0089-0089-tracing-Break-out-hist-trigger-assignment-parsing.patch => 0089-tracing-Break-out-hist-trigger-assignment-parsing.patch} (96%) rename kernel/patches-4.14.x-rt/{0090-0090-tracing-Add-hist-trigger-timestamp-support.patch => 0090-tracing-Add-hist-trigger-timestamp-support.patch} (98%) rename kernel/patches-4.14.x-rt/{0091-0091-tracing-Add-per-element-variable-support-to-tracing_.patch => 0091-tracing-Add-per-element-variable-support-to-tracing_.patch} (98%) rename kernel/patches-4.14.x-rt/{0092-0092-tracing-Add-hist_data-member-to-hist_field.patch => 0092-tracing-Add-hist_data-member-to-hist_field.patch} (95%) rename kernel/patches-4.14.x-rt/{0093-0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch => 0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch} (96%) rename kernel/patches-4.14.x-rt/{0094-0094-tracing-Add-variable-support-to-hist-triggers.patch => 0094-tracing-Add-variable-support-to-hist-triggers.patch} (99%) rename kernel/patches-4.14.x-rt/{0095-0095-tracing-Account-for-variables-in-named-trigger-compa.patch => 0095-tracing-Account-for-variables-in-named-trigger-compa.patch} (92%) rename kernel/patches-4.14.x-rt/{0096-0096-tracing-Move-get_hist_field_flags.patch => 0096-tracing-Move-get_hist_field_flags.patch} (95%) rename kernel/patches-4.14.x-rt/{0097-0097-tracing-Add-simple-expression-support-to-hist-trigge.patch => 0097-tracing-Add-simple-expression-support-to-hist-trigge.patch} (99%) rename kernel/patches-4.14.x-rt/{0098-0098-tracing-Generalize-per-element-hist-trigger-data.patch => 0098-tracing-Generalize-per-element-hist-trigger-data.patch} (97%) rename kernel/patches-4.14.x-rt/{0099-0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch => 0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch} (98%) rename kernel/patches-4.14.x-rt/{0100-0100-tracing-Add-hist_field-type-field.patch => 0100-tracing-Add-hist_field-type-field.patch} (96%) rename kernel/patches-4.14.x-rt/{0101-0101-tracing-Add-variable-reference-handling-to-hist-trig.patch => 0101-tracing-Add-variable-reference-handling-to-hist-trig.patch} (98%) rename kernel/patches-4.14.x-rt/{0102-0102-tracing-Add-hist-trigger-action-hook.patch => 0102-tracing-Add-hist-trigger-action-hook.patch} (97%) rename kernel/patches-4.14.x-rt/{0103-0103-tracing-Add-support-for-synthetic-events.patch => 0103-tracing-Add-support-for-synthetic-events.patch} (99%) rename kernel/patches-4.14.x-rt/{0104-0104-tracing-Add-support-for-field-variables.patch => 0104-tracing-Add-support-for-field-variables.patch} (99%) rename kernel/patches-4.14.x-rt/{0105-0105-tracing-Add-onmatch-hist-trigger-action-support.patch => 0105-tracing-Add-onmatch-hist-trigger-action-support.patch} (99%) rename kernel/patches-4.14.x-rt/{0106-0106-tracing-Add-onmax-hist-trigger-action-support.patch => 0106-tracing-Add-onmax-hist-trigger-action-support.patch} (98%) rename kernel/patches-4.14.x-rt/{0107-0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch => 0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch} (94%) rename kernel/patches-4.14.x-rt/{0108-0108-tracing-Add-cpu-field-for-hist-triggers.patch => 0108-tracing-Add-cpu-field-for-hist-triggers.patch} (96%) rename kernel/patches-4.14.x-rt/{0109-0109-tracing-Add-hist-trigger-support-for-variable-refere.patch => 0109-tracing-Add-hist-trigger-support-for-variable-refere.patch} (97%) rename kernel/patches-4.14.x-rt/{0110-0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch => 0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch} (99%) rename kernel/patches-4.14.x-rt/{0111-0111-tracing-Add-inter-event-hist-trigger-Documentation.patch => 0111-tracing-Add-inter-event-hist-trigger-Documentation.patch} (99%) rename kernel/patches-4.14.x-rt/{0112-0112-tracing-Make-tracing_set_clock-non-static.patch => 0112-tracing-Make-tracing_set_clock-non-static.patch} (88%) rename kernel/patches-4.14.x-rt/{0113-0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch => 0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch} (97%) rename kernel/patches-4.14.x-rt/{0114-0114-ring-buffer-Bring-back-context-level-recursive-check.patch => 0114-ring-buffer-Bring-back-context-level-recursive-check.patch} (97%) rename kernel/patches-4.14.x-rt/{0115-0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch => 0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch} (91%) rename kernel/patches-4.14.x-rt/{0116-0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch => 0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch} (97%) rename kernel/patches-4.14.x-rt/{0117-0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch => 0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch} (93%) rename kernel/patches-4.14.x-rt/{0118-0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch => 0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch} (90%) rename kernel/patches-4.14.x-rt/{0119-0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch => 0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch} (99%) rename kernel/patches-4.14.x-rt/{0120-0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch => 0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch} (95%) rename kernel/patches-4.14.x-rt/{0121-0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch => 0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch} (89%) rename kernel/patches-4.14.x-rt/{0122-0122-tracing-Add-action-comparisons-when-testing-matching.patch => 0122-tracing-Add-action-comparisons-when-testing-matching.patch} (95%) rename kernel/patches-4.14.x-rt/{0123-0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch => 0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch} (91%) rename kernel/patches-4.14.x-rt/{0124-0124-block-Shorten-interrupt-disabled-regions.patch => 0124-block-Shorten-interrupt-disabled-regions.patch} (95%) rename kernel/patches-4.14.x-rt/{0125-0125-timekeeping-Split-jiffies-seqlock.patch => 0125-timekeeping-Split-jiffies-seqlock.patch} (97%) rename kernel/patches-4.14.x-rt/{0126-0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch => 0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch} (88%) rename kernel/patches-4.14.x-rt/{0127-0127-signal-Revert-ptrace-preempt-magic.patch => 0127-signal-Revert-ptrace-preempt-magic.patch} (79%) rename kernel/patches-4.14.x-rt/{0128-0128-arm-Convert-arm-boot_lock-to-raw.patch => 0128-arm-Convert-arm-boot_lock-to-raw.patch} (99%) rename kernel/patches-4.14.x-rt/{0129-0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch => 0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch} (95%) rename kernel/patches-4.14.x-rt/{0130-0130-posix-timers-Prevent-broadcast-signals.patch => 0130-posix-timers-Prevent-broadcast-signals.patch} (89%) rename kernel/patches-4.14.x-rt/{0131-0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch => 0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch} (95%) rename kernel/patches-4.14.x-rt/{0132-0132-drivers-random-Reduce-preempt-disabled-region.patch => 0132-drivers-random-Reduce-preempt-disabled-region.patch} (88%) rename kernel/patches-4.14.x-rt/{0133-0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch => 0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch} (97%) rename kernel/patches-4.14.x-rt/{0134-0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch => 0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch} (92%) rename kernel/patches-4.14.x-rt/{0135-0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch => 0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch} (97%) delete mode 100644 kernel/patches-4.14.x-rt/0136-0136-drivers-net-Use-disable_irq_nosync-in-8139too.patch rename kernel/patches-4.14.x-rt/{0137-0137-suspend-Prevent-might-sleep-splats.patch => 0136-suspend-Prevent-might-sleep-splats.patch} (95%) rename kernel/patches-4.14.x-rt/{0138-0138-net-flip-lock-dep-thingy.patch.patch => 0137-net-flip-lock-dep-thingy.patch.patch} (96%) rename kernel/patches-4.14.x-rt/{0139-0139-net-sched-Use-msleep-instead-of-yield.patch => 0138-net-sched-Use-msleep-instead-of-yield.patch} (96%) rename kernel/patches-4.14.x-rt/{0140-0140-net-core-disable-NET_RX_BUSY_POLL.patch => 0139-net-core-disable-NET_RX_BUSY_POLL.patch} (88%) rename kernel/patches-4.14.x-rt/{0141-0141-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch => 0140-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch} (88%) rename kernel/patches-4.14.x-rt/{0142-0142-rcu-segcblist-include-rcupdate.h.patch => 0141-rcu-segcblist-include-rcupdate.h.patch} (84%) rename kernel/patches-4.14.x-rt/{0143-0143-printk-Add-a-printk-kill-switch.patch => 0142-printk-Add-a-printk-kill-switch.patch} (97%) rename kernel/patches-4.14.x-rt/{0144-0144-printk-Add-force_early_printk-boot-param-to-help-wit.patch => 0143-printk-Add-force_early_printk-boot-param-to-help-wit.patch} (88%) rename kernel/patches-4.14.x-rt/{0145-0145-rt-Provide-PREEMPT_RT_BASE-config-switch.patch => 0144-rt-Provide-PREEMPT_RT_BASE-config-switch.patch} (91%) rename kernel/patches-4.14.x-rt/{0146-0146-kconfig-Disable-config-options-which-are-not-RT-comp.patch => 0145-kconfig-Disable-config-options-which-are-not-RT-comp.patch} (85%) rename kernel/patches-4.14.x-rt/{0147-0147-kconfig-Add-PREEMPT_RT_FULL.patch => 0146-kconfig-Add-PREEMPT_RT_FULL.patch} (93%) rename kernel/patches-4.14.x-rt/{0148-0148-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch => 0147-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch} (82%) rename kernel/patches-4.14.x-rt/{0149-0149-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch => 0148-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch} (91%) rename kernel/patches-4.14.x-rt/{0150-0150-rt-local_irq_-variants-depending-on-RT-RT.patch => 0149-rt-local_irq_-variants-depending-on-RT-RT.patch} (93%) rename kernel/patches-4.14.x-rt/{0151-0151-preempt-Provide-preempt_-_-no-rt-variants.patch => 0150-preempt-Provide-preempt_-_-no-rt-variants.patch} (91%) rename kernel/patches-4.14.x-rt/{0152-0152-futex-workaround-migrate_disable-enable-in-different.patch => 0151-futex-workaround-migrate_disable-enable-in-different.patch} (93%) rename kernel/patches-4.14.x-rt/{0153-0153-rt-Add-local-irq-locks.patch => 0152-rt-Add-local-irq-locks.patch} (98%) rename kernel/patches-4.14.x-rt/{0154-0154-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch => 0153-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch} (86%) rename kernel/patches-4.14.x-rt/{0155-0155-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch => 0154-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch} (97%) rename kernel/patches-4.14.x-rt/{0156-0156-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch => 0155-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch} (91%) rename kernel/patches-4.14.x-rt/{0157-0157-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch => 0156-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch} (93%) rename kernel/patches-4.14.x-rt/{0158-0158-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch => 0157-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch} (86%) rename kernel/patches-4.14.x-rt/{0159-0159-usb-Use-_nort-in-giveback-function.patch => 0158-usb-Use-_nort-in-giveback-function.patch} (95%) rename kernel/patches-4.14.x-rt/{0160-0160-mm-scatterlist-Do-not-disable-irqs-on-RT.patch => 0159-mm-scatterlist-Do-not-disable-irqs-on-RT.patch} (84%) rename kernel/patches-4.14.x-rt/{0161-0161-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch => 0160-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch} (98%) rename kernel/patches-4.14.x-rt/{0162-0162-signal-Make-__lock_task_sighand-RT-aware.patch => 0161-signal-Make-__lock_task_sighand-RT-aware.patch} (86%) rename kernel/patches-4.14.x-rt/{0163-0163-signal-x86-Delay-calling-signals-in-atomic.patch => 0162-signal-x86-Delay-calling-signals-in-atomic.patch} (95%) rename kernel/patches-4.14.x-rt/{0164-0164-x86-signal-delay-calling-signals-on-32bit.patch => 0163-x86-signal-delay-calling-signals-on-32bit.patch} (92%) rename kernel/patches-4.14.x-rt/{0165-0165-net-wireless-Use-WARN_ON_NORT.patch => 0164-net-wireless-Use-WARN_ON_NORT.patch} (81%) rename kernel/patches-4.14.x-rt/{0166-0166-buffer_head-Replace-bh_uptodate_lock-for-rt.patch => 0165-buffer_head-Replace-bh_uptodate_lock-for-rt.patch} (98%) rename kernel/patches-4.14.x-rt/{0167-0167-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch => 0166-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch} (95%) rename kernel/patches-4.14.x-rt/{0168-0168-list_bl-Make-list-head-locking-RT-safe.patch => 0167-list_bl-Make-list-head-locking-RT-safe.patch} (96%) rename kernel/patches-4.14.x-rt/{0169-0169-list_bl-fixup-bogus-lockdep-warning.patch => 0168-list_bl-fixup-bogus-lockdep-warning.patch} (95%) rename kernel/patches-4.14.x-rt/{0170-0170-genirq-Disable-irqpoll-on-rt.patch => 0169-genirq-Disable-irqpoll-on-rt.patch} (90%) rename kernel/patches-4.14.x-rt/{0171-0171-genirq-Force-interrupt-thread-on-RT.patch => 0170-genirq-Force-interrupt-thread-on-RT.patch} (91%) rename kernel/patches-4.14.x-rt/{0172-0172-drivers-net-vortex-fix-locking-issues.patch => 0171-drivers-net-vortex-fix-locking-issues.patch} (92%) rename kernel/patches-4.14.x-rt/{0173-0173-delayacct-use-raw_spinlocks.patch => 0172-delayacct-use-raw_spinlocks.patch} (96%) rename kernel/patches-4.14.x-rt/{0174-0174-mm-page_alloc-rt-friendly-per-cpu-pages.patch => 0173-mm-page_alloc-rt-friendly-per-cpu-pages.patch} (95%) rename kernel/patches-4.14.x-rt/{0175-0175-mm-page_alloc-Reduce-lock-sections-further.patch => 0174-mm-page_alloc-Reduce-lock-sections-further.patch} (97%) rename kernel/patches-4.14.x-rt/{0176-0176-mm-swap-Convert-to-percpu-locked.patch => 0175-mm-swap-Convert-to-percpu-locked.patch} (96%) rename kernel/patches-4.14.x-rt/{0177-0177-mm-perform-lru_add_drain_all-remotely.patch => 0176-mm-perform-lru_add_drain_all-remotely.patch} (96%) rename kernel/patches-4.14.x-rt/{0178-0178-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch => 0177-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch} (97%) rename kernel/patches-4.14.x-rt/{0179-0179-ARM-Initialize-split-page-table-locks-for-vector-pag.patch => 0178-ARM-Initialize-split-page-table-locks-for-vector-pag.patch} (94%) rename kernel/patches-4.14.x-rt/{0180-0180-mm-bounce-Use-local_irq_save_nort.patch => 0179-mm-bounce-Use-local_irq_save_nort.patch} (85%) rename kernel/patches-4.14.x-rt/{0181-0181-mm-Allow-only-slub-on-RT.patch => 0180-mm-Allow-only-slub-on-RT.patch} (87%) rename kernel/patches-4.14.x-rt/{0182-0182-mm-Enable-SLUB-for-RT.patch => 0181-mm-Enable-SLUB-for-RT.patch} (99%) rename kernel/patches-4.14.x-rt/{0183-0183-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch => 0182-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch} (85%) rename kernel/patches-4.14.x-rt/{0184-0184-slub-Enable-irqs-for-__GFP_WAIT.patch => 0183-slub-Enable-irqs-for-__GFP_WAIT.patch} (90%) rename kernel/patches-4.14.x-rt/{0185-0185-slub-Disable-SLUB_CPU_PARTIAL.patch => 0184-slub-Disable-SLUB_CPU_PARTIAL.patch} (94%) rename kernel/patches-4.14.x-rt/{0186-0186-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch => 0185-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch} (85%) rename kernel/patches-4.14.x-rt/{0187-0187-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch => 0186-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch} (93%) rename kernel/patches-4.14.x-rt/{0188-0188-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch => 0187-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch} (84%) rename kernel/patches-4.14.x-rt/{0189-0189-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch => 0188-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch} (86%) rename kernel/patches-4.14.x-rt/{0190-0190-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch => 0189-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch} (97%) rename kernel/patches-4.14.x-rt/{0191-0191-radix-tree-use-local-locks.patch => 0190-radix-tree-use-local-locks.patch} (97%) rename kernel/patches-4.14.x-rt/{0192-0192-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch => 0191-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch} (83%) rename kernel/patches-4.14.x-rt/{0193-0193-timers-Prepare-for-full-preemption.patch => 0192-timers-Prepare-for-full-preemption.patch} (96%) rename kernel/patches-4.14.x-rt/{0194-0194-timer-delay-waking-softirqs-from-the-jiffy-tick.patch => 0193-timer-delay-waking-softirqs-from-the-jiffy-tick.patch} (95%) rename kernel/patches-4.14.x-rt/{0195-0195-nohz-Prevent-erroneous-tick-stop-invocations.patch => 0194-nohz-Prevent-erroneous-tick-stop-invocations.patch} (93%) rename kernel/patches-4.14.x-rt/{0196-0196-x86-kvm-Require-const-tsc-for-RT.patch => 0195-x86-kvm-Require-const-tsc-for-RT.patch} (78%) rename kernel/patches-4.14.x-rt/{0197-0197-wait.h-include-atomic.h.patch => 0196-wait.h-include-atomic.h.patch} (90%) rename kernel/patches-4.14.x-rt/{0198-0198-work-simple-Simple-work-queue-implemenation.patch => 0197-work-simple-Simple-work-queue-implemenation.patch} (97%) rename kernel/patches-4.14.x-rt/{0199-0199-completion-Use-simple-wait-queues.patch => 0198-completion-Use-simple-wait-queues.patch} (96%) rename kernel/patches-4.14.x-rt/{0200-0200-fs-aio-simple-simple-work.patch => 0199-fs-aio-simple-simple-work.patch} (92%) rename kernel/patches-4.14.x-rt/{0201-0201-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch => 0200-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch} (96%) rename kernel/patches-4.14.x-rt/{0202-0202-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch => 0201-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch} (93%) rename kernel/patches-4.14.x-rt/{0203-0203-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch => 0202-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch} (97%) rename kernel/patches-4.14.x-rt/{0204-0204-hrtimers-Prepare-full-preemption.patch => 0203-hrtimers-Prepare-full-preemption.patch} (98%) rename kernel/patches-4.14.x-rt/{0205-0205-hrtimer-by-timers-by-default-into-the-softirq-contex.patch => 0204-hrtimer-by-timers-by-default-into-the-softirq-contex.patch} (93%) rename kernel/patches-4.14.x-rt/{0206-0206-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch => 0205-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch} (87%) rename kernel/patches-4.14.x-rt/{0207-0207-posix-timers-user-proper-timer-while-waiting-for-ala.patch => 0206-posix-timers-user-proper-timer-while-waiting-for-ala.patch} (94%) rename kernel/patches-4.14.x-rt/{0208-0208-posix-timers-move-the-rcu-head-out-of-the-union.patch => 0207-posix-timers-move-the-rcu-head-out-of-the-union.patch} (93%) rename kernel/patches-4.14.x-rt/{0209-0209-hrtimer-Move-schedule_work-call-to-helper-thread.patch => 0208-hrtimer-Move-schedule_work-call-to-helper-thread.patch} (95%) rename kernel/patches-4.14.x-rt/{0210-0210-timer-fd-Prevent-live-lock.patch => 0209-timer-fd-Prevent-live-lock.patch} (87%) rename kernel/patches-4.14.x-rt/{0211-0211-posix-timers-Thread-posix-cpu-timers-on-rt.patch => 0210-posix-timers-Thread-posix-cpu-timers-on-rt.patch} (97%) rename kernel/patches-4.14.x-rt/{0212-0212-sched-Move-task_struct-cleanup-to-RCU.patch => 0211-sched-Move-task_struct-cleanup-to-RCU.patch} (92%) rename kernel/patches-4.14.x-rt/{0213-0213-sched-Limit-the-number-of-task-migrations-per-batch.patch => 0212-sched-Limit-the-number-of-task-migrations-per-batch.patch} (82%) rename kernel/patches-4.14.x-rt/{0214-0214-sched-Move-mmdrop-to-RCU-on-RT.patch => 0213-sched-Move-mmdrop-to-RCU-on-RT.patch} (91%) rename kernel/patches-4.14.x-rt/{0215-0215-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch => 0214-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch} (91%) rename kernel/patches-4.14.x-rt/{0216-0216-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch => 0215-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch} (90%) rename kernel/patches-4.14.x-rt/{0217-0217-sched-Prevent-task-state-corruption-by-spurious-lock.patch => 0216-sched-Prevent-task-state-corruption-by-spurious-lock.patch} (93%) rename kernel/patches-4.14.x-rt/{0218-0218-sched-Remove-TASK_ALL.patch => 0217-sched-Remove-TASK_ALL.patch} (84%) rename kernel/patches-4.14.x-rt/{0219-0219-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch => 0218-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch} (87%) rename kernel/patches-4.14.x-rt/{0220-0220-sched-Take-RT-softirq-semantics-into-account-in-cond.patch => 0219-sched-Take-RT-softirq-semantics-into-account-in-cond.patch} (77%) rename kernel/patches-4.14.x-rt/{0221-0221-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch => 0220-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch} (85%) rename kernel/patches-4.14.x-rt/{0222-0222-sched-Disable-TTWU_QUEUE-on-RT.patch => 0221-sched-Disable-TTWU_QUEUE-on-RT.patch} (87%) rename kernel/patches-4.14.x-rt/{0223-0223-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch => 0222-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch} (87%) rename kernel/patches-4.14.x-rt/{0224-0224-sched-ttwu-Return-success-when-only-changing-the-sav.patch => 0223-sched-ttwu-Return-success-when-only-changing-the-sav.patch} (86%) rename kernel/patches-4.14.x-rt/{0225-0225-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch => 0224-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch} (89%) rename kernel/patches-4.14.x-rt/{0226-0226-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch => 0225-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch} (93%) rename kernel/patches-4.14.x-rt/{0227-0227-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch => 0226-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch} (79%) rename kernel/patches-4.14.x-rt/{0228-0228-stop_machine-Use-raw-spinlocks.patch => 0227-stop_machine-Use-raw-spinlocks.patch} (76%) rename kernel/patches-4.14.x-rt/{0229-0229-hotplug-Lightweight-get-online-cpus.patch => 0228-hotplug-Lightweight-get-online-cpus.patch} (84%) rename kernel/patches-4.14.x-rt/{0230-0230-trace-Add-migrate-disabled-counter-to-tracing-output.patch => 0229-trace-Add-migrate-disabled-counter-to-tracing-output.patch} (94%) rename kernel/patches-4.14.x-rt/{0231-0231-lockdep-Make-it-RT-aware.patch => 0230-lockdep-Make-it-RT-aware.patch} (95%) rename kernel/patches-4.14.x-rt/{0232-0232-lockdep-disable-self-test.patch => 0231-lockdep-disable-self-test.patch} (89%) rename kernel/patches-4.14.x-rt/{0233-0233-locking-Disable-spin-on-owner-for-RT.patch => 0232-locking-Disable-spin-on-owner-for-RT.patch} (88%) rename kernel/patches-4.14.x-rt/{0234-0234-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch => 0233-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch} (98%) rename kernel/patches-4.14.x-rt/{0235-0235-softirq-Check-preemption-after-reenabling-interrupts.patch => 0234-softirq-Check-preemption-after-reenabling-interrupts.patch} (96%) rename kernel/patches-4.14.x-rt/{0236-0236-softirq-Disable-softirq-stacks-for-RT.patch => 0235-softirq-Disable-softirq-stacks-for-RT.patch} (97%) rename kernel/patches-4.14.x-rt/{0237-0237-softirq-Split-softirq-locks.patch => 0236-softirq-Split-softirq-locks.patch} (98%) rename kernel/patches-4.14.x-rt/{0238-0238-kernel-softirq-unlock-with-irqs-on.patch => 0237-kernel-softirq-unlock-with-irqs-on.patch} (86%) rename kernel/patches-4.14.x-rt/{0239-0239-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch => 0238-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch} (97%) rename kernel/patches-4.14.x-rt/{0240-0240-softirq-split-timer-softirqs-out-of-ksoftirqd.patch => 0239-softirq-split-timer-softirqs-out-of-ksoftirqd.patch} (98%) rename kernel/patches-4.14.x-rt/{0241-0241-softirq-wake-the-timer-softirq-if-needed.patch => 0240-softirq-wake-the-timer-softirq-if-needed.patch} (94%) rename kernel/patches-4.14.x-rt/{0242-0242-rtmutex-trylock-is-okay-on-RT.patch => 0241-rtmutex-trylock-is-okay-on-RT.patch} (87%) rename kernel/patches-4.14.x-rt/{0243-0243-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch => 0242-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch} (97%) rename kernel/patches-4.14.x-rt/{0244-0244-rtmutex-Handle-the-various-new-futex-race-conditions.patch => 0243-rtmutex-Handle-the-various-new-futex-race-conditions.patch} (98%) rename kernel/patches-4.14.x-rt/{0245-0245-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch => 0244-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch} (96%) rename kernel/patches-4.14.x-rt/{0246-0246-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch => 0245-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch} (89%) rename kernel/patches-4.14.x-rt/{0247-0247-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch => 0246-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch} (91%) rename kernel/patches-4.14.x-rt/{0248-0248-pid.h-include-atomic.h.patch => 0247-pid.h-include-atomic.h.patch} (89%) rename kernel/patches-4.14.x-rt/{0249-0249-arm-include-definition-for-cpumask_t.patch => 0248-arm-include-definition-for-cpumask_t.patch} (84%) rename kernel/patches-4.14.x-rt/{0250-0250-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch => 0249-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch} (87%) rename kernel/patches-4.14.x-rt/{0251-0251-rtmutex-Add-rtmutex_lock_killable.patch => 0250-rtmutex-Add-rtmutex_lock_killable.patch} (93%) rename kernel/patches-4.14.x-rt/{0252-0252-rtmutex-Make-lock_killable-work.patch => 0251-rtmutex-Make-lock_killable-work.patch} (91%) rename kernel/patches-4.14.x-rt/{0253-0253-spinlock-Split-the-lock-types-header.patch => 0252-spinlock-Split-the-lock-types-header.patch} (97%) rename kernel/patches-4.14.x-rt/{0254-0254-rtmutex-Avoid-include-hell.patch => 0253-rtmutex-Avoid-include-hell.patch} (85%) rename kernel/patches-4.14.x-rt/{0255-0255-rbtree-don-t-include-the-rcu-header.patch => 0254-rbtree-don-t-include-the-rcu-header.patch} (98%) rename kernel/patches-4.14.x-rt/{0256-0256-rtmutex-Provide-rt_mutex_slowlock_locked.patch => 0255-rtmutex-Provide-rt_mutex_slowlock_locked.patch} (97%) rename kernel/patches-4.14.x-rt/{0257-0257-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch => 0256-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch} (97%) rename kernel/patches-4.14.x-rt/{0258-0258-rtmutex-add-sleeping-lock-implementation.patch => 0257-rtmutex-add-sleeping-lock-implementation.patch} (98%) rename kernel/patches-4.14.x-rt/{0259-0259-rtmutex-add-mutex-implementation-based-on-rtmutex.patch => 0258-rtmutex-add-mutex-implementation-based-on-rtmutex.patch} (98%) rename kernel/patches-4.14.x-rt/{0260-0260-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch => 0259-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch} (98%) rename kernel/patches-4.14.x-rt/{0261-0261-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch => 0260-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch} (99%) rename kernel/patches-4.14.x-rt/{0262-0262-rtmutex-wire-up-RT-s-locking.patch => 0261-rtmutex-wire-up-RT-s-locking.patch} (97%) rename kernel/patches-4.14.x-rt/{0263-0263-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch => 0262-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch} (98%) rename kernel/patches-4.14.x-rt/{0264-0264-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch => 0263-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch} (95%) rename kernel/patches-4.14.x-rt/{0265-0265-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch => 0264-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch} (89%) rename kernel/patches-4.14.x-rt/{0266-0266-ptrace-fix-ptrace-vs-tasklist_lock-race.patch => 0265-ptrace-fix-ptrace-vs-tasklist_lock-race.patch} (94%) rename kernel/patches-4.14.x-rt/{0267-0267-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch => 0266-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch} (88%) rename kernel/patches-4.14.x-rt/{0268-0268-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch => 0267-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch} (90%) rename kernel/patches-4.14.x-rt/{0269-0269-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch => 0268-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch} (98%) rename kernel/patches-4.14.x-rt/{0270-0270-rcu-Frob-softirq-test.patch => 0269-rcu-Frob-softirq-test.patch} (98%) rename kernel/patches-4.14.x-rt/{0271-0271-rcu-Merge-RCU-bh-into-RCU-preempt.patch => 0270-rcu-Merge-RCU-bh-into-RCU-preempt.patch} (98%) rename kernel/patches-4.14.x-rt/{0272-0272-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch => 0271-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch} (89%) rename kernel/patches-4.14.x-rt/{0273-0273-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch => 0272-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch} (91%) rename kernel/patches-4.14.x-rt/{0274-0274-tty-serial-omap-Make-the-locking-RT-aware.patch => 0273-tty-serial-omap-Make-the-locking-RT-aware.patch} (91%) rename kernel/patches-4.14.x-rt/{0275-0275-tty-serial-pl011-Make-the-locking-work-on-RT.patch => 0274-tty-serial-pl011-Make-the-locking-work-on-RT.patch} (82%) rename kernel/patches-4.14.x-rt/{0276-0276-rt-Improve-the-serial-console-PASS_LIMIT.patch => 0275-rt-Improve-the-serial-console-PASS_LIMIT.patch} (90%) rename kernel/patches-4.14.x-rt/{0277-0277-tty-serial-8250-don-t-take-the-trylock-during-oops.patch => 0276-tty-serial-8250-don-t-take-the-trylock-during-oops.patch} (79%) rename kernel/patches-4.14.x-rt/{0278-0278-locking-percpu-rwsem-Remove-preempt_disable-variants.patch => 0277-locking-percpu-rwsem-Remove-preempt_disable-variants.patch} (97%) rename kernel/patches-4.14.x-rt/{0279-0279-fs-namespace-preemption-fix.patch => 0278-fs-namespace-preemption-fix.patch} (85%) rename kernel/patches-4.14.x-rt/{0280-0280-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch => 0279-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch} (95%) rename kernel/patches-4.14.x-rt/{0281-0281-block-Turn-off-warning-which-is-bogus-on-RT.patch => 0280-block-Turn-off-warning-which-is-bogus-on-RT.patch} (84%) rename kernel/patches-4.14.x-rt/{0282-0282-fs-ntfs-disable-interrupt-only-on-RT.patch => 0281-fs-ntfs-disable-interrupt-only-on-RT.patch} (95%) rename kernel/patches-4.14.x-rt/{0283-0283-fs-jbd2-pull-your-plug-when-waiting-for-space.patch => 0282-fs-jbd2-pull-your-plug-when-waiting-for-space.patch} (86%) rename kernel/patches-4.14.x-rt/{0284-0284-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch => 0283-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch} (87%) rename kernel/patches-4.14.x-rt/{0285-0285-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch => 0284-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch} (78%) rename kernel/patches-4.14.x-rt/{0286-0286-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch => 0285-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch} (85%) rename kernel/patches-4.14.x-rt/{0287-0287-x86-Convert-mce-timer-to-hrtimer.patch => 0286-x86-Convert-mce-timer-to-hrtimer.patch} (97%) rename kernel/patches-4.14.x-rt/{0288-0288-x86-mce-use-swait-queue-for-mce-wakeups.patch => 0287-x86-mce-use-swait-queue-for-mce-wakeups.patch} (96%) rename kernel/patches-4.14.x-rt/{0289-0289-x86-stackprotector-Avoid-random-pool-on-rt.patch => 0288-x86-stackprotector-Avoid-random-pool-on-rt.patch} (93%) rename kernel/patches-4.14.x-rt/{0290-0290-x86-Use-generic-rwsem_spinlocks-on-rt.patch => 0289-x86-Use-generic-rwsem_spinlocks-on-rt.patch} (84%) rename kernel/patches-4.14.x-rt/{0291-0291-x86-UV-raw_spinlock-conversion.patch => 0290-x86-UV-raw_spinlock-conversion.patch} (98%) rename kernel/patches-4.14.x-rt/{0292-0292-thermal-Defer-thermal-wakups-to-threads.patch => 0291-thermal-Defer-thermal-wakups-to-threads.patch} (96%) rename kernel/patches-4.14.x-rt/{0293-0293-fs-epoll-Do-not-disable-preemption-on-RT.patch => 0292-fs-epoll-Do-not-disable-preemption-on-RT.patch} (87%) rename kernel/patches-4.14.x-rt/{0294-0294-mm-vmalloc-Another-preempt-disable-region-which-suck.patch => 0293-mm-vmalloc-Another-preempt-disable-region-which-suck.patch} (93%) rename kernel/patches-4.14.x-rt/{0295-0295-block-mq-use-cpu_light.patch => 0294-block-mq-use-cpu_light.patch} (84%) rename kernel/patches-4.14.x-rt/{0296-0296-block-mq-do-not-invoke-preempt_disable.patch => 0295-block-mq-do-not-invoke-preempt_disable.patch} (76%) rename kernel/patches-4.14.x-rt/{0297-0297-block-mq-don-t-complete-requests-via-IPI.patch => 0296-block-mq-don-t-complete-requests-via-IPI.patch} (89%) rename kernel/patches-4.14.x-rt/{0298-0298-md-raid5-Make-raid5_percpu-handling-RT-aware.patch => 0297-md-raid5-Make-raid5_percpu-handling-RT-aware.patch} (88%) rename kernel/patches-4.14.x-rt/{0299-0299-md-raid5-do-not-disable-interrupts.patch => 0298-md-raid5-do-not-disable-interrupts.patch} (91%) rename kernel/patches-4.14.x-rt/{0300-0300-rt-Introduce-cpu_chill.patch => 0299-rt-Introduce-cpu_chill.patch} (97%) rename kernel/patches-4.14.x-rt/{0301-0301-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch => 0300-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch} (96%) rename kernel/patches-4.14.x-rt/{0302-0302-kernel-cpu_chill-use-schedule_hrtimeout.patch => 0301-kernel-cpu_chill-use-schedule_hrtimeout.patch} (91%) rename kernel/patches-4.14.x-rt/{0303-0303-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch => 0302-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch} (95%) rename kernel/patches-4.14.x-rt/{0304-0304-rtmutex-annotate-sleeping-lock-context.patch => 0303-rtmutex-annotate-sleeping-lock-context.patch} (95%) rename kernel/patches-4.14.x-rt/{0305-0305-block-blk-mq-Use-swait.patch => 0304-block-blk-mq-Use-swait.patch} (93%) rename kernel/patches-4.14.x-rt/{0306-0306-Revert-block-blk-mq-Use-swait.patch => 0305-Revert-block-blk-mq-Use-swait.patch} (89%) rename kernel/patches-4.14.x-rt/{0307-0307-block-blk-mq-move-blk_queue_usage_counter_release-in.patch => 0306-block-blk-mq-move-blk_queue_usage_counter_release-in.patch} (97%) rename kernel/patches-4.14.x-rt/{0308-0308-block-Use-cpu_chill-for-retry-loops.patch => 0307-block-Use-cpu_chill-for-retry-loops.patch} (90%) rename kernel/patches-4.14.x-rt/{0309-0309-fs-dcache-Use-cpu_chill-in-trylock-loops.patch => 0308-fs-dcache-Use-cpu_chill-in-trylock-loops.patch} (91%) rename kernel/patches-4.14.x-rt/{0310-0310-net-Use-cpu_chill-instead-of-cpu_relax.patch => 0309-net-Use-cpu_chill-instead-of-cpu_relax.patch} (91%) rename kernel/patches-4.14.x-rt/{0311-0311-fs-dcache-use-swait_queue-instead-of-waitqueue.patch => 0310-fs-dcache-use-swait_queue-instead-of-waitqueue.patch} (93%) rename kernel/patches-4.14.x-rt/{0312-0312-workqueue-Use-normal-rcu.patch => 0311-workqueue-Use-normal-rcu.patch} (98%) rename kernel/patches-4.14.x-rt/{0313-0313-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch => 0312-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch} (96%) rename kernel/patches-4.14.x-rt/{0314-0314-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch => 0313-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch} (97%) rename kernel/patches-4.14.x-rt/{0315-0315-sched-Distangle-worker-accounting-from-rqlock.patch => 0314-sched-Distangle-worker-accounting-from-rqlock.patch} (95%) rename kernel/patches-4.14.x-rt/{0316-0316-percpu_ida-Use-local-locks.patch => 0315-percpu_ida-Use-local-locks.patch} (95%) rename kernel/patches-4.14.x-rt/{0317-0317-debugobjects-Make-RT-aware.patch => 0316-debugobjects-Make-RT-aware.patch} (85%) rename kernel/patches-4.14.x-rt/{0318-0318-jump-label-disable-if-stop_machine-is-used.patch => 0317-jump-label-disable-if-stop_machine-is-used.patch} (90%) rename kernel/patches-4.14.x-rt/{0319-0319-seqlock-Prevent-rt-starvation.patch => 0318-seqlock-Prevent-rt-starvation.patch} (97%) rename kernel/patches-4.14.x-rt/{0320-0320-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch => 0319-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch} (94%) rename kernel/patches-4.14.x-rt/{0321-0321-net-Use-skbufhead-with-raw-lock.patch => 0320-net-Use-skbufhead-with-raw-lock.patch} (96%) rename kernel/patches-4.14.x-rt/{0322-0322-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch => 0321-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch} (92%) rename kernel/patches-4.14.x-rt/{0323-0323-net-move-xmit_recursion-to-per-task-variable-on-RT.patch => 0322-net-move-xmit_recursion-to-per-task-variable-on-RT.patch} (94%) rename kernel/patches-4.14.x-rt/{0324-0324-net-use-task_struct-instead-of-CPU-number-as-the-que.patch => 0323-net-use-task_struct-instead-of-CPU-number-as-the-que.patch} (96%) rename kernel/patches-4.14.x-rt/{0325-0325-net-provide-a-way-to-delegate-processing-a-softirq-t.patch => 0324-net-provide-a-way-to-delegate-processing-a-softirq-t.patch} (93%) rename kernel/patches-4.14.x-rt/{0326-0326-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch => 0325-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch} (87%) rename kernel/patches-4.14.x-rt/{0327-0327-net-Qdisc-use-a-seqlock-instead-seqcount.patch => 0326-net-Qdisc-use-a-seqlock-instead-seqcount.patch} (98%) rename kernel/patches-4.14.x-rt/{0328-0328-net-add-back-the-missing-serialization-in-ip_send_un.patch => 0327-net-add-back-the-missing-serialization-in-ip_send_un.patch} (95%) rename kernel/patches-4.14.x-rt/{0329-0329-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch => 0328-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch} (93%) rename kernel/patches-4.14.x-rt/{0330-0330-net-add-a-lock-around-icmp_sk.patch => 0329-net-add-a-lock-around-icmp_sk.patch} (94%) rename kernel/patches-4.14.x-rt/{0331-0331-net-use-trylock-in-icmp_sk.patch => 0330-net-use-trylock-in-icmp_sk.patch} (94%) rename kernel/patches-4.14.x-rt/{0332-0332-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch => 0331-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch} (93%) rename kernel/patches-4.14.x-rt/{0333-0333-irqwork-push-most-work-into-softirq-context.patch => 0332-irqwork-push-most-work-into-softirq-context.patch} (97%) rename kernel/patches-4.14.x-rt/{0334-0334-irqwork-Move-irq-safe-work-to-irq-context.patch => 0333-irqwork-Move-irq-safe-work-to-irq-context.patch} (95%) rename kernel/patches-4.14.x-rt/{0335-0335-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch => 0334-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch} (95%) rename kernel/patches-4.14.x-rt/{0336-0336-printk-Make-rt-aware.patch => 0335-printk-Make-rt-aware.patch} (94%) rename kernel/patches-4.14.x-rt/{0337-0337-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch => 0336-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch} (90%) rename kernel/patches-4.14.x-rt/{0338-0338-printk-Drop-the-logbuf_lock-more-often.patch => 0337-printk-Drop-the-logbuf_lock-more-often.patch} (94%) rename kernel/patches-4.14.x-rt/{0339-0339-powerpc-Use-generic-rwsem-on-RT.patch => 0338-powerpc-Use-generic-rwsem-on-RT.patch} (83%) rename kernel/patches-4.14.x-rt/{0340-0340-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch => 0339-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch} (93%) rename kernel/patches-4.14.x-rt/{0341-0341-powerpc-ps3-device-init.c-adapt-to-completions-using.patch => 0340-powerpc-ps3-device-init.c-adapt-to-completions-using.patch} (92%) rename kernel/patches-4.14.x-rt/{0342-0342-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch => 0341-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch} (89%) rename kernel/patches-4.14.x-rt/{0343-0343-arm-unwind-use-a-raw_spin_lock.patch => 0342-arm-unwind-use-a-raw_spin_lock.patch} (95%) rename kernel/patches-4.14.x-rt/{0344-0344-ARM-enable-irq-in-translation-section-permission-fau.patch => 0343-ARM-enable-irq-in-translation-section-permission-fau.patch} (96%) rename kernel/patches-4.14.x-rt/{0345-0345-genirq-update-irq_set_irqchip_state-documentation.patch => 0344-genirq-update-irq_set_irqchip_state-documentation.patch} (88%) rename kernel/patches-4.14.x-rt/{0346-0346-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch => 0345-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch} (92%) rename kernel/patches-4.14.x-rt/{0347-0347-arm64-xen-Make-XEN-depend-on-RT.patch => 0346-arm64-xen-Make-XEN-depend-on-RT.patch} (73%) rename kernel/patches-4.14.x-rt/{0348-0348-kgdb-serial-Short-term-workaround.patch => 0347-kgdb-serial-Short-term-workaround.patch} (92%) rename kernel/patches-4.14.x-rt/{0349-0349-sysfs-Add-sys-kernel-realtime-entry.patch => 0348-sysfs-Add-sys-kernel-realtime-entry.patch} (91%) rename kernel/patches-4.14.x-rt/{0350-0350-powerpc-Disable-highmem-on-RT.patch => 0349-powerpc-Disable-highmem-on-RT.patch} (83%) rename kernel/patches-4.14.x-rt/{0351-0351-mips-Disable-highmem-on-RT.patch => 0350-mips-Disable-highmem-on-RT.patch} (86%) rename kernel/patches-4.14.x-rt/{0352-0352-mm-rt-kmap_atomic-scheduling.patch => 0351-mm-rt-kmap_atomic-scheduling.patch} (97%) rename kernel/patches-4.14.x-rt/{0353-0353-mm-rt-Fix-generic-kmap_atomic-for-RT.patch => 0352-mm-rt-Fix-generic-kmap_atomic-for-RT.patch} (90%) rename kernel/patches-4.14.x-rt/{0354-0354-x86-highmem-Add-a-already-used-pte-check.patch => 0353-x86-highmem-Add-a-already-used-pte-check.patch} (85%) rename kernel/patches-4.14.x-rt/{0355-0355-arm-highmem-Flush-tlb-on-unmap.patch => 0354-arm-highmem-Flush-tlb-on-unmap.patch} (88%) rename kernel/patches-4.14.x-rt/{0356-0356-arm-Enable-highmem-for-rt.patch => 0355-arm-Enable-highmem-for-rt.patch} (97%) rename kernel/patches-4.14.x-rt/{0357-0357-scsi-fcoe-Make-RT-aware.patch => 0356-scsi-fcoe-Make-RT-aware.patch} (96%) rename kernel/patches-4.14.x-rt/{0358-0358-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch => 0357-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch} (96%) rename kernel/patches-4.14.x-rt/{0359-0359-x86-crypto-Reduce-preempt-disabled-regions.patch => 0358-x86-crypto-Reduce-preempt-disabled-regions.patch} (95%) rename kernel/patches-4.14.x-rt/{0360-0360-crypto-Reduce-preempt-disabled-regions-more-algos.patch => 0359-crypto-Reduce-preempt-disabled-regions-more-algos.patch} (97%) rename kernel/patches-4.14.x-rt/{0361-0361-crypto-limit-more-FPU-enabled-sections.patch => 0360-crypto-limit-more-FPU-enabled-sections.patch} (99%) rename kernel/patches-4.14.x-rt/{0362-0362-arm-disable-NEON-in-kernel-mode.patch => 0361-arm-disable-NEON-in-kernel-mode.patch} (97%) rename kernel/patches-4.14.x-rt/{0363-0363-dm-Make-rt-aware.patch => 0362-dm-Make-rt-aware.patch} (88%) rename kernel/patches-4.14.x-rt/{0364-0364-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch => 0363-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch} (98%) rename kernel/patches-4.14.x-rt/{0365-0365-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch => 0364-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch} (95%) rename kernel/patches-4.14.x-rt/{0366-0366-random-Make-it-work-on-rt.patch => 0365-random-Make-it-work-on-rt.patch} (97%) rename kernel/patches-4.14.x-rt/{0367-0367-random-avoid-preempt_disable-ed-section.patch => 0366-random-avoid-preempt_disable-ed-section.patch} (95%) rename kernel/patches-4.14.x-rt/{0368-0368-char-random-don-t-print-that-the-init-is-done.patch => 0367-char-random-don-t-print-that-the-init-is-done.patch} (97%) rename kernel/patches-4.14.x-rt/{0369-0369-cpu-hotplug-Implement-CPU-pinning.patch => 0368-cpu-hotplug-Implement-CPU-pinning.patch} (93%) rename kernel/patches-4.14.x-rt/{0370-0370-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch => 0369-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch} (95%) rename kernel/patches-4.14.x-rt/{0371-0371-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch => 0370-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch} (92%) rename kernel/patches-4.14.x-rt/{0372-0372-net-Remove-preemption-disabling-in-netif_rx.patch => 0371-net-Remove-preemption-disabling-in-netif_rx.patch} (92%) rename kernel/patches-4.14.x-rt/{0373-0373-net-Another-local_irq_disable-kmalloc-headache.patch => 0372-net-Another-local_irq_disable-kmalloc-headache.patch} (91%) rename kernel/patches-4.14.x-rt/{0374-0374-net-core-protect-users-of-napi_alloc_cache-against-r.patch => 0373-net-core-protect-users-of-napi_alloc_cache-against-r.patch} (95%) rename kernel/patches-4.14.x-rt/{0375-0375-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch => 0374-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch} (94%) rename kernel/patches-4.14.x-rt/{0376-0376-net-Add-a-mutex-around-devnet_rename_seq.patch => 0375-net-Add-a-mutex-around-devnet_rename_seq.patch} (95%) rename kernel/patches-4.14.x-rt/{0377-0377-crypto-Convert-crypto-notifier-chain-to-SRCU.patch => 0376-crypto-Convert-crypto-notifier-chain-to-SRCU.patch} (98%) rename kernel/patches-4.14.x-rt/{0378-0378-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch => 0377-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch} (94%) rename kernel/patches-4.14.x-rt/{0379-0379-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch => 0378-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch} (96%) rename kernel/patches-4.14.x-rt/{0380-0380-srcu-use-cpu_online-instead-custom-check.patch => 0379-srcu-use-cpu_online-instead-custom-check.patch} (95%) rename kernel/patches-4.14.x-rt/{0381-0381-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch => 0380-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch} (99%) rename kernel/patches-4.14.x-rt/{0382-0382-srcu-replace-local_irqsave-with-a-locallock.patch => 0381-srcu-replace-local_irqsave-with-a-locallock.patch} (94%) rename kernel/patches-4.14.x-rt/{0383-0383-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch => 0382-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch} (86%) rename kernel/patches-4.14.x-rt/{0384-0384-rcu-Eliminate-softirq-processing-from-rcutree.patch => 0383-rcu-Eliminate-softirq-processing-from-rcutree.patch} (96%) rename kernel/patches-4.14.x-rt/{0385-0385-rcu-make-RCU_BOOST-default-on-RT.patch => 0384-rcu-make-RCU_BOOST-default-on-RT.patch} (90%) rename kernel/patches-4.14.x-rt/{0386-0386-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch => 0385-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch} (89%) rename kernel/patches-4.14.x-rt/{0387-0387-sched-Add-support-for-lazy-preemption.patch => 0386-sched-Add-support-for-lazy-preemption.patch} (96%) rename kernel/patches-4.14.x-rt/{0388-0388-ftrace-Fix-trace-header-alignment.patch => 0387-ftrace-Fix-trace-header-alignment.patch} (92%) rename kernel/patches-4.14.x-rt/{0389-0389-x86-Support-for-lazy-preemption.patch => 0388-x86-Support-for-lazy-preemption.patch} (96%) rename kernel/patches-4.14.x-rt/{0390-0390-arm-Add-support-for-lazy-preemption.patch => 0389-arm-Add-support-for-lazy-preemption.patch} (97%) rename kernel/patches-4.14.x-rt/{0391-0391-powerpc-Add-support-for-lazy-preemption.patch => 0390-powerpc-Add-support-for-lazy-preemption.patch} (97%) rename kernel/patches-4.14.x-rt/{0392-0392-arch-arm64-Add-lazy-preempt-support.patch => 0391-arch-arm64-Add-lazy-preempt-support.patch} (96%) rename kernel/patches-4.14.x-rt/{0393-0393-leds-trigger-disable-CPU-trigger-on-RT.patch => 0392-leds-trigger-disable-CPU-trigger-on-RT.patch} (92%) rename kernel/patches-4.14.x-rt/{0394-0394-mmci-Remove-bogus-local_irq_save.patch => 0393-mmci-Remove-bogus-local_irq_save.patch} (90%) rename kernel/patches-4.14.x-rt/{0395-0395-cpufreq-drop-K8-s-driver-from-beeing-selected.patch => 0394-cpufreq-drop-K8-s-driver-from-beeing-selected.patch} (90%) rename kernel/patches-4.14.x-rt/{0396-0396-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch => 0395-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch} (95%) rename kernel/patches-4.14.x-rt/{0397-0397-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch => 0396-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch} (94%) rename kernel/patches-4.14.x-rt/{0398-0398-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch => 0397-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch} (96%) rename kernel/patches-4.14.x-rt/{0399-0399-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch => 0398-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch} (90%) rename kernel/patches-4.14.x-rt/{0400-0400-tpm_tis-fix-stall-after-iowrite-s.patch => 0399-tpm_tis-fix-stall-after-iowrite-s.patch} (95%) rename kernel/patches-4.14.x-rt/{0401-0401-pci-switchtec-Don-t-use-completion-s-wait-queue.patch => 0400-pci-switchtec-Don-t-use-completion-s-wait-queue.patch} (96%) rename kernel/patches-4.14.x-rt/{0402-0402-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch => 0401-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch} (94%) rename kernel/patches-4.14.x-rt/{0403-0403-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch => 0402-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch} (97%) rename kernel/patches-4.14.x-rt/{0404-0404-cgroups-use-simple-wait-in-css_release.patch => 0403-cgroups-use-simple-wait-in-css_release.patch} (96%) rename kernel/patches-4.14.x-rt/{0405-0405-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch => 0404-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch} (95%) rename kernel/patches-4.14.x-rt/{0406-0406-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch => 0405-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch} (95%) rename kernel/patches-4.14.x-rt/{0407-0407-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch => 0406-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch} (98%) rename kernel/patches-4.14.x-rt/{0408-0408-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch => 0407-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch} (94%) rename kernel/patches-4.14.x-rt/{0409-0409-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch => 0408-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch} (93%) rename kernel/patches-4.14.x-rt/{0410-0410-md-disable-bcache.patch => 0409-md-disable-bcache.patch} (92%) rename kernel/patches-4.14.x-rt/{0411-0411-apparmor-use-a-locallock-instead-preempt_disable.patch => 0410-apparmor-use-a-locallock-instead-preempt_disable.patch} (95%) rename kernel/patches-4.14.x-rt/{0412-0412-workqueue-Prevent-deadlock-stall-on-RT.patch => 0411-workqueue-Prevent-deadlock-stall-on-RT.patch} (95%) rename kernel/patches-4.14.x-rt/{0413-0413-Add-localversion-for-RT-release.patch => 0412-Add-localversion-for-RT-release.patch} (75%) create mode 100644 kernel/patches-4.14.x-rt/0413-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch delete mode 100644 kernel/patches-4.14.x-rt/0414-0414-Linux-4.14.40-rt30-REBASE.patch create mode 100644 kernel/patches-4.14.x-rt/0414-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch create mode 100644 kernel/patches-4.14.x-rt/0415-tracing-Restore-proper-field-flag-printing-when-disp.patch create mode 100644 kernel/patches-4.14.x-rt/0416-tracing-Uninitialized-variable-in-create_tracing_map.patch create mode 100644 kernel/patches-4.14.x-rt/0417-tracing-Fix-a-potential-NULL-dereference.patch create mode 100644 kernel/patches-4.14.x-rt/0418-Linux-4.14.52-rt34-REBASE.patch diff --git a/examples/rt-for-vmware.yml b/examples/rt-for-vmware.yml index 21cabee9a..20bc177e2 100644 --- a/examples/rt-for-vmware.yml +++ b/examples/rt-for-vmware.yml @@ -1,5 +1,5 @@ kernel: - image: linuxkit/kernel:4.14.40-rt + image: linuxkit/kernel:4.14.53-rt cmdline: "console=tty0" init: - linuxkit/init:0e4af96fecc8f752c80d41c0b7d06570cc1dc6b2 diff --git a/kernel/Makefile b/kernel/Makefile index 78879d8ff..febc0327a 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -221,14 +221,14 @@ ifeq ($(ARCH),x86_64) $(eval $(call kernel,4.17.4,4.17.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.53,4.14.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.53,4.14.x,,-dbg)) -$(eval $(call kernel,4.14.40,4.14.x,-rt,)) +$(eval $(call kernel,4.14.53,4.14.x,-rt,)) $(eval $(call kernel,4.9.111,4.9.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.4.139,4.4.x,$(EXTRA),$(DEBUG))) else ifeq ($(ARCH),aarch64) $(eval $(call kernel,4.17.4,4.17.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.53,4.14.x,$(EXTRA),$(DEBUG))) -$(eval $(call kernel,4.14.40,4.14.x,-rt,)) +$(eval $(call kernel,4.14.53,4.14.x,-rt,)) else ifeq ($(ARCH),s390x) $(eval $(call kernel,4.17.4,4.17.x,$(EXTRA),$(DEBUG))) diff --git a/kernel/patches-4.14.x-rt/0001-Revert-mm-vmstat.c-fix-vmstat_update-preemption-BUG.patch b/kernel/patches-4.14.x-rt/0001-Revert-mm-vmstat.c-fix-vmstat_update-preemption-BUG.patch new file mode 100644 index 000000000..df63b9639 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0001-Revert-mm-vmstat.c-fix-vmstat_update-preemption-BUG.patch @@ -0,0 +1,59 @@ +From 1f9863a3348be088896f745bca5cf5a31d1d2c96 Mon Sep 17 00:00:00 2001 +From: Sebastian Andrzej Siewior +Date: Wed, 11 Apr 2018 11:27:44 +0200 +Subject: [PATCH 001/418] Revert mm/vmstat.c: fix vmstat_update() preemption + BUG + +commit 97731753d44d5efcb95b994dc952c0e8195b3e96 upstream + +This patch reverts commit c7f26ccfb2c3 ("mm/vmstat.c: fix +vmstat_update() preemption BUG"). +Steven saw a "using smp_processor_id() in preemptible" message and +added a preempt_disable() section around it to keep it quiet. This is +not the right thing to do it does not fix the real problem. + +vmstat_update() is invoked by a kworker on a specific CPU. This worker +it bound to this CPU. The name of the worker was "kworker/1:1" so it +should have been a worker which was bound to CPU1. A worker which can +run on any CPU would have a `u' before the first digit. + +smp_processor_id() can be used in a preempt-enabled region as long as +the task is bound to a single CPU which is the case here. If it could +run on an arbitrary CPU then this is the problem we have an should seek +to resolve. +Not only this smp_processor_id() must not be migrated to another CPU but +also refresh_cpu_vm_stats() which might access wrong per-CPU variables. +Not to mention that other code relies on the fact that such a worker +runs on one specific CPU only. + +Therefore I revert that commit and we should look instead what broke the +affinity mask of the kworker. + +Cc: Steven J. Hill +Cc: Tejun Heo +Cc: Andrew Morton +Signed-off-by: Sebastian Andrzej Siewior +Signed-off-by: Steven Rostedt (VMware) +--- + mm/vmstat.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/mm/vmstat.c b/mm/vmstat.c +index e085b13c572e..4bb13e72ac97 100644 +--- a/mm/vmstat.c ++++ b/mm/vmstat.c +@@ -1770,11 +1770,9 @@ static void vmstat_update(struct work_struct *w) + * to occur in the future. Keep on running the + * update worker thread. + */ +- preempt_disable(); + queue_delayed_work_on(smp_processor_id(), mm_percpu_wq, + this_cpu_ptr(&vmstat_work), + round_jiffies_relative(sysctl_stat_interval)); +- preempt_enable(); + } + } + +-- +2.17.1 + diff --git a/kernel/patches-4.14.x-rt/0001-0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch b/kernel/patches-4.14.x-rt/0002-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0001-0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch rename to kernel/patches-4.14.x-rt/0002-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch index d45ca5c07..4b3c03e05 100644 --- a/kernel/patches-4.14.x-rt/0001-0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch +++ b/kernel/patches-4.14.x-rt/0002-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch @@ -1,7 +1,7 @@ -From c4e599b49e5c8d708a5aae50cba3885c08e14f10 Mon Sep 17 00:00:00 2001 +From 0ff9e891f4b361a8909d6f062f5137f041d6adaa Mon Sep 17 00:00:00 2001 From: Boqun Feng Date: Fri, 9 Mar 2018 14:56:28 +0800 -Subject: [PATCH 001/414] rtmutex: Make rt_mutex_futex_unlock() safe for +Subject: [PATCH 002/418] rtmutex: Make rt_mutex_futex_unlock() safe for irq-off callsites Upstream commit 6b0ef92fee2a3189eba6d6b827b247cb4f6da7e9 @@ -123,5 +123,5 @@ index 65cc0cb984e6..940633c63254 100644 if (postunlock) rt_mutex_postunlock(&wake_q); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0002-0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch b/kernel/patches-4.14.x-rt/0003-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0002-0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch rename to kernel/patches-4.14.x-rt/0003-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch index 33676f92b..ef565a7de 100644 --- a/kernel/patches-4.14.x-rt/0002-0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch +++ b/kernel/patches-4.14.x-rt/0003-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch @@ -1,7 +1,7 @@ -From 931e32f1e9d36b8c7ca0f365cdb203b146881193 Mon Sep 17 00:00:00 2001 +From 7b28fe258efc9f3d9dbac60f39826d57845ff991 Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Tue, 19 Sep 2017 15:36:42 -0700 -Subject: [PATCH 002/414] rcu: Suppress lockdep false-positive ->boost_mtx +Subject: [PATCH 003/418] rcu: Suppress lockdep false-positive ->boost_mtx complaints Upstream commit bcda31a2659497df39d6bedfbdf17498b4f4ac89 @@ -26,7 +26,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h -index fed95fa941e6..4428c8edb074 100644 +index 8b3102d22823..181e2487c8b8 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -31,11 +31,10 @@ @@ -52,5 +52,5 @@ index fed95fa941e6..4428c8edb074 100644 /* * If this was the last task on the expedited lists, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0003-0003-brd-remove-unused-brd_mutex.patch b/kernel/patches-4.14.x-rt/0004-brd-remove-unused-brd_mutex.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0003-0003-brd-remove-unused-brd_mutex.patch rename to kernel/patches-4.14.x-rt/0004-brd-remove-unused-brd_mutex.patch index 028f88893..44e9e870e 100644 --- a/kernel/patches-4.14.x-rt/0003-0003-brd-remove-unused-brd_mutex.patch +++ b/kernel/patches-4.14.x-rt/0004-brd-remove-unused-brd_mutex.patch @@ -1,7 +1,7 @@ -From d689ef6876481d308cbbd28351b8130e474c3363 Mon Sep 17 00:00:00 2001 +From e90c5da25d3a76acf44c248eb76fe0b6794174dd Mon Sep 17 00:00:00 2001 From: Mikulas Patocka Date: Fri, 10 Nov 2017 12:29:34 -0500 -Subject: [PATCH 003/414] brd: remove unused brd_mutex +Subject: [PATCH 004/418] brd: remove unused brd_mutex Upstream commit 15f7b41f70ddcca3b555bd0fdc7c8da7466b517e @@ -28,5 +28,5 @@ index 2d7178f7754e..c1cf87718c2e 100644 { pgoff_t idx; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0004-0004-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch b/kernel/patches-4.14.x-rt/0005-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0004-0004-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch rename to kernel/patches-4.14.x-rt/0005-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch index cf1ae473f..7176acb0e 100644 --- a/kernel/patches-4.14.x-rt/0004-0004-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch +++ b/kernel/patches-4.14.x-rt/0005-KVM-arm-arm64-Remove-redundant-preemptible-checks.patch @@ -1,7 +1,7 @@ -From 520763c6d6fd5b219945a64ecbd55e53d3da02db Mon Sep 17 00:00:00 2001 +From 36d6a35ae79ce5699704c987d3b4d3eb2de6e7db Mon Sep 17 00:00:00 2001 From: Christoffer Dall Date: Fri, 8 Sep 2017 07:07:13 -0700 -Subject: [PATCH 004/414] KVM: arm/arm64: Remove redundant preemptible checks +Subject: [PATCH 005/418] KVM: arm/arm64: Remove redundant preemptible checks Upstream commit 5a24575032971c5a9a4580417a791c427ebdb8e5 @@ -40,5 +40,5 @@ index 9bee849db682..0c5d846ba809 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0005-0005-string-drop-__must_check-from-strscpy-and-restore-st.patch b/kernel/patches-4.14.x-rt/0006-string-drop-__must_check-from-strscpy-and-restore-st.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0005-0005-string-drop-__must_check-from-strscpy-and-restore-st.patch rename to kernel/patches-4.14.x-rt/0006-string-drop-__must_check-from-strscpy-and-restore-st.patch index 3d81e3455..3ed2188d6 100644 --- a/kernel/patches-4.14.x-rt/0005-0005-string-drop-__must_check-from-strscpy-and-restore-st.patch +++ b/kernel/patches-4.14.x-rt/0006-string-drop-__must_check-from-strscpy-and-restore-st.patch @@ -1,7 +1,7 @@ -From 01a042ced8c75ed10fd78fa8209831f0ef009057 Mon Sep 17 00:00:00 2001 +From c9e312daee80f74ba3e2b50da2ea33336f6846e8 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 9 Jan 2018 07:21:15 -0800 -Subject: [PATCH 005/414] string: drop __must_check from strscpy() and restore +Subject: [PATCH 006/418] string: drop __must_check from strscpy() and restore strscpy() usages in cgroup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -64,5 +64,5 @@ index cfd83eb2f926..96115bf561b4 100644 #ifndef __HAVE_ARCH_STRCAT extern char * strcat(char *, const char *); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0006-0006-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch b/kernel/patches-4.14.x-rt/0007-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch similarity index 83% rename from kernel/patches-4.14.x-rt/0006-0006-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch rename to kernel/patches-4.14.x-rt/0007-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch index c12d0dc91..d7f47541f 100644 --- a/kernel/patches-4.14.x-rt/0006-0006-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch +++ b/kernel/patches-4.14.x-rt/0007-iommu-amd-Use-raw-locks-on-atomic-context-paths.patch @@ -1,7 +1,7 @@ -From 9349f5838334cb833010161e09660abee2f51b31 Mon Sep 17 00:00:00 2001 +From 5217a4b31298b5ff1082bd88e6ac8054780b6aaf Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Sun, 21 Jan 2018 03:28:54 -0600 -Subject: [PATCH 006/414] iommu/amd: Use raw locks on atomic context paths +Subject: [PATCH 007/418] iommu/amd: Use raw locks on atomic context paths Upstream commit 27790398c2aed917828dc3c6f81240d57f1584c9 @@ -20,10 +20,10 @@ Signed-off-by: Joerg Roedel 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c -index 99a2a57b6cfd..5e519630eefb 100644 +index 10190e361a13..ff50337fe3ba 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c -@@ -1054,9 +1054,9 @@ static int iommu_queue_command_sync(struct amd_iommu *iommu, +@@ -1056,9 +1056,9 @@ static int iommu_queue_command_sync(struct amd_iommu *iommu, unsigned long flags; int ret; @@ -35,7 +35,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 return ret; } -@@ -1082,7 +1082,7 @@ static int iommu_completion_wait(struct amd_iommu *iommu) +@@ -1084,7 +1084,7 @@ static int iommu_completion_wait(struct amd_iommu *iommu) build_completion_wait(&cmd, (u64)&iommu->cmd_sem); @@ -44,7 +44,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 iommu->cmd_sem = 0; -@@ -1093,7 +1093,7 @@ static int iommu_completion_wait(struct amd_iommu *iommu) +@@ -1095,7 +1095,7 @@ static int iommu_completion_wait(struct amd_iommu *iommu) ret = wait_on_sem(&iommu->cmd_sem); out_unlock: @@ -53,7 +53,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 return ret; } -@@ -3618,7 +3618,7 @@ static struct irq_remap_table *get_irq_table(u16 devid, bool ioapic) +@@ -3620,7 +3620,7 @@ static struct irq_remap_table *get_irq_table(u16 devid, bool ioapic) goto out_unlock; /* Initialize table spin-lock */ @@ -62,7 +62,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 if (ioapic) /* Keep the first 32 indexes free for IOAPIC interrupts */ -@@ -3677,7 +3677,7 @@ static int alloc_irq_index(u16 devid, int count) +@@ -3679,7 +3679,7 @@ static int alloc_irq_index(u16 devid, int count) if (!table) return -ENODEV; @@ -71,7 +71,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 /* Scan table for free entries */ for (c = 0, index = table->min_index; -@@ -3700,7 +3700,7 @@ static int alloc_irq_index(u16 devid, int count) +@@ -3702,7 +3702,7 @@ static int alloc_irq_index(u16 devid, int count) index = -ENOSPC; out: @@ -80,7 +80,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 return index; } -@@ -3721,7 +3721,7 @@ static int modify_irte_ga(u16 devid, int index, struct irte_ga *irte, +@@ -3723,7 +3723,7 @@ static int modify_irte_ga(u16 devid, int index, struct irte_ga *irte, if (!table) return -ENOMEM; @@ -89,7 +89,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 entry = (struct irte_ga *)table->table; entry = &entry[index]; -@@ -3732,7 +3732,7 @@ static int modify_irte_ga(u16 devid, int index, struct irte_ga *irte, +@@ -3734,7 +3734,7 @@ static int modify_irte_ga(u16 devid, int index, struct irte_ga *irte, if (data) data->ref = entry; @@ -98,7 +98,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 iommu_flush_irt(iommu, devid); iommu_completion_wait(iommu); -@@ -3754,9 +3754,9 @@ static int modify_irte(u16 devid, int index, union irte *irte) +@@ -3756,9 +3756,9 @@ static int modify_irte(u16 devid, int index, union irte *irte) if (!table) return -ENOMEM; @@ -110,7 +110,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 iommu_flush_irt(iommu, devid); iommu_completion_wait(iommu); -@@ -3778,9 +3778,9 @@ static void free_irte(u16 devid, int index) +@@ -3780,9 +3780,9 @@ static void free_irte(u16 devid, int index) if (!table) return; @@ -122,7 +122,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 iommu_flush_irt(iommu, devid); iommu_completion_wait(iommu); -@@ -4359,7 +4359,7 @@ int amd_iommu_update_ga(int cpu, bool is_run, void *data) +@@ -4361,7 +4361,7 @@ int amd_iommu_update_ga(int cpu, bool is_run, void *data) if (!irt) return -ENODEV; @@ -131,7 +131,7 @@ index 99a2a57b6cfd..5e519630eefb 100644 if (ref->lo.fields_vapic.guest_mode) { if (cpu >= 0) -@@ -4368,7 +4368,7 @@ int amd_iommu_update_ga(int cpu, bool is_run, void *data) +@@ -4370,7 +4370,7 @@ int amd_iommu_update_ga(int cpu, bool is_run, void *data) barrier(); } @@ -176,5 +176,5 @@ index f6b24c7d8b70..7521745dc2a5 100644 /* Pointer to PCI device of this IOMMU */ struct pci_dev *dev; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0007-0007-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch b/kernel/patches-4.14.x-rt/0008-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch similarity index 82% rename from kernel/patches-4.14.x-rt/0007-0007-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch rename to kernel/patches-4.14.x-rt/0008-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch index 43c182463..e41a0dfa3 100644 --- a/kernel/patches-4.14.x-rt/0007-0007-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch +++ b/kernel/patches-4.14.x-rt/0008-iommu-amd-Don-t-use-dev_data-in-irte_ga_set_affinity.patch @@ -1,7 +1,7 @@ -From b906b00cd362b81ac8c584c5323c103ed49e5a8b Mon Sep 17 00:00:00 2001 +From f139b736cc22cafcb207795386fe46e0a8fea151 Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Sun, 28 Jan 2018 14:22:19 -0600 -Subject: [PATCH 007/414] iommu/amd: Don't use dev_data in +Subject: [PATCH 008/418] iommu/amd: Don't use dev_data in irte_ga_set_affinity() Upstream commit 01ee04badefd296eb7a4430497373be9b7b16783 @@ -18,10 +18,10 @@ Signed-off-by: Joerg Roedel 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c -index 5e519630eefb..f8051e20d889 100644 +index ff50337fe3ba..388ec5e98ef5 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c -@@ -3861,10 +3861,8 @@ static void irte_ga_set_affinity(void *entry, u16 devid, u16 index, +@@ -3863,10 +3863,8 @@ static void irte_ga_set_affinity(void *entry, u16 devid, u16 index, u8 vector, u32 dest_apicid) { struct irte_ga *irte = (struct irte_ga *) entry; @@ -34,5 +34,5 @@ index 5e519630eefb..f8051e20d889 100644 irte->lo.fields_remap.destination = dest_apicid; modify_irte_ga(devid, index, irte, NULL); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0009-0009-iommu-amd-Take-into-account-that-alloc_dev_data-may-.patch b/kernel/patches-4.14.x-rt/0009-0009-iommu-amd-Take-into-account-that-alloc_dev_data-may-.patch deleted file mode 100644 index 507de6379..000000000 --- a/kernel/patches-4.14.x-rt/0009-0009-iommu-amd-Take-into-account-that-alloc_dev_data-may-.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 24cf22a0af51ede25f532a63abc0651f31892f6a Mon Sep 17 00:00:00 2001 -From: Sebastian Andrzej Siewior -Date: Thu, 22 Mar 2018 16:22:33 +0100 -Subject: [PATCH 009/414] iommu/amd: Take into account that alloc_dev_data() - may return NULL - -Upstream commit 39ffe39545cd5cb5b8cee9f0469165cf24dc62c2 - -find_dev_data() does not check whether the return value alloc_dev_data() -is NULL. This was okay once because the pointer was returned once as-is. -Since commit df3f7a6e8e85 ("iommu/amd: Use is_attach_deferred -call-back") the pointer may be used within find_dev_data() so a NULL -check is required. - -Cc: Baoquan He -Fixes: df3f7a6e8e85 ("iommu/amd: Use is_attach_deferred call-back") -Signed-off-by: Sebastian Andrzej Siewior -Signed-off-by: Joerg Roedel ---- - drivers/iommu/amd_iommu.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c -index 1d9ba3e59fb0..e42992fcebca 100644 ---- a/drivers/iommu/amd_iommu.c -+++ b/drivers/iommu/amd_iommu.c -@@ -311,6 +311,8 @@ static struct iommu_dev_data *find_dev_data(u16 devid) - - if (dev_data == NULL) { - dev_data = alloc_dev_data(devid); -+ if (!dev_data) -+ return NULL; - - if (translation_pre_enabled(iommu)) - dev_data->defer_attach = true; --- -2.17.0 - diff --git a/kernel/patches-4.14.x-rt/0008-0008-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch b/kernel/patches-4.14.x-rt/0009-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0008-0008-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch rename to kernel/patches-4.14.x-rt/0009-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch index 6b94f3dba..d2a81e4c5 100644 --- a/kernel/patches-4.14.x-rt/0008-0008-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch +++ b/kernel/patches-4.14.x-rt/0009-iommu-amd-Avoid-locking-get_irq_table-from-atomic-co.patch @@ -1,7 +1,7 @@ -From 072abaf533882390fe60b431f8b60cd30f183a11 Mon Sep 17 00:00:00 2001 +From eec0129e06a60a46f1f09a329f850a248af0e4ea Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Wed, 14 Feb 2018 17:36:28 -0600 -Subject: [PATCH 008/414] iommu/amd: Avoid locking get_irq_table() from atomic +Subject: [PATCH 009/418] iommu/amd: Avoid locking get_irq_table() from atomic context Upstream commit df42a04b15f19a842393dc98a84cbc52b1f8ed49 @@ -36,10 +36,10 @@ Signed-off-by: Joerg Roedel 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c -index f8051e20d889..1d9ba3e59fb0 100644 +index 388ec5e98ef5..e42992fcebca 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c -@@ -3586,7 +3586,22 @@ static void set_dte_irq_entry(u16 devid, struct irq_remap_table *table) +@@ -3588,7 +3588,22 @@ static void set_dte_irq_entry(u16 devid, struct irq_remap_table *table) amd_iommu_dev_table[devid].data[2] = dte; } @@ -63,7 +63,7 @@ index f8051e20d889..1d9ba3e59fb0 100644 { struct irq_remap_table *table = NULL; struct amd_iommu *iommu; -@@ -3673,7 +3688,7 @@ static int alloc_irq_index(u16 devid, int count) +@@ -3675,7 +3690,7 @@ static int alloc_irq_index(u16 devid, int count) if (!iommu) return -ENODEV; @@ -72,7 +72,7 @@ index f8051e20d889..1d9ba3e59fb0 100644 if (!table) return -ENODEV; -@@ -3717,7 +3732,7 @@ static int modify_irte_ga(u16 devid, int index, struct irte_ga *irte, +@@ -3719,7 +3734,7 @@ static int modify_irte_ga(u16 devid, int index, struct irte_ga *irte, if (iommu == NULL) return -EINVAL; @@ -81,7 +81,7 @@ index f8051e20d889..1d9ba3e59fb0 100644 if (!table) return -ENOMEM; -@@ -3750,7 +3765,7 @@ static int modify_irte(u16 devid, int index, union irte *irte) +@@ -3752,7 +3767,7 @@ static int modify_irte(u16 devid, int index, union irte *irte) if (iommu == NULL) return -EINVAL; @@ -90,7 +90,7 @@ index f8051e20d889..1d9ba3e59fb0 100644 if (!table) return -ENOMEM; -@@ -3774,7 +3789,7 @@ static void free_irte(u16 devid, int index) +@@ -3776,7 +3791,7 @@ static void free_irte(u16 devid, int index) if (iommu == NULL) return; @@ -99,7 +99,7 @@ index f8051e20d889..1d9ba3e59fb0 100644 if (!table) return; -@@ -4092,7 +4107,7 @@ static int irq_remapping_alloc(struct irq_domain *domain, unsigned int virq, +@@ -4094,7 +4109,7 @@ static int irq_remapping_alloc(struct irq_domain *domain, unsigned int virq, return ret; if (info->type == X86_IRQ_ALLOC_TYPE_IOAPIC) { @@ -108,7 +108,7 @@ index f8051e20d889..1d9ba3e59fb0 100644 index = info->ioapic_pin; else ret = -ENOMEM; -@@ -4353,7 +4368,7 @@ int amd_iommu_update_ga(int cpu, bool is_run, void *data) +@@ -4355,7 +4370,7 @@ int amd_iommu_update_ga(int cpu, bool is_run, void *data) if (!iommu) return -ENODEV; @@ -118,5 +118,5 @@ index f8051e20d889..1d9ba3e59fb0 100644 return -ENODEV; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0010-0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch b/kernel/patches-4.14.x-rt/0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0010-0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch rename to kernel/patches-4.14.x-rt/0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch index d020a3b20..ae4e134c8 100644 --- a/kernel/patches-4.14.x-rt/0010-0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch +++ b/kernel/patches-4.14.x-rt/0010-iommu-amd-Turn-dev_data_list-into-a-lock-less-list.patch @@ -1,7 +1,7 @@ -From 863473ee01efb23dcc2bbe8c7f93e2e6355b06ab Mon Sep 17 00:00:00 2001 +From 53ff4b0f4c2a4ae8eea46b71b11b9fc5a7d79a11 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:34 +0100 -Subject: [PATCH 010/414] iommu/amd: Turn dev_data_list into a lock less list +Subject: [PATCH 010/418] iommu/amd: Turn dev_data_list into a lock less list Upstream commit 779da73273fc4c4c6f41579a95e4fb7880a1720e @@ -101,5 +101,5 @@ index 7521745dc2a5..16b1404da58c 100644 u16 devid; /* PCI Device ID */ u16 alias; /* Alias Device ID */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0011-0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch b/kernel/patches-4.14.x-rt/0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0011-0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch rename to kernel/patches-4.14.x-rt/0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch index 60bc7a1f9..ee5efb918 100644 --- a/kernel/patches-4.14.x-rt/0011-0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch +++ b/kernel/patches-4.14.x-rt/0011-iommu-amd-Split-domain-id-out-of-amd_iommu_devtable_.patch @@ -1,7 +1,7 @@ -From 7cb31bdffcda0eecb44fe97161cca58de406b30d Mon Sep 17 00:00:00 2001 +From 1645ac08eb6be3c6b2900de419f578ed5f91ecf4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:35 +0100 -Subject: [PATCH 011/414] iommu/amd: Split domain id out of +Subject: [PATCH 011/418] iommu/amd: Split domain id out of amd_iommu_devtable_lock Upstream commit 2bc00180890427dcc092b2f2b0d03c904bcade29 @@ -64,5 +64,5 @@ index 1babecd37819..250b6354fae5 100644 #define DEFINE_FREE_PT_FN(LVL, FN) \ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0012-0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch b/kernel/patches-4.14.x-rt/0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0012-0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch rename to kernel/patches-4.14.x-rt/0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch index a06df83a2..91782ac6f 100644 --- a/kernel/patches-4.14.x-rt/0012-0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch +++ b/kernel/patches-4.14.x-rt/0012-iommu-amd-Split-irq_lookup_table-out-of-the-amd_iomm.patch @@ -1,7 +1,7 @@ -From 8ecb90107b650a4db6b9226e0c0049642a1172c9 Mon Sep 17 00:00:00 2001 +From 37ded533c97f8424a00e051c4351ab2515717457 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:36 +0100 -Subject: [PATCH 012/414] iommu/amd: Split irq_lookup_table out of the +Subject: [PATCH 012/418] iommu/amd: Split irq_lookup_table out of the amd_iommu_devtable_lock Upstream commit ea6166f4b83e9cfba1c18f46a764d50045682fe5 @@ -52,5 +52,5 @@ index 250b6354fae5..2cedb0caec73 100644 return table; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0013-0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch b/kernel/patches-4.14.x-rt/0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0013-0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch rename to kernel/patches-4.14.x-rt/0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch index d6551d1bc..1036dc778 100644 --- a/kernel/patches-4.14.x-rt/0013-0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch +++ b/kernel/patches-4.14.x-rt/0013-iommu-amd-Remove-the-special-case-from-alloc_irq_tab.patch @@ -1,7 +1,7 @@ -From ab23fbb1785b1b4d6746dc36c507bf0a8991be7d Mon Sep 17 00:00:00 2001 +From 7faa3de9da88db7a577fbc9d11c095425c7de802 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:37 +0100 -Subject: [PATCH 013/414] iommu/amd: Remove the special case from +Subject: [PATCH 013/418] iommu/amd: Remove the special case from alloc_irq_table() Upstream commit fde65dd3d3096e8f6ecc7bbe544eb91f4220772c @@ -96,5 +96,5 @@ index 2cedb0caec73..fc23b89d2372 100644 index = alloc_irq_index(devid, nr_irqs); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0014-0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch b/kernel/patches-4.14.x-rt/0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0014-0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch rename to kernel/patches-4.14.x-rt/0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch index 861add066..aaef8fe5b 100644 --- a/kernel/patches-4.14.x-rt/0014-0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch +++ b/kernel/patches-4.14.x-rt/0014-iommu-amd-Use-table-instead-irt-as-variable-name-in-.patch @@ -1,7 +1,7 @@ -From cf22088f7362c4376ce97060706eab7ba9300cac Mon Sep 17 00:00:00 2001 +From c148dfef5e405f1d7f74ac4e667b19007bc31fd1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:38 +0100 -Subject: [PATCH 014/414] iommu/amd: Use `table' instead `irt' as variable name +Subject: [PATCH 014/418] iommu/amd: Use `table' instead `irt' as variable name in amd_iommu_update_ga() Upstream commit 4fde541c9dc114c5b448ad34b0286fe8b7c550f1 @@ -54,5 +54,5 @@ index fc23b89d2372..bfda5f26ea50 100644 iommu_flush_irt(iommu, devid); iommu_completion_wait(iommu); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0015-0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch b/kernel/patches-4.14.x-rt/0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0015-0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch rename to kernel/patches-4.14.x-rt/0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch index f1fdea7df..a57d33a9b 100644 --- a/kernel/patches-4.14.x-rt/0015-0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch +++ b/kernel/patches-4.14.x-rt/0015-iommu-amd-Factor-out-setting-the-remap-table-for-a-d.patch @@ -1,7 +1,7 @@ -From 8adc34a18946fcff0e5642de8ed48e358abdb601 Mon Sep 17 00:00:00 2001 +From ef80165d12b76356146a32c6b43e45e98f052ae9 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:39 +0100 -Subject: [PATCH 015/414] iommu/amd: Factor out setting the remap table for a +Subject: [PATCH 015/418] iommu/amd: Factor out setting the remap table for a devid Upstream commit 2fcc1e8ac4a8514c64f946178fc36c2e30e56a41 @@ -68,5 +68,5 @@ index bfda5f26ea50..d4eeb91afa36 100644 out: iommu_completion_wait(iommu); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0016-0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch b/kernel/patches-4.14.x-rt/0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0016-0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch rename to kernel/patches-4.14.x-rt/0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch index 080265396..dd7e5c1fa 100644 --- a/kernel/patches-4.14.x-rt/0016-0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch +++ b/kernel/patches-4.14.x-rt/0016-iommu-amd-Drop-the-lock-while-allocating-new-irq-rem.patch @@ -1,7 +1,7 @@ -From b2cd3595f6f7461fed03b9fdd6ae08901108db2c Mon Sep 17 00:00:00 2001 +From 6224ad75694b7e9aa332a504f1da722c416a4cf3 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:40 +0100 -Subject: [PATCH 016/414] iommu/amd: Drop the lock while allocating new irq +Subject: [PATCH 016/418] iommu/amd: Drop the lock while allocating new irq remap table Upstream commit 993ca6e063a69a0c65ca42ed449b6bc1b3844151 @@ -133,5 +133,5 @@ index d4eeb91afa36..8b6e515b395e 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0017-0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch b/kernel/patches-4.14.x-rt/0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0017-0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch rename to kernel/patches-4.14.x-rt/0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch index 0a64914b6..01a90e1bf 100644 --- a/kernel/patches-4.14.x-rt/0017-0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch +++ b/kernel/patches-4.14.x-rt/0017-iommu-amd-Make-amd_iommu_devtable_lock-a-spin_lock.patch @@ -1,7 +1,7 @@ -From ad8625266d3c4e93f6b170604dc5ba25dbafd0f7 Mon Sep 17 00:00:00 2001 +From 9d350d7dff14fe5881062bb1dd588fe1bf19719d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:41 +0100 -Subject: [PATCH 017/414] iommu/amd: Make amd_iommu_devtable_lock a spin_lock +Subject: [PATCH 017/418] iommu/amd: Make amd_iommu_devtable_lock a spin_lock Upstream commit 2cd1083d79a0a8c223af430ca97884c28a1e2fc0 @@ -75,5 +75,5 @@ index 8b6e515b395e..f685026e6d9e 100644 static void protection_domain_free(struct protection_domain *domain) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0018-0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch b/kernel/patches-4.14.x-rt/0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0018-0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch rename to kernel/patches-4.14.x-rt/0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch index 99e247b0b..b3614912d 100644 --- a/kernel/patches-4.14.x-rt/0018-0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch +++ b/kernel/patches-4.14.x-rt/0018-iommu-amd-Return-proper-error-code-in-irq_remapping_.patch @@ -1,7 +1,7 @@ -From 584da253bb5bca9e60d72dca8df1d60574457530 Mon Sep 17 00:00:00 2001 +From cf3885d685d1115031da5d5963a9152b11cf9f36 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Mar 2018 16:22:42 +0100 -Subject: [PATCH 018/414] iommu/amd: Return proper error code in +Subject: [PATCH 018/418] iommu/amd: Return proper error code in irq_remapping_alloc() Upstream commit 29d049be9438278c47253a74cf8d0ddf36bd5d68 @@ -42,5 +42,5 @@ index f685026e6d9e..f61c2dab5490 100644 } else { index = alloc_irq_index(devid, nr_irqs); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0019-0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch b/kernel/patches-4.14.x-rt/0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0019-0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch rename to kernel/patches-4.14.x-rt/0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch index 3a076fe6f..1c6a5541a 100644 --- a/kernel/patches-4.14.x-rt/0019-0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch +++ b/kernel/patches-4.14.x-rt/0019-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch @@ -1,7 +1,7 @@ -From ae8d11384afb52f7d1a2afe9ea44fdec48b5642e Mon Sep 17 00:00:00 2001 +From d2540f23d6110bdea14e3b9b8af69ee71909096f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 20 Dec 2017 17:12:50 +0100 -Subject: [PATCH 019/414] timers: Use static keys for +Subject: [PATCH 019/418] timers: Use static keys for migrate_enable/nohz_active The members migrate_enable and nohz_active in the timer/hrtimer per CPU @@ -283,5 +283,5 @@ index 9fe525f410bf..b24232985960 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0020-0020-hrtimer-Correct-blantanly-wrong-comment.patch b/kernel/patches-4.14.x-rt/0020-hrtimer-Correct-blantanly-wrong-comment.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0020-0020-hrtimer-Correct-blantanly-wrong-comment.patch rename to kernel/patches-4.14.x-rt/0020-hrtimer-Correct-blantanly-wrong-comment.patch index e1db0082a..6c1edc804 100644 --- a/kernel/patches-4.14.x-rt/0020-0020-hrtimer-Correct-blantanly-wrong-comment.patch +++ b/kernel/patches-4.14.x-rt/0020-hrtimer-Correct-blantanly-wrong-comment.patch @@ -1,7 +1,7 @@ -From 6cdd07db109099455b4fcaad8446d5cced9df7e9 Mon Sep 17 00:00:00 2001 +From 437a57e7664994a510190bfaff01026cd7e75422 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 20 Dec 2017 17:12:51 +0100 -Subject: [PATCH 020/414] hrtimer: Correct blantanly wrong comment +Subject: [PATCH 020/418] hrtimer: Correct blantanly wrong comment The protection of a hrtimer which runs its callback against migration to a different CPU has nothing to do with hard interrupt context. @@ -38,5 +38,5 @@ index 883fef2926e9..65543d31af32 100644 raw_spin_unlock(&cpu_base->lock); trace_hrtimer_expire_entry(timer, now); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0021-0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch b/kernel/patches-4.14.x-rt/0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0021-0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch rename to kernel/patches-4.14.x-rt/0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch index c321b24cf..1ac881eaf 100644 --- a/kernel/patches-4.14.x-rt/0021-0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch +++ b/kernel/patches-4.14.x-rt/0021-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch @@ -1,7 +1,7 @@ -From f62ec4e980194574862b0329315cf2b36cd10751 Mon Sep 17 00:00:00 2001 +From b9a845a61b4f2fd293791e8a6f3b3031ba03308d Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:52 +0100 -Subject: [PATCH 021/414] hrtimer: Fix kerneldoc for struct hrtimer_cpu_base +Subject: [PATCH 021/418] hrtimer: Fix kerneldoc for struct hrtimer_cpu_base The sequence '/**' marks the start of a struct description. Add the missing second asterisk. While at it adapt the ordering of the struct @@ -44,5 +44,5 @@ index 79b2a8d29d8c..b3a382be8db0 100644 * @nr_retries: Total number of hrtimer interrupt retries * @nr_hangs: Total number of hrtimer interrupt hangs -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0022-0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch b/kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0022-0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch rename to kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch index 159f16738..eb36d5c22 100644 --- a/kernel/patches-4.14.x-rt/0022-0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch +++ b/kernel/patches-4.14.x-rt/0022-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch @@ -1,7 +1,7 @@ -From 4130d51df9d8bf1cdc31936212773fa9aae4e54e Mon Sep 17 00:00:00 2001 +From 3f2ef191049442d38c95443f4a85062a403cb21a Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:53 +0100 -Subject: [PATCH 022/414] hrtimer: Cleanup clock argument in +Subject: [PATCH 022/418] hrtimer: Cleanup clock argument in schedule_hrtimeout_range_clock() schedule_hrtimeout_range_clock() uses an integer for the clock id @@ -84,5 +84,5 @@ index 65543d31af32..790841b59433 100644 * Make the current task sleep until the given expiry time has * elapsed. The routine will return immediately unless -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0023-0023-hrtimer-Fix-hrtimer-function-description.patch b/kernel/patches-4.14.x-rt/0023-hrtimer-Fix-hrtimer-function-description.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0023-0023-hrtimer-Fix-hrtimer-function-description.patch rename to kernel/patches-4.14.x-rt/0023-hrtimer-Fix-hrtimer-function-description.patch index 30d6a46e1..1172be433 100644 --- a/kernel/patches-4.14.x-rt/0023-0023-hrtimer-Fix-hrtimer-function-description.patch +++ b/kernel/patches-4.14.x-rt/0023-hrtimer-Fix-hrtimer-function-description.patch @@ -1,7 +1,7 @@ -From 3177fadb000eacc66a94abca08bd560bd2b6bcdf Mon Sep 17 00:00:00 2001 +From 7bceac6c2181a2ce1ba209d1fc6afb626dbab4c7 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:54 +0100 -Subject: [PATCH 023/414] hrtimer: Fix hrtimer function description +Subject: [PATCH 023/418] hrtimer: Fix hrtimer function description The hrtimer_start[_range_ns]() starts a timer reliable on this CPU only when HRTIMER_MODE_PINNED is set. Furthermore the HRTIMER_MODE_PINNED mode @@ -64,5 +64,5 @@ index 790841b59433..6460aa2d9b25 100644 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0024-0024-hrtimer-Cleanup-hrtimer_mode-enum.patch b/kernel/patches-4.14.x-rt/0024-hrtimer-Cleanup-hrtimer_mode-enum.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0024-0024-hrtimer-Cleanup-hrtimer_mode-enum.patch rename to kernel/patches-4.14.x-rt/0024-hrtimer-Cleanup-hrtimer_mode-enum.patch index dfb52e091..2aa50c142 100644 --- a/kernel/patches-4.14.x-rt/0024-0024-hrtimer-Cleanup-hrtimer_mode-enum.patch +++ b/kernel/patches-4.14.x-rt/0024-hrtimer-Cleanup-hrtimer_mode-enum.patch @@ -1,7 +1,7 @@ -From 849a4dda6d5b76e03d3c91ef404402e7b7812c46 Mon Sep 17 00:00:00 2001 +From 79c700b613fe56d7318ab41bc9184cd8572006ec Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:56 +0100 -Subject: [PATCH 024/414] hrtimer: Cleanup hrtimer_mode enum +Subject: [PATCH 024/418] hrtimer: Cleanup hrtimer_mode enum It's not obvious that the HRTIMER_MODE variants are bit combinations because all modes are hard coded constants. @@ -47,5 +47,5 @@ index 4e6a8841dcbe..28f267cf2851 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0025-0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch b/kernel/patches-4.14.x-rt/0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0025-0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch rename to kernel/patches-4.14.x-rt/0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch index fc7b7b169..98a4281d0 100644 --- a/kernel/patches-4.14.x-rt/0025-0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch +++ b/kernel/patches-4.14.x-rt/0025-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch @@ -1,7 +1,7 @@ -From b47bd57802cb10af5b096f6d6c850a4ce1c58cb0 Mon Sep 17 00:00:00 2001 +From 734fc4622933368429263530e951f67c458070eb Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:58 +0100 -Subject: [PATCH 025/414] tracing/hrtimer: Print hrtimer mode in hrtimer_start +Subject: [PATCH 025/418] tracing/hrtimer: Print hrtimer mode in hrtimer_start tracepoint The hrtimer_start tracepoint lacks the mode information. The mode is @@ -117,5 +117,5 @@ index 6460aa2d9b25..476fe683e8ed 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0026-0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch b/kernel/patches-4.14.x-rt/0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0026-0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch rename to kernel/patches-4.14.x-rt/0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch index cd0858304..92987bb7b 100644 --- a/kernel/patches-4.14.x-rt/0026-0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch +++ b/kernel/patches-4.14.x-rt/0026-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch @@ -1,7 +1,7 @@ -From de61806cf2311994d697a907900cd71e4255df17 Mon Sep 17 00:00:00 2001 +From 551c25858df0438915d8addafa70afbb12779d35 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:12:59 +0100 -Subject: [PATCH 026/414] hrtimer: Switch for loop to _ffs() evaluation +Subject: [PATCH 026/418] hrtimer: Switch for loop to _ffs() evaluation Looping over all clock bases to find active bits is suboptimal if not all bases are active. @@ -86,5 +86,5 @@ index 476fe683e8ed..85f9335d0d60 100644 while ((node = timerqueue_getnext(&base->active))) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0027-0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch b/kernel/patches-4.14.x-rt/0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0027-0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch rename to kernel/patches-4.14.x-rt/0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch index 082b890a8..5c219f37e 100644 --- a/kernel/patches-4.14.x-rt/0027-0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch +++ b/kernel/patches-4.14.x-rt/0027-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch @@ -1,7 +1,7 @@ -From 743a7e5c5a00389d149c5baf47e4baf7345de67c Mon Sep 17 00:00:00 2001 +From 1ca83795806184362986a22e2a4dd0d5ac30eddd Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:00 +0100 -Subject: [PATCH 027/414] hrtimer: Store running timer in hrtimer_clock_base +Subject: [PATCH 027/418] hrtimer: Store running timer in hrtimer_clock_base The pointer to the currently running timer is stored in hrtimer_cpu_base before the base lock is dropped and the callback is invoked. @@ -195,5 +195,5 @@ index 85f9335d0d60..bedfc2865901 100644 static void __hrtimer_run_queues(struct hrtimer_cpu_base *cpu_base, ktime_t now) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0028-0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch b/kernel/patches-4.14.x-rt/0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0028-0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch rename to kernel/patches-4.14.x-rt/0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch index 01d5faff2..7f9f5693e 100644 --- a/kernel/patches-4.14.x-rt/0028-0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch +++ b/kernel/patches-4.14.x-rt/0028-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch @@ -1,7 +1,7 @@ -From d68428306aadc4282164f1696f6da0a354235739 Mon Sep 17 00:00:00 2001 +From bbc2c2e88a6682df03351e2a3c19593de4c08d3e Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:01 +0100 -Subject: [PATCH 028/414] hrtimer: Make room in struct hrtimer_cpu_base +Subject: [PATCH 028/418] hrtimer: Make room in struct hrtimer_cpu_base The upcoming softirq based hrtimers support requires an additional field in the hrtimer_cpu_base struct, which would grow the struct size beyond a @@ -35,5 +35,5 @@ index 1bae7b9f071d..56e56bcb6f0f 100644 #endif struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES]; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0029-0029-hrtimer-Reduce-conditional-code-hres_active.patch b/kernel/patches-4.14.x-rt/0029-hrtimer-Reduce-conditional-code-hres_active.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0029-0029-hrtimer-Reduce-conditional-code-hres_active.patch rename to kernel/patches-4.14.x-rt/0029-hrtimer-Reduce-conditional-code-hres_active.patch index a05c3a824..82a60a4ce 100644 --- a/kernel/patches-4.14.x-rt/0029-0029-hrtimer-Reduce-conditional-code-hres_active.patch +++ b/kernel/patches-4.14.x-rt/0029-hrtimer-Reduce-conditional-code-hres_active.patch @@ -1,7 +1,7 @@ -From 79e04e38a6c7c3a1259ad00ba8b1f462c90d78fa Mon Sep 17 00:00:00 2001 +From 036160e2bf23c43f7a7eb4482cd372c2c5983389 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:02 +0100 -Subject: [PATCH 029/414] hrtimer: Reduce conditional code (hres_active) +Subject: [PATCH 029/418] hrtimer: Reduce conditional code (hres_active) The hrtimer_cpu_base struct has the CONFIG_HIGH_RES_TIMERS conditional struct member hres_active. All related functions to this member are @@ -153,5 +153,5 @@ index bedfc2865901..7e0490143275 100644 return 0; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0030-0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch b/kernel/patches-4.14.x-rt/0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0030-0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch rename to kernel/patches-4.14.x-rt/0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch index 20968fd13..c8caa5dd8 100644 --- a/kernel/patches-4.14.x-rt/0030-0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch +++ b/kernel/patches-4.14.x-rt/0030-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch @@ -1,7 +1,7 @@ -From 0c28a3a42a6c4524828e0de3f8683df0715e4a30 Mon Sep 17 00:00:00 2001 +From 5f845b534ffc9f5a653f45bddf0dc4e99dd6a510 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:03 +0100 -Subject: [PATCH 030/414] hrtimer: Use accesor functions instead of direct +Subject: [PATCH 030/418] hrtimer: Use accesor functions instead of direct access __hrtimer_hres_active() is now available unconditionally. Replace the @@ -38,5 +38,5 @@ index 7e0490143275..85882d5da523 100644 raw_spin_lock(&base->lock); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0031-0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch b/kernel/patches-4.14.x-rt/0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0031-0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch rename to kernel/patches-4.14.x-rt/0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch index 75566d075..3e234381f 100644 --- a/kernel/patches-4.14.x-rt/0031-0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch +++ b/kernel/patches-4.14.x-rt/0031-hrtimer-Make-the-remote-enqueue-check-unconditional.patch @@ -1,7 +1,7 @@ -From a9e0b8eb976e20f6043041423f00062a292d61c7 Mon Sep 17 00:00:00 2001 +From 454c4ff0fb355b4dafad0f616d12cbdf1a6521db Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:04 +0100 -Subject: [PATCH 031/414] hrtimer: Make the remote enqueue check unconditional +Subject: [PATCH 031/418] hrtimer: Make the remote enqueue check unconditional hrtimer_cpu_base.expires_next is used to cache the next event armed in the timer hardware. The value is used to check whether an hrtimer can be @@ -140,5 +140,5 @@ index 85882d5da523..b1016aabc73a 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0032-0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch b/kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0032-0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch rename to kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch index ea290ef43..a9cb5fa23 100644 --- a/kernel/patches-4.14.x-rt/0032-0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch +++ b/kernel/patches-4.14.x-rt/0032-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch @@ -1,7 +1,7 @@ -From b9f89574e69f7b1f18dbf0518330f559e841bf2b Mon Sep 17 00:00:00 2001 +From 0f5e672a02807d10c8772c839d358cb498ec6d9f Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:05 +0100 -Subject: [PATCH 032/414] hrtimer: Make hrtimer_cpu_base.next_timer handling +Subject: [PATCH 032/418] hrtimer: Make hrtimer_cpu_base.next_timer handling unconditional hrtimer_cpu_base.next_timer stores the pointer to the next expiring timer @@ -101,5 +101,5 @@ index b1016aabc73a..e01c2e78c032 100644 } /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0033-0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch b/kernel/patches-4.14.x-rt/0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0033-0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch rename to kernel/patches-4.14.x-rt/0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch index 1a9d50679..08d1d1001 100644 --- a/kernel/patches-4.14.x-rt/0033-0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch +++ b/kernel/patches-4.14.x-rt/0033-hrtimer-Make-hrtimer_reprogramm-unconditional.patch @@ -1,7 +1,7 @@ -From 45b61c6a2e3b71d48921aea76713c19795905c5a Mon Sep 17 00:00:00 2001 +From 528276dfeb134c7e8f46afdced23ebb1c7da0c8b Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:06 +0100 -Subject: [PATCH 033/414] hrtimer: Make hrtimer_reprogramm() unconditional +Subject: [PATCH 033/418] hrtimer: Make hrtimer_reprogramm() unconditional hrtimer_reprogram() needs to be available unconditionally for softirq based hrtimers. Move the function and all required struct members out of the @@ -189,5 +189,5 @@ index e01c2e78c032..37085a13f19a 100644 * Clock realtime was set * -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0034-0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch b/kernel/patches-4.14.x-rt/0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0034-0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch rename to kernel/patches-4.14.x-rt/0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch index f007a8b96..7c77c63de 100644 --- a/kernel/patches-4.14.x-rt/0034-0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch +++ b/kernel/patches-4.14.x-rt/0034-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch @@ -1,7 +1,7 @@ -From 296b6f8f96067a3acd75a96325e47bc48684b724 Mon Sep 17 00:00:00 2001 +From 679e677ed43106bfa23fcd7fa318acf826e27113 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:07 +0100 -Subject: [PATCH 034/414] hrtimer: Make hrtimer_force_reprogramm() +Subject: [PATCH 034/418] hrtimer: Make hrtimer_force_reprogramm() unconditionally available hrtimer_force_reprogram() needs to be available unconditionally for softirq @@ -107,5 +107,5 @@ index 37085a13f19a..5fd669dd46be 100644 #endif /* CONFIG_HIGH_RES_TIMERS */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0035-0035-hrtimer-Unify-handling-of-hrtimer-remove.patch b/kernel/patches-4.14.x-rt/0035-hrtimer-Unify-handling-of-hrtimer-remove.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0035-0035-hrtimer-Unify-handling-of-hrtimer-remove.patch rename to kernel/patches-4.14.x-rt/0035-hrtimer-Unify-handling-of-hrtimer-remove.patch index b2d61daeb..b2ce80848 100644 --- a/kernel/patches-4.14.x-rt/0035-0035-hrtimer-Unify-handling-of-hrtimer-remove.patch +++ b/kernel/patches-4.14.x-rt/0035-hrtimer-Unify-handling-of-hrtimer-remove.patch @@ -1,7 +1,7 @@ -From f4b8779db8b944689effad2ade03a5ac5d1e3cfa Mon Sep 17 00:00:00 2001 +From 748812cb4f5a3b85cb2ba72c6edb68e390137b84 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:08 +0100 -Subject: [PATCH 035/414] hrtimer: Unify handling of hrtimer remove +Subject: [PATCH 035/418] hrtimer: Unify handling of hrtimer remove When the first hrtimer on the current CPU is removed, hrtimer_force_reprogram() is invoked but only when @@ -90,5 +90,5 @@ index 5fd669dd46be..ce9a3ef7a796 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0036-0036-hrtimer-Unify-handling-of-remote-enqueue.patch b/kernel/patches-4.14.x-rt/0036-hrtimer-Unify-handling-of-remote-enqueue.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0036-0036-hrtimer-Unify-handling-of-remote-enqueue.patch rename to kernel/patches-4.14.x-rt/0036-hrtimer-Unify-handling-of-remote-enqueue.patch index 4b975847c..5df61e17b 100644 --- a/kernel/patches-4.14.x-rt/0036-0036-hrtimer-Unify-handling-of-remote-enqueue.patch +++ b/kernel/patches-4.14.x-rt/0036-hrtimer-Unify-handling-of-remote-enqueue.patch @@ -1,7 +1,7 @@ -From b565edf2df1347c8d0fe93057c5da89786b20107 Mon Sep 17 00:00:00 2001 +From bf1446f64f73dad06295e748afb019d24f7cb3ef Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:09 +0100 -Subject: [PATCH 036/414] hrtimer: Unify handling of remote enqueue +Subject: [PATCH 036/418] hrtimer: Unify handling of remote enqueue hrtimer_reprogram() is conditionally invoked from hrtimer_start_range_ns() when hrtimer_cpu_base.hres_active is true. @@ -154,5 +154,5 @@ index b24232985960..34415f2b3f04 100644 static unsigned long round_jiffies_common(unsigned long j, int cpu, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0037-0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch b/kernel/patches-4.14.x-rt/0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0037-0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch rename to kernel/patches-4.14.x-rt/0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch index 2dc96295b..2b9490082 100644 --- a/kernel/patches-4.14.x-rt/0037-0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch +++ b/kernel/patches-4.14.x-rt/0037-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch @@ -1,7 +1,7 @@ -From 8cdb34edfcfc64ca7dbf397f0f9235f2d8d6762f Mon Sep 17 00:00:00 2001 +From fb8fd05821b83cac5e75caf3cd2e7d7f939e9df8 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:10 +0100 -Subject: [PATCH 037/414] hrtimer: Make remote enqueue decision less +Subject: [PATCH 037/418] hrtimer: Make remote enqueue decision less restrictive The current decision whether a timer can be queued on a remote CPU checks @@ -34,5 +34,5 @@ index 35d7d0c8c3d6..1b2866645c83 100644 static inline -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0038-0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch b/kernel/patches-4.14.x-rt/0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0038-0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch rename to kernel/patches-4.14.x-rt/0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch index aefd9b25d..a344bdc10 100644 --- a/kernel/patches-4.14.x-rt/0038-0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch +++ b/kernel/patches-4.14.x-rt/0038-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch @@ -1,7 +1,7 @@ -From fb9c6739c8274982180e104abd48a945f9aa8349 Mon Sep 17 00:00:00 2001 +From 9f9520ee32930e264c6c3b96bcbff47d3e1d3535 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:11 +0100 -Subject: [PATCH 038/414] hrtimer: Remove base argument from +Subject: [PATCH 038/418] hrtimer: Remove base argument from hrtimer_reprogram() hrtimer_reprogram() must have access to the hrtimer_clock_base of the new @@ -52,5 +52,5 @@ index 1b2866645c83..9030dcb3ef14 100644 unlock_hrtimer_base(timer, &flags); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0039-0039-hrtimer-Split-hrtimer_start_range_ns.patch b/kernel/patches-4.14.x-rt/0039-hrtimer-Split-hrtimer_start_range_ns.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0039-0039-hrtimer-Split-hrtimer_start_range_ns.patch rename to kernel/patches-4.14.x-rt/0039-hrtimer-Split-hrtimer_start_range_ns.patch index 321268b2b..cb6b193e3 100644 --- a/kernel/patches-4.14.x-rt/0039-0039-hrtimer-Split-hrtimer_start_range_ns.patch +++ b/kernel/patches-4.14.x-rt/0039-hrtimer-Split-hrtimer_start_range_ns.patch @@ -1,7 +1,7 @@ -From c898510c489084e806002595da513370d3088901 Mon Sep 17 00:00:00 2001 +From 2902f951d983fd0c1ba2c263f8cefaaf9920dddf Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:12 +0100 -Subject: [PATCH 039/414] hrtimer: Split hrtimer_start_range_ns() +Subject: [PATCH 039/418] hrtimer: Split hrtimer_start_range_ns() Preparatory patch for softirq based hrtimers to avoid code duplication. No functional change. @@ -77,5 +77,5 @@ index 9030dcb3ef14..687a8d903a18 100644 } EXPORT_SYMBOL_GPL(hrtimer_start_range_ns); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0040-0040-hrtimer-Split-__hrtimer_get_next_event.patch b/kernel/patches-4.14.x-rt/0040-hrtimer-Split-__hrtimer_get_next_event.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0040-0040-hrtimer-Split-__hrtimer_get_next_event.patch rename to kernel/patches-4.14.x-rt/0040-hrtimer-Split-__hrtimer_get_next_event.patch index 997bf7202..df900ba6c 100644 --- a/kernel/patches-4.14.x-rt/0040-0040-hrtimer-Split-__hrtimer_get_next_event.patch +++ b/kernel/patches-4.14.x-rt/0040-hrtimer-Split-__hrtimer_get_next_event.patch @@ -1,7 +1,7 @@ -From 277b1870d5329ddfbb1343c8627a8f83b4250f45 Mon Sep 17 00:00:00 2001 +From 02981f05fa68ffe985a592dc05e55aab21ade52d Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:13 +0100 -Subject: [PATCH 040/414] hrtimer: Split __hrtimer_get_next_event() +Subject: [PATCH 040/418] hrtimer: Split __hrtimer_get_next_event() Preparatory patch for softirq based hrtimers to avoid code duplication. No functional change. @@ -54,5 +54,5 @@ index 687a8d903a18..2382bc5d8e4d 100644 static inline ktime_t hrtimer_update_base(struct hrtimer_cpu_base *base) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0041-0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch b/kernel/patches-4.14.x-rt/0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0041-0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch rename to kernel/patches-4.14.x-rt/0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch index 144ec5b24..c810a1935 100644 --- a/kernel/patches-4.14.x-rt/0041-0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0041-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch @@ -1,7 +1,7 @@ -From 5cd854bf805216d2a22f14c9f29d0cc51f7cdc66 Mon Sep 17 00:00:00 2001 +From 98dc570c5d061de989184f864ecfb6ce8d37908d Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:14 +0100 -Subject: [PATCH 041/414] hrtimer: Use irqsave/irqrestore around +Subject: [PATCH 041/418] hrtimer: Use irqsave/irqrestore around __run_hrtimer() __run_hrtimer() is called with the hrtimer_cpu_base.lock held and @@ -147,5 +147,5 @@ index 2382bc5d8e4d..86cdc9a76911 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0042-0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch b/kernel/patches-4.14.x-rt/0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0042-0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch rename to kernel/patches-4.14.x-rt/0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch index 8179a3379..97aeb3aa3 100644 --- a/kernel/patches-4.14.x-rt/0042-0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch +++ b/kernel/patches-4.14.x-rt/0042-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch @@ -1,7 +1,7 @@ -From d16c4975b23e4429a198b5bcc16d46e12eaad23c Mon Sep 17 00:00:00 2001 +From d748cf5fda146e95ece2f26bbb5355989feb2c0c Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:15 +0100 -Subject: [PATCH 042/414] hrtimer: Add clock bases and hrtimer mode for soft +Subject: [PATCH 042/418] hrtimer: Add clock bases and hrtimer mode for soft irq context hrtimer callback functions are always executed in hard interrupt @@ -114,5 +114,5 @@ index 86cdc9a76911..b5121845d12c 100644 }; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0043-0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch b/kernel/patches-4.14.x-rt/0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0043-0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch rename to kernel/patches-4.14.x-rt/0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch index 778a47b00..1463744e5 100644 --- a/kernel/patches-4.14.x-rt/0043-0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch +++ b/kernel/patches-4.14.x-rt/0043-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch @@ -1,7 +1,7 @@ -From fcbfa28f6d81a03a9145742c7765ef00c42b1e06 Mon Sep 17 00:00:00 2001 +From 8eacbcb00c9529dab3e37cfd52c28c8812c075d0 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:16 +0100 -Subject: [PATCH 043/414] hrtimer: Prepare handling of hard and softirq based +Subject: [PATCH 043/418] hrtimer: Prepare handling of hard and softirq based hrtimers The softirq based hrtimer can utilize most of the existing hrtimers @@ -118,5 +118,5 @@ index b5121845d12c..9a1f2b00c847 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0044-0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch b/kernel/patches-4.14.x-rt/0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0044-0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch rename to kernel/patches-4.14.x-rt/0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch index d42652e49..632f0568e 100644 --- a/kernel/patches-4.14.x-rt/0044-0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch +++ b/kernel/patches-4.14.x-rt/0044-hrtimer-Implement-support-for-softirq-based-hrtimers.patch @@ -1,7 +1,7 @@ -From 4070b8e3ab87c596835bede6b35be54a03fa515b Mon Sep 17 00:00:00 2001 +From f5e86c469b7c959867c9f4cb475ba5a116655ea6 Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:17 +0100 -Subject: [PATCH 044/414] hrtimer: Implement support for softirq based hrtimers +Subject: [PATCH 044/418] hrtimer: Implement support for softirq based hrtimers hrtimer callbacks are always invoked in hard interrupt context. Several users in tree require soft interrupt context for their callbacks and @@ -502,5 +502,5 @@ index 9a1f2b00c847..66d7a12d7256 100644 /** -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0045-0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch b/kernel/patches-4.14.x-rt/0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0045-0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch rename to kernel/patches-4.14.x-rt/0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch index b1dae0eeb..606a3da0e 100644 --- a/kernel/patches-4.14.x-rt/0045-0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch +++ b/kernel/patches-4.14.x-rt/0045-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch @@ -1,7 +1,7 @@ -From f32935dba4227215f4872b837873273cb08784ba Mon Sep 17 00:00:00 2001 +From 19acab9d8df9e75cfa7ec3ef85cd681573fda33e Mon Sep 17 00:00:00 2001 From: Anna-Maria Gleixner Date: Wed, 20 Dec 2017 17:13:18 +0100 -Subject: [PATCH 045/414] hrtimer: Implement SOFT/HARD clock base selection +Subject: [PATCH 045/418] hrtimer: Implement SOFT/HARD clock base selection All prerequisites to handle hrtimers for expiry in either hard or soft interrupt context are in place. @@ -57,5 +57,5 @@ index 66d7a12d7256..9947480ad731 100644 void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0046-0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch b/kernel/patches-4.14.x-rt/0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0046-0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch rename to kernel/patches-4.14.x-rt/0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch index 2689ce798..51b74a8e1 100644 --- a/kernel/patches-4.14.x-rt/0046-0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch +++ b/kernel/patches-4.14.x-rt/0046-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch @@ -1,7 +1,7 @@ -From 7e4dacaced7572790d1378572a6cad20845d15e7 Mon Sep 17 00:00:00 2001 +From 2cbedaf9c22fa9c7b29f6e31ac181afd7d604783 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:11 +0100 -Subject: [PATCH 046/414] can/bcm: Replace hrtimer_tasklet with softirq based +Subject: [PATCH 046/418] can/bcm: Replace hrtimer_tasklet with softirq based hrtimer Switch the timer to HRTIMER_MODE_SOFT, which executed the timer @@ -317,5 +317,5 @@ index 13690334efa3..9cc67ac257f1 100644 /* now we can register for can_ids, if we added a new bcm_op */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0047-0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch b/kernel/patches-4.14.x-rt/0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0047-0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch rename to kernel/patches-4.14.x-rt/0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch index 8918f843e..762c902fe 100644 --- a/kernel/patches-4.14.x-rt/0047-0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch +++ b/kernel/patches-4.14.x-rt/0047-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch @@ -1,7 +1,7 @@ -From b28f5667a2a0e339de56b877e2caeabe3cb52ca5 Mon Sep 17 00:00:00 2001 +From b598f6cc9629cfae9153cad4f169cd94de94b74d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:12 +0100 -Subject: [PATCH 047/414] mac80211_hwsim: Replace hrtimer tasklet with softirq +Subject: [PATCH 047/418] mac80211_hwsim: Replace hrtimer tasklet with softirq hrtimer Switch the timer to HRTIMER_MODE_SOFT, which executed the timer @@ -137,5 +137,5 @@ index d686ba10fecc..4afcdee4f8e2 100644 spin_lock_bh(&hwsim_radio_lock); list_add_tail(&data->list, &hwsim_radios); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0048-0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0048-0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch index 48e258243..2b1f7e784 100644 --- a/kernel/patches-4.14.x-rt/0048-0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0048-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch @@ -1,7 +1,7 @@ -From 25822e33d44a3895a02f0f051e8b39377ab74c4c Mon Sep 17 00:00:00 2001 +From ab4e9cdebdecf8afc31c2175eeef0ee491edd893 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:13 +0100 -Subject: [PATCH 048/414] xfrm: Replace hrtimer tasklet with softirq hrtimer +Subject: [PATCH 048/418] xfrm: Replace hrtimer tasklet with softirq hrtimer Switch the timer to HRTIMER_MODE_SOFT, which executed the timer callback in softirq context and remove the hrtimer_tasklet. @@ -32,7 +32,7 @@ index db99efb2d1d0..a7b95ffbbf8b 100644 struct xfrm_state_offload xso; diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c -index 8f13fb57eab5..25cf36faa4d2 100644 +index 6c4ec69e11a0..77f52dc790ec 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c @@ -427,7 +427,7 @@ static void xfrm_put_mode(struct xfrm_mode *mode) @@ -116,7 +116,7 @@ index 8f13fb57eab5..25cf36faa4d2 100644 list_add(&x->km.all, &net->xfrm.state_all); hlist_add_head_rcu(&x->bydst, net->xfrm.state_bydst + h); h = xfrm_src_hash(net, daddr, saddr, family); -@@ -1545,7 +1550,8 @@ int xfrm_state_update(struct xfrm_state *x) +@@ -1546,7 +1551,8 @@ int xfrm_state_update(struct xfrm_state *x) memcpy(&x1->lft, &x->lft, sizeof(x1->lft)); x1->km.dying = 0; @@ -126,7 +126,7 @@ index 8f13fb57eab5..25cf36faa4d2 100644 if (x1->curlft.use_time) xfrm_state_check_expire(x1); -@@ -1569,7 +1575,7 @@ int xfrm_state_check_expire(struct xfrm_state *x) +@@ -1570,7 +1576,7 @@ int xfrm_state_check_expire(struct xfrm_state *x) if (x->curlft.bytes >= x->lft.hard_byte_limit || x->curlft.packets >= x->lft.hard_packet_limit) { x->km.state = XFRM_STATE_EXPIRED; @@ -136,5 +136,5 @@ index 8f13fb57eab5..25cf36faa4d2 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0049-0049-softirq-Remove-tasklet_hrtimer.patch b/kernel/patches-4.14.x-rt/0049-softirq-Remove-tasklet_hrtimer.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0049-0049-softirq-Remove-tasklet_hrtimer.patch rename to kernel/patches-4.14.x-rt/0049-softirq-Remove-tasklet_hrtimer.patch index 13f7b1c88..53fff6404 100644 --- a/kernel/patches-4.14.x-rt/0049-0049-softirq-Remove-tasklet_hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0049-softirq-Remove-tasklet_hrtimer.patch @@ -1,7 +1,7 @@ -From 42bcae097379d479e0df8f959fd02e01b465fdc2 Mon Sep 17 00:00:00 2001 +From 07f6a6cd6f185c258b51f5868df1099d8ac0409f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:14 +0100 -Subject: [PATCH 049/414] softirq: Remove tasklet_hrtimer +Subject: [PATCH 049/418] softirq: Remove tasklet_hrtimer There are no more tasklet_hrtimer users of this interface. Remove it. @@ -113,5 +113,5 @@ index e89c3b0cff6d..359cec869172 100644 { int cpu; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0050-0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0050-0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch index a1d113967..401ca833e 100644 --- a/kernel/patches-4.14.x-rt/0050-0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0050-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch @@ -1,7 +1,7 @@ -From 87b0744dcb085fdb3894b682c27aff630a245369 Mon Sep 17 00:00:00 2001 +From 24d5357d77a69078fc98402de3aab60d653b3fa8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:15 +0100 -Subject: [PATCH 050/414] ALSA/dummy: Replace tasklet with softirq hrtimer +Subject: [PATCH 050/418] ALSA/dummy: Replace tasklet with softirq hrtimer The tasklet is used to defer the execution of snd_pcm_period_elapsed() to the softirq context. Using the HRTIMER_MODE_SOFT mode invokes the timer @@ -101,5 +101,5 @@ index c0939a0164a6..549e014ecc0d 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0051-0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0051-0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch index beb79a706..4450ab6ac 100644 --- a/kernel/patches-4.14.x-rt/0051-0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0051-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch @@ -1,7 +1,7 @@ -From 72c4503e32e667180b324dbfbd27d70be2977562 Mon Sep 17 00:00:00 2001 +From 0057023498b6d4b22530b1dfbe73ecbc8ffad56d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:16 +0100 -Subject: [PATCH 051/414] usb/gadget/NCM: Replace tasklet with softirq hrtimer +Subject: [PATCH 051/418] usb/gadget/NCM: Replace tasklet with softirq hrtimer The tx_tasklet tasklet is used in invoke the hrtimer (task_timer) in softirq context. This can be also achieved without the tasklet but @@ -98,5 +98,5 @@ index 45b334ceaf2e..5f24e6d3b6eb 100644 ncm_string_defs[0].id = 0; usb_free_all_descriptors(f); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0052-0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0052-0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch index 31f4f4117..635326625 100644 --- a/kernel/patches-4.14.x-rt/0052-0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0052-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch @@ -1,7 +1,7 @@ -From 30d225bd318c7d54b729bcf76ef5a7e88bd5c546 Mon Sep 17 00:00:00 2001 +From c49af3d9c660a7a707a2df5d9de7476078ea0d4e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 23 Nov 2017 16:39:17 +0100 -Subject: [PATCH 052/414] net/mvpp2: Replace tasklet with softirq hrtimer +Subject: [PATCH 052/418] net/mvpp2: Replace tasklet with softirq hrtimer The tx_done_tasklet tasklet is used in invoke the hrtimer (mvpp2_hr_timer_cb) in softirq context. This can be also achieved without @@ -134,5 +134,5 @@ index 529be74f609d..b1d7378b131c 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0053-0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch b/kernel/patches-4.14.x-rt/0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0053-0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch rename to kernel/patches-4.14.x-rt/0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch index e91600dca..6ea65d22a 100644 --- a/kernel/patches-4.14.x-rt/0053-0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch +++ b/kernel/patches-4.14.x-rt/0053-arm-at91-do-not-disable-enable-clocks-in-a-row.patch @@ -1,7 +1,7 @@ -From 8b8a0dc21253584aa11d73bc8556a67daa901feb Mon Sep 17 00:00:00 2001 +From b6c2b5989660b182405f3934877171c0a96c4dcc Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 9 Mar 2016 10:51:06 +0100 -Subject: [PATCH 053/414] arm: at91: do not disable/enable clocks in a row +Subject: [PATCH 053/418] arm: at91: do not disable/enable clocks in a row Currently the driver will disable the clock and enable it one line later if it is switching from periodic mode into one shot. @@ -93,5 +93,5 @@ index 9de47d4d2d9e..4f45be268e52 100644 .set_state_oneshot = tc_set_oneshot, }, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0054-0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch b/kernel/patches-4.14.x-rt/0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0054-0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch rename to kernel/patches-4.14.x-rt/0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch index 5d2819c90..f0afce50e 100644 --- a/kernel/patches-4.14.x-rt/0054-0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch +++ b/kernel/patches-4.14.x-rt/0054-ARM-smp-Move-clear_tasks_mm_cpumask-call-to-__cpu_di.patch @@ -1,7 +1,7 @@ -From 86dbb8631a7a242cfa68176d0fa434360cc9f2ce Mon Sep 17 00:00:00 2001 +From 09e618ba20c6ff837af1ce439e27e0979ae617b9 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Fri, 11 Sep 2015 21:21:23 +0300 -Subject: [PATCH 054/414] ARM: smp: Move clear_tasks_mm_cpumask() call to +Subject: [PATCH 054/418] ARM: smp: Move clear_tasks_mm_cpumask() call to __cpu_die() When running with the RT-kernel (4.1.5-rt5) on TI OMAP dra7-evm and trying @@ -87,5 +87,5 @@ index c9a0a5299827..7e5122af96ca 100644 * platform_cpu_kill() is generally expected to do the powering off * and/or cutting of clocks to the dying CPU. Optionally, this may -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0055-0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch b/kernel/patches-4.14.x-rt/0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0055-0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch rename to kernel/patches-4.14.x-rt/0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch index a29c0ecf2..ea7a5e442 100644 --- a/kernel/patches-4.14.x-rt/0055-0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch +++ b/kernel/patches-4.14.x-rt/0055-rtmutex-Handle-non-enqueued-waiters-gracefully.patch @@ -1,7 +1,7 @@ -From 9f2487b25f2e8ffbafbe315bcf5befefa920cb89 Mon Sep 17 00:00:00 2001 +From 8b2112f6afd9643d70f46582f0602be382b62eef Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 6 Nov 2015 18:51:03 +0100 -Subject: [PATCH 055/414] rtmutex: Handle non enqueued waiters gracefully +Subject: [PATCH 055/418] rtmutex: Handle non enqueued waiters gracefully Yimin debugged that in case of a PI wakeup in progress when rt_mutex_start_proxy_lock() calls task_blocks_on_rt_mutex() the latter @@ -33,5 +33,5 @@ index 940633c63254..fe7f97edc94e 100644 debug_rt_mutex_print_deadlock(waiter); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0056-0056-rbtree-include-rcu.h-because-we-use-it.patch b/kernel/patches-4.14.x-rt/0056-rbtree-include-rcu.h-because-we-use-it.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0056-0056-rbtree-include-rcu.h-because-we-use-it.patch rename to kernel/patches-4.14.x-rt/0056-rbtree-include-rcu.h-because-we-use-it.patch index bf23bb496..e0b15569a 100644 --- a/kernel/patches-4.14.x-rt/0056-0056-rbtree-include-rcu.h-because-we-use-it.patch +++ b/kernel/patches-4.14.x-rt/0056-rbtree-include-rcu.h-because-we-use-it.patch @@ -1,7 +1,7 @@ -From 1e763f13882ae919defe08421e1964f5cb429110 Mon Sep 17 00:00:00 2001 +From 1ee4bc5017c2dfc14b348a6a131223a148ca89d2 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 11:52:17 +0200 -Subject: [PATCH 056/414] rbtree: include rcu.h because we use it +Subject: [PATCH 056/418] rbtree: include rcu.h because we use it Since commit c1adf20052d8 ("Introduce rb_replace_node_rcu()") rbtree_augmented.h uses RCU related data structures but does not include @@ -39,5 +39,5 @@ index ece43e882b56..7d012faa509a 100644 struct latch_tree_node { struct rb_node node[2]; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0057-0057-rxrpc-remove-unused-static-variables.patch b/kernel/patches-4.14.x-rt/0057-rxrpc-remove-unused-static-variables.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0057-0057-rxrpc-remove-unused-static-variables.patch rename to kernel/patches-4.14.x-rt/0057-rxrpc-remove-unused-static-variables.patch index 68cd0a89c..dc211f32d 100644 --- a/kernel/patches-4.14.x-rt/0057-0057-rxrpc-remove-unused-static-variables.patch +++ b/kernel/patches-4.14.x-rt/0057-rxrpc-remove-unused-static-variables.patch @@ -1,7 +1,7 @@ -From 04c557c3e0d947e2084a4de10bc56aa8372ff6e1 Mon Sep 17 00:00:00 2001 +From ecf53d6e5fac47f5613f8adef21d9a3aa9928e7d Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 21 Oct 2016 10:54:50 +0200 -Subject: [PATCH 057/414] rxrpc: remove unused static variables +Subject: [PATCH 057/418] rxrpc: remove unused static variables The rxrpc_security_methods and rxrpc_security_sem user has been removed in 648af7fca159 ("rxrpc: Absorb the rxkad security module"). This was @@ -28,5 +28,5 @@ index e9f428351293..c4479afe8ae7 100644 [RXRPC_SECURITY_NONE] = &rxrpc_no_security, #ifdef CONFIG_RXKAD -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0058-0058-mfd-syscon-atmel-smc-include-string.h.patch b/kernel/patches-4.14.x-rt/0058-mfd-syscon-atmel-smc-include-string.h.patch similarity index 83% rename from kernel/patches-4.14.x-rt/0058-0058-mfd-syscon-atmel-smc-include-string.h.patch rename to kernel/patches-4.14.x-rt/0058-mfd-syscon-atmel-smc-include-string.h.patch index ea69dfcb0..f44591d87 100644 --- a/kernel/patches-4.14.x-rt/0058-0058-mfd-syscon-atmel-smc-include-string.h.patch +++ b/kernel/patches-4.14.x-rt/0058-mfd-syscon-atmel-smc-include-string.h.patch @@ -1,7 +1,7 @@ -From 3bb9ec8538c6fbe78e7d1000cdb90d5dc9fef5de Mon Sep 17 00:00:00 2001 +From 2f94baea30383e8da5bca2d7854c92d64ad22c37 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 4 Oct 2017 09:55:58 +0200 -Subject: [PATCH 058/414] mfd: syscon: atmel-smc: include string.h +Subject: [PATCH 058/418] mfd: syscon: atmel-smc: include string.h The string.h header file is needed for the memset() definition. The RT build fails because it is not pulled in via other header files. @@ -24,5 +24,5 @@ index 7d77948567d7..0adbd2e796fe 100644 /** * atmel_smc_cs_conf_init - initialize a SMC CS conf -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0059-0059-sched-swait-include-wait.h.patch b/kernel/patches-4.14.x-rt/0059-sched-swait-include-wait.h.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0059-0059-sched-swait-include-wait.h.patch rename to kernel/patches-4.14.x-rt/0059-sched-swait-include-wait.h.patch index cfc4add92..172bff714 100644 --- a/kernel/patches-4.14.x-rt/0059-0059-sched-swait-include-wait.h.patch +++ b/kernel/patches-4.14.x-rt/0059-sched-swait-include-wait.h.patch @@ -1,7 +1,7 @@ -From 5fb42773ca3ff7b4d7106a80ca60df8ce46bc95c Mon Sep 17 00:00:00 2001 +From 88a1052fc359232c614fe07d2331b21fc5f1cdd0 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 4 Dec 2017 13:11:10 +0100 -Subject: [PATCH 059/414] sched/swait: include wait.h +Subject: [PATCH 059/418] sched/swait: include wait.h kbuild bot reported against an intermediate RT patch that the build fails with: @@ -37,5 +37,5 @@ index c98aaf677466..84f9745365ff 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0060-0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch b/kernel/patches-4.14.x-rt/0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0060-0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch rename to kernel/patches-4.14.x-rt/0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch index 79b2b7591..45bedc374 100644 --- a/kernel/patches-4.14.x-rt/0060-0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch +++ b/kernel/patches-4.14.x-rt/0060-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch @@ -1,7 +1,7 @@ -From 563b91d9d3b7a337be9c292b216f6e40c2bf48d7 Mon Sep 17 00:00:00 2001 +From 501738a0c05a729a4cdfdc465d67b69d307ed5ca Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 28 Oct 2016 23:05:11 +0200 -Subject: [PATCH 060/414] NFSv4: replace seqcount_t with a seqlock_t +Subject: [PATCH 060/418] NFSv4: replace seqcount_t with a seqlock_t 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 @@ -44,7 +44,7 @@ index 606dd3871f66..fa41eb75b4d8 100644 mutex_unlock(&sp->so_delegreturn_mutex); put_nfs_open_context(ctx); diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h -index dcfcf7fd7438..c4498ba4d97b 100644 +index a73144b3cb8c..0c403d280b96 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -112,7 +112,7 @@ struct nfs4_state_owner { @@ -57,10 +57,10 @@ index dcfcf7fd7438..c4498ba4d97b 100644 }; diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c -index ae8f43d270d6..e95055c73ef0 100644 +index 8ff98bbe479b..610abc7392d7 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c -@@ -2642,7 +2642,7 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata, +@@ -2686,7 +2686,7 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata, unsigned int seq; int ret; @@ -69,7 +69,7 @@ index ae8f43d270d6..e95055c73ef0 100644 ret = _nfs4_proc_open(opendata); if (ret != 0) -@@ -2680,7 +2680,7 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata, +@@ -2724,7 +2724,7 @@ static int _nfs4_open_and_get_state(struct nfs4_opendata *opendata, if (d_inode(dentry) == state->inode) { nfs_inode_attach_open_context(ctx); @@ -131,5 +131,5 @@ index 45873ed92057..c487a1ca7106 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0061-0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch b/kernel/patches-4.14.x-rt/0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0061-0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch rename to kernel/patches-4.14.x-rt/0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch index 20b7a922a..7a7bbb0ac 100644 --- a/kernel/patches-4.14.x-rt/0061-0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch +++ b/kernel/patches-4.14.x-rt/0061-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch @@ -1,7 +1,7 @@ -From 263c7527d57fce678a521bd94fdb46da18ea5296 Mon Sep 17 00:00:00 2001 +From c685af47c8ba64119584512bb0881367c104e439 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 15:35:57 +0200 -Subject: [PATCH 061/414] Bluetooth: avoid recursive locking in +Subject: [PATCH 061/418] Bluetooth: avoid recursive locking in hci_send_to_channel() Mart reported a deadlock in -RT in the call path: @@ -72,5 +72,5 @@ index 65d734c165bd..923e9a271872 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0062-0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch b/kernel/patches-4.14.x-rt/0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0062-0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch rename to kernel/patches-4.14.x-rt/0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch index 12f24e0d2..f34d3956e 100644 --- a/kernel/patches-4.14.x-rt/0062-0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch +++ b/kernel/patches-4.14.x-rt/0062-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch @@ -1,7 +1,7 @@ -From 664685618c427ebd0ab812c5e0c60f1fe27babef Mon Sep 17 00:00:00 2001 +From e6ea419645846e97bf9b1a6434b6822c9997193b Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 17:21:40 +0200 -Subject: [PATCH 062/414] iommu/iova: Use raw_cpu_ptr() instead of +Subject: [PATCH 062/418] iommu/iova: Use raw_cpu_ptr() instead of get_cpu_ptr() for ->fq get_cpu_ptr() disabled preemption and returns the ->fq object of the @@ -44,5 +44,5 @@ index 33edfa794ae9..b30900025c62 100644 EXPORT_SYMBOL_GPL(queue_iova); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0063-0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0063-0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch rename to kernel/patches-4.14.x-rt/0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch index 06f196ab2..b9bd7e97b 100644 --- a/kernel/patches-4.14.x-rt/0063-0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch +++ b/kernel/patches-4.14.x-rt/0063-greybus-audio-don-t-inclide-rwlock.h-directly.patch @@ -1,7 +1,7 @@ -From 47736832b2310bb49311025ba0e61fe80124cd94 Mon Sep 17 00:00:00 2001 +From 4c708f244439a8be64e98c3181a9622d6f7a27b7 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 5 Oct 2017 14:38:52 +0200 -Subject: [PATCH 063/414] greybus: audio: don't inclide rwlock.h directly. +Subject: [PATCH 063/418] greybus: audio: don't inclide rwlock.h directly. rwlock.h should not be included directly. Instead linux/splinlock.h should be included. One thing it does is to break the RT build. @@ -32,5 +32,5 @@ index aa6508b44fab..045696ce85c7 100644 #include "audio_manager.h" -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0064-0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0064-0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch rename to kernel/patches-4.14.x-rt/0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch index 641092279..ef00ab73e 100644 --- a/kernel/patches-4.14.x-rt/0064-0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch +++ b/kernel/patches-4.14.x-rt/0064-xen-9pfs-don-t-inclide-rwlock.h-directly.patch @@ -1,7 +1,7 @@ -From 0e7a72ced9f507028a2fd2f593bac4c974d3bb85 Mon Sep 17 00:00:00 2001 +From a465d491485f432fbfdfa5e72f6cc97604bbed6f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 5 Oct 2017 14:38:52 +0200 -Subject: [PATCH 064/414] xen/9pfs: don't inclide rwlock.h directly. +Subject: [PATCH 064/418] xen/9pfs: don't inclide rwlock.h directly. rwlock.h should not be included directly. Instead linux/splinlock.h should be included. One thing it does is to break the RT build. @@ -30,5 +30,5 @@ index 325c56043007..a3f577e81c79 100644 #include #include -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0065-0065-drm-i915-properly-init-lockdep-class.patch b/kernel/patches-4.14.x-rt/0065-drm-i915-properly-init-lockdep-class.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0065-0065-drm-i915-properly-init-lockdep-class.patch rename to kernel/patches-4.14.x-rt/0065-drm-i915-properly-init-lockdep-class.patch index 9f12d8831..18e684980 100644 --- a/kernel/patches-4.14.x-rt/0065-0065-drm-i915-properly-init-lockdep-class.patch +++ b/kernel/patches-4.14.x-rt/0065-drm-i915-properly-init-lockdep-class.patch @@ -1,7 +1,7 @@ -From 5c2ada25bae668725a91b9c3d968ba297f9d83e2 Mon Sep 17 00:00:00 2001 +From 64f7609a4afaa3ae86b180e6b390ab61c7297756 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 30 Nov 2017 16:06:13 +0100 -Subject: [PATCH 065/414] drm/i915: properly init lockdep class +Subject: [PATCH 065/418] drm/i915: properly init lockdep class The code has an ifdef and uses two functions to either init the bare spinlock or init it and set a lock-class. It is possible to do the same @@ -33,5 +33,5 @@ index c597ce277a04..c1108d3921f8 100644 INIT_LIST_HEAD(&tl->requests); i915_syncmap_init(&tl->sync); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0066-0066-timerqueue-Document-return-values-of-timerqueue_add-.patch b/kernel/patches-4.14.x-rt/0066-timerqueue-Document-return-values-of-timerqueue_add-.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0066-0066-timerqueue-Document-return-values-of-timerqueue_add-.patch rename to kernel/patches-4.14.x-rt/0066-timerqueue-Document-return-values-of-timerqueue_add-.patch index c94f78a6c..87a973d7c 100644 --- a/kernel/patches-4.14.x-rt/0066-0066-timerqueue-Document-return-values-of-timerqueue_add-.patch +++ b/kernel/patches-4.14.x-rt/0066-timerqueue-Document-return-values-of-timerqueue_add-.patch @@ -1,7 +1,7 @@ -From ec5fd96756a5ba739aa063ec489a5969052b17a9 Mon Sep 17 00:00:00 2001 +From 2824c3956bf820cd38b0f3a08216efbef33788bc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Dec 2017 15:51:15 +0100 -Subject: [PATCH 066/414] timerqueue: Document return values of +Subject: [PATCH 066/418] timerqueue: Document return values of timerqueue_add/del() The return values of timerqueue_add/del() are not documented in the kernel doc @@ -41,5 +41,5 @@ index 4a720ed4fdaf..0d54bcbc8170 100644 bool timerqueue_del(struct timerqueue_head *head, struct timerqueue_node *node) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0067-0067-sparc64-use-generic-rwsem-spinlocks-rt.patch b/kernel/patches-4.14.x-rt/0067-sparc64-use-generic-rwsem-spinlocks-rt.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0067-0067-sparc64-use-generic-rwsem-spinlocks-rt.patch rename to kernel/patches-4.14.x-rt/0067-sparc64-use-generic-rwsem-spinlocks-rt.patch index 4aa6d2190..283029a36 100644 --- a/kernel/patches-4.14.x-rt/0067-0067-sparc64-use-generic-rwsem-spinlocks-rt.patch +++ b/kernel/patches-4.14.x-rt/0067-sparc64-use-generic-rwsem-spinlocks-rt.patch @@ -1,7 +1,7 @@ -From 56c6ab8998f8c01e128cd6abf7721efaccfbd17b Mon Sep 17 00:00:00 2001 +From c60dd1b0d2dacd22df582b78b3ef708cf9e6d118 Mon Sep 17 00:00:00 2001 From: Allen Pais Date: Fri, 13 Dec 2013 09:44:41 +0530 -Subject: [PATCH 067/414] sparc64: use generic rwsem spinlocks rt +Subject: [PATCH 067/418] sparc64: use generic rwsem spinlocks rt Signed-off-by: Allen Pais Signed-off-by: Sebastian Andrzej Siewior @@ -29,5 +29,5 @@ index 4e83f950713e..7f9d71523763 100644 config GENERIC_HWEIGHT bool -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0068-0068-kernel-SRCU-provide-a-static-initializer.patch b/kernel/patches-4.14.x-rt/0068-kernel-SRCU-provide-a-static-initializer.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0068-0068-kernel-SRCU-provide-a-static-initializer.patch rename to kernel/patches-4.14.x-rt/0068-kernel-SRCU-provide-a-static-initializer.patch index 0ec5fad5a..5ab895bcd 100644 --- a/kernel/patches-4.14.x-rt/0068-0068-kernel-SRCU-provide-a-static-initializer.patch +++ b/kernel/patches-4.14.x-rt/0068-kernel-SRCU-provide-a-static-initializer.patch @@ -1,7 +1,7 @@ -From bd0fdb707a3a6f12d982868ec34545529180ba3c Mon Sep 17 00:00:00 2001 +From 0f6e08944cbaa658d44e566453df5842b8ce1821 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 19 Mar 2013 14:44:30 +0100 -Subject: [PATCH 068/414] kernel/SRCU: provide a static initializer +Subject: [PATCH 068/418] kernel/SRCU: provide a static initializer There are macros for static initializer for the three out of four possible notifier types, that are: @@ -161,5 +161,5 @@ index a949f4f9e4d7..85ae8c0dddb4 100644 #define DEFINE_STATIC_SRCU(name) __DEFINE_SRCU(name, static) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0069-0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch b/kernel/patches-4.14.x-rt/0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0069-0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch rename to kernel/patches-4.14.x-rt/0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch index 4f0cb6df7..e54f25fcf 100644 --- a/kernel/patches-4.14.x-rt/0069-0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch +++ b/kernel/patches-4.14.x-rt/0069-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch @@ -1,7 +1,7 @@ -From 014036dc7301ff7b0787a4a0b08cd83497a5facb Mon Sep 17 00:00:00 2001 +From ea6612c14ec2799b3cfbefe06ba925dbe056e5af Mon Sep 17 00:00:00 2001 From: "bigeasy@linutronix.de" Date: Fri, 23 Mar 2018 18:17:36 +0100 -Subject: [PATCH 069/414] target: drop spin_lock_assert() + irqs_disabled() +Subject: [PATCH 069/418] target: drop spin_lock_assert() + irqs_disabled() combo checks There are a few functions which check for if the lock is held @@ -64,5 +64,5 @@ index e6d51135d105..b00829995131 100644 return 0; /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0070-0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch b/kernel/patches-4.14.x-rt/0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0070-0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch rename to kernel/patches-4.14.x-rt/0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch index 586da4acf..cfc36408d 100644 --- a/kernel/patches-4.14.x-rt/0070-0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch +++ b/kernel/patches-4.14.x-rt/0070-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch @@ -1,7 +1,7 @@ -From 1c5e16bc89fc0e8ce205056a152e0e315fafea96 Mon Sep 17 00:00:00 2001 +From 86cd8a7ab1b4d258a8d7aa3cbf4bf82b3d857f6f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 4 Apr 2017 12:50:16 +0200 -Subject: [PATCH 070/414] kernel: sched: Provide a pointer to the valid CPU +Subject: [PATCH 070/418] kernel: sched: Provide a pointer to the valid CPU mask MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -219,10 +219,10 @@ index 2fd1694ac1d0..98f4fb696289 100644 } diff --git a/drivers/infiniband/hw/hfi1/affinity.c b/drivers/infiniband/hw/hfi1/affinity.c -index a97055dd4fbd..6a624e733abc 100644 +index b5fab55cc275..4b32a4e8d5da 100644 --- a/drivers/infiniband/hw/hfi1/affinity.c +++ b/drivers/infiniband/hw/hfi1/affinity.c -@@ -576,7 +576,7 @@ int hfi1_get_proc_affinity(int node) +@@ -575,7 +575,7 @@ int hfi1_get_proc_affinity(int node) struct hfi1_affinity_node *entry; cpumask_var_t diff, hw_thread_mask, available_mask, intrs_mask; const struct cpumask *node_mask, @@ -231,7 +231,7 @@ index a97055dd4fbd..6a624e733abc 100644 struct hfi1_affinity_node_list *affinity = &node_affinity; struct cpu_mask_set *set = &affinity->proc; -@@ -584,7 +584,7 @@ int hfi1_get_proc_affinity(int node) +@@ -583,7 +583,7 @@ int hfi1_get_proc_affinity(int node) * check whether process/context affinity has already * been set */ @@ -240,7 +240,7 @@ index a97055dd4fbd..6a624e733abc 100644 hfi1_cdbg(PROC, "PID %u %s affinity set to CPU %*pbl", current->pid, current->comm, cpumask_pr_args(proc_mask)); -@@ -595,7 +595,7 @@ int hfi1_get_proc_affinity(int node) +@@ -594,7 +594,7 @@ int hfi1_get_proc_affinity(int node) cpu = cpumask_first(proc_mask); cpumask_set_cpu(cpu, &set->used); goto done; @@ -295,10 +295,10 @@ index 9396c1807cc3..a42fcd4735cb 100644 if (weight == 1 && !test_bit(cpu, qib_cpulist)) if (!find_hca(cpu, &unit) && unit >= 0) diff --git a/fs/proc/array.c b/fs/proc/array.c -index e6094a15ef30..230dcf56e85a 100644 +index 4ac811e1a26c..9dcb40690cde 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c -@@ -361,9 +361,9 @@ static inline void task_context_switch_counts(struct seq_file *m, +@@ -386,9 +386,9 @@ static inline void task_context_switch_counts(struct seq_file *m, static void task_cpus_allowed(struct seq_file *m, struct task_struct *task) { seq_printf(m, "Cpus_allowed:\t%*pb\n", @@ -325,10 +325,10 @@ index 8062e6cc607c..53ee20e0b168 100644 .mm = NULL, \ .active_mm = &init_mm, \ diff --git a/include/linux/sched.h b/include/linux/sched.h -index 41354690e4e3..5bd2ab2df9d4 100644 +index e04919aa8201..64d8d0794689 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -578,7 +578,8 @@ struct task_struct { +@@ -618,7 +618,8 @@ struct task_struct { unsigned int policy; int nr_cpus_allowed; @@ -338,7 +338,7 @@ index 41354690e4e3..5bd2ab2df9d4 100644 #ifdef CONFIG_PREEMPT_RCU int rcu_read_lock_nesting; -@@ -1315,7 +1316,7 @@ extern struct pid *cad_pid; +@@ -1355,7 +1356,7 @@ extern struct pid *cad_pid; #define PF_KTHREAD 0x00200000 /* I am a kernel thread */ #define PF_RANDOMIZE 0x00400000 /* Randomize virtual address space */ #define PF_SWAPWRITE 0x00800000 /* Allowed to write to swap */ @@ -375,7 +375,7 @@ index 98c91bd341b4..04c3ebd7a9a9 100644 * One for us, one for whoever does the "release_task()" (usually * parent) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 8cf36b30a006..c12765ab3a3a 100644 +index f287dcbe8cb2..5909b525f668 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -960,7 +960,7 @@ static struct rq *__migrate_task(struct rq *rq, struct rq_flags *rf, @@ -507,7 +507,7 @@ index 8cf36b30a006..c12765ab3a3a 100644 * - any previously selected CPU might disappear through hotplug * * Use __set_task_cpu() to avoid calling sched_class::migrate_task_rq, -@@ -4162,7 +4162,7 @@ static int __sched_setscheduler(struct task_struct *p, +@@ -4147,7 +4147,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. */ @@ -516,7 +516,7 @@ index 8cf36b30a006..c12765ab3a3a 100644 rq->rd->dl_bw.bw == 0) { task_rq_unlock(rq, p, &rf); return -EPERM; -@@ -4756,7 +4756,7 @@ long sched_getaffinity(pid_t pid, struct cpumask *mask) +@@ -4741,7 +4741,7 @@ long sched_getaffinity(pid_t pid, struct cpumask *mask) goto out_unlock; raw_spin_lock_irqsave(&p->pi_lock, flags); @@ -525,7 +525,7 @@ index 8cf36b30a006..c12765ab3a3a 100644 raw_spin_unlock_irqrestore(&p->pi_lock, flags); out_unlock: -@@ -5321,7 +5321,7 @@ int task_can_attach(struct task_struct *p, +@@ -5306,7 +5306,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 @@ -534,7 +534,7 @@ index 8cf36b30a006..c12765ab3a3a 100644 */ if (p->flags & PF_NO_SETAFFINITY) { ret = -EINVAL; -@@ -5348,7 +5348,7 @@ int migrate_task_to(struct task_struct *p, int target_cpu) +@@ -5333,7 +5333,7 @@ int migrate_task_to(struct task_struct *p, int target_cpu) if (curr_cpu == target_cpu) return 0; @@ -543,7 +543,7 @@ index 8cf36b30a006..c12765ab3a3a 100644 return -EINVAL; /* TODO: This is not properly updating schedstats */ -@@ -5485,7 +5485,7 @@ static void migrate_tasks(struct rq *dead_rq, struct rq_flags *rf) +@@ -5470,7 +5470,7 @@ static void migrate_tasks(struct rq *dead_rq, struct rq_flags *rf) put_prev_task(rq, next); /* @@ -591,7 +591,7 @@ index 2511aba36b89..7b9bc1de0e6c 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 4ae5c1ea90e2..72a396253dc0 100644 +index 501f17c642ab..a55cb8ce395d 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -504,7 +504,7 @@ static struct rq *dl_task_offline_migration(struct rq *rq, struct task_struct *p @@ -751,10 +751,10 @@ index 5c09ddf8c832..d1916d33f7ff 100644 flags); env.flags |= LBF_ALL_PINNED; diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c -index 470a0c9e93de..a892c5e0ed41 100644 +index bba2217652ff..590c6eea6974 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c -@@ -1592,7 +1592,7 @@ static void put_prev_task_rt(struct rq *rq, struct task_struct *p) +@@ -1594,7 +1594,7 @@ static void put_prev_task_rt(struct rq *rq, struct task_struct *p) static int pick_rt_task(struct rq *rq, struct task_struct *p, int cpu) { if (!task_running(rq, p) && @@ -763,7 +763,7 @@ index 470a0c9e93de..a892c5e0ed41 100644 return 1; return 0; } -@@ -1727,7 +1727,7 @@ static struct rq *find_lock_lowest_rq(struct task_struct *task, struct rq *rq) +@@ -1729,7 +1729,7 @@ static struct rq *find_lock_lowest_rq(struct task_struct *task, struct rq *rq) * Also make sure that it wasn't scheduled on its rq. */ if (unlikely(task_rq(task) != rq || @@ -812,5 +812,5 @@ index 5522692100ba..8b4be8e1802a 100644 trace_foo_with_template_simple("HELLO", cnt); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0071-0071-kernel-sched-core-add-migrate_disable.patch b/kernel/patches-4.14.x-rt/0071-kernel-sched-core-add-migrate_disable.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0071-0071-kernel-sched-core-add-migrate_disable.patch rename to kernel/patches-4.14.x-rt/0071-kernel-sched-core-add-migrate_disable.patch index 201d2c83c..b02ec3c53 100644 --- a/kernel/patches-4.14.x-rt/0071-0071-kernel-sched-core-add-migrate_disable.patch +++ b/kernel/patches-4.14.x-rt/0071-kernel-sched-core-add-migrate_disable.patch @@ -1,7 +1,7 @@ -From 3afe2037283d5bff1b403d802e93ab44e8ec9d4b Mon Sep 17 00:00:00 2001 +From a667e33b49a6dbdb90ed035b84bd1fdbee4456be Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 27 May 2017 19:02:06 +0200 -Subject: [PATCH 071/414] kernel/sched/core: add migrate_disable() +Subject: [PATCH 071/418] kernel/sched/core: add migrate_disable() --- include/linux/preempt.h | 23 +++++++ @@ -53,10 +53,10 @@ index 5bd3f151da78..81c69aeab662 100644 #ifdef MODULE diff --git a/include/linux/sched.h b/include/linux/sched.h -index 5bd2ab2df9d4..0ab4cec5c7ec 100644 +index 64d8d0794689..c22e7b475dd9 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -580,6 +580,13 @@ struct task_struct { +@@ -620,6 +620,13 @@ struct task_struct { int nr_cpus_allowed; const cpumask_t *cpus_ptr; cpumask_t cpus_mask; @@ -85,7 +85,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 c12765ab3a3a..1d8f359903c2 100644 +index 5909b525f668..1fffb66e599a 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1023,7 +1023,15 @@ void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_ma @@ -144,7 +144,7 @@ index c12765ab3a3a..1d8f359903c2 100644 dest_cpu = cpumask_any_and(cpu_valid_mask, new_mask); if (task_running(rq, p) || p->state == TASK_WAKING) { struct migration_arg arg = { p, dest_cpu }; -@@ -6760,3 +6789,100 @@ const u32 sched_prio_to_wmult[40] = { +@@ -6745,3 +6774,100 @@ const u32 sched_prio_to_wmult[40] = { /* 10 */ 39045157, 49367440, 61356676, 76695844, 95443717, /* 15 */ 119304647, 148102320, 186737708, 238609294, 286331153, }; @@ -261,5 +261,5 @@ index 2f93e4a2d9f6..3108da1ee253 100644 #undef PN #undef __PN -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0072-0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch b/kernel/patches-4.14.x-rt/0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0072-0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch rename to kernel/patches-4.14.x-rt/0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch index d61d358b9..8cefa95fe 100644 --- a/kernel/patches-4.14.x-rt/0072-0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch +++ b/kernel/patches-4.14.x-rt/0072-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch @@ -1,7 +1,7 @@ -From 97df7f1c21cc0f118f328d37baaa815a7598f71f Mon Sep 17 00:00:00 2001 +From 302178ccea60a034d07f9cd06b0125e0b7593eef Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Thu, 21 Sep 2017 16:22:49 -0400 -Subject: [PATCH 072/414] tracing: Reverse the order of trace_types_lock and +Subject: [PATCH 072/418] tracing: Reverse the order of trace_types_lock and event_mutex In order to make future changes where we need to call @@ -22,7 +22,7 @@ Signed-off-by: Sebastian Andrzej Siewior 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 76bcc80b893e..2d74c9054e94 100644 +index 520ecaf61dc4..4bf8880fe702 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -7671,6 +7671,7 @@ static int instance_mkdir(const char *name) @@ -195,5 +195,5 @@ index d53268a4e167..1b87157edbff 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0073-0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch b/kernel/patches-4.14.x-rt/0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0073-0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch rename to kernel/patches-4.14.x-rt/0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch index 58badd8c3..c5f77c72e 100644 --- a/kernel/patches-4.14.x-rt/0073-0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch +++ b/kernel/patches-4.14.x-rt/0073-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch @@ -1,7 +1,7 @@ -From d8eb45e589f7d743c84f977b513a6cbd68c5ea8c Mon Sep 17 00:00:00 2001 +From 96c040ce706162c43b425440eda48cef9bdebd06 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Fri, 22 Sep 2017 16:59:02 -0400 -Subject: [PATCH 073/414] ring-buffer: Rewrite trace_recursive_(un)lock() to be +Subject: [PATCH 073/418] ring-buffer: Rewrite trace_recursive_(un)lock() to be simpler The current method to prevent the ring buffer from entering into a recursize @@ -119,5 +119,5 @@ index 36f018b15392..29bad749560a 100644 /** -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0074-0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch b/kernel/patches-4.14.x-rt/0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0074-0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch rename to kernel/patches-4.14.x-rt/0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch index 358f721cc..da8d22f6b 100644 --- a/kernel/patches-4.14.x-rt/0074-0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch +++ b/kernel/patches-4.14.x-rt/0074-tracing-Remove-lookups-from-tracing_map-hitcount.patch @@ -1,7 +1,7 @@ -From 0260035447656440e07552084b049f2557771aba Mon Sep 17 00:00:00 2001 +From dbc516c436397e139294abec327a70aa52704927 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:18 -0500 -Subject: [PATCH 074/414] tracing: Remove lookups from tracing_map hitcount +Subject: [PATCH 074/418] tracing: Remove lookups from tracing_map hitcount Lookups inflate the hitcount, making it essentially useless. Only inserts and updates should really affect the hitcount anyway, so @@ -32,5 +32,5 @@ index 305039b122fa..07e75344725b 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0075-0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch b/kernel/patches-4.14.x-rt/0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0075-0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch rename to kernel/patches-4.14.x-rt/0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch index 0d67ccbde..b29ee68b3 100644 --- a/kernel/patches-4.14.x-rt/0075-0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch +++ b/kernel/patches-4.14.x-rt/0075-tracing-Increase-tracing-map-KEYS_MAX-size.patch @@ -1,7 +1,7 @@ -From d82878711f489e0ab7256c0bccaed2516cc316ba Mon Sep 17 00:00:00 2001 +From 90f5524788c6192f4982a18f5fd6eefaf717558d Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:19 -0500 -Subject: [PATCH 075/414] tracing: Increase tracing map KEYS_MAX size +Subject: [PATCH 075/418] tracing: Increase tracing map KEYS_MAX size The current default for the number of subkeys in a compound key is 2, which is too restrictive. Increase it to a more realistic value of 3. @@ -30,5 +30,5 @@ index ab0ca77331d0..5b5bbf8ae550 100644 #define TRACING_MAP_FIELDS_MAX (TRACING_MAP_KEYS_MAX + \ TRACING_MAP_VALS_MAX) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0076-0076-tracing-Make-traceprobe-parsing-code-reusable.patch b/kernel/patches-4.14.x-rt/0076-tracing-Make-traceprobe-parsing-code-reusable.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0076-0076-tracing-Make-traceprobe-parsing-code-reusable.patch rename to kernel/patches-4.14.x-rt/0076-tracing-Make-traceprobe-parsing-code-reusable.patch index 9a701e420..f43fdc38b 100644 --- a/kernel/patches-4.14.x-rt/0076-0076-tracing-Make-traceprobe-parsing-code-reusable.patch +++ b/kernel/patches-4.14.x-rt/0076-tracing-Make-traceprobe-parsing-code-reusable.patch @@ -1,7 +1,7 @@ -From 180c8a6d2132ea7101c5209321f5afff44db523a Mon Sep 17 00:00:00 2001 +From 22812092d861a7d031fbc0ff6e5ce2cf26a86605 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:20 -0500 -Subject: [PATCH 076/414] tracing: Make traceprobe parsing code reusable +Subject: [PATCH 076/418] tracing: Make traceprobe parsing code reusable traceprobe_probes_write() and traceprobe_command() actually contain nothing that ties them to kprobes - the code is generically useful for @@ -28,7 +28,7 @@ Signed-off-by: Sebastian Andrzej Siewior 6 files changed, 103 insertions(+), 103 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 2d74c9054e94..2ce9e0eee9ec 100644 +index 4bf8880fe702..f76dd9df0c77 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -8265,6 +8265,92 @@ void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) @@ -125,7 +125,7 @@ index 2d74c9054e94..2ce9e0eee9ec 100644 { int ring_buf_size; diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h -index 401b0639116f..418facf3389c 100644 +index 851cd1605085..221591636530 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -1755,6 +1755,13 @@ void trace_printk_start_comm(void); @@ -320,10 +320,10 @@ index dc39472ca9e4..a0d750e3d17c 100644 static nokprobe_inline int __get_data_size(struct trace_probe *tp, struct pt_regs *regs) diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c -index 14d3af6a2953..f89a12a1c8f3 100644 +index 7197ff9f0bbd..2db5a19833ed 100644 --- a/kernel/trace/trace_uprobe.c +++ b/kernel/trace/trace_uprobe.c -@@ -645,7 +645,7 @@ static int probes_open(struct inode *inode, struct file *file) +@@ -647,7 +647,7 @@ static int probes_open(struct inode *inode, struct file *file) static ssize_t probes_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) { @@ -333,5 +333,5 @@ index 14d3af6a2953..f89a12a1c8f3 100644 static const struct file_operations uprobe_events_ops = { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0077-0077-tracing-Clean-up-hist_field_flags-enum.patch b/kernel/patches-4.14.x-rt/0077-tracing-Clean-up-hist_field_flags-enum.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0077-0077-tracing-Clean-up-hist_field_flags-enum.patch rename to kernel/patches-4.14.x-rt/0077-tracing-Clean-up-hist_field_flags-enum.patch index 4a45c7b8e..0643b508b 100644 --- a/kernel/patches-4.14.x-rt/0077-0077-tracing-Clean-up-hist_field_flags-enum.patch +++ b/kernel/patches-4.14.x-rt/0077-tracing-Clean-up-hist_field_flags-enum.patch @@ -1,7 +1,7 @@ -From 8ec6c38a5590b63fe522ad4143d1ffb5f5166a5c Mon Sep 17 00:00:00 2001 +From 70a6e0e8d8281767cbb5cce28381ff4fd7f4a990 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:21 -0500 -Subject: [PATCH 077/414] tracing: Clean up hist_field_flags enum +Subject: [PATCH 077/418] tracing: Clean up hist_field_flags enum As we add more flags, specifying explicit integers for the flag values becomes more unwieldy and error-prone - switch them over to left-shift @@ -49,5 +49,5 @@ index 7eb975a2d0e1..4f6b6406d6ec 100644 struct hist_trigger_attrs { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0078-0078-tracing-Add-hist_field_name-accessor.patch b/kernel/patches-4.14.x-rt/0078-tracing-Add-hist_field_name-accessor.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0078-0078-tracing-Add-hist_field_name-accessor.patch rename to kernel/patches-4.14.x-rt/0078-tracing-Add-hist_field_name-accessor.patch index 81d548f30..15dff840b 100644 --- a/kernel/patches-4.14.x-rt/0078-0078-tracing-Add-hist_field_name-accessor.patch +++ b/kernel/patches-4.14.x-rt/0078-tracing-Add-hist_field_name-accessor.patch @@ -1,7 +1,7 @@ -From a1c53738433410a2c14cb1f3678441c54d1db478 Mon Sep 17 00:00:00 2001 +From 05a79715ee35f8e4df5533fddc771a9aa63c7729 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:22 -0500 -Subject: [PATCH 078/414] tracing: Add hist_field_name() accessor +Subject: [PATCH 078/418] tracing: Add hist_field_name() accessor In preparation for hist_fields that won't be strictly based on trace_event_fields, add a new hist_field_name() accessor to allow that @@ -180,5 +180,5 @@ index 4f6b6406d6ec..4dc39e3efb21 100644 const char *flags_str = get_hist_field_flags(hist_field); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0079-0079-tracing-Reimplement-log2.patch b/kernel/patches-4.14.x-rt/0079-tracing-Reimplement-log2.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0079-0079-tracing-Reimplement-log2.patch rename to kernel/patches-4.14.x-rt/0079-tracing-Reimplement-log2.patch index 26c4f52ee..2f5bfd01e 100644 --- a/kernel/patches-4.14.x-rt/0079-0079-tracing-Reimplement-log2.patch +++ b/kernel/patches-4.14.x-rt/0079-tracing-Reimplement-log2.patch @@ -1,7 +1,7 @@ -From 6e1dac2b7eea67d875f3028d91bb163aff840e2a Mon Sep 17 00:00:00 2001 +From 01db72914258d658c65914107bb55f07cce90257 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Fri, 22 Sep 2017 14:58:23 -0500 -Subject: [PATCH 079/414] tracing: Reimplement log2 +Subject: [PATCH 079/418] tracing: Reimplement log2 log2 as currently implemented applies only to u64 trace_event_field derived fields, and assumes that anything it's applied to is a u64 @@ -120,5 +120,5 @@ index 4dc39e3efb21..4eddc1933079 100644 } } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0080-0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch b/kernel/patches-4.14.x-rt/0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0080-0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch rename to kernel/patches-4.14.x-rt/0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch index f880fa52b..da1c9f4f4 100644 --- a/kernel/patches-4.14.x-rt/0080-0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch +++ b/kernel/patches-4.14.x-rt/0080-tracing-Move-hist-trigger-Documentation-to-histogram.patch @@ -1,7 +1,7 @@ -From 35e9c475fc07eda583d1727c5b2c85d105fd3823 Mon Sep 17 00:00:00 2001 +From 2c0d4e4c1cdefd51e1e4d7f7897a6547116ea328 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:35 -0600 -Subject: [PATCH 080/414] tracing: Move hist trigger Documentation to +Subject: [PATCH 080/418] tracing: Move hist trigger Documentation to histogram.txt The hist trigger Documentation takes up a large part of events.txt - @@ -3150,5 +3150,5 @@ index 000000000000..b2145f44b190 + Entries: 7 + Dropped: 0 -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0081-0081-tracing-Add-Documentation-for-log2-modifier.patch b/kernel/patches-4.14.x-rt/0081-tracing-Add-Documentation-for-log2-modifier.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0081-0081-tracing-Add-Documentation-for-log2-modifier.patch rename to kernel/patches-4.14.x-rt/0081-tracing-Add-Documentation-for-log2-modifier.patch index e3abfdb84..c4b9bc425 100644 --- a/kernel/patches-4.14.x-rt/0081-0081-tracing-Add-Documentation-for-log2-modifier.patch +++ b/kernel/patches-4.14.x-rt/0081-tracing-Add-Documentation-for-log2-modifier.patch @@ -1,7 +1,7 @@ -From e262dcbfd00fe5c2f193d4.16.10d69cf5ca9abac Mon Sep 17 00:00:00 2001 +From 8e1ab3990c05e88fd17bcf0bdd474428f3dce918 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:36 -0600 -Subject: [PATCH 081/414] tracing: Add Documentation for log2 modifier +Subject: [PATCH 081/418] tracing: Add Documentation for log2 modifier Add a line for the log2 modifier, to keep it aligned with tracing/README. @@ -29,5 +29,5 @@ index b2145f44b190..a4143f04a097 100644 Note that in general the semantics of a given field aren't interpreted when applying a modifier to it, but there are some -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0082-0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch b/kernel/patches-4.14.x-rt/0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0082-0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch rename to kernel/patches-4.14.x-rt/0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch index 3dbd7e591..8557097f6 100644 --- a/kernel/patches-4.14.x-rt/0082-0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch +++ b/kernel/patches-4.14.x-rt/0082-tracing-Add-support-to-detect-and-avoid-duplicates.patch @@ -1,7 +1,7 @@ -From e3eb9cd483d81edaa250fa7395cdd415b606e8c7 Mon Sep 17 00:00:00 2001 +From b049db6b373697ec94a0762fc49c4b153fedb85c Mon Sep 17 00:00:00 2001 From: Vedang Patel Date: Mon, 15 Jan 2018 20:51:37 -0600 -Subject: [PATCH 082/414] tracing: Add support to detect and avoid duplicates +Subject: [PATCH 082/418] tracing: Add support to detect and avoid duplicates A duplicate in the tracing_map hash table is when 2 different entries have the same key and, as a result, the key_hash. This is possible due @@ -120,5 +120,5 @@ index 07e75344725b..b30f3439f27f 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0083-0083-tracing-Remove-code-which-merges-duplicates.patch b/kernel/patches-4.14.x-rt/0083-tracing-Remove-code-which-merges-duplicates.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0083-0083-tracing-Remove-code-which-merges-duplicates.patch rename to kernel/patches-4.14.x-rt/0083-tracing-Remove-code-which-merges-duplicates.patch index dedb3ea30..f3a3897aa 100644 --- a/kernel/patches-4.14.x-rt/0083-0083-tracing-Remove-code-which-merges-duplicates.patch +++ b/kernel/patches-4.14.x-rt/0083-tracing-Remove-code-which-merges-duplicates.patch @@ -1,7 +1,7 @@ -From 0b1125ff0b3c07711cd1c2124e77278c8a9b2f58 Mon Sep 17 00:00:00 2001 +From 0fd3610c03bd5395eabca6794b0197d54cbb1b83 Mon Sep 17 00:00:00 2001 From: Vedang Patel Date: Mon, 15 Jan 2018 20:51:38 -0600 -Subject: [PATCH 083/414] tracing: Remove code which merges duplicates +Subject: [PATCH 083/418] tracing: Remove code which merges duplicates We now have the logic to detect and remove duplicates in the tracing_map hash table. The code which merges duplicates in the @@ -198,5 +198,5 @@ index 5b5bbf8ae550..de57887c0670 100644 void (*elt_clear)(struct tracing_map_elt *elt); void (*elt_init)(struct tracing_map_elt *elt); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0084-0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch b/kernel/patches-4.14.x-rt/0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0084-0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch rename to kernel/patches-4.14.x-rt/0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch index a318e05c6..549ac979d 100644 --- a/kernel/patches-4.14.x-rt/0084-0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch +++ b/kernel/patches-4.14.x-rt/0084-ring-buffer-Add-interface-for-setting-absolute-time-.patch @@ -1,7 +1,7 @@ -From 11ff5d3b6ba01f2c71565819d070cade4f827cb8 Mon Sep 17 00:00:00 2001 +From 749ae55d84a1c7dc284b0401bca3036a7ca380af Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:39 -0600 -Subject: [PATCH 084/414] ring-buffer: Add interface for setting absolute time +Subject: [PATCH 084/418] ring-buffer: Add interface for setting absolute time stamps Define a new function, tracing_set_time_stamp_abs(), which can be used @@ -68,7 +68,7 @@ index 29bad749560a..2be361b63c7b 100644 static inline unsigned long rb_page_entries(struct buffer_page *bpage) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 2ce9e0eee9ec..97cdcfe88596 100644 +index f76dd9df0c77..9102a63de0b6 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2269,7 +2269,7 @@ trace_event_buffer_lock_reserve(struct ring_buffer **current_rb, @@ -119,7 +119,7 @@ index 2ce9e0eee9ec..97cdcfe88596 100644 struct trace_iterator iter; void *spare; diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h -index 418facf3389c..d02143043ac2 100644 +index 221591636530..0506c4cdfeba 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -273,6 +273,7 @@ struct trace_array { @@ -140,5 +140,5 @@ index 418facf3389c..d02143043ac2 100644 * The global tracer (top) should be the first trace array added, * but we check the flag anyway. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0085-0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch b/kernel/patches-4.14.x-rt/0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0085-0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch rename to kernel/patches-4.14.x-rt/0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch index 8a6ba2019..c5c666d2d 100644 --- a/kernel/patches-4.14.x-rt/0085-0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch +++ b/kernel/patches-4.14.x-rt/0085-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch @@ -1,7 +1,7 @@ -From 2aa6001fd69d29a4a37b6830f08ce08cef476397 Mon Sep 17 00:00:00 2001 +From 894bc1fe03522eff1a45b8262e4e959c76b4c3fc Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:40 -0600 -Subject: [PATCH 085/414] ring-buffer: Redefine the unimplemented +Subject: [PATCH 085/418] ring-buffer: Redefine the unimplemented RINGBUF_TYPE_TIME_STAMP RINGBUF_TYPE_TIME_STAMP is defined but not used, and from what I can @@ -326,5 +326,5 @@ index 2be361b63c7b..e48989ff0427 100644 ring_buffer_normalize_time_stamp(buffer, cpu_buffer->cpu, ts); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0086-0086-tracing-Add-timestamp_mode-trace-file.patch b/kernel/patches-4.14.x-rt/0086-tracing-Add-timestamp_mode-trace-file.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0086-0086-tracing-Add-timestamp_mode-trace-file.patch rename to kernel/patches-4.14.x-rt/0086-tracing-Add-timestamp_mode-trace-file.patch index 48dd4f403..7c1879f48 100644 --- a/kernel/patches-4.14.x-rt/0086-0086-tracing-Add-timestamp_mode-trace-file.patch +++ b/kernel/patches-4.14.x-rt/0086-tracing-Add-timestamp_mode-trace-file.patch @@ -1,7 +1,7 @@ -From b5895d8584d43c5118e2f0bdc9e06457c0f08132 Mon Sep 17 00:00:00 2001 +From 01962ea941a67756a5193d333d90872abe579ca8 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:41 -0600 -Subject: [PATCH 086/414] tracing: Add timestamp_mode trace file +Subject: [PATCH 086/418] tracing: Add timestamp_mode trace file Add a new option flag indicating whether or not the ring buffer is in 'absolute timestamp' mode. @@ -62,7 +62,7 @@ index d4601df6e72e..54213e5c23f6 100644 Directory for the Hardware Latency Detector. diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 97cdcfe88596..1c2e0296e713 100644 +index 9102a63de0b6..96f0b9ac910d 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -4520,6 +4520,9 @@ static const char readme_msg[] = @@ -141,5 +141,5 @@ index 97cdcfe88596..1c2e0296e713 100644 #if defined(CONFIG_TRACER_MAX_TRACE) || defined(CONFIG_HWLAT_TRACER) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0087-0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch b/kernel/patches-4.14.x-rt/0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0087-0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch rename to kernel/patches-4.14.x-rt/0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch index 1144cb8a0..1637ecf91 100644 --- a/kernel/patches-4.14.x-rt/0087-0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch +++ b/kernel/patches-4.14.x-rt/0087-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch @@ -1,7 +1,7 @@ -From 3fd9b06808eb8a4788adefc36600615d4303977f Mon Sep 17 00:00:00 2001 +From 8c050da361b56aedad4fc65903e6637eef917800 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:42 -0600 -Subject: [PATCH 087/414] tracing: Give event triggers access to +Subject: [PATCH 087/418] tracing: Give event triggers access to ring_buffer_event The ring_buffer event can provide a timestamp that may be useful to @@ -53,7 +53,7 @@ index 2bcb4dc6df1a..aefc80f2909b 100644 return true; if (eflags & EVENT_FILE_FL_PID_FILTER) diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h -index d02143043ac2..b123c626b159 100644 +index 0506c4cdfeba..e2e12710d53c 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -1296,7 +1296,7 @@ __event_trigger_test_discard(struct trace_event_file *file, @@ -137,7 +137,7 @@ index c57e5369b0c2..77079c79b6d4 100644 static struct event_trigger_ops hist_enable_trigger_ops = { diff --git a/kernel/trace/trace_events_trigger.c b/kernel/trace/trace_events_trigger.c -index f2ac9d44f6c4..9b0fe3198932 100644 +index b413fab7d75b..9dd8b9ce2594 100644 --- a/kernel/trace/trace_events_trigger.c +++ b/kernel/trace/trace_events_trigger.c @@ -63,7 +63,8 @@ void trigger_data_free(struct event_trigger_data *data) @@ -186,7 +186,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 } } EXPORT_SYMBOL_GPL(event_triggers_post_call); -@@ -909,7 +910,8 @@ void set_named_trigger_data(struct event_trigger_data *data, +@@ -911,7 +912,8 @@ void set_named_trigger_data(struct event_trigger_data *data, } static void @@ -196,7 +196,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 { if (tracing_is_on()) return; -@@ -918,7 +920,8 @@ traceon_trigger(struct event_trigger_data *data, void *rec) +@@ -920,7 +922,8 @@ traceon_trigger(struct event_trigger_data *data, void *rec) } static void @@ -206,7 +206,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 { if (tracing_is_on()) return; -@@ -933,7 +936,8 @@ traceon_count_trigger(struct event_trigger_data *data, void *rec) +@@ -935,7 +938,8 @@ traceon_count_trigger(struct event_trigger_data *data, void *rec) } static void @@ -216,7 +216,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 { if (!tracing_is_on()) return; -@@ -942,7 +946,8 @@ traceoff_trigger(struct event_trigger_data *data, void *rec) +@@ -944,7 +948,8 @@ traceoff_trigger(struct event_trigger_data *data, void *rec) } static void @@ -226,7 +226,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 { if (!tracing_is_on()) return; -@@ -1039,13 +1044,15 @@ static struct event_command trigger_traceoff_cmd = { +@@ -1041,7 +1046,8 @@ static struct event_command trigger_traceoff_cmd = { #ifdef CONFIG_TRACER_SNAPSHOT static void @@ -234,7 +234,9 @@ index f2ac9d44f6c4..9b0fe3198932 100644 +snapshot_trigger(struct event_trigger_data *data, void *rec, + struct ring_buffer_event *event) { - tracing_snapshot(); + struct trace_event_file *file = data->private_data; + +@@ -1052,7 +1058,8 @@ snapshot_trigger(struct event_trigger_data *data, void *rec) } static void @@ -244,7 +246,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 { if (!data->count) return; -@@ -1053,7 +1060,7 @@ snapshot_count_trigger(struct event_trigger_data *data, void *rec) +@@ -1060,7 +1067,7 @@ snapshot_count_trigger(struct event_trigger_data *data, void *rec) if (data->count != -1) (data->count)--; @@ -253,7 +255,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 } static int -@@ -1132,13 +1139,15 @@ static __init int register_trigger_snapshot_cmd(void) { return 0; } +@@ -1139,13 +1146,15 @@ static __init int register_trigger_snapshot_cmd(void) { return 0; } #define STACK_SKIP 3 static void @@ -271,7 +273,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 { if (!data->count) return; -@@ -1146,7 +1155,7 @@ stacktrace_count_trigger(struct event_trigger_data *data, void *rec) +@@ -1153,7 +1162,7 @@ stacktrace_count_trigger(struct event_trigger_data *data, void *rec) if (data->count != -1) (data->count)--; @@ -280,7 +282,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 } static int -@@ -1208,7 +1217,8 @@ static __init void unregister_trigger_traceon_traceoff_cmds(void) +@@ -1215,7 +1224,8 @@ static __init void unregister_trigger_traceon_traceoff_cmds(void) } static void @@ -290,7 +292,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 { struct enable_trigger_data *enable_data = data->private_data; -@@ -1219,7 +1229,8 @@ event_enable_trigger(struct event_trigger_data *data, void *rec) +@@ -1226,7 +1236,8 @@ event_enable_trigger(struct event_trigger_data *data, void *rec) } static void @@ -300,7 +302,7 @@ index f2ac9d44f6c4..9b0fe3198932 100644 { struct enable_trigger_data *enable_data = data->private_data; -@@ -1233,7 +1244,7 @@ event_enable_count_trigger(struct event_trigger_data *data, void *rec) +@@ -1240,7 +1251,7 @@ event_enable_count_trigger(struct event_trigger_data *data, void *rec) if (data->count != -1) (data->count)--; @@ -310,5 +312,5 @@ index f2ac9d44f6c4..9b0fe3198932 100644 int event_enable_trigger_print(struct seq_file *m, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0088-0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch b/kernel/patches-4.14.x-rt/0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0088-0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch rename to kernel/patches-4.14.x-rt/0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch index 3e8b053ed..1fb0c3057 100644 --- a/kernel/patches-4.14.x-rt/0088-0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch +++ b/kernel/patches-4.14.x-rt/0088-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch @@ -1,7 +1,7 @@ -From fc4a1cc917f4909f034c823cfb2e828a1559c12e Mon Sep 17 00:00:00 2001 +From a1ff7598f798bf9a0cd383388b1f6fc59158499e Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:43 -0600 -Subject: [PATCH 088/414] tracing: Add ring buffer event param to hist field +Subject: [PATCH 088/418] tracing: Add ring buffer event param to hist field functions Some events such as timestamps require access to a ring_buffer_event @@ -145,5 +145,5 @@ index 77079c79b6d4..9126be52ff4d 100644 static void hist_trigger_stacktrace_print(struct seq_file *m, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0089-0089-tracing-Break-out-hist-trigger-assignment-parsing.patch b/kernel/patches-4.14.x-rt/0089-tracing-Break-out-hist-trigger-assignment-parsing.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0089-0089-tracing-Break-out-hist-trigger-assignment-parsing.patch rename to kernel/patches-4.14.x-rt/0089-tracing-Break-out-hist-trigger-assignment-parsing.patch index 0437e0e8a..d2903aeef 100644 --- a/kernel/patches-4.14.x-rt/0089-0089-tracing-Break-out-hist-trigger-assignment-parsing.patch +++ b/kernel/patches-4.14.x-rt/0089-tracing-Break-out-hist-trigger-assignment-parsing.patch @@ -1,7 +1,7 @@ -From c8cc6e5e6baa1414f1227d1fe4affc3fa3842956 Mon Sep 17 00:00:00 2001 +From b441bdabcb62630b995577ffb882a330e1230081 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:44 -0600 -Subject: [PATCH 089/414] tracing: Break out hist trigger assignment parsing +Subject: [PATCH 089/418] tracing: Break out hist trigger assignment parsing This will make it easier to add variables, and makes the parsing code cleaner regardless. @@ -114,5 +114,5 @@ index 9126be52ff4d..4935290fd1e8 100644 goto free; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0090-0090-tracing-Add-hist-trigger-timestamp-support.patch b/kernel/patches-4.14.x-rt/0090-tracing-Add-hist-trigger-timestamp-support.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0090-0090-tracing-Add-hist-trigger-timestamp-support.patch rename to kernel/patches-4.14.x-rt/0090-tracing-Add-hist-trigger-timestamp-support.patch index 399dc80e7..7a2c98fe3 100644 --- a/kernel/patches-4.14.x-rt/0090-0090-tracing-Add-hist-trigger-timestamp-support.patch +++ b/kernel/patches-4.14.x-rt/0090-tracing-Add-hist-trigger-timestamp-support.patch @@ -1,7 +1,7 @@ -From 925384a56703b5e682209c577065141be3d02727 Mon Sep 17 00:00:00 2001 +From 2bace2378c6fac1967958883ec49397c777fd52d Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:45 -0600 -Subject: [PATCH 090/414] tracing: Add hist trigger timestamp support +Subject: [PATCH 090/418] tracing: Add hist trigger timestamp support Add support for a timestamp event field. This is actually a 'pseudo-' event field in that it behaves like it's part of the event record, but @@ -248,5 +248,5 @@ index 4935290fd1e8..cd80bca34cec 100644 test->ops->free(test->ops, test); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0091-0091-tracing-Add-per-element-variable-support-to-tracing_.patch b/kernel/patches-4.14.x-rt/0091-tracing-Add-per-element-variable-support-to-tracing_.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0091-0091-tracing-Add-per-element-variable-support-to-tracing_.patch rename to kernel/patches-4.14.x-rt/0091-tracing-Add-per-element-variable-support-to-tracing_.patch index 3606d3522..e46f236cd 100644 --- a/kernel/patches-4.14.x-rt/0091-0091-tracing-Add-per-element-variable-support-to-tracing_.patch +++ b/kernel/patches-4.14.x-rt/0091-tracing-Add-per-element-variable-support-to-tracing_.patch @@ -1,7 +1,7 @@ -From f8c4644971e9b33a73439cc4a2c1fd8a3883e608 Mon Sep 17 00:00:00 2001 +From 757a116d1821b4e7205fa89aa8952cf2a5145448 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:46 -0600 -Subject: [PATCH 091/414] tracing: Add per-element variable support to +Subject: [PATCH 091/418] tracing: Add per-element variable support to tracing_map In order to allow information to be passed between trace events, add @@ -228,5 +228,5 @@ index de57887c0670..053eb92b2d31 100644 unsigned int i, unsigned int key_offset, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0092-0092-tracing-Add-hist_data-member-to-hist_field.patch b/kernel/patches-4.14.x-rt/0092-tracing-Add-hist_data-member-to-hist_field.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0092-0092-tracing-Add-hist_data-member-to-hist_field.patch rename to kernel/patches-4.14.x-rt/0092-tracing-Add-hist_data-member-to-hist_field.patch index cc97f6343..966c0f856 100644 --- a/kernel/patches-4.14.x-rt/0092-0092-tracing-Add-hist_data-member-to-hist_field.patch +++ b/kernel/patches-4.14.x-rt/0092-tracing-Add-hist_data-member-to-hist_field.patch @@ -1,7 +1,7 @@ -From 1d45a475f024995a68ce32590ac7f2e2c16f7b8f Mon Sep 17 00:00:00 2001 +From 13ddac3670783cf9d59da3b1a6fefe4d4c98ad86 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:47 -0600 -Subject: [PATCH 092/414] tracing: Add hist_data member to hist_field +Subject: [PATCH 092/418] tracing: Add hist_data member to hist_field Allow hist_data access via hist_field. Some users of hist_fields require or will require more access to the associated hist_data. @@ -84,5 +84,5 @@ index cd80bca34cec..ec58902145e9 100644 ret = -ENOMEM; goto out; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0093-0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch b/kernel/patches-4.14.x-rt/0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0093-0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch rename to kernel/patches-4.14.x-rt/0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch index 956cc0a3d..4abd6df6d 100644 --- a/kernel/patches-4.14.x-rt/0093-0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch +++ b/kernel/patches-4.14.x-rt/0093-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch @@ -1,7 +1,7 @@ -From 8c493fb158d587e3fbdcb572f5f44709c04b4080 Mon Sep 17 00:00:00 2001 +From 824b2e6a8b7ad3d12bafbd08c4607e42a6b7e746 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:48 -0600 -Subject: [PATCH 093/414] tracing: Add usecs modifier for hist trigger +Subject: [PATCH 093/418] tracing: Add usecs modifier for hist trigger timestamps Appending .usecs onto a common_timestamp field will cause the @@ -41,7 +41,7 @@ index a4143f04a097..25c94730d3fe 100644 Note that in general the semantics of a given field aren't interpreted when applying a modifier to it, but there are some diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 1c2e0296e713..6aef03230842 100644 +index 96f0b9ac910d..9d199ebdc0cb 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -1170,6 +1170,14 @@ static struct { @@ -72,7 +72,7 @@ index 1c2e0296e713..6aef03230842 100644 "\t trigger or to start a hist trigger but not log any events\n" "\t until told to do so. 'continue' can be used to start or\n" diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h -index b123c626b159..64ba9e1d4c38 100644 +index e2e12710d53c..92936a6fc29e 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -289,6 +289,8 @@ extern void trace_array_put(struct trace_array *tr); @@ -166,5 +166,5 @@ index ec58902145e9..6d268e25d051 100644 return flags_str; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0094-0094-tracing-Add-variable-support-to-hist-triggers.patch b/kernel/patches-4.14.x-rt/0094-tracing-Add-variable-support-to-hist-triggers.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0094-0094-tracing-Add-variable-support-to-hist-triggers.patch rename to kernel/patches-4.14.x-rt/0094-tracing-Add-variable-support-to-hist-triggers.patch index f38bfbf76..deb0dcdd5 100644 --- a/kernel/patches-4.14.x-rt/0094-0094-tracing-Add-variable-support-to-hist-triggers.patch +++ b/kernel/patches-4.14.x-rt/0094-tracing-Add-variable-support-to-hist-triggers.patch @@ -1,7 +1,7 @@ -From d2e809dd6c585dc55b2effa0907b64d9746c5f2c Mon Sep 17 00:00:00 2001 +From c036038343bf211c28892bdd819624ac83c90135 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:49 -0600 -Subject: [PATCH 094/414] tracing: Add variable support to hist triggers +Subject: [PATCH 094/418] tracing: Add variable support to hist triggers Add support for saving the value of a current event's event field by assigning it to a variable that can be read by a subsequent event. @@ -784,5 +784,5 @@ index 6d268e25d051..b4301542bb4a 100644 ret = 0; goto out_free; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0095-0095-tracing-Account-for-variables-in-named-trigger-compa.patch b/kernel/patches-4.14.x-rt/0095-tracing-Account-for-variables-in-named-trigger-compa.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0095-0095-tracing-Account-for-variables-in-named-trigger-compa.patch rename to kernel/patches-4.14.x-rt/0095-tracing-Account-for-variables-in-named-trigger-compa.patch index d1b8dc337..2576ffdb1 100644 --- a/kernel/patches-4.14.x-rt/0095-0095-tracing-Account-for-variables-in-named-trigger-compa.patch +++ b/kernel/patches-4.14.x-rt/0095-tracing-Account-for-variables-in-named-trigger-compa.patch @@ -1,7 +1,7 @@ -From 472418ca534a8ceaa363f21b5b2a2c4a9d4753cc Mon Sep 17 00:00:00 2001 +From 64310c13b5bd98fea0da2be71497bc593c51635f Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:50 -0600 -Subject: [PATCH 095/414] tracing: Account for variables in named trigger +Subject: [PATCH 095/418] tracing: Account for variables in named trigger compatibility Named triggers must also have the same set of variables in order to be @@ -47,5 +47,5 @@ index b4301542bb4a..68ff2491edd0 100644 for (i = 0; i < hist_data->n_sort_keys; i++) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0096-0096-tracing-Move-get_hist_field_flags.patch b/kernel/patches-4.14.x-rt/0096-tracing-Move-get_hist_field_flags.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0096-0096-tracing-Move-get_hist_field_flags.patch rename to kernel/patches-4.14.x-rt/0096-tracing-Move-get_hist_field_flags.patch index 81761cf41..1d8dcaf9b 100644 --- a/kernel/patches-4.14.x-rt/0096-0096-tracing-Move-get_hist_field_flags.patch +++ b/kernel/patches-4.14.x-rt/0096-tracing-Move-get_hist_field_flags.patch @@ -1,7 +1,7 @@ -From 72482a9d923e2d7fb067be707391268171b17421 Mon Sep 17 00:00:00 2001 +From 01ad16a4b2f9769b5b9cda086b748b83390df603 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:51 -0600 -Subject: [PATCH 096/414] tracing: Move get_hist_field_flags() +Subject: [PATCH 096/418] tracing: Move get_hist_field_flags() Move get_hist_field_flags() to make it more easily accessible for new code (and keep the move separate from new functionality). @@ -79,5 +79,5 @@ index 68ff2491edd0..c6c24d6d2be8 100644 { const char *field_name = hist_field_name(hist_field, 0); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0097-0097-tracing-Add-simple-expression-support-to-hist-trigge.patch b/kernel/patches-4.14.x-rt/0097-tracing-Add-simple-expression-support-to-hist-trigge.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0097-0097-tracing-Add-simple-expression-support-to-hist-trigge.patch rename to kernel/patches-4.14.x-rt/0097-tracing-Add-simple-expression-support-to-hist-trigge.patch index 8fedebae5..59b3acadb 100644 --- a/kernel/patches-4.14.x-rt/0097-0097-tracing-Add-simple-expression-support-to-hist-trigge.patch +++ b/kernel/patches-4.14.x-rt/0097-tracing-Add-simple-expression-support-to-hist-trigge.patch @@ -1,7 +1,7 @@ -From 125e31bde34445f9374487842b10f5634dc2fcca Mon Sep 17 00:00:00 2001 +From 79dc3193df67d3d2b6dd7adfe882613065da48e2 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:52 -0600 -Subject: [PATCH 097/414] tracing: Add simple expression support to hist +Subject: [PATCH 097/418] tracing: Add simple expression support to hist triggers Add support for simple addition, subtraction, and unary expressions @@ -630,5 +630,5 @@ index c6c24d6d2be8..d2f01f3f26e1 100644 if (hist_data->fields[i]->flags & HIST_FIELD_FL_HEX) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0098-0098-tracing-Generalize-per-element-hist-trigger-data.patch b/kernel/patches-4.14.x-rt/0098-tracing-Generalize-per-element-hist-trigger-data.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0098-0098-tracing-Generalize-per-element-hist-trigger-data.patch rename to kernel/patches-4.14.x-rt/0098-tracing-Generalize-per-element-hist-trigger-data.patch index 455fbacf4..24b5dbabd 100644 --- a/kernel/patches-4.14.x-rt/0098-0098-tracing-Generalize-per-element-hist-trigger-data.patch +++ b/kernel/patches-4.14.x-rt/0098-tracing-Generalize-per-element-hist-trigger-data.patch @@ -1,7 +1,7 @@ -From 00f8c97c62c63a5aca370c0aa86b8d99df213ab4 Mon Sep 17 00:00:00 2001 +From 64be61c14d8f6e5237227b74ca406688a864d424 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:53 -0600 -Subject: [PATCH 098/414] tracing: Generalize per-element hist trigger data +Subject: [PATCH 098/418] tracing: Generalize per-element hist trigger data Up until now, hist triggers only needed per-element support for saving 'comm' data, which was saved directly as a private data pointer. @@ -160,5 +160,5 @@ index d2f01f3f26e1..893f65ce31a5 100644 uval = *(u64 *)(key + key_field->offset); seq_printf(m, "%s: %-16s[%10llu]", field_name, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0099-0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch b/kernel/patches-4.14.x-rt/0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0099-0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch rename to kernel/patches-4.14.x-rt/0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch index 88d625298..0b37c9cb4 100644 --- a/kernel/patches-4.14.x-rt/0099-0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch +++ b/kernel/patches-4.14.x-rt/0099-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch @@ -1,7 +1,7 @@ -From b9c22129a458019a99aefd676d8aa505df0c89a5 Mon Sep 17 00:00:00 2001 +From 716b78d7084aeb4c724aea33818670c65ce1de09 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:54 -0600 -Subject: [PATCH 099/414] tracing: Pass tracing_map_elt to hist_field accessor +Subject: [PATCH 099/418] tracing: Pass tracing_map_elt to hist_field accessor functions Some accessor functions, such as for variable references, require @@ -227,5 +227,5 @@ index 893f65ce31a5..becf37b2b0da 100644 key = (void *)(unsigned long)field_contents; use_compound_key = true; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0100-0100-tracing-Add-hist_field-type-field.patch b/kernel/patches-4.14.x-rt/0100-tracing-Add-hist_field-type-field.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0100-0100-tracing-Add-hist_field-type-field.patch rename to kernel/patches-4.14.x-rt/0100-tracing-Add-hist_field-type-field.patch index 8aac22b78..d9606c474 100644 --- a/kernel/patches-4.14.x-rt/0100-0100-tracing-Add-hist_field-type-field.patch +++ b/kernel/patches-4.14.x-rt/0100-tracing-Add-hist_field-type-field.patch @@ -1,7 +1,7 @@ -From 67cf948ef86a7ae12b4244dd52a19b6c363686a3 Mon Sep 17 00:00:00 2001 +From c76d1f9c88ff5ef72cc78a0485c458b41a612362 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:55 -0600 -Subject: [PATCH 100/414] tracing: Add hist_field 'type' field +Subject: [PATCH 100/418] tracing: Add hist_field 'type' field Future support for synthetic events requires hist_field 'type' information, so add a field for that. @@ -119,5 +119,5 @@ index becf37b2b0da..6e60cb794dcd 100644 switch (field_op) { case FIELD_OP_MINUS: -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0101-0101-tracing-Add-variable-reference-handling-to-hist-trig.patch b/kernel/patches-4.14.x-rt/0101-tracing-Add-variable-reference-handling-to-hist-trig.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0101-0101-tracing-Add-variable-reference-handling-to-hist-trig.patch rename to kernel/patches-4.14.x-rt/0101-tracing-Add-variable-reference-handling-to-hist-trig.patch index 1539dff4c..80a955fc3 100644 --- a/kernel/patches-4.14.x-rt/0101-0101-tracing-Add-variable-reference-handling-to-hist-trig.patch +++ b/kernel/patches-4.14.x-rt/0101-tracing-Add-variable-reference-handling-to-hist-trig.patch @@ -1,7 +1,7 @@ -From bbfd0d17d764e76d6bce236898eb6d80a73d9763 Mon Sep 17 00:00:00 2001 +From 41f7872514c699137d4f48e8258f21fa5cf0b101 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:56 -0600 -Subject: [PATCH 101/414] tracing: Add variable reference handling to hist +Subject: [PATCH 101/418] tracing: Add variable reference handling to hist triggers Add the necessary infrastructure to allow the variables defined on one @@ -36,7 +36,7 @@ Signed-off-by: Sebastian Andrzej Siewior 4 files changed, 656 insertions(+), 16 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 6aef03230842..d92f6bb417ea 100644 +index 9d199ebdc0cb..2610cd6280e1 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -7788,6 +7788,7 @@ static int instance_mkdir(const char *name) @@ -56,7 +56,7 @@ index 6aef03230842..d92f6bb417ea 100644 apply_trace_boot_options(); diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h -index 64ba9e1d4c38..25d1fa15eb99 100644 +index 92936a6fc29e..5975d5f5c4bc 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -274,6 +274,7 @@ struct trace_array { @@ -946,10 +946,10 @@ index 6e60cb794dcd..2bc1f76915ef 100644 destroy_hist_data(hist_data); diff --git a/kernel/trace/trace_events_trigger.c b/kernel/trace/trace_events_trigger.c -index 9b0fe3198932..a7a5bed9ce06 100644 +index 9dd8b9ce2594..5d41bc2aad1c 100644 --- a/kernel/trace/trace_events_trigger.c +++ b/kernel/trace/trace_events_trigger.c -@@ -909,6 +909,12 @@ void set_named_trigger_data(struct event_trigger_data *data, +@@ -911,6 +911,12 @@ void set_named_trigger_data(struct event_trigger_data *data, data->named_data = named_data; } @@ -963,5 +963,5 @@ index 9b0fe3198932..a7a5bed9ce06 100644 traceon_trigger(struct event_trigger_data *data, void *rec, struct ring_buffer_event *event) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0102-0102-tracing-Add-hist-trigger-action-hook.patch b/kernel/patches-4.14.x-rt/0102-tracing-Add-hist-trigger-action-hook.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0102-0102-tracing-Add-hist-trigger-action-hook.patch rename to kernel/patches-4.14.x-rt/0102-tracing-Add-hist-trigger-action-hook.patch index 5f7697a0b..1f24a4fa6 100644 --- a/kernel/patches-4.14.x-rt/0102-0102-tracing-Add-hist-trigger-action-hook.patch +++ b/kernel/patches-4.14.x-rt/0102-tracing-Add-hist-trigger-action-hook.patch @@ -1,7 +1,7 @@ -From e77672ca241c7e563c80bfffcd0a4b6967166130 Mon Sep 17 00:00:00 2001 +From 53cae0734c3dbcea2a0da9c2f7e77e94bf72677e Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:57 -0600 -Subject: [PATCH 102/414] tracing: Add hist trigger action hook +Subject: [PATCH 102/418] tracing: Add hist trigger action hook Add a hook for executing extra actions whenever a histogram entry is added or updated. @@ -217,5 +217,5 @@ index 2bc1f76915ef..e5fea3cf60e9 100644 if (ret) goto out_unreg; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0103-0103-tracing-Add-support-for-synthetic-events.patch b/kernel/patches-4.14.x-rt/0103-tracing-Add-support-for-synthetic-events.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0103-0103-tracing-Add-support-for-synthetic-events.patch rename to kernel/patches-4.14.x-rt/0103-tracing-Add-support-for-synthetic-events.patch index 3e2151287..7775c225f 100644 --- a/kernel/patches-4.14.x-rt/0103-0103-tracing-Add-support-for-synthetic-events.patch +++ b/kernel/patches-4.14.x-rt/0103-tracing-Add-support-for-synthetic-events.patch @@ -1,7 +1,7 @@ -From c5f7ae6e4f9b0a3f8cd60c0127fbee8e42d51327 Mon Sep 17 00:00:00 2001 +From 6b85707757e8200092616f563d25fd1fdb700237 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:58 -0600 -Subject: [PATCH 103/414] tracing: Add support for 'synthetic' events +Subject: [PATCH 103/418] tracing: Add support for 'synthetic' events Synthetic events are user-defined events generated from hist trigger variables saved from one or more other events. @@ -1043,5 +1043,5 @@ index e5fea3cf60e9..ababc289835c 100644 + +fs_initcall(trace_events_hist_init); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0104-0104-tracing-Add-support-for-field-variables.patch b/kernel/patches-4.14.x-rt/0104-tracing-Add-support-for-field-variables.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0104-0104-tracing-Add-support-for-field-variables.patch rename to kernel/patches-4.14.x-rt/0104-tracing-Add-support-for-field-variables.patch index a3e0bab29..6cb57f6a3 100644 --- a/kernel/patches-4.14.x-rt/0104-0104-tracing-Add-support-for-field-variables.patch +++ b/kernel/patches-4.14.x-rt/0104-tracing-Add-support-for-field-variables.patch @@ -1,7 +1,7 @@ -From b34fe7b2dde5aa450ec543d99a01aff523e8e37d Mon Sep 17 00:00:00 2001 +From 2c4597a82500eb0c11e3bcb53fc4d69e7c508ff5 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:51:59 -0600 -Subject: [PATCH 104/414] tracing: Add support for 'field variables' +Subject: [PATCH 104/418] tracing: Add support for 'field variables' Users should be able to directly specify event fields in hist trigger 'actions' rather than being forced to explicitly create a variable for @@ -668,5 +668,5 @@ index ababc289835c..0cf7cc32dee4 100644 } } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0105-0105-tracing-Add-onmatch-hist-trigger-action-support.patch b/kernel/patches-4.14.x-rt/0105-tracing-Add-onmatch-hist-trigger-action-support.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0105-0105-tracing-Add-onmatch-hist-trigger-action-support.patch rename to kernel/patches-4.14.x-rt/0105-tracing-Add-onmatch-hist-trigger-action-support.patch index 5e6436f4c..705b94526 100644 --- a/kernel/patches-4.14.x-rt/0105-0105-tracing-Add-onmatch-hist-trigger-action-support.patch +++ b/kernel/patches-4.14.x-rt/0105-tracing-Add-onmatch-hist-trigger-action-support.patch @@ -1,7 +1,7 @@ -From e334b24a4cdeb77d5d17051949b6c122bf8fa9c3 Mon Sep 17 00:00:00 2001 +From 7114bb82bdce0e883cdb9c274c09d1e674d78bc6 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:00 -0600 -Subject: [PATCH 105/414] tracing: Add 'onmatch' hist trigger action support +Subject: [PATCH 105/418] tracing: Add 'onmatch' hist trigger action support Add an 'onmatch(matching.event).(param list)' hist trigger action which is invoked with the set of variables or @@ -689,5 +689,5 @@ index 0cf7cc32dee4..34be7af7cc1f 100644 seq_printf(m, " if %s", data->filter_str); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0106-0106-tracing-Add-onmax-hist-trigger-action-support.patch b/kernel/patches-4.14.x-rt/0106-tracing-Add-onmax-hist-trigger-action-support.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0106-0106-tracing-Add-onmax-hist-trigger-action-support.patch rename to kernel/patches-4.14.x-rt/0106-tracing-Add-onmax-hist-trigger-action-support.patch index fb073a32a..be12704d2 100644 --- a/kernel/patches-4.14.x-rt/0106-0106-tracing-Add-onmax-hist-trigger-action-support.patch +++ b/kernel/patches-4.14.x-rt/0106-tracing-Add-onmax-hist-trigger-action-support.patch @@ -1,7 +1,7 @@ -From e7741c22a08be2d40aa16c5445ce7c69ea699230 Mon Sep 17 00:00:00 2001 +From 6d31c0d845f4abe6dc03e39affcaa112d28af42d Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:01 -0600 -Subject: [PATCH 106/414] tracing: Add 'onmax' hist trigger action support +Subject: [PATCH 106/418] tracing: Add 'onmax' hist trigger action support Add an 'onmax(var).save(field,...)' hist trigger action which is invoked whenever an event exceeds the current maximum. @@ -488,5 +488,5 @@ index 34be7af7cc1f..0803b843623c 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0107-0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch b/kernel/patches-4.14.x-rt/0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0107-0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch rename to kernel/patches-4.14.x-rt/0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch index 572dd05cf..aab700034 100644 --- a/kernel/patches-4.14.x-rt/0107-0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch +++ b/kernel/patches-4.14.x-rt/0107-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch @@ -1,7 +1,7 @@ -From 8cd514fab04b97ab449cb404675253c638094ad6 Mon Sep 17 00:00:00 2001 +From 32723e5537a1d641f6d402df98b2c67a10b6da68 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:02 -0600 -Subject: [PATCH 107/414] tracing: Allow whitespace to surround hist trigger +Subject: [PATCH 107/418] tracing: Allow whitespace to surround hist trigger filter The existing code only allows for one space before and after the 'if' @@ -77,5 +77,5 @@ index 0803b843623c..0b73852f6923 100644 attrs = parse_hist_trigger_attrs(trigger); if (IS_ERR(attrs)) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0108-0108-tracing-Add-cpu-field-for-hist-triggers.patch b/kernel/patches-4.14.x-rt/0108-tracing-Add-cpu-field-for-hist-triggers.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0108-0108-tracing-Add-cpu-field-for-hist-triggers.patch rename to kernel/patches-4.14.x-rt/0108-tracing-Add-cpu-field-for-hist-triggers.patch index ae83c300b..e7bfb7e25 100644 --- a/kernel/patches-4.14.x-rt/0108-0108-tracing-Add-cpu-field-for-hist-triggers.patch +++ b/kernel/patches-4.14.x-rt/0108-tracing-Add-cpu-field-for-hist-triggers.patch @@ -1,7 +1,7 @@ -From 3775fd3850e712de87dbec398ef5f2849e846f47 Mon Sep 17 00:00:00 2001 +From 1df0964c5c04da83f4bbfd3f17da3ed30515080f Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:03 -0600 -Subject: [PATCH 108/414] tracing: Add cpu field for hist triggers +Subject: [PATCH 108/418] tracing: Add cpu field for hist triggers A common key to use in a histogram is the cpuid - add a new cpu 'synthetic' field named 'cpu' for that purpose. @@ -118,5 +118,5 @@ index 0b73852f6923..34a2e8d0a052 100644 if (hist_field->flags & HIST_FIELD_FL_VAR_REF) seq_putc(m, '$'); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0109-0109-tracing-Add-hist-trigger-support-for-variable-refere.patch b/kernel/patches-4.14.x-rt/0109-tracing-Add-hist-trigger-support-for-variable-refere.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0109-0109-tracing-Add-hist-trigger-support-for-variable-refere.patch rename to kernel/patches-4.14.x-rt/0109-tracing-Add-hist-trigger-support-for-variable-refere.patch index 2da4f5dbf..ea3f4907c 100644 --- a/kernel/patches-4.14.x-rt/0109-0109-tracing-Add-hist-trigger-support-for-variable-refere.patch +++ b/kernel/patches-4.14.x-rt/0109-tracing-Add-hist-trigger-support-for-variable-refere.patch @@ -1,7 +1,7 @@ -From 07c2f31bfb845cf9f7aff932a4382d62198d66c0 Mon Sep 17 00:00:00 2001 +From 47bb065fee09d9e976277601d5b961c843bd4db4 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:04 -0600 -Subject: [PATCH 109/414] tracing: Add hist trigger support for variable +Subject: [PATCH 109/418] tracing: Add hist trigger support for variable reference aliases Add support for alias=$somevar where alias can be used as @@ -166,5 +166,5 @@ index 34a2e8d0a052..c8cfc56ff3ae 100644 seq_printf(m, "%s", field_name); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0110-0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch b/kernel/patches-4.14.x-rt/0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0110-0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch rename to kernel/patches-4.14.x-rt/0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch index 777fb3e24..ecbcdb5ca 100644 --- a/kernel/patches-4.14.x-rt/0110-0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch +++ b/kernel/patches-4.14.x-rt/0110-tracing-Add-last-error-error-facility-for-hist-trigg.patch @@ -1,7 +1,7 @@ -From 899779d78073a613fa925a4609df88908baeb7b8 Mon Sep 17 00:00:00 2001 +From 0d6252ca744c9de7ee948ef595efff5870cdb66b Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:05 -0600 -Subject: [PATCH 110/414] tracing: Add 'last error' error facility for hist +Subject: [PATCH 110/418] tracing: Add 'last error' error facility for hist triggers With the addition of variables and actions, it's become necessary to @@ -506,5 +506,5 @@ index c8cfc56ff3ae..3856f173559a 100644 out_unreg: cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0111-0111-tracing-Add-inter-event-hist-trigger-Documentation.patch b/kernel/patches-4.14.x-rt/0111-tracing-Add-inter-event-hist-trigger-Documentation.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0111-0111-tracing-Add-inter-event-hist-trigger-Documentation.patch rename to kernel/patches-4.14.x-rt/0111-tracing-Add-inter-event-hist-trigger-Documentation.patch index 08e12e03c..f327185be 100644 --- a/kernel/patches-4.14.x-rt/0111-0111-tracing-Add-inter-event-hist-trigger-Documentation.patch +++ b/kernel/patches-4.14.x-rt/0111-tracing-Add-inter-event-hist-trigger-Documentation.patch @@ -1,7 +1,7 @@ -From 8789dfae62580dee7dc26b8c5f1fe1562f1c6042 Mon Sep 17 00:00:00 2001 +From 65ac5d6e71adbc72093ea0005d21fd62fbffa990 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:06 -0600 -Subject: [PATCH 111/414] tracing: Add inter-event hist trigger Documentation +Subject: [PATCH 111/418] tracing: Add inter-event hist trigger Documentation Add background and details on inter-event hist triggers, including hist variables, synthetic events, and actions. @@ -407,5 +407,5 @@ index 0aec2d8e166b..df08882d091c 100644 + Entries: 2 + Dropped: 0 -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0112-0112-tracing-Make-tracing_set_clock-non-static.patch b/kernel/patches-4.14.x-rt/0112-tracing-Make-tracing_set_clock-non-static.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0112-0112-tracing-Make-tracing_set_clock-non-static.patch rename to kernel/patches-4.14.x-rt/0112-tracing-Make-tracing_set_clock-non-static.patch index 621d795c3..ed0ef868d 100644 --- a/kernel/patches-4.14.x-rt/0112-0112-tracing-Make-tracing_set_clock-non-static.patch +++ b/kernel/patches-4.14.x-rt/0112-tracing-Make-tracing_set_clock-non-static.patch @@ -1,7 +1,7 @@ -From 3b48e2409800518749ee6abae9d9b2203d923649 Mon Sep 17 00:00:00 2001 +From 1fa147b01eda1aaba7e351e83e2451a1e09fc912 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:07 -0600 -Subject: [PATCH 112/414] tracing: Make tracing_set_clock() non-static +Subject: [PATCH 112/418] tracing: Make tracing_set_clock() non-static Allow tracing code outside of trace.c to access tracing_set_clock(). @@ -22,7 +22,7 @@ Signed-off-by: Sebastian Andrzej Siewior 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index d92f6bb417ea..7f779b99501b 100644 +index 2610cd6280e1..f97a20ee462d 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -6219,7 +6219,7 @@ static int tracing_clock_show(struct seq_file *m, void *v) @@ -35,7 +35,7 @@ index d92f6bb417ea..7f779b99501b 100644 int i; diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h -index 25d1fa15eb99..40f2130b3047 100644 +index 5975d5f5c4bc..0b8af849dc75 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -289,6 +289,7 @@ extern int trace_array_get(struct trace_array *tr); @@ -47,5 +47,5 @@ index 25d1fa15eb99..40f2130b3047 100644 extern bool trace_clock_in_ns(struct trace_array *tr); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0113-0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch b/kernel/patches-4.14.x-rt/0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0113-0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch rename to kernel/patches-4.14.x-rt/0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch index e3b3332d8..da30d839d 100644 --- a/kernel/patches-4.14.x-rt/0113-0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch +++ b/kernel/patches-4.14.x-rt/0113-tracing-Add-a-clock-attribute-for-hist-triggers.patch @@ -1,7 +1,7 @@ -From 54398d6c3195d28e620be6159c575c69d78257eb Mon Sep 17 00:00:00 2001 +From ddebd4ab0ba2bc665aa7648dd78e99b277980d2c Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:08 -0600 -Subject: [PATCH 113/414] tracing: Add a clock attribute for hist triggers +Subject: [PATCH 113/418] tracing: Add a clock attribute for hist triggers The default clock if timestamps are used in a histogram is "global". If timestamps aren't used, the clock is irrelevant. @@ -141,5 +141,5 @@ index 3856f173559a..e47b56632367 100644 return ret; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0114-0114-ring-buffer-Bring-back-context-level-recursive-check.patch b/kernel/patches-4.14.x-rt/0114-ring-buffer-Bring-back-context-level-recursive-check.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0114-0114-ring-buffer-Bring-back-context-level-recursive-check.patch rename to kernel/patches-4.14.x-rt/0114-ring-buffer-Bring-back-context-level-recursive-check.patch index 98c2f25ec..2646ce6b9 100644 --- a/kernel/patches-4.14.x-rt/0114-0114-ring-buffer-Bring-back-context-level-recursive-check.patch +++ b/kernel/patches-4.14.x-rt/0114-ring-buffer-Bring-back-context-level-recursive-check.patch @@ -1,7 +1,7 @@ -From a55d4241b1d99ae75af5f0b09bacf01249b0cd0b Mon Sep 17 00:00:00 2001 +From fedddc1c62ab8c45aa3bd18925870810bc56bcfb Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Mon, 15 Jan 2018 10:47:09 -0500 -Subject: [PATCH 114/414] ring-buffer: Bring back context level recursive +Subject: [PATCH 114/418] ring-buffer: Bring back context level recursive checks Commit 1a149d7d3f45 ("ring-buffer: Rewrite trace_recursive_(un)lock() to be @@ -129,5 +129,5 @@ index e48989ff0427..3621164c234b 100644 /** -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0115-0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch b/kernel/patches-4.14.x-rt/0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0115-0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch rename to kernel/patches-4.14.x-rt/0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch index 5625d4d16..2f1436fea 100644 --- a/kernel/patches-4.14.x-rt/0115-0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch +++ b/kernel/patches-4.14.x-rt/0115-ring-buffer-Fix-duplicate-results-in-mapping-context.patch @@ -1,7 +1,7 @@ -From c9c04b93f7a5c7efc87e6b5b4119e4c4502a2d64 Mon Sep 17 00:00:00 2001 +From c4edfe214d73bc9b47daca17f6d833af130a17a6 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Thu, 18 Jan 2018 15:42:09 -0500 -Subject: [PATCH 115/414] ring-buffer: Fix duplicate results in mapping context +Subject: [PATCH 115/418] ring-buffer: Fix duplicate results in mapping context to bits in recursive lock In bringing back the context checks, the code checks first if its normal @@ -38,5 +38,5 @@ index 3621164c234b..cad398ba3009 100644 if (unlikely(val & (1 << bit))) return 1; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0116-0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch b/kernel/patches-4.14.x-rt/0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0116-0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch rename to kernel/patches-4.14.x-rt/0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch index 9d2121e21..3e6ee50a7 100644 --- a/kernel/patches-4.14.x-rt/0116-0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch +++ b/kernel/patches-4.14.x-rt/0116-ring-buffer-Add-nesting-for-adding-events-within-eve.patch @@ -1,7 +1,7 @@ -From c82828011cb72e84bec212256001e84a7bc4cf77 Mon Sep 17 00:00:00 2001 +From a4b0759b36f87efae28313c89ce17f46abb7e203 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 7 Feb 2018 17:26:32 -0500 -Subject: [PATCH 116/414] ring-buffer: Add nesting for adding events within +Subject: [PATCH 116/418] ring-buffer: Add nesting for adding events within events The ring-buffer code has recusion protection in case tracing ends up tracing @@ -123,5 +123,5 @@ index cad398ba3009..1866b28e58ea 100644 /** -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0117-0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch b/kernel/patches-4.14.x-rt/0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0117-0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch rename to kernel/patches-4.14.x-rt/0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch index e2f461d66..8b0b0eaf0 100644 --- a/kernel/patches-4.14.x-rt/0117-0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch +++ b/kernel/patches-4.14.x-rt/0117-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch @@ -1,7 +1,7 @@ -From 6b2e8c7fa90d7c279a504dcce8f8d9506ff6eb23 Mon Sep 17 00:00:00 2001 +From bf4198baa1bc77ecfb9e0928fe67c74d324c6ac5 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 7 Feb 2018 17:29:46 -0500 -Subject: [PATCH 117/414] tracing: Use the ring-buffer nesting to allow +Subject: [PATCH 117/418] tracing: Use the ring-buffer nesting to allow synthetic events to be traced Synthetic events can be done within the recording of other events. Notify @@ -56,5 +56,5 @@ index e47b56632367..49afef3cc384 100644 static void free_synth_event_print_fmt(struct trace_event_call *call) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0118-0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch b/kernel/patches-4.14.x-rt/0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0118-0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch rename to kernel/patches-4.14.x-rt/0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch index 3aec621e4..b7cba58bc 100644 --- a/kernel/patches-4.14.x-rt/0118-0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch +++ b/kernel/patches-4.14.x-rt/0118-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch @@ -1,7 +1,7 @@ -From 31b721519a6cf4d79ed810074811d64b1b843c56 Mon Sep 17 00:00:00 2001 +From 5e0b60d8807868322575398067ac7188d6e140e5 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Mon, 15 Jan 2018 20:52:10 -0600 -Subject: [PATCH 118/414] tracing: Add inter-event blurb to HIST_TRIGGERS +Subject: [PATCH 118/418] tracing: Add inter-event blurb to HIST_TRIGGERS config option So that users know that inter-event tracing is supported as part of @@ -35,5 +35,5 @@ index 4ad6f6ca18c1..55d39a3fbdf7 100644 config MMIOTRACE_TEST -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0119-0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch b/kernel/patches-4.14.x-rt/0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0119-0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch rename to kernel/patches-4.14.x-rt/0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch index 4b50ac2b3..35bcc651c 100644 --- a/kernel/patches-4.14.x-rt/0119-0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch +++ b/kernel/patches-4.14.x-rt/0119-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch @@ -1,7 +1,7 @@ -From 099e9e937843cb556031561953678b766e55022c Mon Sep 17 00:00:00 2001 +From ece6ca77098bc9d73dbdc62a5bd6888e0162c864 Mon Sep 17 00:00:00 2001 From: Rajvi Jingar Date: Mon, 15 Jan 2018 20:52:11 -0600 -Subject: [PATCH 119/414] selftests: ftrace: Add inter-event hist triggers +Subject: [PATCH 119/418] selftests: ftrace: Add inter-event hist triggers testcases This adds inter-event hist triggers testcases which covers following: @@ -465,5 +465,5 @@ index 000000000000..cef11377dcbd + +exit 0 -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0120-0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch b/kernel/patches-4.14.x-rt/0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0120-0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch rename to kernel/patches-4.14.x-rt/0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch index f543ba3c3..513cb0058 100644 --- a/kernel/patches-4.14.x-rt/0120-0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch +++ b/kernel/patches-4.14.x-rt/0120-tracing-Fix-display-of-hist-trigger-expressions-cont.patch @@ -1,7 +1,7 @@ -From b547e01a7780ce9dfbdbe69ed830ab84bf0d72a9 Mon Sep 17 00:00:00 2001 +From a3813cf8a17035606cec1e2b6f1651fbd597612e Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:53 -0500 -Subject: [PATCH 120/414] tracing: Fix display of hist trigger expressions +Subject: [PATCH 120/418] tracing: Fix display of hist trigger expressions containing timestamps When displaying hist triggers, variable references that have the @@ -78,5 +78,5 @@ index 49afef3cc384..85b032a04b29 100644 static int event_hist_trigger_print(struct seq_file *m, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0121-0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch b/kernel/patches-4.14.x-rt/0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0121-0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch rename to kernel/patches-4.14.x-rt/0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch index 8170be5e1..a56adcbc6 100644 --- a/kernel/patches-4.14.x-rt/0121-0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch +++ b/kernel/patches-4.14.x-rt/0121-tracing-Don-t-add-flag-strings-when-displaying-varia.patch @@ -1,7 +1,7 @@ -From 842b08fc337b837b6a7b89c8363285bfbe8add08 Mon Sep 17 00:00:00 2001 +From fcfdccd08e581e0941b037fc29b89fc51eb48091 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:54 -0500 -Subject: [PATCH 121/414] tracing: Don't add flag strings when displaying +Subject: [PATCH 121/418] tracing: Don't add flag strings when displaying variable references Variable references should never have flags appended when displayed - @@ -36,5 +36,5 @@ index 85b032a04b29..9def33acb5eb 100644 if (flags_str) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0122-0122-tracing-Add-action-comparisons-when-testing-matching.patch b/kernel/patches-4.14.x-rt/0122-tracing-Add-action-comparisons-when-testing-matching.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0122-0122-tracing-Add-action-comparisons-when-testing-matching.patch rename to kernel/patches-4.14.x-rt/0122-tracing-Add-action-comparisons-when-testing-matching.patch index 02e947374..f15033c43 100644 --- a/kernel/patches-4.14.x-rt/0122-0122-tracing-Add-action-comparisons-when-testing-matching.patch +++ b/kernel/patches-4.14.x-rt/0122-tracing-Add-action-comparisons-when-testing-matching.patch @@ -1,7 +1,7 @@ -From 2316198bef7dc2be605559de7d3b28575c23ed9f Mon Sep 17 00:00:00 2001 +From 4e6b8c51250139dc151df4e91c1925726b1bb969 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:55 -0500 -Subject: [PATCH 122/414] tracing: Add action comparisons when testing matching +Subject: [PATCH 122/418] tracing: Add action comparisons when testing matching hist triggers Actions also need to be considered when checking for matching triggers @@ -86,5 +86,5 @@ index 9def33acb5eb..514ec0b31eed 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0123-0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch b/kernel/patches-4.14.x-rt/0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0123-0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch rename to kernel/patches-4.14.x-rt/0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch index 0adee2297..b7c57ea6e 100644 --- a/kernel/patches-4.14.x-rt/0123-0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch +++ b/kernel/patches-4.14.x-rt/0123-tracing-Make-sure-variable-string-fields-are-NULL-te.patch @@ -1,7 +1,7 @@ -From 6e6ee580df5f14d3dd8d686876f70a438612cf4d Mon Sep 17 00:00:00 2001 +From c1f37037f88fa0886f550c2fe4f96faed98810d8 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Wed, 28 Mar 2018 15:10:56 -0500 -Subject: [PATCH 123/414] tracing: Make sure variable string fields are +Subject: [PATCH 123/418] tracing: Make sure variable string fields are NULL-terminated The strncpy() currently being used for variable string fields can @@ -38,5 +38,5 @@ index 514ec0b31eed..37db86145c8b 100644 } tracing_map_set_var(elt, var_idx, var_val); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0124-0124-block-Shorten-interrupt-disabled-regions.patch b/kernel/patches-4.14.x-rt/0124-block-Shorten-interrupt-disabled-regions.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0124-0124-block-Shorten-interrupt-disabled-regions.patch rename to kernel/patches-4.14.x-rt/0124-block-Shorten-interrupt-disabled-regions.patch index a3a3abdb2..ad71dd0f4 100644 --- a/kernel/patches-4.14.x-rt/0124-0124-block-Shorten-interrupt-disabled-regions.patch +++ b/kernel/patches-4.14.x-rt/0124-block-Shorten-interrupt-disabled-regions.patch @@ -1,7 +1,7 @@ -From 680da6e9261571728655b9addf042079a63ef813 Mon Sep 17 00:00:00 2001 +From da0a281742521c06610cf14549e2da98208ea6ae Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Jun 2011 19:47:02 +0200 -Subject: [PATCH 124/414] block: Shorten interrupt disabled regions +Subject: [PATCH 124/418] block: Shorten interrupt disabled regions Moving the blk_sched_flush_plug() call out of the interrupt/preempt disabled region in the scheduler allows us to replace @@ -98,5 +98,5 @@ index 1feeb1a8aad9..b4dd598666b9 100644 void blk_finish_plug(struct blk_plug *plug) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0125-0125-timekeeping-Split-jiffies-seqlock.patch b/kernel/patches-4.14.x-rt/0125-timekeeping-Split-jiffies-seqlock.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0125-0125-timekeeping-Split-jiffies-seqlock.patch rename to kernel/patches-4.14.x-rt/0125-timekeeping-Split-jiffies-seqlock.patch index 6652a1ddf..9a214b04e 100644 --- a/kernel/patches-4.14.x-rt/0125-0125-timekeeping-Split-jiffies-seqlock.patch +++ b/kernel/patches-4.14.x-rt/0125-timekeeping-Split-jiffies-seqlock.patch @@ -1,7 +1,7 @@ -From bd75fa06ddb8eaf35c1f52c42a46b44b2a97bb77 Mon Sep 17 00:00:00 2001 +From 4b716f7abf6f1fdd81c7fa5d16c2d7be7bca5fbb Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 14 Feb 2013 22:36:59 +0100 -Subject: [PATCH 125/414] timekeeping: Split jiffies seqlock +Subject: [PATCH 125/418] timekeeping: Split jiffies seqlock Replace jiffies_lock seqlock with a simple seqcounter and a rawlock so it can be taken in atomic context on RT. @@ -166,5 +166,5 @@ index c9f9af339914..0c0f52bf1927 100644 #define CS_NAME_LEN 32 -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0126-0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch b/kernel/patches-4.14.x-rt/0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0126-0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch rename to kernel/patches-4.14.x-rt/0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch index 98a1f2c82..b39bb2a2b 100644 --- a/kernel/patches-4.14.x-rt/0126-0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch +++ b/kernel/patches-4.14.x-rt/0126-tracing-Account-for-preempt-off-in-preempt_schedule.patch @@ -1,7 +1,7 @@ -From 90bde2fed39ef39c430846efdd831b8cc140b5f8 Mon Sep 17 00:00:00 2001 +From 16417d60b31ecb9587f6bc328bbeae4aab73d23c Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 29 Sep 2011 12:24:30 -0500 -Subject: [PATCH 126/414] tracing: Account for preempt off in +Subject: [PATCH 126/418] tracing: Account for preempt off in preempt_schedule() The preempt_schedule() uses the preempt_disable_notrace() version @@ -28,10 +28,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 9 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 1d8f359903c2..c07c1bb0e1c6 100644 +index 1fffb66e599a..c4902d17faf1 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -3605,7 +3605,16 @@ asmlinkage __visible void __sched notrace preempt_schedule_notrace(void) +@@ -3590,7 +3590,16 @@ asmlinkage __visible void __sched notrace preempt_schedule_notrace(void) * an infinite recursion. */ prev_ctx = exception_enter(); @@ -49,5 +49,5 @@ index 1d8f359903c2..c07c1bb0e1c6 100644 preempt_latency_stop(1); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0127-0127-signal-Revert-ptrace-preempt-magic.patch b/kernel/patches-4.14.x-rt/0127-signal-Revert-ptrace-preempt-magic.patch similarity index 79% rename from kernel/patches-4.14.x-rt/0127-0127-signal-Revert-ptrace-preempt-magic.patch rename to kernel/patches-4.14.x-rt/0127-signal-Revert-ptrace-preempt-magic.patch index 195785843..25190cffc 100644 --- a/kernel/patches-4.14.x-rt/0127-0127-signal-Revert-ptrace-preempt-magic.patch +++ b/kernel/patches-4.14.x-rt/0127-signal-Revert-ptrace-preempt-magic.patch @@ -1,7 +1,7 @@ -From 31345d229167f9853a7edba87d31c35c00a18509 Mon Sep 17 00:00:00 2001 +From a722e1cc4a944d13035ad97888fc01430bd36ada Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 21 Sep 2011 19:57:12 +0200 -Subject: [PATCH 127/414] signal: Revert ptrace preempt magic +Subject: [PATCH 127/418] signal: Revert ptrace preempt magic Upstream commit '53da1d9456fe7f8 fix ptrace slowness' is nothing more than a bandaid around the ptrace design trainwreck. It's not a @@ -13,10 +13,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 8 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c -index 6895f6bb98a7..55826c814da1 100644 +index 4439ba9dc5d9..2167e0407cbf 100644 --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -1875,15 +1875,7 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) +@@ -1888,15 +1888,7 @@ static void ptrace_stop(int exit_code, int why, int clear_code, siginfo_t *info) if (gstop_done && ptrace_reparented(current)) do_notify_parent_cldstop(current, false, why); @@ -33,5 +33,5 @@ index 6895f6bb98a7..55826c814da1 100644 } else { /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0128-0128-arm-Convert-arm-boot_lock-to-raw.patch b/kernel/patches-4.14.x-rt/0128-arm-Convert-arm-boot_lock-to-raw.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0128-0128-arm-Convert-arm-boot_lock-to-raw.patch rename to kernel/patches-4.14.x-rt/0128-arm-Convert-arm-boot_lock-to-raw.patch index f2ee33493..336591429 100644 --- a/kernel/patches-4.14.x-rt/0128-0128-arm-Convert-arm-boot_lock-to-raw.patch +++ b/kernel/patches-4.14.x-rt/0128-arm-Convert-arm-boot_lock-to-raw.patch @@ -1,7 +1,7 @@ -From 3f6651d27e72df5cde28a9171b5f155c00dfe58c Mon Sep 17 00:00:00 2001 +From fdf81973e6be26468f7f610ea1ade5fa2d15cc33 Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Mon, 19 Sep 2011 14:51:14 -0700 -Subject: [PATCH 128/414] arm: Convert arm boot_lock to raw +Subject: [PATCH 128/418] arm: Convert arm boot_lock to raw 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. @@ -423,5 +423,5 @@ index c2366510187a..6b60f582b738 100644 return pen_release != -1 ? -ENOSYS : 0; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0129-0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch b/kernel/patches-4.14.x-rt/0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0129-0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch rename to kernel/patches-4.14.x-rt/0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch index 6b1695fb7..a4955e9d8 100644 --- a/kernel/patches-4.14.x-rt/0129-0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch +++ b/kernel/patches-4.14.x-rt/0129-arm-kprobe-replace-patch_lock-to-raw-lock.patch @@ -1,7 +1,7 @@ -From c0261e92d3ba5973240a7f23e8dea7fac7845e9d Mon Sep 17 00:00:00 2001 +From 79f0a2d8e20aec6e2a67ac31bcbddce17b37a557 Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Thu, 10 Nov 2016 16:17:55 -0800 -Subject: [PATCH 129/414] arm: kprobe: replace patch_lock to raw lock +Subject: [PATCH 129/418] arm: kprobe: replace patch_lock to raw lock When running kprobe on -rt kernel, the below bug is caught: @@ -71,5 +71,5 @@ index a50dc00d79a2..d0a05a3bdb96 100644 __release(&patch_lock); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0130-0130-posix-timers-Prevent-broadcast-signals.patch b/kernel/patches-4.14.x-rt/0130-posix-timers-Prevent-broadcast-signals.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0130-0130-posix-timers-Prevent-broadcast-signals.patch rename to kernel/patches-4.14.x-rt/0130-posix-timers-Prevent-broadcast-signals.patch index e237774b4..e8deb9f03 100644 --- a/kernel/patches-4.14.x-rt/0130-0130-posix-timers-Prevent-broadcast-signals.patch +++ b/kernel/patches-4.14.x-rt/0130-posix-timers-Prevent-broadcast-signals.patch @@ -1,7 +1,7 @@ -From c49c67d37a44bb28973199f4c47ae7e634f1159e Mon Sep 17 00:00:00 2001 +From abcf1dceff33f7b8c133de7de863699e436a815e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:29:20 -0500 -Subject: [PATCH 130/414] posix-timers: Prevent broadcast signals +Subject: [PATCH 130/418] posix-timers: Prevent broadcast signals Posix timers should not send broadcast signals and kernel only signals. Prevent it. @@ -34,5 +34,5 @@ index 708992708332..f5392262fb77 100644 /* FALLTHRU */ case SIGEV_NONE: -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0131-0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch b/kernel/patches-4.14.x-rt/0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0131-0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch rename to kernel/patches-4.14.x-rt/0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch index ff8c2e3c7..ed9c363ec 100644 --- a/kernel/patches-4.14.x-rt/0131-0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch +++ b/kernel/patches-4.14.x-rt/0131-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch @@ -1,7 +1,7 @@ -From c41768ef6b917a5b0a78acb734bf78a6af81e718 Mon Sep 17 00:00:00 2001 +From 827c878632f9fa736c38c72b28002fad79d911fb Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:56 -0500 -Subject: [PATCH 131/414] signals: Allow rt tasks to cache one sigqueue struct +Subject: [PATCH 131/418] signals: Allow rt tasks to cache one sigqueue struct To avoid allocation allow rt tasks to cache one sigqueue struct in task struct. @@ -16,10 +16,10 @@ Signed-off-by: Thomas Gleixner 5 files changed, 70 insertions(+), 5 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h -index 0ab4cec5c7ec..985b88c49052 100644 +index c22e7b475dd9..789e690fdade 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -788,6 +788,8 @@ struct task_struct { +@@ -828,6 +828,8 @@ struct task_struct { /* Signal handlers: */ struct signal_struct *signal; struct sighand_struct *sighand; @@ -66,7 +66,7 @@ index 04c3ebd7a9a9..7d23fd8ecd69 100644 p->utime = p->stime = p->gtime = 0; #ifdef CONFIG_ARCH_HAS_SCALED_CPUTIME diff --git a/kernel/signal.c b/kernel/signal.c -index 55826c814da1..8e39280f06b4 100644 +index 2167e0407cbf..67354e467778 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -19,6 +19,7 @@ @@ -208,5 +208,5 @@ index 55826c814da1..8e39280f06b4 100644 if (q) q->flags |= SIGQUEUE_PREALLOC; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0132-0132-drivers-random-Reduce-preempt-disabled-region.patch b/kernel/patches-4.14.x-rt/0132-drivers-random-Reduce-preempt-disabled-region.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0132-0132-drivers-random-Reduce-preempt-disabled-region.patch rename to kernel/patches-4.14.x-rt/0132-drivers-random-Reduce-preempt-disabled-region.patch index 7d2c8b632..2ad20e362 100644 --- a/kernel/patches-4.14.x-rt/0132-0132-drivers-random-Reduce-preempt-disabled-region.patch +++ b/kernel/patches-4.14.x-rt/0132-drivers-random-Reduce-preempt-disabled-region.patch @@ -1,7 +1,7 @@ -From 4bcabeb385becd404d4f10c8c2d3b36cd6d6fbb3 Mon Sep 17 00:00:00 2001 +From 2a2598664282a49e4ba2c8f2402c836e8765fee6 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:30 -0500 -Subject: [PATCH 132/414] drivers: random: Reduce preempt disabled region +Subject: [PATCH 132/418] drivers: random: Reduce preempt disabled region No need to keep preemption disabled across the whole function. @@ -33,5 +33,5 @@ index ddc493d976fd..106abdf67efd 100644 void add_input_randomness(unsigned int type, unsigned int code, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0133-0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch b/kernel/patches-4.14.x-rt/0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0133-0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch rename to kernel/patches-4.14.x-rt/0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch index 4baa04651..5c4d60381 100644 --- a/kernel/patches-4.14.x-rt/0133-0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch +++ b/kernel/patches-4.14.x-rt/0133-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch @@ -1,7 +1,7 @@ -From bc6c2e3500feb0a620a714e193f3dd7f7c0db15d Mon Sep 17 00:00:00 2001 +From 7125d121e4af80778df90210fa74423438cba0ea Mon Sep 17 00:00:00 2001 From: Benedikt Spranger Date: Sat, 6 Mar 2010 17:47:10 +0100 -Subject: [PATCH 133/414] ARM: AT91: PIT: Remove irq handler when clock event +Subject: [PATCH 133/418] ARM: AT91: PIT: Remove irq handler when clock event is unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -152,5 +152,5 @@ index d2e660f475af..c63b96cfc23e 100644 if (IS_ERR(sclk)) { pr_err("Unable to get slow clock\n"); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0134-0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch b/kernel/patches-4.14.x-rt/0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0134-0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch rename to kernel/patches-4.14.x-rt/0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch index 564166cab..dcdb03e1d 100644 --- a/kernel/patches-4.14.x-rt/0134-0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch +++ b/kernel/patches-4.14.x-rt/0134-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch @@ -1,7 +1,7 @@ -From 5cfc0dab07141251b040692160c8321eeb88c426 Mon Sep 17 00:00:00 2001 +From ee86db508e41be8b9a2370386e7e688b602f57c4 Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Thu, 17 Mar 2016 21:09:43 +0100 -Subject: [PATCH 134/414] clockevents/drivers/timer-atmel-pit: fix double +Subject: [PATCH 134/418] clockevents/drivers/timer-atmel-pit: fix double free_irq clockevents_exchange_device() changes the state from detached to shutdown @@ -48,5 +48,5 @@ index d09cfb1dc12b..d813ea388562 100644 data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, AT91_PIT_PIVR)); pit_write(data->base, AT91_PIT_MR, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0135-0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch b/kernel/patches-4.14.x-rt/0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0135-0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch rename to kernel/patches-4.14.x-rt/0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch index bfe8acc12..8cbc111e4 100644 --- a/kernel/patches-4.14.x-rt/0135-0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch +++ b/kernel/patches-4.14.x-rt/0135-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch @@ -1,7 +1,7 @@ -From d54f0bc9a0cce91f1f92afb1e5decff0014b8fc4 Mon Sep 17 00:00:00 2001 +From 15ee185333dafcf267b78f266357d19ca4a04962 Mon Sep 17 00:00:00 2001 From: Benedikt Spranger Date: Mon, 8 Mar 2010 18:57:04 +0100 -Subject: [PATCH 135/414] clocksource: TCLIB: Allow higher clock rates for +Subject: [PATCH 135/418] clocksource: TCLIB: Allow higher clock rates for clock events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -165,5 +165,5 @@ index 8136dc7e863d..d2feb491e689 100644 tristate "Dummy IRQ handler" default n -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0136-0136-drivers-net-Use-disable_irq_nosync-in-8139too.patch b/kernel/patches-4.14.x-rt/0136-0136-drivers-net-Use-disable_irq_nosync-in-8139too.patch deleted file mode 100644 index 3310ee85b..000000000 --- a/kernel/patches-4.14.x-rt/0136-0136-drivers-net-Use-disable_irq_nosync-in-8139too.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 71fd417c41b32cf71cdc1504597c0ef5a7203c99 Mon Sep 17 00:00:00 2001 -From: Ingo Molnar -Date: Fri, 3 Jul 2009 08:29:24 -0500 -Subject: [PATCH 136/414] drivers/net: Use disable_irq_nosync() in 8139too - -Use disable_irq_nosync() instead of disable_irq() as this might be -called in atomic context with netpoll. - -Signed-off-by: Ingo Molnar -Signed-off-by: Thomas Gleixner ---- - drivers/net/ethernet/realtek/8139too.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/net/ethernet/realtek/8139too.c b/drivers/net/ethernet/realtek/8139too.c -index d24b47b8e0b2..d118da5a10a2 100644 ---- a/drivers/net/ethernet/realtek/8139too.c -+++ b/drivers/net/ethernet/realtek/8139too.c -@@ -2224,7 +2224,7 @@ static void rtl8139_poll_controller(struct net_device *dev) - struct rtl8139_private *tp = netdev_priv(dev); - const int irq = tp->pci_dev->irq; - -- disable_irq(irq); -+ disable_irq_nosync(irq); - rtl8139_interrupt(irq, dev); - enable_irq(irq); - } --- -2.17.0 - diff --git a/kernel/patches-4.14.x-rt/0137-0137-suspend-Prevent-might-sleep-splats.patch b/kernel/patches-4.14.x-rt/0136-suspend-Prevent-might-sleep-splats.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0137-0137-suspend-Prevent-might-sleep-splats.patch rename to kernel/patches-4.14.x-rt/0136-suspend-Prevent-might-sleep-splats.patch index b86522d21..8dfe8b60a 100644 --- a/kernel/patches-4.14.x-rt/0137-0137-suspend-Prevent-might-sleep-splats.patch +++ b/kernel/patches-4.14.x-rt/0136-suspend-Prevent-might-sleep-splats.patch @@ -1,7 +1,7 @@ -From a716bd18c0e738c15cbb635ae7f57defb0f95581 Mon Sep 17 00:00:00 2001 +From 4efdefb7c9861cdfd79dd2dbb14fad12ea65cb7a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 15 Jul 2010 10:29:00 +0200 -Subject: [PATCH 137/414] suspend: Prevent might sleep splats +Subject: [PATCH 136/418] suspend: Prevent might sleep splats timekeeping suspend/resume calls read_persistant_clock() which takes rtc_lock. That results in might sleep warnings because at that point @@ -111,5 +111,5 @@ index 0685c4499431..d74d04d49248 100644 BUG_ON(irqs_disabled()); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0138-0138-net-flip-lock-dep-thingy.patch.patch b/kernel/patches-4.14.x-rt/0137-net-flip-lock-dep-thingy.patch.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0138-0138-net-flip-lock-dep-thingy.patch.patch rename to kernel/patches-4.14.x-rt/0137-net-flip-lock-dep-thingy.patch.patch index 53be99c56..681b100cc 100644 --- a/kernel/patches-4.14.x-rt/0138-0138-net-flip-lock-dep-thingy.patch.patch +++ b/kernel/patches-4.14.x-rt/0137-net-flip-lock-dep-thingy.patch.patch @@ -1,7 +1,7 @@ -From e57e9f84e4f6a4a56559c91aef896c1ed3211358 Mon Sep 17 00:00:00 2001 +From aad8023d589b93a15c29911885d8bade1e11e684 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Jun 2011 10:59:58 +0200 -Subject: [PATCH 138/414] net-flip-lock-dep-thingy.patch +Subject: [PATCH 137/418] net-flip-lock-dep-thingy.patch ======================================================= [ INFO: possible circular locking dependency detected ] @@ -95,7 +95,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/core/sock.c b/net/core/sock.c -index ec6eb546b228..9af877b4e3f7 100644 +index 68d08ed5521e..ee242ff5d4b1 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -2757,12 +2757,11 @@ void lock_sock_nested(struct sock *sk, int subclass) @@ -113,5 +113,5 @@ index ec6eb546b228..9af877b4e3f7 100644 EXPORT_SYMBOL(lock_sock_nested); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0139-0139-net-sched-Use-msleep-instead-of-yield.patch b/kernel/patches-4.14.x-rt/0138-net-sched-Use-msleep-instead-of-yield.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0139-0139-net-sched-Use-msleep-instead-of-yield.patch rename to kernel/patches-4.14.x-rt/0138-net-sched-Use-msleep-instead-of-yield.patch index 5007f3e77..64eaab2aa 100644 --- a/kernel/patches-4.14.x-rt/0139-0139-net-sched-Use-msleep-instead-of-yield.patch +++ b/kernel/patches-4.14.x-rt/0138-net-sched-Use-msleep-instead-of-yield.patch @@ -1,7 +1,7 @@ -From c6d38433fbdbf6a66d8a359c73ce62b3a1de0d0c Mon Sep 17 00:00:00 2001 +From e3883042bd79b654d1d283370d4541cd734f2f0e Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Wed, 5 Mar 2014 00:49:47 +0100 -Subject: [PATCH 139/414] net: sched: Use msleep() instead of yield() +Subject: [PATCH 138/418] net: sched: Use msleep() instead of yield() 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 @@ -59,5 +59,5 @@ index 79549baf5804..de0839491dd8 100644 * unwind stale skb lists and qdisc statistics */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0140-0140-net-core-disable-NET_RX_BUSY_POLL.patch b/kernel/patches-4.14.x-rt/0139-net-core-disable-NET_RX_BUSY_POLL.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0140-0140-net-core-disable-NET_RX_BUSY_POLL.patch rename to kernel/patches-4.14.x-rt/0139-net-core-disable-NET_RX_BUSY_POLL.patch index 3bf63fcbe..3aebc815d 100644 --- a/kernel/patches-4.14.x-rt/0140-0140-net-core-disable-NET_RX_BUSY_POLL.patch +++ b/kernel/patches-4.14.x-rt/0139-net-core-disable-NET_RX_BUSY_POLL.patch @@ -1,7 +1,7 @@ -From a04d664062698b1ce702b06ca87d096f0389d5bb Mon Sep 17 00:00:00 2001 +From 67b655fec6fb6e0ca9abaae9a0ed4a4e3f48c513 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 27 May 2017 19:02:06 +0200 -Subject: [PATCH 140/414] net/core: disable NET_RX_BUSY_POLL +Subject: [PATCH 139/418] net/core: disable NET_RX_BUSY_POLL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -33,5 +33,5 @@ index 9dba2715919d..9c7b38379c09 100644 config BQL bool -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0141-0141-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch b/kernel/patches-4.14.x-rt/0140-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0141-0141-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch rename to kernel/patches-4.14.x-rt/0140-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch index 20c145509..02590779f 100644 --- a/kernel/patches-4.14.x-rt/0141-0141-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch +++ b/kernel/patches-4.14.x-rt/0140-x86-ioapic-Do-not-unmask-io_apic-when-interrupt-is-i.patch @@ -1,7 +1,7 @@ -From 88e658e3096f23f68796ebad3101922f06cb1cde Mon Sep 17 00:00:00 2001 +From e634cb99053b5d39092f3baeefc5edf4ff7cad26 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:27 -0500 -Subject: [PATCH 141/414] x86/ioapic: Do not unmask io_apic when interrupt is +Subject: [PATCH 140/418] x86/ioapic: Do not unmask io_apic when interrupt is in progress With threaded interrupts we might see an interrupt in progress on @@ -28,5 +28,5 @@ index 3b89b27945ff..9744fbb856af 100644 return true; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0142-0142-rcu-segcblist-include-rcupdate.h.patch b/kernel/patches-4.14.x-rt/0141-rcu-segcblist-include-rcupdate.h.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0142-0142-rcu-segcblist-include-rcupdate.h.patch rename to kernel/patches-4.14.x-rt/0141-rcu-segcblist-include-rcupdate.h.patch index 80b8c71f9..88e645dbc 100644 --- a/kernel/patches-4.14.x-rt/0142-0142-rcu-segcblist-include-rcupdate.h.patch +++ b/kernel/patches-4.14.x-rt/0141-rcu-segcblist-include-rcupdate.h.patch @@ -1,7 +1,7 @@ -From 03e414c0099639384d6cc091481db6e1474a463c Mon Sep 17 00:00:00 2001 +From 81b3b1a0cb7b11246749c9e04cf61f2d60724601 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 22 Sep 2017 15:01:46 +0200 -Subject: [PATCH 142/414] rcu/segcblist: include rcupdate.h +Subject: [PATCH 141/418] rcu/segcblist: include rcupdate.h The RT build on ARM complains about non-existing ULONG_CMP_LT. Since rcu_segcblist.c uses that macro it should include the header file. @@ -24,5 +24,5 @@ index 7649fcd2c4c7..88cba7c2956c 100644 #include "rcu_segcblist.h" -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0143-0143-printk-Add-a-printk-kill-switch.patch b/kernel/patches-4.14.x-rt/0142-printk-Add-a-printk-kill-switch.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0143-0143-printk-Add-a-printk-kill-switch.patch rename to kernel/patches-4.14.x-rt/0142-printk-Add-a-printk-kill-switch.patch index 13f1b6df7..8df604d7a 100644 --- a/kernel/patches-4.14.x-rt/0143-0143-printk-Add-a-printk-kill-switch.patch +++ b/kernel/patches-4.14.x-rt/0142-printk-Add-a-printk-kill-switch.patch @@ -1,7 +1,7 @@ -From 8940347344c0b1e3f7d86f816a757123e4735df3 Mon Sep 17 00:00:00 2001 +From 6049a810e8e4b9cfb6de3c473d435d1c84d2199d Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 22 Jul 2011 17:58:40 +0200 -Subject: [PATCH 143/414] printk: Add a printk kill switch +Subject: [PATCH 142/418] printk: Add a printk kill switch Add a prinkt-kill-switch. This is used from (NMI) watchdog to ensure that it does not dead-lock with the early printk code. @@ -169,5 +169,5 @@ index e449a23e9d59..5cdc09411b85 100644 nmi_panic(regs, "Hard LOCKUP"); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0144-0144-printk-Add-force_early_printk-boot-param-to-help-wit.patch b/kernel/patches-4.14.x-rt/0143-printk-Add-force_early_printk-boot-param-to-help-wit.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0144-0144-printk-Add-force_early_printk-boot-param-to-help-wit.patch rename to kernel/patches-4.14.x-rt/0143-printk-Add-force_early_printk-boot-param-to-help-wit.patch index 80dc46edd..401936194 100644 --- a/kernel/patches-4.14.x-rt/0144-0144-printk-Add-force_early_printk-boot-param-to-help-wit.patch +++ b/kernel/patches-4.14.x-rt/0143-printk-Add-force_early_printk-boot-param-to-help-wit.patch @@ -1,7 +1,7 @@ -From d627b2317582b8110392e7f22f03433d4927b67d Mon Sep 17 00:00:00 2001 +From 595d8eab070ac3337ee8922bd419e6b58b5b64f9 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 2 Sep 2011 14:41:29 +0200 -Subject: [PATCH 144/414] printk: Add "force_early_printk" boot param to help +Subject: [PATCH 143/418] printk: Add "force_early_printk" boot param to help with debugging Gives me an option to screw printk and actually see what the machine @@ -34,5 +34,5 @@ index 5b259bff7014..1da739f39a3d 100644 { printk_killswitch = true; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0145-0145-rt-Provide-PREEMPT_RT_BASE-config-switch.patch b/kernel/patches-4.14.x-rt/0144-rt-Provide-PREEMPT_RT_BASE-config-switch.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0145-0145-rt-Provide-PREEMPT_RT_BASE-config-switch.patch rename to kernel/patches-4.14.x-rt/0144-rt-Provide-PREEMPT_RT_BASE-config-switch.patch index 375d7473d..e21617d0f 100644 --- a/kernel/patches-4.14.x-rt/0145-0145-rt-Provide-PREEMPT_RT_BASE-config-switch.patch +++ b/kernel/patches-4.14.x-rt/0144-rt-Provide-PREEMPT_RT_BASE-config-switch.patch @@ -1,7 +1,7 @@ -From c6e6c092533e978dae34fe7e7ee01c8aaba6a4eb Mon Sep 17 00:00:00 2001 +From c8e1e788d32c31c83838a411ec1c5415e8c689af Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 17 Jun 2011 12:39:57 +0200 -Subject: [PATCH 145/414] rt: Provide PREEMPT_RT_BASE config switch +Subject: [PATCH 144/418] rt: Provide PREEMPT_RT_BASE config switch Introduce PREEMPT_RT_BASE which enables parts of PREEMPT_RT_FULL. Forces interrupt threading and enables some of the RT @@ -55,5 +55,5 @@ index 3f9c97419f02..c669134982ec 100644 config PREEMPT_COUNT -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0146-0146-kconfig-Disable-config-options-which-are-not-RT-comp.patch b/kernel/patches-4.14.x-rt/0145-kconfig-Disable-config-options-which-are-not-RT-comp.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0146-0146-kconfig-Disable-config-options-which-are-not-RT-comp.patch rename to kernel/patches-4.14.x-rt/0145-kconfig-Disable-config-options-which-are-not-RT-comp.patch index 139f60fa5..532c4874f 100644 --- a/kernel/patches-4.14.x-rt/0146-0146-kconfig-Disable-config-options-which-are-not-RT-comp.patch +++ b/kernel/patches-4.14.x-rt/0145-kconfig-Disable-config-options-which-are-not-RT-comp.patch @@ -1,7 +1,7 @@ -From 1f2c7ab3635c36c0ad0c416c44897e0f127432e5 Mon Sep 17 00:00:00 2001 +From 115eb1353d40a765269dc8d487cd94c719eb5911 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 24 Jul 2011 12:11:43 +0200 -Subject: [PATCH 146/414] kconfig: Disable config options which are not RT +Subject: [PATCH 145/418] kconfig: Disable config options which are not RT compatible Disable stuff which is known to have issues on RT @@ -25,7 +25,7 @@ index 400b9e1b2f27..2f99c0d2166a 100644 select RING_BUFFER_ALLOW_SWAP help diff --git a/mm/Kconfig b/mm/Kconfig -index 9c4bdddd80c2..854d5d37bcef 100644 +index 59efbd3337e0..3df123c0bc3f 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -385,7 +385,7 @@ config NOMMU_INITIAL_TRIM_EXCESS @@ -38,5 +38,5 @@ index 9c4bdddd80c2..854d5d37bcef 100644 select RADIX_TREE_MULTIORDER help -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0147-0147-kconfig-Add-PREEMPT_RT_FULL.patch b/kernel/patches-4.14.x-rt/0146-kconfig-Add-PREEMPT_RT_FULL.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0147-0147-kconfig-Add-PREEMPT_RT_FULL.patch rename to kernel/patches-4.14.x-rt/0146-kconfig-Add-PREEMPT_RT_FULL.patch index 7d9fe7b32..abb75861b 100644 --- a/kernel/patches-4.14.x-rt/0147-0147-kconfig-Add-PREEMPT_RT_FULL.patch +++ b/kernel/patches-4.14.x-rt/0146-kconfig-Add-PREEMPT_RT_FULL.patch @@ -1,7 +1,7 @@ -From 57685867bbe49b02d64f3285cfa1d00dc4ec3f24 Mon Sep 17 00:00:00 2001 +From 6c08395c1dbbfe8f8cf7408ade4a42c1b33b5626 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 14:58:57 +0200 -Subject: [PATCH 147/414] kconfig: Add PREEMPT_RT_FULL +Subject: [PATCH 146/418] kconfig: Add PREEMPT_RT_FULL Introduce the final symbol for PREEMPT_RT_FULL. @@ -64,5 +64,5 @@ index 959199c3147e..3e68004ed345 100755 # Truncate to maximum length -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0148-0148-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch b/kernel/patches-4.14.x-rt/0147-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch similarity index 82% rename from kernel/patches-4.14.x-rt/0148-0148-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch rename to kernel/patches-4.14.x-rt/0147-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch index dad5b4298..2db337672 100644 --- a/kernel/patches-4.14.x-rt/0148-0148-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch +++ b/kernel/patches-4.14.x-rt/0147-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch @@ -1,7 +1,7 @@ -From 837b40e0e079821fd256e28571aec1fa73c7f8a6 Mon Sep 17 00:00:00 2001 +From 186f14c918bc418be2b2832b323743a98d8766ca Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:58 -0500 -Subject: [PATCH 148/414] bug: BUG_ON/WARN_ON variants dependend on RT/!RT +Subject: [PATCH 147/418] bug: BUG_ON/WARN_ON variants dependend on RT/!RT Introduce RT/NON-RT WARN/BUG statements to avoid ifdefs in the code. @@ -12,10 +12,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 14 insertions(+) diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h -index af2cc94a61bf..7e4346fef678 100644 +index ae1a33aa8955..c6d04eca8345 100644 --- a/include/asm-generic/bug.h +++ b/include/asm-generic/bug.h -@@ -233,6 +233,20 @@ void __warn(const char *file, int line, void *caller, unsigned taint, +@@ -234,6 +234,20 @@ void __warn(const char *file, int line, void *caller, unsigned taint, # define WARN_ON_SMP(x) ({0;}) #endif @@ -37,5 +37,5 @@ index af2cc94a61bf..7e4346fef678 100644 #endif -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0149-0149-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch b/kernel/patches-4.14.x-rt/0148-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0149-0149-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch rename to kernel/patches-4.14.x-rt/0148-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch index 25ab09e5f..45eda0f8a 100644 --- a/kernel/patches-4.14.x-rt/0149-0149-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch +++ b/kernel/patches-4.14.x-rt/0148-iommu-amd-Use-WARN_ON_NORT-in-__attach_device.patch @@ -1,7 +1,7 @@ -From d754eb418db6c0605e50549a6b5360febc8b32a7 Mon Sep 17 00:00:00 2001 +From 85da33f8695ecafc62207964c373952003f211b0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 27 Feb 2016 10:22:23 +0100 -Subject: [PATCH 149/414] iommu/amd: Use WARN_ON_NORT in __attach_device() +Subject: [PATCH 148/418] iommu/amd: Use WARN_ON_NORT in __attach_device() RT does not disable interrupts here, but the protection is still correct. Fixup the WARN_ON so it won't yell on RT. @@ -48,5 +48,5 @@ index f61c2dab5490..b96b8c11a586 100644 if (WARN_ON(!dev_data->domain)) return; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0150-0150-rt-local_irq_-variants-depending-on-RT-RT.patch b/kernel/patches-4.14.x-rt/0149-rt-local_irq_-variants-depending-on-RT-RT.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0150-0150-rt-local_irq_-variants-depending-on-RT-RT.patch rename to kernel/patches-4.14.x-rt/0149-rt-local_irq_-variants-depending-on-RT-RT.patch index 2be507394..b1188813d 100644 --- a/kernel/patches-4.14.x-rt/0150-0150-rt-local_irq_-variants-depending-on-RT-RT.patch +++ b/kernel/patches-4.14.x-rt/0149-rt-local_irq_-variants-depending-on-RT-RT.patch @@ -1,7 +1,7 @@ -From 81aa60b44f8dce7b3416ebc209d8874d3db4b66d Mon Sep 17 00:00:00 2001 +From cb181770648b9d00cc6f55bc803740ec8324110c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 22:34:14 +0200 -Subject: [PATCH 150/414] rt: local_irq_* variants depending on RT/!RT +Subject: [PATCH 149/418] rt: local_irq_* variants depending on RT/!RT Add local_irq_*_(no)rt variant which are mainly used to break interrupt disabled sections on PREEMPT_RT or to explicitely disable @@ -55,5 +55,5 @@ index 46cb57d5eb13..7834117a1ef5 100644 + #endif -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0151-0151-preempt-Provide-preempt_-_-no-rt-variants.patch b/kernel/patches-4.14.x-rt/0150-preempt-Provide-preempt_-_-no-rt-variants.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0151-0151-preempt-Provide-preempt_-_-no-rt-variants.patch rename to kernel/patches-4.14.x-rt/0150-preempt-Provide-preempt_-_-no-rt-variants.patch index fd548772e..6595f7289 100644 --- a/kernel/patches-4.14.x-rt/0151-0151-preempt-Provide-preempt_-_-no-rt-variants.patch +++ b/kernel/patches-4.14.x-rt/0150-preempt-Provide-preempt_-_-no-rt-variants.patch @@ -1,7 +1,7 @@ -From 58b28be3ab9b74fe597a9514144f9f622a961fbd Mon Sep 17 00:00:00 2001 +From ba51b334586363a868952831cae90def700117f6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 24 Jul 2009 12:38:56 +0200 -Subject: [PATCH 151/414] preempt: Provide preempt_*_(no)rt variants +Subject: [PATCH 150/418] preempt: Provide preempt_*_(no)rt variants RT needs a few preempt_disable/enable points which are not necessary otherwise. Implement variants to avoid #ifdeffery. @@ -48,5 +48,5 @@ index 81c69aeab662..8681df8e1632 100644 struct preempt_notifier; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0152-0152-futex-workaround-migrate_disable-enable-in-different.patch b/kernel/patches-4.14.x-rt/0151-futex-workaround-migrate_disable-enable-in-different.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0152-0152-futex-workaround-migrate_disable-enable-in-different.patch rename to kernel/patches-4.14.x-rt/0151-futex-workaround-migrate_disable-enable-in-different.patch index 289876303..4a81cae58 100644 --- a/kernel/patches-4.14.x-rt/0152-0152-futex-workaround-migrate_disable-enable-in-different.patch +++ b/kernel/patches-4.14.x-rt/0151-futex-workaround-migrate_disable-enable-in-different.patch @@ -1,7 +1,7 @@ -From 9e2e26b66416c6e6b036fe59da5d554f2090df87 Mon Sep 17 00:00:00 2001 +From 315a778eef0f3ba2890d6ac488697ff94b4994a7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 8 Mar 2017 14:23:35 +0100 -Subject: [PATCH 152/414] futex: workaround migrate_disable/enable in different +Subject: [PATCH 151/418] futex: workaround migrate_disable/enable in different context migrate_disable()/migrate_enable() takes a different path in atomic() vs @@ -61,5 +61,5 @@ index 046cd780d057..e70b5b516371 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0153-0153-rt-Add-local-irq-locks.patch b/kernel/patches-4.14.x-rt/0152-rt-Add-local-irq-locks.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0153-0153-rt-Add-local-irq-locks.patch rename to kernel/patches-4.14.x-rt/0152-rt-Add-local-irq-locks.patch index c4848d8a6..7bfb558ea 100644 --- a/kernel/patches-4.14.x-rt/0153-0153-rt-Add-local-irq-locks.patch +++ b/kernel/patches-4.14.x-rt/0152-rt-Add-local-irq-locks.patch @@ -1,7 +1,7 @@ -From 4cb7179cb69289b4554614db9cc8b2d0ae6147db Mon Sep 17 00:00:00 2001 +From 2e303388311f040193d5b6be3019699898bd2f93 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 20 Jun 2011 09:03:47 +0200 -Subject: [PATCH 153/414] rt: Add local irq locks +Subject: [PATCH 152/418] rt: Add local irq locks Introduce locallock. For !RT this maps to preempt_disable()/ local_irq_disable() so there is not much that changes. For RT this will @@ -336,5 +336,5 @@ index 296bbe49d5d1..4414796e3941 100644 #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0154-0154-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch b/kernel/patches-4.14.x-rt/0153-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0154-0154-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch rename to kernel/patches-4.14.x-rt/0153-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch index ca5a5ae4a..f10419625 100644 --- a/kernel/patches-4.14.x-rt/0154-0154-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch +++ b/kernel/patches-4.14.x-rt/0153-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch @@ -1,7 +1,7 @@ -From 3b499b50a83ec131f3d1e6370eae6efb8f537e6a Mon Sep 17 00:00:00 2001 +From ef8da0e37dd7694ccbb30902ee40256393c4c345 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 3 Jul 2009 08:44:29 -0500 -Subject: [PATCH 154/414] ata: Do not disable interrupts in ide code for +Subject: [PATCH 153/418] ata: Do not disable interrupts in ide code for preempt-rt Use the local_irq_*_nort variants. @@ -30,5 +30,5 @@ index cc2f2e35f4c2..0f0bc86e02df 100644 return consumed; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0155-0155-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch b/kernel/patches-4.14.x-rt/0154-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0155-0155-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch rename to kernel/patches-4.14.x-rt/0154-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch index 67c77e555..bcbdc6e1d 100644 --- a/kernel/patches-4.14.x-rt/0155-0155-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch +++ b/kernel/patches-4.14.x-rt/0154-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch @@ -1,7 +1,7 @@ -From 7af7b47482c9071a09e9f2231ae5a932f0b44925 Mon Sep 17 00:00:00 2001 +From ea21ead94aa98bb8ba9dbab2a90c7dec43864770 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:16 -0500 -Subject: [PATCH 155/414] ide: Do not disable interrupts for PREEMPT-RT +Subject: [PATCH 154/418] ide: Do not disable interrupts for PREEMPT-RT Use the local_irq_*_nort variants. @@ -182,5 +182,5 @@ index 4efe4c6e956c..7eae3aa1def7 100644 ide_set_handler(drive, &task_pio_intr, WAIT_WORSTCASE); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0156-0156-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch b/kernel/patches-4.14.x-rt/0155-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0156-0156-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch rename to kernel/patches-4.14.x-rt/0155-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch index 3eb1c5fc9..f56ae2ebe 100644 --- a/kernel/patches-4.14.x-rt/0156-0156-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch +++ b/kernel/patches-4.14.x-rt/0155-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch @@ -1,7 +1,7 @@ -From 9e9152c9d8ec0244e5617a0d85ea3a72567e04b2 Mon Sep 17 00:00:00 2001 +From 5e212f1c44f98bc1f13356e6c9ff528758fe51cf Mon Sep 17 00:00:00 2001 From: Sven-Thorsten Dietrich Date: Fri, 3 Jul 2009 08:30:35 -0500 -Subject: [PATCH 156/414] infiniband: Mellanox IB driver patch use _nort() +Subject: [PATCH 155/418] infiniband: Mellanox IB driver patch use _nort() primitives Fixes in_atomic stack-dump, when Mellanox module is loaded into the RT @@ -42,5 +42,5 @@ index 9b3f47ae2016..8327b598d909 100644 ipoib_mcast_remove_list(&remove_list); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0157-0157-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch b/kernel/patches-4.14.x-rt/0156-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0157-0157-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch rename to kernel/patches-4.14.x-rt/0156-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch index 7d4ac5bb1..2326aad00 100644 --- a/kernel/patches-4.14.x-rt/0157-0157-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch +++ b/kernel/patches-4.14.x-rt/0156-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch @@ -1,7 +1,7 @@ -From 5d7695977ed2b1f13800d9aac63f944eeb58c1fd Mon Sep 17 00:00:00 2001 +From 7677b2426ffc8455b7df2a65ba23194aabb3d1ae Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:16 -0500 -Subject: [PATCH 157/414] input: gameport: Do not disable interrupts on +Subject: [PATCH 156/418] input: gameport: Do not disable interrupts on PREEMPT_RT Use the _nort() primitives. @@ -62,5 +62,5 @@ index cedc665364cd..4a4fdef151aa 100644 if (t2 - t1 < tx) tx = t2 - t1; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0158-0158-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch b/kernel/patches-4.14.x-rt/0157-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0158-0158-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch rename to kernel/patches-4.14.x-rt/0157-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch index 5ddd0332a..fddc8e7b0 100644 --- a/kernel/patches-4.14.x-rt/0158-0158-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch +++ b/kernel/patches-4.14.x-rt/0157-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch @@ -1,7 +1,7 @@ -From 9b110e3c9efe9038d464d3772d5d85fa7eaceef8 Mon Sep 17 00:00:00 2001 +From 625e393e1897dbb4f6a337acf68d65034df88698 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 23:06:05 +0200 -Subject: [PATCH 158/414] core: Do not disable interrupts on RT in +Subject: [PATCH 157/418] core: Do not disable interrupts on RT in kernel/users.c Use the local_irq_*_nort variants to reduce latencies in RT. The code @@ -31,5 +31,5 @@ index 00281add65b2..f4cf1841f2fd 100644 struct user_struct *alloc_uid(kuid_t uid) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0159-0159-usb-Use-_nort-in-giveback-function.patch b/kernel/patches-4.14.x-rt/0158-usb-Use-_nort-in-giveback-function.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0159-0159-usb-Use-_nort-in-giveback-function.patch rename to kernel/patches-4.14.x-rt/0158-usb-Use-_nort-in-giveback-function.patch index 03d555ae0..5f958d8da 100644 --- a/kernel/patches-4.14.x-rt/0159-0159-usb-Use-_nort-in-giveback-function.patch +++ b/kernel/patches-4.14.x-rt/0158-usb-Use-_nort-in-giveback-function.patch @@ -1,7 +1,7 @@ -From e11a4e6c02d4a04e21d28d0bbbbdfa4001417770 Mon Sep 17 00:00:00 2001 +From b536c108665304a889f4155a2f2408e2fa1069f8 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 8 Nov 2013 17:34:54 +0100 -Subject: [PATCH 159/414] usb: Use _nort in giveback function +Subject: [PATCH 158/418] usb: Use _nort in giveback function Since commit 94dfd7ed ("USB: HCD: support giveback of URB in tasklet context") I see @@ -59,5 +59,5 @@ index d0b2e0ed9bab..91f4f2bd55b0 100644 usb_anchor_resume_wakeups(anchor); atomic_dec(&urb->use_count); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0160-0160-mm-scatterlist-Do-not-disable-irqs-on-RT.patch b/kernel/patches-4.14.x-rt/0159-mm-scatterlist-Do-not-disable-irqs-on-RT.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0160-0160-mm-scatterlist-Do-not-disable-irqs-on-RT.patch rename to kernel/patches-4.14.x-rt/0159-mm-scatterlist-Do-not-disable-irqs-on-RT.patch index 3b9cb3914..f86cff1e9 100644 --- a/kernel/patches-4.14.x-rt/0160-0160-mm-scatterlist-Do-not-disable-irqs-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0159-mm-scatterlist-Do-not-disable-irqs-on-RT.patch @@ -1,7 +1,7 @@ -From 55ad91e4db2c8bfa5a579abfc80a238e5871c55a Mon Sep 17 00:00:00 2001 +From 9b2683905c0546856ec365421d078ca647b42255 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:34 -0500 -Subject: [PATCH 160/414] mm/scatterlist: Do not disable irqs on RT +Subject: [PATCH 159/418] mm/scatterlist: Do not disable irqs on RT For -RT it is enough to keep pagefault disabled (which is currently handled by kmap_atomic()). @@ -25,5 +25,5 @@ index be7b4dd6b68d..d06c15d3d186 100644 } else kunmap(miter->page); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0161-0161-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch b/kernel/patches-4.14.x-rt/0160-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0161-0161-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch rename to kernel/patches-4.14.x-rt/0160-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch index 0e15a60a2..b7fb3f936 100644 --- a/kernel/patches-4.14.x-rt/0161-0161-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch +++ b/kernel/patches-4.14.x-rt/0160-mm-workingset-Do-not-protect-workingset_shadow_nodes.patch @@ -1,7 +1,7 @@ -From 91283c599859a8481f06ae5f630ebfc186876814 Mon Sep 17 00:00:00 2001 +From 9061a87a96f91d5ab1e93ade7432c1ced9371832 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Jan 2015 17:19:44 +0100 -Subject: [PATCH 161/414] mm/workingset: Do not protect workingset_shadow_nodes +Subject: [PATCH 160/418] mm/workingset: Do not protect workingset_shadow_nodes with irq off workingset_shadow_nodes is protected by local_irq_disable(). Some users @@ -192,5 +192,5 @@ index b997c9de28f6..e252cc69a3d4 100644 return ret; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0162-0162-signal-Make-__lock_task_sighand-RT-aware.patch b/kernel/patches-4.14.x-rt/0161-signal-Make-__lock_task_sighand-RT-aware.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0162-0162-signal-Make-__lock_task_sighand-RT-aware.patch rename to kernel/patches-4.14.x-rt/0161-signal-Make-__lock_task_sighand-RT-aware.patch index cbdd7eb8b..3172a287b 100644 --- a/kernel/patches-4.14.x-rt/0162-0162-signal-Make-__lock_task_sighand-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0161-signal-Make-__lock_task_sighand-RT-aware.patch @@ -1,7 +1,7 @@ -From 2778f72be014a437093c4f1dcc82949beebaad92 Mon Sep 17 00:00:00 2001 +From 928b11d312027a43cdea89687e5457ac1c3ab02e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Jul 2011 08:07:08 +0200 -Subject: [PATCH 162/414] signal: Make __lock_task_sighand() RT aware +Subject: [PATCH 161/418] signal: Make __lock_task_sighand() RT aware local_irq_save() + spin_lock(&sighand->siglock) does not work on -RT. Use the nort variants. @@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c -index 8e39280f06b4..389ae1235254 100644 +index 67354e467778..d02e38f75170 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -1301,12 +1301,12 @@ struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, @@ -40,5 +40,5 @@ index 8e39280f06b4..389ae1235254 100644 return sighand; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0163-0163-signal-x86-Delay-calling-signals-in-atomic.patch b/kernel/patches-4.14.x-rt/0162-signal-x86-Delay-calling-signals-in-atomic.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0163-0163-signal-x86-Delay-calling-signals-in-atomic.patch rename to kernel/patches-4.14.x-rt/0162-signal-x86-Delay-calling-signals-in-atomic.patch index 734a6025a..1e87f0bb8 100644 --- a/kernel/patches-4.14.x-rt/0163-0163-signal-x86-Delay-calling-signals-in-atomic.patch +++ b/kernel/patches-4.14.x-rt/0162-signal-x86-Delay-calling-signals-in-atomic.patch @@ -1,7 +1,7 @@ -From 4ce59a9661d81415bdecd841fd1085ce8f53b093 Mon Sep 17 00:00:00 2001 +From e6469dcf01cb920b3cd35ca560b4d5eaeb838d10 Mon Sep 17 00:00:00 2001 From: Oleg Nesterov Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 163/414] signal/x86: Delay calling signals in atomic +Subject: [PATCH 162/418] signal/x86: Delay calling signals in atomic On x86_64 we must disable preemption before we enable interrupts for stack faults, int3 and debugging, because the current task is using @@ -79,10 +79,10 @@ index 5f9012ff52ed..7c7846cbab45 100644 typedef sigset_t compat_sigset_t; #endif diff --git a/include/linux/sched.h b/include/linux/sched.h -index 985b88c49052..b1ff98fb6dd3 100644 +index 789e690fdade..620d9703a125 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -795,6 +795,10 @@ struct task_struct { +@@ -835,6 +835,10 @@ struct task_struct { /* Restored if set_restore_sigmask() was used: */ sigset_t saved_sigmask; struct sigpending pending; @@ -94,7 +94,7 @@ index 985b88c49052..b1ff98fb6dd3 100644 size_t sas_ss_size; unsigned int sas_ss_flags; diff --git a/kernel/signal.c b/kernel/signal.c -index 389ae1235254..354dfd87dff9 100644 +index d02e38f75170..d8f75a030292 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -1237,8 +1237,8 @@ int do_send_sig_info(int sig, struct siginfo *info, struct task_struct *p, @@ -149,5 +149,5 @@ index 389ae1235254..354dfd87dff9 100644 * Nuke all other threads in the group. */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0164-0164-x86-signal-delay-calling-signals-on-32bit.patch b/kernel/patches-4.14.x-rt/0163-x86-signal-delay-calling-signals-on-32bit.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0164-0164-x86-signal-delay-calling-signals-on-32bit.patch rename to kernel/patches-4.14.x-rt/0163-x86-signal-delay-calling-signals-on-32bit.patch index 493d801a4..5fb34bc4c 100644 --- a/kernel/patches-4.14.x-rt/0164-0164-x86-signal-delay-calling-signals-on-32bit.patch +++ b/kernel/patches-4.14.x-rt/0163-x86-signal-delay-calling-signals-on-32bit.patch @@ -1,7 +1,7 @@ -From 7a39438513557e30f567e08393d0bee8e66fcc8c Mon Sep 17 00:00:00 2001 +From 4718ff3b558782c0e093b5e25a4381115fd6968a Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Thu, 10 Dec 2015 10:58:51 -0800 -Subject: [PATCH 164/414] x86/signal: delay calling signals on 32bit +Subject: [PATCH 163/418] x86/signal: delay calling signals on 32bit When running some ptrace single step tests on x86-32 machine, the below problem is triggered: @@ -44,5 +44,5 @@ index 7c7846cbab45..39117e57caf2 100644 #endif -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0165-0165-net-wireless-Use-WARN_ON_NORT.patch b/kernel/patches-4.14.x-rt/0164-net-wireless-Use-WARN_ON_NORT.patch similarity index 81% rename from kernel/patches-4.14.x-rt/0165-0165-net-wireless-Use-WARN_ON_NORT.patch rename to kernel/patches-4.14.x-rt/0164-net-wireless-Use-WARN_ON_NORT.patch index 8e51bbfba..da0776514 100644 --- a/kernel/patches-4.14.x-rt/0165-0165-net-wireless-Use-WARN_ON_NORT.patch +++ b/kernel/patches-4.14.x-rt/0164-net-wireless-Use-WARN_ON_NORT.patch @@ -1,7 +1,7 @@ -From 64cd415630401e8e9a2734886ede46827da9fb69 Mon Sep 17 00:00:00 2001 +From 5d6b260b645e0316ac29bb436927fd93871746cc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 21 Jul 2011 21:05:33 +0200 -Subject: [PATCH 165/414] net/wireless: Use WARN_ON_NORT() +Subject: [PATCH 164/418] net/wireless: Use WARN_ON_NORT() The softirq counter is meaningless on RT, so the check triggers a false positive. @@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c -index 4daafb07602f..56ec7863d456 100644 +index dddd498e1338..8f39b8162df8 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -4252,7 +4252,7 @@ void ieee80211_rx_napi(struct ieee80211_hw *hw, struct ieee80211_sta *pubsta, @@ -25,5 +25,5 @@ index 4daafb07602f..56ec7863d456 100644 if (WARN_ON(status->band >= NUM_NL80211_BANDS)) goto drop; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0166-0166-buffer_head-Replace-bh_uptodate_lock-for-rt.patch b/kernel/patches-4.14.x-rt/0165-buffer_head-Replace-bh_uptodate_lock-for-rt.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0166-0166-buffer_head-Replace-bh_uptodate_lock-for-rt.patch rename to kernel/patches-4.14.x-rt/0165-buffer_head-Replace-bh_uptodate_lock-for-rt.patch index 9f847275e..d23d86f1f 100644 --- a/kernel/patches-4.14.x-rt/0166-0166-buffer_head-Replace-bh_uptodate_lock-for-rt.patch +++ b/kernel/patches-4.14.x-rt/0165-buffer_head-Replace-bh_uptodate_lock-for-rt.patch @@ -1,7 +1,7 @@ -From 833fa1b6e2980370a3ccca70c291afe4fc4a5d41 Mon Sep 17 00:00:00 2001 +From cb5f84c4e89aa3ed0d6f9865cca97369ccf41641 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 18 Mar 2011 09:18:52 +0100 -Subject: [PATCH 166/414] buffer_head: Replace bh_uptodate_lock for -rt +Subject: [PATCH 165/418] buffer_head: Replace bh_uptodate_lock for -rt Wrap the bit_spin_lock calls into a separate inline and add the RT replacements with a real spinlock. @@ -217,5 +217,5 @@ index afa37f807f12..d0bd1957e8b6 100644 * macro tricks to expand the set_buffer_foo(), clear_buffer_foo() * and buffer_foo() functions. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0167-0167-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch b/kernel/patches-4.14.x-rt/0166-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0167-0167-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch rename to kernel/patches-4.14.x-rt/0166-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch index 0896888c3..45890b470 100644 --- a/kernel/patches-4.14.x-rt/0167-0167-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch +++ b/kernel/patches-4.14.x-rt/0166-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch @@ -1,7 +1,7 @@ -From 8e65c67b92069ee80738256fa83b74d241c8784f Mon Sep 17 00:00:00 2001 +From 5cb09d0b735b60e6a4073738cc34b2e7f605006d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 18 Mar 2011 10:11:25 +0100 -Subject: [PATCH 167/414] fs: jbd/jbd2: Make state lock and journal head lock +Subject: [PATCH 166/418] fs: jbd/jbd2: Make state lock and journal head lock rt safe bit_spin_locks break under RT. @@ -105,5 +105,5 @@ index 29290bfb94a8..32379bfab9f0 100644 #define J_ASSERT(assert) BUG_ON(!(assert)) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0168-0168-list_bl-Make-list-head-locking-RT-safe.patch b/kernel/patches-4.14.x-rt/0167-list_bl-Make-list-head-locking-RT-safe.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0168-0168-list_bl-Make-list-head-locking-RT-safe.patch rename to kernel/patches-4.14.x-rt/0167-list_bl-Make-list-head-locking-RT-safe.patch index 561579756..2522ee913 100644 --- a/kernel/patches-4.14.x-rt/0168-0168-list_bl-Make-list-head-locking-RT-safe.patch +++ b/kernel/patches-4.14.x-rt/0167-list_bl-Make-list-head-locking-RT-safe.patch @@ -1,7 +1,7 @@ -From f71f838cda965b8fec85efa17a009edb3e5a4e0d Mon Sep 17 00:00:00 2001 +From 6f996e48d3489a29ab771aa754b894c7ce170280 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Fri, 21 Jun 2013 15:07:25 -0400 -Subject: [PATCH 168/414] list_bl: Make list head locking RT safe +Subject: [PATCH 167/418] list_bl: Make list head locking RT safe 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 @@ -116,5 +116,5 @@ index 3fc2cc57ba1b..69b659259bac 100644 static inline bool hlist_bl_is_locked(struct hlist_bl_head *b) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0169-0169-list_bl-fixup-bogus-lockdep-warning.patch b/kernel/patches-4.14.x-rt/0168-list_bl-fixup-bogus-lockdep-warning.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0169-0169-list_bl-fixup-bogus-lockdep-warning.patch rename to kernel/patches-4.14.x-rt/0168-list_bl-fixup-bogus-lockdep-warning.patch index cfe84425d..f40b9a7a5 100644 --- a/kernel/patches-4.14.x-rt/0169-0169-list_bl-fixup-bogus-lockdep-warning.patch +++ b/kernel/patches-4.14.x-rt/0168-list_bl-fixup-bogus-lockdep-warning.patch @@ -1,7 +1,7 @@ -From f3ac9ade545afe51f9011a688b6d1d3e4a054fd3 Mon Sep 17 00:00:00 2001 +From 6edfd72773cff06cf12aeb8332add84e7c91a16a Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Thu, 31 Mar 2016 00:04:25 -0500 -Subject: [PATCH 169/414] list_bl: fixup bogus lockdep warning +Subject: [PATCH 168/418] list_bl: fixup bogus lockdep warning At first glance, the use of 'static inline' seems appropriate for INIT_HLIST_BL_HEAD(). @@ -99,5 +99,5 @@ index 69b659259bac..0b5de7d9ffcf 100644 static inline void INIT_HLIST_BL_NODE(struct hlist_bl_node *h) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0170-0170-genirq-Disable-irqpoll-on-rt.patch b/kernel/patches-4.14.x-rt/0169-genirq-Disable-irqpoll-on-rt.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0170-0170-genirq-Disable-irqpoll-on-rt.patch rename to kernel/patches-4.14.x-rt/0169-genirq-Disable-irqpoll-on-rt.patch index a2641262a..d242755ae 100644 --- a/kernel/patches-4.14.x-rt/0170-0170-genirq-Disable-irqpoll-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0169-genirq-Disable-irqpoll-on-rt.patch @@ -1,7 +1,7 @@ -From 74dd781983f8a8901f81e94dfa01c29e375345ae Mon Sep 17 00:00:00 2001 +From 0a514ccaa1f132d85e265f3aabaee80900c76923 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:57 -0500 -Subject: [PATCH 170/414] genirq: Disable irqpoll on -rt +Subject: [PATCH 169/418] genirq: Disable irqpoll on -rt Creates long latencies for no value @@ -38,5 +38,5 @@ index 987d7bca4864..75347fb1dfea 100644 printk(KERN_WARNING "Misrouted IRQ fixup and polling support " "enabled\n"); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0171-0171-genirq-Force-interrupt-thread-on-RT.patch b/kernel/patches-4.14.x-rt/0170-genirq-Force-interrupt-thread-on-RT.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0171-0171-genirq-Force-interrupt-thread-on-RT.patch rename to kernel/patches-4.14.x-rt/0170-genirq-Force-interrupt-thread-on-RT.patch index 167b3039f..0ae87d8fa 100644 --- a/kernel/patches-4.14.x-rt/0171-0171-genirq-Force-interrupt-thread-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0170-genirq-Force-interrupt-thread-on-RT.patch @@ -1,7 +1,7 @@ -From 8627b649b835af06098dd93db5bf4b7155360f10 Mon Sep 17 00:00:00 2001 +From 79e97f878aef28255ce4fc784532df0cde064c5d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 3 Apr 2011 11:57:29 +0200 -Subject: [PATCH 171/414] genirq: Force interrupt thread on RT +Subject: [PATCH 170/418] genirq: Force interrupt thread on RT Force threaded_irqs and optimize the code (force_irqthreads) in regard to this. @@ -52,5 +52,5 @@ index b02caa442776..6d1f321152d0 100644 static void __synchronize_hardirq(struct irq_desc *desc) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0172-0172-drivers-net-vortex-fix-locking-issues.patch b/kernel/patches-4.14.x-rt/0171-drivers-net-vortex-fix-locking-issues.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0172-0172-drivers-net-vortex-fix-locking-issues.patch rename to kernel/patches-4.14.x-rt/0171-drivers-net-vortex-fix-locking-issues.patch index f8208c813..bea5f08a7 100644 --- a/kernel/patches-4.14.x-rt/0172-0172-drivers-net-vortex-fix-locking-issues.patch +++ b/kernel/patches-4.14.x-rt/0171-drivers-net-vortex-fix-locking-issues.patch @@ -1,7 +1,7 @@ -From 930cd4e6b20e30aa12fa6219f000ecb30cbe38c5 Mon Sep 17 00:00:00 2001 +From c7e6c438d7661577c5cf906120a9f00f71ae19b0 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 3 Jul 2009 08:30:00 -0500 -Subject: [PATCH 172/414] drivers/net: vortex fix locking issues +Subject: [PATCH 171/418] drivers/net: vortex fix locking issues Argh, cut and paste wasn't enough... @@ -53,5 +53,5 @@ index 402d9090ad29..9bc02563b853 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0173-0173-delayacct-use-raw_spinlocks.patch b/kernel/patches-4.14.x-rt/0172-delayacct-use-raw_spinlocks.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0173-0173-delayacct-use-raw_spinlocks.patch rename to kernel/patches-4.14.x-rt/0172-delayacct-use-raw_spinlocks.patch index 14a1de3fe..d88a71aaf 100644 --- a/kernel/patches-4.14.x-rt/0173-0173-delayacct-use-raw_spinlocks.patch +++ b/kernel/patches-4.14.x-rt/0172-delayacct-use-raw_spinlocks.patch @@ -1,7 +1,7 @@ -From dba55fa5949311370df5147dd0e2b4662f5403f0 Mon Sep 17 00:00:00 2001 +From e24153d6dd4c53da7bc74e5a5e0e136faf7ef7fc Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Sat, 20 May 2017 12:32:23 +0200 -Subject: [PATCH 173/414] delayacct: use raw_spinlocks +Subject: [PATCH 172/418] delayacct: use raw_spinlocks try_to_wake_up() might invoke delayacct_blkio_end() while holding the pi_lock. The lock is only held for a short amount of time so it should @@ -90,5 +90,5 @@ index e2764d767f18..0c1b7025950f 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0174-0174-mm-page_alloc-rt-friendly-per-cpu-pages.patch b/kernel/patches-4.14.x-rt/0173-mm-page_alloc-rt-friendly-per-cpu-pages.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0174-0174-mm-page_alloc-rt-friendly-per-cpu-pages.patch rename to kernel/patches-4.14.x-rt/0173-mm-page_alloc-rt-friendly-per-cpu-pages.patch index 2269cce93..e5be78e97 100644 --- a/kernel/patches-4.14.x-rt/0174-0174-mm-page_alloc-rt-friendly-per-cpu-pages.patch +++ b/kernel/patches-4.14.x-rt/0173-mm-page_alloc-rt-friendly-per-cpu-pages.patch @@ -1,7 +1,7 @@ -From 1cd4c2aa5611c70d3707d3e35c6b5867584227f5 Mon Sep 17 00:00:00 2001 +From 1ca7973507e3c3fe2024bac0589f3fc53636fc11 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:37 -0500 -Subject: [PATCH 174/414] mm: page_alloc: rt-friendly per-cpu pages +Subject: [PATCH 173/418] mm: page_alloc: rt-friendly per-cpu pages rt-friendly per-cpu pages: convert the irqs-off per-cpu locking method into a preemptible, explicit-per-cpu-locks method. @@ -17,7 +17,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 39 insertions(+), 16 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 1d7693c35424..4beed2c1b82f 100644 +index 59ccf455fcbd..76a291ac2172 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -61,6 +61,7 @@ @@ -197,7 +197,7 @@ index 1d7693c35424..4beed2c1b82f 100644 return NULL; } -@@ -7684,7 +7707,7 @@ void zone_pcp_reset(struct zone *zone) +@@ -7683,7 +7706,7 @@ void zone_pcp_reset(struct zone *zone) struct per_cpu_pageset *pset; /* avoid races with drain_pages() */ @@ -206,7 +206,7 @@ index 1d7693c35424..4beed2c1b82f 100644 if (zone->pageset != &boot_pageset) { for_each_online_cpu(cpu) { pset = per_cpu_ptr(zone->pageset, cpu); -@@ -7693,7 +7716,7 @@ void zone_pcp_reset(struct zone *zone) +@@ -7692,7 +7715,7 @@ void zone_pcp_reset(struct zone *zone) free_percpu(zone->pageset); zone->pageset = &boot_pageset; } @@ -216,5 +216,5 @@ index 1d7693c35424..4beed2c1b82f 100644 #ifdef CONFIG_MEMORY_HOTREMOVE -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0175-0175-mm-page_alloc-Reduce-lock-sections-further.patch b/kernel/patches-4.14.x-rt/0174-mm-page_alloc-Reduce-lock-sections-further.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0175-0175-mm-page_alloc-Reduce-lock-sections-further.patch rename to kernel/patches-4.14.x-rt/0174-mm-page_alloc-Reduce-lock-sections-further.patch index 786146abc..ec523e62c 100644 --- a/kernel/patches-4.14.x-rt/0175-0175-mm-page_alloc-Reduce-lock-sections-further.patch +++ b/kernel/patches-4.14.x-rt/0174-mm-page_alloc-Reduce-lock-sections-further.patch @@ -1,7 +1,7 @@ -From 49397b59f5b3bb6372fc6684d9914286f425c970 Mon Sep 17 00:00:00 2001 +From 07f89ce837964a7d3bbcc650417b30f973aeb856 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 3 Jul 2009 08:44:37 -0500 -Subject: [PATCH 175/414] mm: page_alloc: Reduce lock sections further +Subject: [PATCH 174/418] mm: page_alloc: Reduce lock sections further Split out the pages which are to be freed into a separate list and call free_pages_bulk() outside of the percpu page allocator locks. @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 65 insertions(+), 28 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 4beed2c1b82f..9e57c6f19309 100644 +index 76a291ac2172..0f6240392345 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1107,7 +1107,7 @@ static bool bulkfree_pcp_prepare(struct page *page) @@ -199,5 +199,5 @@ index 4beed2c1b82f..9e57c6f19309 100644 out: -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0176-0176-mm-swap-Convert-to-percpu-locked.patch b/kernel/patches-4.14.x-rt/0175-mm-swap-Convert-to-percpu-locked.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0176-0176-mm-swap-Convert-to-percpu-locked.patch rename to kernel/patches-4.14.x-rt/0175-mm-swap-Convert-to-percpu-locked.patch index d0ddfe2c7..9c87cf610 100644 --- a/kernel/patches-4.14.x-rt/0176-0176-mm-swap-Convert-to-percpu-locked.patch +++ b/kernel/patches-4.14.x-rt/0175-mm-swap-Convert-to-percpu-locked.patch @@ -1,7 +1,7 @@ -From cb696f82bba2d4372f69230313b40eeb3f8e5add Mon Sep 17 00:00:00 2001 +From ee351c03892308769885d6083f12f810d995e7c0 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:51 -0500 -Subject: [PATCH 176/414] mm/swap: Convert to percpu locked +Subject: [PATCH 175/418] mm/swap: Convert to percpu locked Replace global locks (get_cpu + local_irq_save) with "local_locks()". Currently there is one of for "rotate" and one for "swap". @@ -47,10 +47,10 @@ index 85395dc6eb13..d6c8ed009e93 100644 cc->last_migrated_pfn = 0; } diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 9e57c6f19309..64cec431b6e9 100644 +index 0f6240392345..bd283d59632a 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -6839,8 +6839,9 @@ void __init free_area_init(unsigned long *zones_size) +@@ -6838,8 +6838,9 @@ void __init free_area_init(unsigned long *zones_size) static int page_alloc_cpu_dead(unsigned int cpu) { @@ -198,5 +198,5 @@ index a77d68f2c1b6..c63d649fb3a9 100644 static void lru_add_drain_per_cpu(struct work_struct *dummy) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0177-0177-mm-perform-lru_add_drain_all-remotely.patch b/kernel/patches-4.14.x-rt/0176-mm-perform-lru_add_drain_all-remotely.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0177-0177-mm-perform-lru_add_drain_all-remotely.patch rename to kernel/patches-4.14.x-rt/0176-mm-perform-lru_add_drain_all-remotely.patch index 2e2075ffe..db8dfeadb 100644 --- a/kernel/patches-4.14.x-rt/0177-0177-mm-perform-lru_add_drain_all-remotely.patch +++ b/kernel/patches-4.14.x-rt/0176-mm-perform-lru_add_drain_all-remotely.patch @@ -1,7 +1,7 @@ -From 7b12536894736db86813a5861a06fef92dd6b42b Mon Sep 17 00:00:00 2001 +From 4ac075945edbfef149cc52aea87111cace3a0594 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 27 May 2016 15:03:28 +0200 -Subject: [PATCH 177/414] mm: perform lru_add_drain_all() remotely +Subject: [PATCH 176/418] mm: perform lru_add_drain_all() remotely 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 @@ -104,5 +104,5 @@ index c63d649fb3a9..30d62efe001b 100644 mutex_unlock(&lock); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0178-0178-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch b/kernel/patches-4.14.x-rt/0177-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0178-0178-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch rename to kernel/patches-4.14.x-rt/0177-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch index b57abb14b..eb0f38408 100644 --- a/kernel/patches-4.14.x-rt/0178-0178-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch +++ b/kernel/patches-4.14.x-rt/0177-mm-vmstat-Protect-per-cpu-variables-with-preempt-dis.patch @@ -1,7 +1,7 @@ -From d048841de7c756bc21e4fcc5536d2e9abff69d53 Mon Sep 17 00:00:00 2001 +From 3ac8e60a0b4b5f631dc5da6dde61c3ff3230b259 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:13 -0500 -Subject: [PATCH 178/414] mm/vmstat: Protect per cpu variables with preempt +Subject: [PATCH 177/418] mm/vmstat: Protect per cpu variables with preempt disable on RT Disable preemption on -RT for the vmstat code. On vanila the code runs in @@ -140,5 +140,5 @@ index 4bb13e72ac97..0d17b8faeac7 100644 void __dec_zone_page_state(struct page *page, enum zone_stat_item item) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0179-0179-ARM-Initialize-split-page-table-locks-for-vector-pag.patch b/kernel/patches-4.14.x-rt/0178-ARM-Initialize-split-page-table-locks-for-vector-pag.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0179-0179-ARM-Initialize-split-page-table-locks-for-vector-pag.patch rename to kernel/patches-4.14.x-rt/0178-ARM-Initialize-split-page-table-locks-for-vector-pag.patch index 5b71a6242..259c08d23 100644 --- a/kernel/patches-4.14.x-rt/0179-0179-ARM-Initialize-split-page-table-locks-for-vector-pag.patch +++ b/kernel/patches-4.14.x-rt/0178-ARM-Initialize-split-page-table-locks-for-vector-pag.patch @@ -1,7 +1,7 @@ -From 169b1654fe0f0e306a986c0405c2ea0a0a52c96c Mon Sep 17 00:00:00 2001 +From 38b6e9f6ea8bb791c0100f4057f93bcb87d76e82 Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Sat, 1 Oct 2011 18:58:13 -0700 -Subject: [PATCH 179/414] ARM: Initialize split page table locks for vector +Subject: [PATCH 178/418] ARM: Initialize split page table locks for vector page Without this patch, ARM can not use SPLIT_PTLOCK_CPUS if @@ -71,5 +71,5 @@ index d96714e1858c..cf4e1452d4b4 100644 /* * The vectors page is always readable from user space for the -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0180-0180-mm-bounce-Use-local_irq_save_nort.patch b/kernel/patches-4.14.x-rt/0179-mm-bounce-Use-local_irq_save_nort.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0180-0180-mm-bounce-Use-local_irq_save_nort.patch rename to kernel/patches-4.14.x-rt/0179-mm-bounce-Use-local_irq_save_nort.patch index 04ba5109f..0bf73dcfc 100644 --- a/kernel/patches-4.14.x-rt/0180-0180-mm-bounce-Use-local_irq_save_nort.patch +++ b/kernel/patches-4.14.x-rt/0179-mm-bounce-Use-local_irq_save_nort.patch @@ -1,7 +1,7 @@ -From 5dd40164acd375c4406f9863283f52fc1f70260e Mon Sep 17 00:00:00 2001 +From d70a405416c1cfe7c1fee8fa8f713dcfb7a6f862 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 9 Jan 2013 10:33:09 +0100 -Subject: [PATCH 180/414] mm: bounce: Use local_irq_save_nort +Subject: [PATCH 179/418] mm: bounce: Use local_irq_save_nort kmap_atomic() is preemptible on RT. @@ -29,5 +29,5 @@ index 1d05c422c932..0101ffefddc4 100644 #else /* CONFIG_HIGHMEM */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0181-0181-mm-Allow-only-slub-on-RT.patch b/kernel/patches-4.14.x-rt/0180-mm-Allow-only-slub-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0181-0181-mm-Allow-only-slub-on-RT.patch rename to kernel/patches-4.14.x-rt/0180-mm-Allow-only-slub-on-RT.patch index 2f426f52c..8104875f1 100644 --- a/kernel/patches-4.14.x-rt/0181-0181-mm-Allow-only-slub-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0180-mm-Allow-only-slub-on-RT.patch @@ -1,7 +1,7 @@ -From e4f55273a2de40e21b430f6ad5d376fe04ea868a Mon Sep 17 00:00:00 2001 +From cf245c2c47dba32316085201b35e92bda2a595a3 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:44:03 -0500 -Subject: [PATCH 181/414] mm: Allow only slub on RT +Subject: [PATCH 180/418] mm: Allow only slub on RT Disable SLAB and SLOB on -RT. Only SLUB is adopted to -RT needs. @@ -32,5 +32,5 @@ index 46075327c165..0fa1ade4351a 100644 SLOB replaces the stock allocator with a drastically simpler allocator. SLOB is generally more space efficient but -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0182-0182-mm-Enable-SLUB-for-RT.patch b/kernel/patches-4.14.x-rt/0181-mm-Enable-SLUB-for-RT.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0182-0182-mm-Enable-SLUB-for-RT.patch rename to kernel/patches-4.14.x-rt/0181-mm-Enable-SLUB-for-RT.patch index d4500ccb7..b32c3f73b 100644 --- a/kernel/patches-4.14.x-rt/0182-0182-mm-Enable-SLUB-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0181-mm-Enable-SLUB-for-RT.patch @@ -1,7 +1,7 @@ -From 7a6c550a4bdc63fbeed35edcc8466330f0d370a5 Mon Sep 17 00:00:00 2001 +From 8413a4f4a49b714a861e6daf4203d6ff67656e33 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 25 Oct 2012 10:32:35 +0100 -Subject: [PATCH 182/414] mm: Enable SLUB for RT +Subject: [PATCH 181/418] mm: Enable SLUB for RT Make SLUB RT aware by converting locks to raw and using free lists to move the freeing out of the lock held region. @@ -477,5 +477,5 @@ index 41c01690d116..1ceb0403223c 100644 for (i = 0; i < t.count; i++) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0183-0183-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch b/kernel/patches-4.14.x-rt/0182-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0183-0183-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch rename to kernel/patches-4.14.x-rt/0182-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch index a73ae2498..9056b7116 100644 --- a/kernel/patches-4.14.x-rt/0183-0183-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch +++ b/kernel/patches-4.14.x-rt/0182-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch @@ -1,7 +1,7 @@ -From 5a6a8112c6d6f941900feb5ddd4d79425516076c Mon Sep 17 00:00:00 2001 +From 812cb57012046a332fcdd26c92cb198399cfc016 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Dec 2017 12:44:14 +0100 -Subject: [PATCH 183/414] mm/slub: close possible memory-leak in +Subject: [PATCH 182/418] mm/slub: close possible memory-leak in kmem_cache_alloc_bulk() Under certain circumstances we could leak elements which were moved to @@ -27,5 +27,5 @@ index 1ceb0403223c..8f96aa380e50 100644 __kmem_cache_free_bulk(s, i, p); return 0; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0184-0184-slub-Enable-irqs-for-__GFP_WAIT.patch b/kernel/patches-4.14.x-rt/0183-slub-Enable-irqs-for-__GFP_WAIT.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0184-0184-slub-Enable-irqs-for-__GFP_WAIT.patch rename to kernel/patches-4.14.x-rt/0183-slub-Enable-irqs-for-__GFP_WAIT.patch index 4cba6e8e9..dfdf4c1e0 100644 --- a/kernel/patches-4.14.x-rt/0184-0184-slub-Enable-irqs-for-__GFP_WAIT.patch +++ b/kernel/patches-4.14.x-rt/0183-slub-Enable-irqs-for-__GFP_WAIT.patch @@ -1,7 +1,7 @@ -From a044da8d76cc91c1b5aae18e0c7a44d9edb6c598 Mon Sep 17 00:00:00 2001 +From 3eec9b2afe59c38e58807a59573575e3bfa05e8c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 9 Jan 2013 12:08:15 +0100 -Subject: [PATCH 184/414] slub: Enable irqs for __GFP_WAIT +Subject: [PATCH 183/418] slub: Enable irqs for __GFP_WAIT SYSTEM_RUNNING might be too late for enabling interrupts. Allocations with GFP_WAIT can happen before that. So use this as an indicator. @@ -49,5 +49,5 @@ index 8f96aa380e50..9ce21fa2c64c 100644 if (!page) return NULL; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0185-0185-slub-Disable-SLUB_CPU_PARTIAL.patch b/kernel/patches-4.14.x-rt/0184-slub-Disable-SLUB_CPU_PARTIAL.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0185-0185-slub-Disable-SLUB_CPU_PARTIAL.patch rename to kernel/patches-4.14.x-rt/0184-slub-Disable-SLUB_CPU_PARTIAL.patch index c5e842a6e..dc96b4efa 100644 --- a/kernel/patches-4.14.x-rt/0185-0185-slub-Disable-SLUB_CPU_PARTIAL.patch +++ b/kernel/patches-4.14.x-rt/0184-slub-Disable-SLUB_CPU_PARTIAL.patch @@ -1,7 +1,7 @@ -From 5d84a1dfe562725b5cf35596725e86cd99adfd9e Mon Sep 17 00:00:00 2001 +From 16f28c42ddc5195862ea1707e337bf66fd17a041 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 15 Apr 2015 19:00:47 +0200 -Subject: [PATCH 185/414] slub: Disable SLUB_CPU_PARTIAL +Subject: [PATCH 184/418] slub: Disable SLUB_CPU_PARTIAL |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 |in_atomic(): 1, irqs_disabled(): 0, pid: 87, name: rcuop/7 @@ -49,5 +49,5 @@ index 0fa1ade4351a..bec5b4b82585 100644 help Per cpu partial caches accellerate objects allocation and freeing -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0186-0186-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch b/kernel/patches-4.14.x-rt/0185-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0186-0186-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch rename to kernel/patches-4.14.x-rt/0185-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch index 913c6bf71..9a7e35dd5 100644 --- a/kernel/patches-4.14.x-rt/0186-0186-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch +++ b/kernel/patches-4.14.x-rt/0185-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch @@ -1,7 +1,7 @@ -From 0b65d6e98f56bb5fb205cabadcb38f2ea763cdf8 Mon Sep 17 00:00:00 2001 +From 13f18992dc4bbd4f4b3c38c27894552079d010fa Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 27 Sep 2012 11:11:46 +0200 -Subject: [PATCH 186/414] mm: page_alloc: Use local_lock_on() instead of plain +Subject: [PATCH 185/418] mm: page_alloc: Use local_lock_on() instead of plain spinlock The plain spinlock while sufficient does not update the local_lock @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 64cec431b6e9..15d6e8022168 100644 +index bd283d59632a..fa17845aa179 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -291,9 +291,9 @@ static DEFINE_LOCAL_IRQ_LOCK(pa_lock); @@ -29,5 +29,5 @@ index 64cec431b6e9..15d6e8022168 100644 # define cpu_lock_irqsave(cpu, flags) local_irq_save(flags) # define cpu_unlock_irqrestore(cpu, flags) local_irq_restore(flags) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0187-0187-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch b/kernel/patches-4.14.x-rt/0186-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0187-0187-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch rename to kernel/patches-4.14.x-rt/0186-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch index e05360e97..48481f695 100644 --- a/kernel/patches-4.14.x-rt/0187-0187-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch +++ b/kernel/patches-4.14.x-rt/0186-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch @@ -1,7 +1,7 @@ -From f5713fb5acd93e08e17f4ca885747491e2e4222d Mon Sep 17 00:00:00 2001 +From cfb75611f3bfdf58de6a13cf8bc2db6469a1957a Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Wed, 30 Oct 2013 11:48:33 -0700 -Subject: [PATCH 187/414] mm/memcontrol: Don't call schedule_work_on in +Subject: [PATCH 186/418] mm/memcontrol: Don't call schedule_work_on in preemption disabled context The following trace is triggered when running ltp oom test cases: @@ -48,7 +48,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index 66e7efabf0a1..11d8acdda6d0 100644 +index 942d9342b63b..5468eb4e4d5a 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1831,7 +1831,7 @@ static void drain_all_stock(struct mem_cgroup *root_memcg) @@ -70,5 +70,5 @@ index 66e7efabf0a1..11d8acdda6d0 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0188-0188-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch b/kernel/patches-4.14.x-rt/0187-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0188-0188-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch rename to kernel/patches-4.14.x-rt/0187-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch index 019683db2..a3cca22b6 100644 --- a/kernel/patches-4.14.x-rt/0188-0188-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch +++ b/kernel/patches-4.14.x-rt/0187-mm-memcontrol-Replace-local_irq_disable-with-local-l.patch @@ -1,7 +1,7 @@ -From 4649291ec5f3ea1443ccc822aa8a073fe1ea518b Mon Sep 17 00:00:00 2001 +From 8769eb7c2ad5dd6d9387aea5b1fb42cb0d1fa92e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 28 Jan 2015 17:14:16 +0100 -Subject: [PATCH 188/414] mm/memcontrol: Replace local_irq_disable with local +Subject: [PATCH 187/418] mm/memcontrol: Replace local_irq_disable with local locks There are a few local_irq_disable() which then take sleeping locks. This @@ -13,7 +13,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index 11d8acdda6d0..b2fb2903137e 100644 +index 5468eb4e4d5a..9458de860e41 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -69,6 +69,7 @@ @@ -33,7 +33,7 @@ index 11d8acdda6d0..b2fb2903137e 100644 /* Whether legacy memory+swap accounting is active */ static bool do_memsw_account(void) { -@@ -4621,12 +4624,12 @@ static int mem_cgroup_move_account(struct page *page, +@@ -4624,12 +4627,12 @@ static int mem_cgroup_move_account(struct page *page, ret = 0; @@ -48,7 +48,7 @@ index 11d8acdda6d0..b2fb2903137e 100644 out_unlock: unlock_page(page); out: -@@ -5569,10 +5572,10 @@ void mem_cgroup_commit_charge(struct page *page, struct mem_cgroup *memcg, +@@ -5572,10 +5575,10 @@ void mem_cgroup_commit_charge(struct page *page, struct mem_cgroup *memcg, commit_charge(page, memcg, lrucare); @@ -61,7 +61,7 @@ index 11d8acdda6d0..b2fb2903137e 100644 if (do_memsw_account() && PageSwapCache(page)) { swp_entry_t entry = { .val = page_private(page) }; -@@ -5641,7 +5644,7 @@ static void uncharge_batch(const struct uncharge_gather *ug) +@@ -5644,7 +5647,7 @@ static void uncharge_batch(const struct uncharge_gather *ug) memcg_oom_recover(ug->memcg); } @@ -70,7 +70,7 @@ index 11d8acdda6d0..b2fb2903137e 100644 __this_cpu_sub(ug->memcg->stat->count[MEMCG_RSS], ug->nr_anon); __this_cpu_sub(ug->memcg->stat->count[MEMCG_CACHE], ug->nr_file); __this_cpu_sub(ug->memcg->stat->count[MEMCG_RSS_HUGE], ug->nr_huge); -@@ -5649,7 +5652,7 @@ static void uncharge_batch(const struct uncharge_gather *ug) +@@ -5652,7 +5655,7 @@ static void uncharge_batch(const struct uncharge_gather *ug) __this_cpu_add(ug->memcg->stat->events[PGPGOUT], ug->pgpgout); __this_cpu_add(ug->memcg->stat->nr_page_events, nr_pages); memcg_check_events(ug->memcg, ug->dummy_page); @@ -79,7 +79,7 @@ index 11d8acdda6d0..b2fb2903137e 100644 if (!mem_cgroup_is_root(ug->memcg)) css_put_many(&ug->memcg->css, nr_pages); -@@ -5812,10 +5815,10 @@ void mem_cgroup_migrate(struct page *oldpage, struct page *newpage) +@@ -5815,10 +5818,10 @@ void mem_cgroup_migrate(struct page *oldpage, struct page *newpage) commit_charge(newpage, memcg, false); @@ -92,7 +92,7 @@ index 11d8acdda6d0..b2fb2903137e 100644 } DEFINE_STATIC_KEY_FALSE(memcg_sockets_enabled_key); -@@ -6007,6 +6010,7 @@ void mem_cgroup_swapout(struct page *page, swp_entry_t entry) +@@ -6010,6 +6013,7 @@ void mem_cgroup_swapout(struct page *page, swp_entry_t entry) struct mem_cgroup *memcg, *swap_memcg; unsigned int nr_entries; unsigned short oldid; @@ -100,7 +100,7 @@ index 11d8acdda6d0..b2fb2903137e 100644 VM_BUG_ON_PAGE(PageLRU(page), page); VM_BUG_ON_PAGE(page_count(page), page); -@@ -6052,13 +6056,17 @@ void mem_cgroup_swapout(struct page *page, swp_entry_t entry) +@@ -6055,13 +6059,17 @@ void mem_cgroup_swapout(struct page *page, swp_entry_t entry) * important here to have the interrupts disabled because it is the * only synchronisation we have for udpating the per-CPU variables. */ @@ -119,5 +119,5 @@ index 11d8acdda6d0..b2fb2903137e 100644 /** -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0189-0189-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch b/kernel/patches-4.14.x-rt/0188-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0189-0189-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch rename to kernel/patches-4.14.x-rt/0188-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch index 9b8d20365..e6d172091 100644 --- a/kernel/patches-4.14.x-rt/0189-0189-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch +++ b/kernel/patches-4.14.x-rt/0188-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch @@ -1,7 +1,7 @@ -From 9009ea1445380eb327226d213e8c92d91813ddbc Mon Sep 17 00:00:00 2001 +From db6eb2905a4257778c80e727187197abdc2635c5 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 5 Feb 2016 12:17:14 +0100 -Subject: [PATCH 189/414] mm: backing-dev: don't disable IRQs in +Subject: [PATCH 188/418] mm: backing-dev: don't disable IRQs in wb_congested_put() it triggers: @@ -28,10 +28,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/backing-dev.c b/mm/backing-dev.c -index e19606bb41a0..3ed752abde48 100644 +index 6774e0369ebe..69a7a05f311f 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c -@@ -482,9 +482,9 @@ void wb_congested_put(struct bdi_writeback_congested *congested) +@@ -483,9 +483,9 @@ void wb_congested_put(struct bdi_writeback_congested *congested) { unsigned long flags; @@ -44,5 +44,5 @@ index e19606bb41a0..3ed752abde48 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0190-0190-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch b/kernel/patches-4.14.x-rt/0189-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0190-0190-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch rename to kernel/patches-4.14.x-rt/0189-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch index 8d4f123ff..ab853d901 100644 --- a/kernel/patches-4.14.x-rt/0190-0190-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch +++ b/kernel/patches-4.14.x-rt/0189-mm-zsmalloc-copy-with-get_cpu_var-and-locking.patch @@ -1,7 +1,7 @@ -From e2e2f60518ab6e0b19851a35fb3430fa4be3a37e Mon Sep 17 00:00:00 2001 +From 7414988a2b35136e0c8b73ac8a24d6eabc60939b Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Tue, 22 Mar 2016 11:16:09 +0100 -Subject: [PATCH 190/414] mm/zsmalloc: copy with get_cpu_var() and locking +Subject: [PATCH 189/418] mm/zsmalloc: copy with get_cpu_var() and locking get_cpu_var() disables preemption and triggers a might_sleep() splat later. This is replaced with get_locked_var(). @@ -198,5 +198,5 @@ index 685049a9048d..8d1489fd1dbc 100644 migrate_read_unlock(zspage); unpin_tag(handle); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0191-0191-radix-tree-use-local-locks.patch b/kernel/patches-4.14.x-rt/0190-radix-tree-use-local-locks.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0191-0191-radix-tree-use-local-locks.patch rename to kernel/patches-4.14.x-rt/0190-radix-tree-use-local-locks.patch index 1b2649849..bd05c6ecf 100644 --- a/kernel/patches-4.14.x-rt/0191-0191-radix-tree-use-local-locks.patch +++ b/kernel/patches-4.14.x-rt/0190-radix-tree-use-local-locks.patch @@ -1,7 +1,7 @@ -From 2625c0cd1652c92e7cf2854083d304fc20756057 Mon Sep 17 00:00:00 2001 +From fd6c6558bb3bf8254b405dc12a0692994585d9bd Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 25 Jan 2017 16:34:27 +0100 -Subject: [PATCH 191/414] radix-tree: use local locks +Subject: [PATCH 190/418] radix-tree: use local locks The preload functionality uses per-CPU variables and preempt-disable to ensure that it does not switch CPUs during its usage. This patch adds @@ -59,7 +59,7 @@ index 567ebb5eaab0..9da7ea957399 100644 int radix_tree_split(struct radix_tree_root *, unsigned long index, unsigned new_order); diff --git a/lib/radix-tree.c b/lib/radix-tree.c -index 8b1feca1230a..758213a8a0d9 100644 +index d172f0341b80..c1da1109a107 100644 --- a/lib/radix-tree.c +++ b/lib/radix-tree.c @@ -37,7 +37,7 @@ @@ -171,5 +171,5 @@ index 8b1feca1230a..758213a8a0d9 100644 if (!this_cpu_read(ida_bitmap)) { struct ida_bitmap *bitmap = kmalloc(sizeof(*bitmap), gfp); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0192-0192-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch b/kernel/patches-4.14.x-rt/0191-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch similarity index 83% rename from kernel/patches-4.14.x-rt/0192-0192-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch rename to kernel/patches-4.14.x-rt/0191-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch index 0dec3edd3..2dec60cfb 100644 --- a/kernel/patches-4.14.x-rt/0192-0192-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch +++ b/kernel/patches-4.14.x-rt/0191-panic-skip-get_random_bytes-for-RT_FULL-in-init_oops.patch @@ -1,7 +1,7 @@ -From eb11369a311172d25161f18127b468af9f108989 Mon Sep 17 00:00:00 2001 +From fa6fa789d341762ed6eefe2d7d3e2d878e863c79 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 192/414] panic: skip get_random_bytes for RT_FULL in +Subject: [PATCH 191/418] panic: skip get_random_bytes for RT_FULL in init_oops_id Disable on -RT. If this is invoked from irq-context we will have problems @@ -29,5 +29,5 @@ index bdd18afa19a4..5da649633795 100644 return 0; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0193-0193-timers-Prepare-for-full-preemption.patch b/kernel/patches-4.14.x-rt/0192-timers-Prepare-for-full-preemption.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0193-0193-timers-Prepare-for-full-preemption.patch rename to kernel/patches-4.14.x-rt/0192-timers-Prepare-for-full-preemption.patch index cde622fa6..eebf6e34e 100644 --- a/kernel/patches-4.14.x-rt/0193-0193-timers-Prepare-for-full-preemption.patch +++ b/kernel/patches-4.14.x-rt/0192-timers-Prepare-for-full-preemption.patch @@ -1,7 +1,7 @@ -From 585b6173c014d02895265dfd562aa2275ea5e281 Mon Sep 17 00:00:00 2001 +From e0eca80d90997630e795b3162c228f8e839aafcd Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 193/414] timers: Prepare for full preemption +Subject: [PATCH 192/418] timers: Prepare for full preemption 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 @@ -29,7 +29,7 @@ index e0ea1fe87572..df3085ddf662 100644 #else # define del_timer_sync(t) del_timer(t) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index c07c1bb0e1c6..405a493a11b3 100644 +index c4902d17faf1..7165f902d7e5 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -523,11 +523,14 @@ void resched_cpu(int cpu) @@ -171,5 +171,5 @@ index 34415f2b3f04..3866d537f109 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0194-0194-timer-delay-waking-softirqs-from-the-jiffy-tick.patch b/kernel/patches-4.14.x-rt/0193-timer-delay-waking-softirqs-from-the-jiffy-tick.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0194-0194-timer-delay-waking-softirqs-from-the-jiffy-tick.patch rename to kernel/patches-4.14.x-rt/0193-timer-delay-waking-softirqs-from-the-jiffy-tick.patch index 81c7391b0..6b8ed2de5 100644 --- a/kernel/patches-4.14.x-rt/0194-0194-timer-delay-waking-softirqs-from-the-jiffy-tick.patch +++ b/kernel/patches-4.14.x-rt/0193-timer-delay-waking-softirqs-from-the-jiffy-tick.patch @@ -1,7 +1,7 @@ -From 5beea11f3cf7c720ebf76bbdc4bb72a6269a7660 Mon Sep 17 00:00:00 2001 +From 95fa3e6e0e1b84c76e91b17956e24889e99bb128 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 21 Aug 2009 11:56:45 +0200 -Subject: [PATCH 194/414] timer: delay waking softirqs from the jiffy tick +Subject: [PATCH 193/418] timer: delay waking softirqs from the jiffy tick People were complaining about broken balancing with the recent -rt series. @@ -76,5 +76,5 @@ index 3866d537f109..464aee26ef2b 100644 run_posix_cpu_timers(p); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0195-0195-nohz-Prevent-erroneous-tick-stop-invocations.patch b/kernel/patches-4.14.x-rt/0194-nohz-Prevent-erroneous-tick-stop-invocations.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0195-0195-nohz-Prevent-erroneous-tick-stop-invocations.patch rename to kernel/patches-4.14.x-rt/0194-nohz-Prevent-erroneous-tick-stop-invocations.patch index f097259bc..8ef4ee5a6 100644 --- a/kernel/patches-4.14.x-rt/0195-0195-nohz-Prevent-erroneous-tick-stop-invocations.patch +++ b/kernel/patches-4.14.x-rt/0194-nohz-Prevent-erroneous-tick-stop-invocations.patch @@ -1,7 +1,7 @@ -From a62f432777382806fff34aba0e2745431a4dca48 Mon Sep 17 00:00:00 2001 +From 014d9f7e1016371610b7f9b0bc59b863dcd139a2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Dec 2017 15:51:13 +0100 -Subject: [PATCH 195/414] nohz: Prevent erroneous tick stop invocations +Subject: [PATCH 194/418] nohz: Prevent erroneous tick stop invocations The conditions in irq_exit() to invoke tick_nohz_irq_exit() are: @@ -55,5 +55,5 @@ index 359cec869172..0f84f2a8f564 100644 tick_nohz_irq_exit(); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0196-0196-x86-kvm-Require-const-tsc-for-RT.patch b/kernel/patches-4.14.x-rt/0195-x86-kvm-Require-const-tsc-for-RT.patch similarity index 78% rename from kernel/patches-4.14.x-rt/0196-0196-x86-kvm-Require-const-tsc-for-RT.patch rename to kernel/patches-4.14.x-rt/0195-x86-kvm-Require-const-tsc-for-RT.patch index d9efb5529..22f3d747e 100644 --- a/kernel/patches-4.14.x-rt/0196-0196-x86-kvm-Require-const-tsc-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0195-x86-kvm-Require-const-tsc-for-RT.patch @@ -1,7 +1,7 @@ -From ebbf6799af4e73987d96276f9569ecadc325dfcf Mon Sep 17 00:00:00 2001 +From 0b235ed12830b342a94bdb008b2011b5fd3eda1b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 6 Nov 2011 12:26:18 +0100 -Subject: [PATCH 196/414] x86: kvm Require const tsc for RT +Subject: [PATCH 195/418] x86: kvm Require const tsc for RT Non constant TSC is a nightmare on bare metal already, but with virtualization it becomes a complete disaster because the workarounds @@ -14,10 +14,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 3b2c3aa2cd07..ba5b6693fbe7 100644 +index 2f3fe25639b3..f1bd2c2c5c04 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c -@@ -6150,6 +6150,13 @@ int kvm_arch_init(void *opaque) +@@ -6168,6 +6168,13 @@ int kvm_arch_init(void *opaque) goto out; } @@ -32,5 +32,5 @@ index 3b2c3aa2cd07..ba5b6693fbe7 100644 if (r) goto out_free_percpu; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0197-0197-wait.h-include-atomic.h.patch b/kernel/patches-4.14.x-rt/0196-wait.h-include-atomic.h.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0197-0197-wait.h-include-atomic.h.patch rename to kernel/patches-4.14.x-rt/0196-wait.h-include-atomic.h.patch index 37d009ee5..3a9942fdd 100644 --- a/kernel/patches-4.14.x-rt/0197-0197-wait.h-include-atomic.h.patch +++ b/kernel/patches-4.14.x-rt/0196-wait.h-include-atomic.h.patch @@ -1,7 +1,7 @@ -From 42fb3f6d580a54b0055dde592e04168ab8d9b213 Mon Sep 17 00:00:00 2001 +From fd7af201b9073738d06335b8559cdea3ea14343e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 28 Oct 2013 12:19:57 +0100 -Subject: [PATCH 197/414] wait.h: include atomic.h +Subject: [PATCH 196/418] wait.h: include atomic.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -37,5 +37,5 @@ index 158715445ffb..49543ae3dc5f 100644 typedef struct wait_queue_entry wait_queue_entry_t; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0198-0198-work-simple-Simple-work-queue-implemenation.patch b/kernel/patches-4.14.x-rt/0197-work-simple-Simple-work-queue-implemenation.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0198-0198-work-simple-Simple-work-queue-implemenation.patch rename to kernel/patches-4.14.x-rt/0197-work-simple-Simple-work-queue-implemenation.patch index d5ce94c7f..e881329ab 100644 --- a/kernel/patches-4.14.x-rt/0198-0198-work-simple-Simple-work-queue-implemenation.patch +++ b/kernel/patches-4.14.x-rt/0197-work-simple-Simple-work-queue-implemenation.patch @@ -1,7 +1,7 @@ -From 99c47f9ccf16188ae39bec2ecf4fb32dddaf16ad Mon Sep 17 00:00:00 2001 +From 0e3ff12261ffc80a8549333d23581752d3270e06 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 11 Jul 2014 15:26:11 +0200 -Subject: [PATCH 198/414] work-simple: Simple work queue implemenation +Subject: [PATCH 197/418] work-simple: Simple work queue implemenation Provides a framework for enqueuing callbacks from irq context PREEMPT_RT_FULL safe. The callbacks are executed in kthread context. @@ -241,5 +241,5 @@ index 000000000000..1950f40ca725 +} +EXPORT_SYMBOL_GPL(swork_put); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0199-0199-completion-Use-simple-wait-queues.patch b/kernel/patches-4.14.x-rt/0198-completion-Use-simple-wait-queues.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0199-0199-completion-Use-simple-wait-queues.patch rename to kernel/patches-4.14.x-rt/0198-completion-Use-simple-wait-queues.patch index 2dcec6f78..4fd6365c7 100644 --- a/kernel/patches-4.14.x-rt/0199-0199-completion-Use-simple-wait-queues.patch +++ b/kernel/patches-4.14.x-rt/0198-completion-Use-simple-wait-queues.patch @@ -1,7 +1,7 @@ -From f485c427ac38ae06d4929f6ea245e88c70d31f6f Mon Sep 17 00:00:00 2001 +From cd9abf8c866842fbea77bba2156470d415b1b78d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 11 Jan 2013 11:23:51 +0100 -Subject: [PATCH 199/414] completion: Use simple wait queues +Subject: [PATCH 198/418] completion: Use simple wait queues Completions have no long lasting callbacks and therefor do not need the complex waitqueue variant. Use simple waitqueues which reduces the @@ -36,10 +36,10 @@ index 56f6e3b71f48..a50350d01a80 100644 } break; diff --git a/drivers/usb/gadget/function/f_fs.c b/drivers/usb/gadget/function/f_fs.c -index 0904cb6ce4de..6505561ed0e0 100644 +index 7b53ac548b1a..43c941e1309e 100644 --- a/drivers/usb/gadget/function/f_fs.c +++ b/drivers/usb/gadget/function/f_fs.c -@@ -1609,7 +1609,7 @@ static void ffs_data_put(struct ffs_data *ffs) +@@ -1613,7 +1613,7 @@ static void ffs_data_put(struct ffs_data *ffs) pr_info("%s(): freeing\n", __func__); ffs_data_clear(ffs); BUG_ON(waitqueue_active(&ffs->ev.waitq) || @@ -308,10 +308,10 @@ index 2ddaec40956f..0fe2982e46a0 100644 } EXPORT_SYMBOL(completion_done); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 405a493a11b3..0188bbccefc7 100644 +index 7165f902d7e5..0666ef750d4d 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6817,7 +6817,10 @@ void migrate_disable(void) +@@ -6802,7 +6802,10 @@ void migrate_disable(void) return; } #ifdef CONFIG_SCHED_DEBUG @@ -323,7 +323,7 @@ index 405a493a11b3..0188bbccefc7 100644 #endif if (p->migrate_disable) { -@@ -6847,7 +6850,10 @@ void migrate_enable(void) +@@ -6832,7 +6835,10 @@ void migrate_enable(void) } #ifdef CONFIG_SCHED_DEBUG @@ -374,5 +374,5 @@ index 9ff1555341ed..7006375949c2 100644 { unsigned long flags; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0200-0200-fs-aio-simple-simple-work.patch b/kernel/patches-4.14.x-rt/0199-fs-aio-simple-simple-work.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0200-0200-fs-aio-simple-simple-work.patch rename to kernel/patches-4.14.x-rt/0199-fs-aio-simple-simple-work.patch index 3773102fd..2bb51bbac 100644 --- a/kernel/patches-4.14.x-rt/0200-0200-fs-aio-simple-simple-work.patch +++ b/kernel/patches-4.14.x-rt/0199-fs-aio-simple-simple-work.patch @@ -1,7 +1,7 @@ -From dac0164eb557e7751d1452ec595131934fd2334b Mon Sep 17 00:00:00 2001 +From 5539000c7f374090a8b4da17d8995189a58e0062 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 16 Feb 2015 18:49:10 +0100 -Subject: [PATCH 200/414] fs/aio: simple simple work +Subject: [PATCH 199/418] fs/aio: simple simple work |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:768 |in_atomic(): 1, irqs_disabled(): 0, pid: 26, name: rcuos/2 @@ -29,7 +29,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 c3ace7833a03..360e60944540 100644 +index 3a749c3a92e3..24c6ceadaae6 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -40,6 +40,7 @@ @@ -68,7 +68,7 @@ index c3ace7833a03..360e60944540 100644 struct aio_kiocb *req; spin_lock_irq(&ctx->ctx_lock); -@@ -654,6 +657,14 @@ static void free_ioctx_users(struct percpu_ref *ref) +@@ -653,6 +656,14 @@ static void free_ioctx_users(struct percpu_ref *ref) percpu_ref_put(&ctx->reqs); } @@ -84,5 +84,5 @@ index c3ace7833a03..360e60944540 100644 { unsigned i, new_nr; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0201-0201-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch b/kernel/patches-4.14.x-rt/0200-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0201-0201-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch rename to kernel/patches-4.14.x-rt/0200-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch index fd3ee5538..f3a8aeb54 100644 --- a/kernel/patches-4.14.x-rt/0201-0201-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch +++ b/kernel/patches-4.14.x-rt/0200-genirq-Do-not-invoke-the-affinity-callback-via-a-wor.patch @@ -1,7 +1,7 @@ -From 8bed8c5ef0f45b863b92d0ad33f16594d70960a3 Mon Sep 17 00:00:00 2001 +From 89959ac75eca32449dc0aa5228daeaaa222ef7a8 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 21 Aug 2013 17:48:46 +0200 -Subject: [PATCH 201/414] genirq: Do not invoke the affinity callback via a +Subject: [PATCH 200/418] genirq: Do not invoke the affinity callback via a workqueue on RT Joe Korty reported, that __irq_set_affinity_locked() schedules a @@ -126,5 +126,5 @@ index 6d1f321152d0..5007ea8ac740 100644 raw_spin_lock_irqsave(&desc->lock, flags); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0202-0202-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch b/kernel/patches-4.14.x-rt/0201-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0202-0202-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch rename to kernel/patches-4.14.x-rt/0201-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch index 9467e2117..a4af5bbc1 100644 --- a/kernel/patches-4.14.x-rt/0202-0202-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch +++ b/kernel/patches-4.14.x-rt/0201-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch @@ -1,7 +1,7 @@ -From 37f9541325e7be6549dcab300b50b39e86ec30b3 Mon Sep 17 00:00:00 2001 +From 9fbfbd0ccb1273c4c9da14975860b0d7d7907c93 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 15 Nov 2017 17:29:51 +0100 -Subject: [PATCH 202/414] time/hrtimer: avoid schedule_work() with interrupts +Subject: [PATCH 201/418] time/hrtimer: avoid schedule_work() with interrupts disabled The NOHZ code tries to schedule a workqueue with interrupts disabled. @@ -55,5 +55,5 @@ index 464aee26ef2b..ced791c0b47b 100644 void __user *buffer, size_t *lenp, loff_t *ppos) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0203-0203-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch b/kernel/patches-4.14.x-rt/0202-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0203-0203-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch rename to kernel/patches-4.14.x-rt/0202-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch index 8815d7c82..e70c2a583 100644 --- a/kernel/patches-4.14.x-rt/0203-0203-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch +++ b/kernel/patches-4.14.x-rt/0202-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch @@ -1,7 +1,7 @@ -From d3ecc0fcfd976e379a534bfc4545f9631a7f9770 Mon Sep 17 00:00:00 2001 +From 59e6eab380e76c7c687cdaa51957f0096ce0800a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 4 Sep 2017 18:31:50 +0200 -Subject: [PATCH 203/414] hrtimer: consolidate hrtimer_init() + +Subject: [PATCH 202/418] hrtimer: consolidate hrtimer_init() + hrtimer_init_sleeper() calls hrtimer_init_sleeper() calls require a prior initialisation of the @@ -19,10 +19,10 @@ Signed-off-by: Sebastian Andrzej Siewior 6 files changed, 65 insertions(+), 30 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c -index 007f96611364..de6cbc13a0d9 100644 +index 49979c095f31..1bd1069c5d84 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c -@@ -2845,10 +2845,9 @@ static bool blk_mq_poll_hybrid_sleep(struct request_queue *q, +@@ -2863,10 +2863,9 @@ static bool blk_mq_poll_hybrid_sleep(struct request_queue *q, kt = nsecs; mode = HRTIMER_MODE_REL; @@ -258,5 +258,5 @@ index 6e1e10ff433a..c1ae4075e0ed 100644 set_current_state(TASK_INTERRUPTIBLE); hrtimer_start_expires(&t.timer, HRTIMER_MODE_ABS); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0204-0204-hrtimers-Prepare-full-preemption.patch b/kernel/patches-4.14.x-rt/0203-hrtimers-Prepare-full-preemption.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0204-0204-hrtimers-Prepare-full-preemption.patch rename to kernel/patches-4.14.x-rt/0203-hrtimers-Prepare-full-preemption.patch index 649074faa..eb4cda870 100644 --- a/kernel/patches-4.14.x-rt/0204-0204-hrtimers-Prepare-full-preemption.patch +++ b/kernel/patches-4.14.x-rt/0203-hrtimers-Prepare-full-preemption.patch @@ -1,7 +1,7 @@ -From e0e9291f131c45dc4ddb8bf94992ab546bb5bcae Mon Sep 17 00:00:00 2001 +From 9fe3837362e821d29a074597feed4f53fffc4606 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 204/414] hrtimers: Prepare full preemption +Subject: [PATCH 203/418] hrtimers: Prepare full preemption Make cancellation of a running callback in softirq context safe against preemption. @@ -219,5 +219,5 @@ index f5392262fb77..f357877f0cb7 100644 } list_del(&timer->list); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0205-0205-hrtimer-by-timers-by-default-into-the-softirq-contex.patch b/kernel/patches-4.14.x-rt/0204-hrtimer-by-timers-by-default-into-the-softirq-contex.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0205-0205-hrtimer-by-timers-by-default-into-the-softirq-contex.patch rename to kernel/patches-4.14.x-rt/0204-hrtimer-by-timers-by-default-into-the-softirq-contex.patch index 61575565d..35dec68c2 100644 --- a/kernel/patches-4.14.x-rt/0205-0205-hrtimer-by-timers-by-default-into-the-softirq-contex.patch +++ b/kernel/patches-4.14.x-rt/0204-hrtimer-by-timers-by-default-into-the-softirq-contex.patch @@ -1,7 +1,7 @@ -From 5895e72801c17d54a4260ea4794bfe8113c040a4 Mon Sep 17 00:00:00 2001 +From 032774b680f769129e1241dd0031aa5bc1da609a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 3 Jul 2009 08:44:31 -0500 -Subject: [PATCH 205/414] hrtimer: by timers by default into the softirq +Subject: [PATCH 204/418] hrtimer: by timers by default into the softirq context We can't have hrtimers callbacks running in hardirq context on RT. Therefore @@ -27,10 +27,10 @@ Signed-off-by: Sebastian Andrzej Siewior 10 files changed, 48 insertions(+), 12 deletions(-) diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c -index 8cfdb6484fd0..6866c863318d 100644 +index 6d0fbff71d7a..92f13ac70ad4 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c -@@ -2097,7 +2097,7 @@ int kvm_create_lapic(struct kvm_vcpu *vcpu) +@@ -2120,7 +2120,7 @@ int kvm_create_lapic(struct kvm_vcpu *vcpu) apic->vcpu = vcpu; hrtimer_init(&apic->lapic_timer.timer, CLOCK_MONOTONIC, @@ -64,10 +64,10 @@ index 3de1b8cf4d2a..3bd606859b0a 100644 /* diff --git a/kernel/events/core.c b/kernel/events/core.c -index cb8274d7824f..0274a44f8fb0 100644 +index 7c394ddf1ce6..178d9c5feb62 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c -@@ -1042,7 +1042,7 @@ static void __perf_mux_hrtimer_init(struct perf_cpu_context *cpuctx, int cpu) +@@ -1065,7 +1065,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); @@ -76,7 +76,7 @@ index cb8274d7824f..0274a44f8fb0 100644 timer->function = perf_mux_hrtimer_handler; } -@@ -8714,7 +8714,7 @@ static void perf_swevent_init_hrtimer(struct perf_event *event) +@@ -8750,7 +8750,7 @@ static void perf_swevent_init_hrtimer(struct perf_event *event) if (!is_sampling_event(event)) return; @@ -86,7 +86,7 @@ index cb8274d7824f..0274a44f8fb0 100644 /* diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 0188bbccefc7..657fbdefc73c 100644 +index 0666ef750d4d..407a4859c3fc 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -341,7 +341,7 @@ static void init_rq_hrtick(struct rq *rq) @@ -99,7 +99,7 @@ index 0188bbccefc7..657fbdefc73c 100644 } #else /* CONFIG_SCHED_HRTICK */ diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c -index 72a396253dc0..cf671fe21478 100644 +index a55cb8ce395d..24e69803cd14 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -1020,7 +1020,7 @@ void init_dl_task_timer(struct sched_dl_entity *dl_se) @@ -112,7 +112,7 @@ index 72a396253dc0..cf671fe21478 100644 } diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c -index a892c5e0ed41..dc85b469e7f5 100644 +index 590c6eea6974..b2478126d109 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c @@ -47,8 +47,8 @@ void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime) @@ -233,5 +233,5 @@ index c8e06703e44c..1c6188a15481 100644 hrtimer_start(hrtimer, ns_to_ktime(sample_period), HRTIMER_MODE_REL_PINNED); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0206-0206-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch b/kernel/patches-4.14.x-rt/0205-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0206-0206-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch rename to kernel/patches-4.14.x-rt/0205-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch index 2bed1e6b3..6c9c2d96c 100644 --- a/kernel/patches-4.14.x-rt/0206-0206-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch +++ b/kernel/patches-4.14.x-rt/0205-alarmtimer-Prevent-live-lock-in-alarm_cancel.patch @@ -1,7 +1,7 @@ -From 01c4d6110f15ea44ef14d8566fa53ef22736cae2 Mon Sep 17 00:00:00 2001 +From da8fb3d08ef9e0c0cac5fffe80b3cae8055421fe Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 27 Mar 2018 15:58:16 +0200 -Subject: [PATCH 206/414] alarmtimer: Prevent live lock in alarm_cancel() +Subject: [PATCH 205/418] alarmtimer: Prevent live lock in alarm_cancel() If alarm_try_to_cancel() requires a retry, then depending on the priority setting the retry loop might prevent timer callback completion @@ -28,5 +28,5 @@ index 639321bf2e39..0c7227f89349 100644 } EXPORT_SYMBOL_GPL(alarm_cancel); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0207-0207-posix-timers-user-proper-timer-while-waiting-for-ala.patch b/kernel/patches-4.14.x-rt/0206-posix-timers-user-proper-timer-while-waiting-for-ala.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0207-0207-posix-timers-user-proper-timer-while-waiting-for-ala.patch rename to kernel/patches-4.14.x-rt/0206-posix-timers-user-proper-timer-while-waiting-for-ala.patch index 89d6e1d3e..5927fa4e1 100644 --- a/kernel/patches-4.14.x-rt/0207-0207-posix-timers-user-proper-timer-while-waiting-for-ala.patch +++ b/kernel/patches-4.14.x-rt/0206-posix-timers-user-proper-timer-while-waiting-for-ala.patch @@ -1,7 +1,7 @@ -From 78c6a58dde7694b057884656756df9cefbc8e591 Mon Sep 17 00:00:00 2001 +From 70736c7cbb8459c795d3127633400c54635af5cb Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 28 Mar 2018 10:45:40 +0200 -Subject: [PATCH 207/414] posix-timers: user proper timer while waiting for +Subject: [PATCH 206/418] posix-timers: user proper timer while waiting for alarmtimer On RT the timer can be preempted while running and therefore we wait @@ -71,5 +71,5 @@ index f357877f0cb7..f3371482fc6a 100644 { return hrtimer_try_to_cancel(&timr->it.real.timer); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0208-0208-posix-timers-move-the-rcu-head-out-of-the-union.patch b/kernel/patches-4.14.x-rt/0207-posix-timers-move-the-rcu-head-out-of-the-union.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0208-0208-posix-timers-move-the-rcu-head-out-of-the-union.patch rename to kernel/patches-4.14.x-rt/0207-posix-timers-move-the-rcu-head-out-of-the-union.patch index 28facc943..50919b101 100644 --- a/kernel/patches-4.14.x-rt/0208-0208-posix-timers-move-the-rcu-head-out-of-the-union.patch +++ b/kernel/patches-4.14.x-rt/0207-posix-timers-move-the-rcu-head-out-of-the-union.patch @@ -1,7 +1,7 @@ -From 322eacf7966007f2a6b3d694019af85164e1cf58 Mon Sep 17 00:00:00 2001 +From 3abe9a70147b6b03240f79383f115122d907fce5 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 28 Mar 2018 11:15:19 +0200 -Subject: [PATCH 208/414] posix-timers: move the rcu head out of the union +Subject: [PATCH 207/418] posix-timers: move the rcu head out of the union On RT the timer can be preempted while running and therefore we wait with timer_wait_for_callback() for the timer to complete (instead of @@ -56,5 +56,5 @@ index f3371482fc6a..c5866984f12d 100644 static int common_timer_create(struct k_itimer *new_timer) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0209-0209-hrtimer-Move-schedule_work-call-to-helper-thread.patch b/kernel/patches-4.14.x-rt/0208-hrtimer-Move-schedule_work-call-to-helper-thread.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0209-0209-hrtimer-Move-schedule_work-call-to-helper-thread.patch rename to kernel/patches-4.14.x-rt/0208-hrtimer-Move-schedule_work-call-to-helper-thread.patch index 94970bb0e..8a89f25dd 100644 --- a/kernel/patches-4.14.x-rt/0209-0209-hrtimer-Move-schedule_work-call-to-helper-thread.patch +++ b/kernel/patches-4.14.x-rt/0208-hrtimer-Move-schedule_work-call-to-helper-thread.patch @@ -1,7 +1,7 @@ -From 0555057a4309e02ff6027065ba298ad629fd9c06 Mon Sep 17 00:00:00 2001 +From deb4a033a8fe1e811d308a11bae5b04e903de032 Mon Sep 17 00:00:00 2001 From: Yang Shi Date: Mon, 16 Sep 2013 14:09:19 -0700 -Subject: [PATCH 209/414] hrtimer: Move schedule_work call to helper thread +Subject: [PATCH 208/418] hrtimer: Move schedule_work call to helper thread When run ltp leapsec_timer test, the following call trace is caught: @@ -93,5 +93,5 @@ index ec9f271aa437..f824b9721ce7 100644 #else -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0210-0210-timer-fd-Prevent-live-lock.patch b/kernel/patches-4.14.x-rt/0209-timer-fd-Prevent-live-lock.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0210-0210-timer-fd-Prevent-live-lock.patch rename to kernel/patches-4.14.x-rt/0209-timer-fd-Prevent-live-lock.patch index 9d904996c..4ea3e2f5c 100644 --- a/kernel/patches-4.14.x-rt/0210-0210-timer-fd-Prevent-live-lock.patch +++ b/kernel/patches-4.14.x-rt/0209-timer-fd-Prevent-live-lock.patch @@ -1,7 +1,7 @@ -From 9078533c3569fd55396debb15afa9f4da9876065 Mon Sep 17 00:00:00 2001 +From fd9eb6fb96e906f71d7541dd5af711d935a7742d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 25 Jan 2012 11:08:40 +0100 -Subject: [PATCH 210/414] timer-fd: Prevent live lock +Subject: [PATCH 209/418] timer-fd: Prevent live lock If hrtimer_try_to_cancel() requires a retry, then depending on the priority setting te retry loop might prevent timer callback completion @@ -31,5 +31,5 @@ index 040612ec9598..b3d9d435926c 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0211-0211-posix-timers-Thread-posix-cpu-timers-on-rt.patch b/kernel/patches-4.14.x-rt/0210-posix-timers-Thread-posix-cpu-timers-on-rt.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0211-0211-posix-timers-Thread-posix-cpu-timers-on-rt.patch rename to kernel/patches-4.14.x-rt/0210-posix-timers-Thread-posix-cpu-timers-on-rt.patch index 1fee6cdc8..bd5d870aa 100644 --- a/kernel/patches-4.14.x-rt/0211-0211-posix-timers-Thread-posix-cpu-timers-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0210-posix-timers-Thread-posix-cpu-timers-on-rt.patch @@ -1,7 +1,7 @@ -From 73a406a9b7850578fd5649ddca69c2d43e4f871a Mon Sep 17 00:00:00 2001 +From df9b26f1fe9feb14ac312c5dc2f1777ac176ac02 Mon Sep 17 00:00:00 2001 From: John Stultz Date: Fri, 3 Jul 2009 08:29:58 -0500 -Subject: [PATCH 211/414] posix-timers: Thread posix-cpu-timers on -rt +Subject: [PATCH 210/418] posix-timers: Thread posix-cpu-timers on -rt posix-cpu-timer code takes non -rt safe locks in hard irq context. Move it to a thread. @@ -43,10 +43,10 @@ index 53ee20e0b168..ee3ff961b84c 100644 [PIDTYPE_PID] = INIT_PID_LINK(PIDTYPE_PID), \ [PIDTYPE_PGID] = INIT_PID_LINK(PIDTYPE_PGID), \ diff --git a/include/linux/sched.h b/include/linux/sched.h -index b1ff98fb6dd3..976d5749b6b1 100644 +index 620d9703a125..d1e0ea1dfe71 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -745,6 +745,9 @@ struct task_struct { +@@ -785,6 +785,9 @@ struct task_struct { #ifdef CONFIG_POSIX_TIMERS struct task_cputime cputime_expires; struct list_head cpu_timers[3]; @@ -281,5 +281,5 @@ index 5b117110b55b..47d063c4ed03 100644 * Set one of the process-wide special case CPU timers or RLIMIT_CPU. * The tsk->sighand->siglock must be held by the caller. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0212-0212-sched-Move-task_struct-cleanup-to-RCU.patch b/kernel/patches-4.14.x-rt/0211-sched-Move-task_struct-cleanup-to-RCU.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0212-0212-sched-Move-task_struct-cleanup-to-RCU.patch rename to kernel/patches-4.14.x-rt/0211-sched-Move-task_struct-cleanup-to-RCU.patch index 5003548c9..9b182bc04 100644 --- a/kernel/patches-4.14.x-rt/0212-0212-sched-Move-task_struct-cleanup-to-RCU.patch +++ b/kernel/patches-4.14.x-rt/0211-sched-Move-task_struct-cleanup-to-RCU.patch @@ -1,7 +1,7 @@ -From 82c19f839e39fc45728edcf207c74e9ec10471cb Mon Sep 17 00:00:00 2001 +From 4852bbccd40cb783b3e65da07f7003160d3ad62a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 31 May 2011 16:59:16 +0200 -Subject: [PATCH 212/414] sched: Move task_struct cleanup to RCU +Subject: [PATCH 211/418] sched: Move task_struct cleanup to RCU __put_task_struct() does quite some expensive work. We don't want to burden random tasks with that. @@ -14,10 +14,10 @@ Signed-off-by: Thomas Gleixner 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h -index 976d5749b6b1..fca11bcbcbae 100644 +index d1e0ea1dfe71..84332b5139b5 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -1093,6 +1093,9 @@ struct task_struct { +@@ -1133,6 +1133,9 @@ struct task_struct { unsigned int sequential_io; unsigned int sequential_io_avg; #endif @@ -91,5 +91,5 @@ index 00c3a42d681b..110d2d9b6421 100644 void __init __weak arch_task_cache_init(void) { } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0213-0213-sched-Limit-the-number-of-task-migrations-per-batch.patch b/kernel/patches-4.14.x-rt/0212-sched-Limit-the-number-of-task-migrations-per-batch.patch similarity index 82% rename from kernel/patches-4.14.x-rt/0213-0213-sched-Limit-the-number-of-task-migrations-per-batch.patch rename to kernel/patches-4.14.x-rt/0212-sched-Limit-the-number-of-task-migrations-per-batch.patch index 65d2af9cb..57397bba9 100644 --- a/kernel/patches-4.14.x-rt/0213-0213-sched-Limit-the-number-of-task-migrations-per-batch.patch +++ b/kernel/patches-4.14.x-rt/0212-sched-Limit-the-number-of-task-migrations-per-batch.patch @@ -1,7 +1,7 @@ -From 7ceb5c5c786c7bb2bcfdd2800ddac995ffec8441 Mon Sep 17 00:00:00 2001 +From a931d63d7dfcbfc601eec9dda60eb254ed429f07 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:12:51 +0200 -Subject: [PATCH 213/414] sched: Limit the number of task migrations per batch +Subject: [PATCH 212/418] sched: Limit the number of task migrations per batch Put an upper limit on the number of tasks which are migrated per batch to avoid large latencies. @@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 4 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 657fbdefc73c..a0c93c886d54 100644 +index 407a4859c3fc..8eed4a2451c3 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -59,7 +59,11 @@ const_debug unsigned int sysctl_sched_features = @@ -28,5 +28,5 @@ index 657fbdefc73c..a0c93c886d54 100644 /* * period over which we average the RT time consumption, measured -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0214-0214-sched-Move-mmdrop-to-RCU-on-RT.patch b/kernel/patches-4.14.x-rt/0213-sched-Move-mmdrop-to-RCU-on-RT.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0214-0214-sched-Move-mmdrop-to-RCU-on-RT.patch rename to kernel/patches-4.14.x-rt/0213-sched-Move-mmdrop-to-RCU-on-RT.patch index 9ee196c38..b159f617f 100644 --- a/kernel/patches-4.14.x-rt/0214-0214-sched-Move-mmdrop-to-RCU-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0213-sched-Move-mmdrop-to-RCU-on-RT.patch @@ -1,7 +1,7 @@ -From 0c4c4ca7ee5cf0ee4b91d4abc943e5112dc8db04 Mon Sep 17 00:00:00 2001 +From 3165ac26cbf2ebd2e959428bc4086c17cd10ecb7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:20:33 +0200 -Subject: [PATCH 214/414] sched: Move mmdrop to RCU on RT +Subject: [PATCH 213/418] sched: Move mmdrop to RCU on RT Takes sleeping locks and calls into the memory allocator, so nothing we want to do in task switch and oder atomic contexts. @@ -83,7 +83,7 @@ index 110d2d9b6421..a55e0ac401ab 100644 { VM_BUG_ON(atomic_read(&mm->mm_users)); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index a0c93c886d54..3fc5f41b4d74 100644 +index 8eed4a2451c3..093cf0d18005 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2696,8 +2696,12 @@ static struct rq *finish_task_switch(struct task_struct *prev) @@ -100,7 +100,7 @@ index a0c93c886d54..3fc5f41b4d74 100644 if (unlikely(prev_state == TASK_DEAD)) { if (prev->sched_class->task_dead) prev->sched_class->task_dead(prev); -@@ -5434,6 +5438,8 @@ void sched_setnuma(struct task_struct *p, int nid) +@@ -5419,6 +5423,8 @@ void sched_setnuma(struct task_struct *p, int nid) #endif /* CONFIG_NUMA_BALANCING */ #ifdef CONFIG_HOTPLUG_CPU @@ -109,7 +109,7 @@ index a0c93c886d54..3fc5f41b4d74 100644 /* * Ensure that the idle task is using init_mm right before its CPU goes * offline. -@@ -5448,7 +5454,12 @@ void idle_task_exit(void) +@@ -5433,7 +5439,12 @@ void idle_task_exit(void) switch_mm(mm, &init_mm, current); finish_arch_post_lock_switch(); } @@ -123,7 +123,7 @@ index a0c93c886d54..3fc5f41b4d74 100644 } /* -@@ -5751,6 +5762,10 @@ int sched_cpu_dying(unsigned int cpu) +@@ -5736,6 +5747,10 @@ int sched_cpu_dying(unsigned int cpu) update_max_interval(); nohz_balance_exit_idle(cpu); hrtick_clear(rq); @@ -135,5 +135,5 @@ index a0c93c886d54..3fc5f41b4d74 100644 } #endif -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0215-0215-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch b/kernel/patches-4.14.x-rt/0214-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0215-0215-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch rename to kernel/patches-4.14.x-rt/0214-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch index 44d9cf38c..bada9cdb2 100644 --- a/kernel/patches-4.14.x-rt/0215-0215-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch +++ b/kernel/patches-4.14.x-rt/0214-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch @@ -1,7 +1,7 @@ -From d75476a46a4a64db5a6e4b3f6fc08c452252d421 Mon Sep 17 00:00:00 2001 +From b661efa497788a37784b46a6b72e3a8a70b36fb8 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 21 Nov 2016 19:31:08 +0100 -Subject: [PATCH 215/414] kernel/sched: move stack + kprobe clean up to +Subject: [PATCH 214/418] kernel/sched: move stack + kprobe clean up to __put_task_struct() There is no need to free the stack before the task struct. This also @@ -44,7 +44,7 @@ index a55e0ac401ab..fe48256ed179 100644 task_numa_free(tsk); security_task_free(tsk); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 3fc5f41b4d74..c104cddcf815 100644 +index 093cf0d18005..60afad464ffd 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2706,15 +2706,6 @@ static struct rq *finish_task_switch(struct task_struct *prev) @@ -64,5 +64,5 @@ index 3fc5f41b4d74..c104cddcf815 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0216-0216-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch b/kernel/patches-4.14.x-rt/0215-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0216-0216-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch rename to kernel/patches-4.14.x-rt/0215-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch index 21d01e7c3..9fc925335 100644 --- a/kernel/patches-4.14.x-rt/0216-0216-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch +++ b/kernel/patches-4.14.x-rt/0215-sched-Add-saved_state-for-tasks-blocked-on-sleeping-.patch @@ -1,7 +1,7 @@ -From f8a1d249c1874e1f3bfbdde1b692a56f76f59f3a Mon Sep 17 00:00:00 2001 +From 83bc93a1cfa5f492a7238f284a61d000971a44db Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 25 Jun 2011 09:21:04 +0200 -Subject: [PATCH 216/414] sched: Add saved_state for tasks blocked on sleeping +Subject: [PATCH 215/418] sched: Add saved_state for tasks blocked on sleeping locks Spinlocks are state preserving in !RT. RT changes the state when a @@ -18,10 +18,10 @@ Signed-off-by: Thomas Gleixner 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h -index fca11bcbcbae..258db7109aeb 100644 +index 84332b5139b5..cc5e4a3c2c63 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -526,6 +526,8 @@ struct task_struct { +@@ -566,6 +566,8 @@ struct task_struct { #endif /* -1 unrunnable, 0 runnable, >0 stopped: */ volatile long state; @@ -30,7 +30,7 @@ index fca11bcbcbae..258db7109aeb 100644 /* * This begins the randomizable portion of task_struct. Only -@@ -1507,6 +1509,7 @@ extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *n +@@ -1555,6 +1557,7 @@ extern struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *n extern int wake_up_state(struct task_struct *tsk, unsigned int state); extern int wake_up_process(struct task_struct *tsk); @@ -39,7 +39,7 @@ index fca11bcbcbae..258db7109aeb 100644 #ifdef CONFIG_SMP diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index c104cddcf815..cac7fd453826 100644 +index 60afad464ffd..4141cb4bd43e 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2016,8 +2016,25 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) @@ -89,7 +89,7 @@ index c104cddcf815..cac7fd453826 100644 { return try_to_wake_up(p, state, 0); diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h -index 307c35d33660..df2a22e591cc 100644 +index b29376169f3f..ace39806bff8 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1354,6 +1354,7 @@ static inline void finish_lock_switch(struct rq *rq, struct task_struct *prev) @@ -101,5 +101,5 @@ index 307c35d33660..df2a22e591cc 100644 /* * To aid in avoiding the subversion of "niceness" due to uneven distribution -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0217-0217-sched-Prevent-task-state-corruption-by-spurious-lock.patch b/kernel/patches-4.14.x-rt/0216-sched-Prevent-task-state-corruption-by-spurious-lock.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0217-0217-sched-Prevent-task-state-corruption-by-spurious-lock.patch rename to kernel/patches-4.14.x-rt/0216-sched-Prevent-task-state-corruption-by-spurious-lock.patch index 32efc11d5..9d5be0805 100644 --- a/kernel/patches-4.14.x-rt/0217-0217-sched-Prevent-task-state-corruption-by-spurious-lock.patch +++ b/kernel/patches-4.14.x-rt/0216-sched-Prevent-task-state-corruption-by-spurious-lock.patch @@ -1,7 +1,7 @@ -From a74b607f2be6a1aa72343f6bad94e594acf27f76 Mon Sep 17 00:00:00 2001 +From 9050d1464fcf81c34169cedd554b304fb36feb64 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 6 Jun 2017 14:20:37 +0200 -Subject: [PATCH 217/414] sched: Prevent task state corruption by spurious lock +Subject: [PATCH 216/418] sched: Prevent task state corruption by spurious lock wakeup Mathias and others reported GDB failures on RT. @@ -67,7 +67,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 cac7fd453826..a73497dfbd3f 100644 +index 4141cb4bd43e..da54c55e3201 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2207,7 +2207,7 @@ EXPORT_SYMBOL(wake_up_process); @@ -80,5 +80,5 @@ index cac7fd453826..a73497dfbd3f 100644 int wake_up_state(struct task_struct *p, unsigned int state) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0218-0218-sched-Remove-TASK_ALL.patch b/kernel/patches-4.14.x-rt/0217-sched-Remove-TASK_ALL.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0218-0218-sched-Remove-TASK_ALL.patch rename to kernel/patches-4.14.x-rt/0217-sched-Remove-TASK_ALL.patch index 98db38e5a..d668079dd 100644 --- a/kernel/patches-4.14.x-rt/0218-0218-sched-Remove-TASK_ALL.patch +++ b/kernel/patches-4.14.x-rt/0217-sched-Remove-TASK_ALL.patch @@ -1,7 +1,7 @@ -From 4bf9fd71a95265a25c11e786576477d4221eba12 Mon Sep 17 00:00:00 2001 +From 4191a0b794cc6e7c5efe1cd1dec3a3a3267ee60e Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Wed, 7 Jun 2017 10:12:45 +0200 -Subject: [PATCH 218/414] sched: Remove TASK_ALL +Subject: [PATCH 217/418] sched: Remove TASK_ALL It's unused: @@ -19,7 +19,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h -index 258db7109aeb..27f962abf4b3 100644 +index cc5e4a3c2c63..03b85406312d 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -93,7 +93,6 @@ struct task_group; @@ -31,5 +31,5 @@ index 258db7109aeb..27f962abf4b3 100644 /* get_task_state(): */ #define TASK_REPORT (TASK_RUNNING | TASK_INTERRUPTIBLE | \ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0219-0219-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch b/kernel/patches-4.14.x-rt/0218-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0219-0219-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch rename to kernel/patches-4.14.x-rt/0218-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch index 8ccc443f9..68ed40ea5 100644 --- a/kernel/patches-4.14.x-rt/0219-0219-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch +++ b/kernel/patches-4.14.x-rt/0218-sched-Do-not-account-rcu_preempt_depth-on-RT-in-migh.patch @@ -1,7 +1,7 @@ -From 2cfe068bfdeb2c5cb7ba9071fe9f4de10dfff640 Mon Sep 17 00:00:00 2001 +From 171b922be4ec407471da620953f3661f32f6147a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 7 Jun 2011 09:19:06 +0200 -Subject: [PATCH 219/414] sched: Do not account rcu_preempt_depth on RT in +Subject: [PATCH 218/418] sched: Do not account rcu_preempt_depth on RT in might_sleep() RT changes the rcu_preempt_depth semantics, so we cannot check for it @@ -39,10 +39,10 @@ index a6ddc42f87a5..dbadbdbc8643 100644 /* Internal to kernel */ diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index a73497dfbd3f..158f182f6d73 100644 +index da54c55e3201..732ab7a4e9e1 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6050,7 +6050,7 @@ void __init sched_init(void) +@@ -6035,7 +6035,7 @@ void __init sched_init(void) #ifdef CONFIG_DEBUG_ATOMIC_SLEEP static inline int preempt_count_equals(int preempt_offset) { @@ -52,5 +52,5 @@ index a73497dfbd3f..158f182f6d73 100644 return (nested == preempt_offset); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0220-0220-sched-Take-RT-softirq-semantics-into-account-in-cond.patch b/kernel/patches-4.14.x-rt/0219-sched-Take-RT-softirq-semantics-into-account-in-cond.patch similarity index 77% rename from kernel/patches-4.14.x-rt/0220-0220-sched-Take-RT-softirq-semantics-into-account-in-cond.patch rename to kernel/patches-4.14.x-rt/0219-sched-Take-RT-softirq-semantics-into-account-in-cond.patch index 25da38600..46a4db113 100644 --- a/kernel/patches-4.14.x-rt/0220-0220-sched-Take-RT-softirq-semantics-into-account-in-cond.patch +++ b/kernel/patches-4.14.x-rt/0219-sched-Take-RT-softirq-semantics-into-account-in-cond.patch @@ -1,7 +1,7 @@ -From 913d0d7a9163b3ce0d803f21dc51b0dd39ec796a Mon Sep 17 00:00:00 2001 +From 25f3a0480131b904ba3d5eed87b8f0159db57df2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 14 Jul 2011 09:56:44 +0200 -Subject: [PATCH 220/414] sched: Take RT softirq semantics into account in +Subject: [PATCH 219/418] sched: Take RT softirq semantics into account in cond_resched() The softirq semantics work different on -RT. There is no SOFTIRQ_MASK in @@ -16,10 +16,10 @@ Signed-off-by: Thomas Gleixner 2 files changed, 6 insertions(+) diff --git a/include/linux/sched.h b/include/linux/sched.h -index 27f962abf4b3..d4c8b0e373e2 100644 +index 03b85406312d..209e71d83687 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -1610,12 +1610,16 @@ extern int __cond_resched_lock(spinlock_t *lock); +@@ -1658,12 +1658,16 @@ extern int __cond_resched_lock(spinlock_t *lock); __cond_resched_lock(lock); \ }) @@ -37,10 +37,10 @@ index 27f962abf4b3..d4c8b0e373e2 100644 static inline void cond_resched_rcu(void) { diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 158f182f6d73..26d66cceef6f 100644 +index 732ab7a4e9e1..d70cdb20c79c 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -4946,6 +4946,7 @@ int __cond_resched_lock(spinlock_t *lock) +@@ -4931,6 +4931,7 @@ int __cond_resched_lock(spinlock_t *lock) } EXPORT_SYMBOL(__cond_resched_lock); @@ -48,7 +48,7 @@ index 158f182f6d73..26d66cceef6f 100644 int __sched __cond_resched_softirq(void) { BUG_ON(!in_softirq()); -@@ -4959,6 +4960,7 @@ int __sched __cond_resched_softirq(void) +@@ -4944,6 +4945,7 @@ int __sched __cond_resched_softirq(void) return 0; } EXPORT_SYMBOL(__cond_resched_softirq); @@ -57,5 +57,5 @@ index 158f182f6d73..26d66cceef6f 100644 /** * yield - yield the current processor to other threads. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0221-0221-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch b/kernel/patches-4.14.x-rt/0220-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0221-0221-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch rename to kernel/patches-4.14.x-rt/0220-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch index f8cb317c4..affbcd218 100644 --- a/kernel/patches-4.14.x-rt/0221-0221-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch +++ b/kernel/patches-4.14.x-rt/0220-sched-Use-the-proper-LOCK_OFFSET-for-cond_resched.patch @@ -1,7 +1,7 @@ -From 63b1833f277eb87cce0eb151a90d407fafd30e13 Mon Sep 17 00:00:00 2001 +From 8d6c4c4bb91f590d26c3612e5419019161561e52 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 22:51:33 +0200 -Subject: [PATCH 221/414] sched: Use the proper LOCK_OFFSET for cond_resched() +Subject: [PATCH 220/418] sched: Use the proper LOCK_OFFSET for cond_resched() RT does not increment preempt count when a 'sleeping' spinlock is locked. Update PREEMPT_LOCK_OFFSET for that case. @@ -28,5 +28,5 @@ index 8681df8e1632..2d5d002e06c2 100644 /* * The preempt_count offset needed for things like: -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0222-0222-sched-Disable-TTWU_QUEUE-on-RT.patch b/kernel/patches-4.14.x-rt/0221-sched-Disable-TTWU_QUEUE-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0222-0222-sched-Disable-TTWU_QUEUE-on-RT.patch rename to kernel/patches-4.14.x-rt/0221-sched-Disable-TTWU_QUEUE-on-RT.patch index 9b05ee58c..966e184fb 100644 --- a/kernel/patches-4.14.x-rt/0222-0222-sched-Disable-TTWU_QUEUE-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0221-sched-Disable-TTWU_QUEUE-on-RT.patch @@ -1,7 +1,7 @@ -From d2aae5ec378ecc6070ab0db04566a63ad031e1d0 Mon Sep 17 00:00:00 2001 +From 7e65b37f070f8f74f117191faa3bb05c2a7a8ba0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 13 Sep 2011 16:42:35 +0200 -Subject: [PATCH 222/414] sched: Disable TTWU_QUEUE on RT +Subject: [PATCH 221/418] sched: Disable TTWU_QUEUE on RT The queued remote wakeup mechanism can introduce rather large latencies if the number of migrated tasks is high. Disable it for RT. @@ -33,5 +33,5 @@ index 9552fd5854bf..c675ee1694f5 100644 /* * When doing wakeups, attempt to limit superfluous scans of the LLC domain. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0223-0223-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch b/kernel/patches-4.14.x-rt/0222-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0223-0223-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch rename to kernel/patches-4.14.x-rt/0222-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch index 516907d43..c9ee8d6b5 100644 --- a/kernel/patches-4.14.x-rt/0223-0223-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0222-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch @@ -1,7 +1,7 @@ -From 69ae9ab5b94c0a2181861962987a9a5a45efcfec Mon Sep 17 00:00:00 2001 +From 33f3137bc0cf456ea8f4cd5aa0835433b60affd4 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:03:52 +0200 -Subject: [PATCH 223/414] sched: Disable CONFIG_RT_GROUP_SCHED on RT +Subject: [PATCH 222/418] sched: Disable CONFIG_RT_GROUP_SCHED on RT Carsten reported problems when running: @@ -30,5 +30,5 @@ index bec5b4b82585..a7aff2c1a203 100644 help This feature lets you explicitly allocate real CPU bandwidth -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0224-0224-sched-ttwu-Return-success-when-only-changing-the-sav.patch b/kernel/patches-4.14.x-rt/0223-sched-ttwu-Return-success-when-only-changing-the-sav.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0224-0224-sched-ttwu-Return-success-when-only-changing-the-sav.patch rename to kernel/patches-4.14.x-rt/0223-sched-ttwu-Return-success-when-only-changing-the-sav.patch index 3af7945cd..466aced5e 100644 --- a/kernel/patches-4.14.x-rt/0224-0224-sched-ttwu-Return-success-when-only-changing-the-sav.patch +++ b/kernel/patches-4.14.x-rt/0223-sched-ttwu-Return-success-when-only-changing-the-sav.patch @@ -1,7 +1,7 @@ -From 3ceba7043aeaa71e2f8da57bee327169e0be06b5 Mon Sep 17 00:00:00 2001 +From 0bc7b41c9d6adcc1aa2a03d7b705557e85155153 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 13 Dec 2011 21:42:19 +0100 -Subject: [PATCH 224/414] sched: ttwu: Return success when only changing the +Subject: [PATCH 223/418] sched: ttwu: Return success when only changing the saved_state value When a task blocks on a rt lock, it saves the current state in @@ -20,7 +20,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 26d66cceef6f..969449a43683 100644 +index d70cdb20c79c..ed766d02f101 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2023,8 +2023,10 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) @@ -36,5 +36,5 @@ index 26d66cceef6f..969449a43683 100644 goto out; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0225-0225-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch b/kernel/patches-4.14.x-rt/0224-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0225-0225-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch rename to kernel/patches-4.14.x-rt/0224-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch index f4efce822..b250b9e2d 100644 --- a/kernel/patches-4.14.x-rt/0225-0225-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch +++ b/kernel/patches-4.14.x-rt/0224-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch @@ -1,7 +1,7 @@ -From 5d82663728656b099762e6ffc371be81b4b7279c Mon Sep 17 00:00:00 2001 +From 224cc9eed1b56e15c91a8125c613017aa5095498 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Mon, 18 Mar 2013 15:12:49 -0400 -Subject: [PATCH 225/414] sched/workqueue: Only wake up idle workers if not +Subject: [PATCH 224/418] sched/workqueue: Only wake up idle workers if not blocked on sleeping spin lock In -rt, most spin_locks() turn into mutexes. One of these spin_lock @@ -24,7 +24,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 969449a43683..4d8a67a6d828 100644 +index ed766d02f101..e29e68bd711c 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3388,8 +3388,10 @@ static void __sched notrace __schedule(bool preempt) @@ -40,5 +40,5 @@ index 969449a43683..4d8a67a6d828 100644 to_wakeup = wq_worker_sleeping(prev); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0226-0226-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch b/kernel/patches-4.14.x-rt/0225-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0226-0226-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch rename to kernel/patches-4.14.x-rt/0225-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch index 42e171620..3aaa588ca 100644 --- a/kernel/patches-4.14.x-rt/0226-0226-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch +++ b/kernel/patches-4.14.x-rt/0225-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch @@ -1,7 +1,7 @@ -From 6bec424045f5ae9722908de06617a5e25758af66 Mon Sep 17 00:00:00 2001 +From 59342eb8fa02356d81e831f53def8fc64a04bd55 Mon Sep 17 00:00:00 2001 From: Daniel Bristot de Oliveira Date: Mon, 26 Jun 2017 17:07:15 +0200 -Subject: [PATCH 226/414] rt: Increase/decrease the nr of migratory tasks when +Subject: [PATCH 225/418] rt: Increase/decrease the nr of migratory tasks when enabling/disabling migration There is a problem in the migrate_disable()/enable() implementation @@ -81,10 +81,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 4d8a67a6d828..9841a7381457 100644 +index e29e68bd711c..b0e02473f81a 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6851,6 +6851,47 @@ const u32 sched_prio_to_wmult[40] = { +@@ -6836,6 +6836,47 @@ const u32 sched_prio_to_wmult[40] = { #if defined(CONFIG_PREEMPT_COUNT) && defined(CONFIG_SMP) @@ -132,7 +132,7 @@ index 4d8a67a6d828..9841a7381457 100644 void migrate_disable(void) { struct task_struct *p = current; -@@ -6874,10 +6915,9 @@ void migrate_disable(void) +@@ -6859,10 +6900,9 @@ void migrate_disable(void) } preempt_disable(); @@ -145,7 +145,7 @@ index 4d8a67a6d828..9841a7381457 100644 preempt_enable(); } -@@ -6909,9 +6949,8 @@ void migrate_enable(void) +@@ -6894,9 +6934,8 @@ void migrate_enable(void) preempt_disable(); @@ -157,5 +157,5 @@ index 4d8a67a6d828..9841a7381457 100644 if (p->migrate_disable_update) { struct rq *rq; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0227-0227-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch b/kernel/patches-4.14.x-rt/0226-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch similarity index 79% rename from kernel/patches-4.14.x-rt/0227-0227-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch rename to kernel/patches-4.14.x-rt/0226-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch index c071428e0..6c11c39bc 100644 --- a/kernel/patches-4.14.x-rt/0227-0227-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch +++ b/kernel/patches-4.14.x-rt/0226-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch @@ -1,7 +1,7 @@ -From e031de049951f540b2d6bed2f66a23cf5c77bfe2 Mon Sep 17 00:00:00 2001 +From a1f98524bfba85705ce29ec3f9f6fa647892fa5d Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:27 -0500 -Subject: [PATCH 227/414] stop_machine: convert stop_machine_run() to +Subject: [PATCH 226/418] stop_machine: convert stop_machine_run() to PREEMPT_RT Instead of playing with non-preemption, introduce explicit @@ -16,10 +16,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 10 insertions(+) diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c -index b7591261652d..b9f350bdf9a4 100644 +index 64c0291b579c..d9533f35f355 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c -@@ -475,6 +475,16 @@ static void cpu_stopper_thread(unsigned int cpu) +@@ -484,6 +484,16 @@ static void cpu_stopper_thread(unsigned int cpu) struct cpu_stop_done *done = work->done; int ret; @@ -37,5 +37,5 @@ index b7591261652d..b9f350bdf9a4 100644 preempt_count_inc(); ret = fn(arg); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0228-0228-stop_machine-Use-raw-spinlocks.patch b/kernel/patches-4.14.x-rt/0227-stop_machine-Use-raw-spinlocks.patch similarity index 76% rename from kernel/patches-4.14.x-rt/0228-0228-stop_machine-Use-raw-spinlocks.patch rename to kernel/patches-4.14.x-rt/0227-stop_machine-Use-raw-spinlocks.patch index d7a05bf3f..463cd7ee5 100644 --- a/kernel/patches-4.14.x-rt/0228-0228-stop_machine-Use-raw-spinlocks.patch +++ b/kernel/patches-4.14.x-rt/0227-stop_machine-Use-raw-spinlocks.patch @@ -1,7 +1,7 @@ -From 2d07cf283b622ca6b92b71e756042399fbf0c52a Mon Sep 17 00:00:00 2001 +From f90b9ece8c81942fa3c2ba2f4aacad12904ac2ab Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 11:01:51 +0200 -Subject: [PATCH 228/414] stop_machine: Use raw spinlocks +Subject: [PATCH 227/418] stop_machine: Use raw spinlocks Use raw-locks in stomp_machine() to allow locking in irq-off regions. @@ -11,10 +11,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c -index b9f350bdf9a4..2aa4ce60811c 100644 +index d9533f35f355..ee2a1a26ffdd 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c -@@ -36,7 +36,7 @@ struct cpu_stop_done { +@@ -37,7 +37,7 @@ struct cpu_stop_done { struct cpu_stopper { struct task_struct *thread; @@ -23,7 +23,7 @@ index b9f350bdf9a4..2aa4ce60811c 100644 bool enabled; /* is this stopper enabled? */ struct list_head works; /* list of pending works */ -@@ -78,14 +78,14 @@ static bool cpu_stop_queue_work(unsigned int cpu, struct cpu_stop_work *work) +@@ -81,13 +81,13 @@ static bool cpu_stop_queue_work(unsigned int cpu, struct cpu_stop_work *work) unsigned long flags; bool enabled; @@ -31,17 +31,16 @@ index b9f350bdf9a4..2aa4ce60811c 100644 + raw_spin_lock_irqsave(&stopper->lock, flags); enabled = stopper->enabled; if (enabled) - __cpu_stop_queue_work(stopper, work); + __cpu_stop_queue_work(stopper, work, &wakeq); else if (work->done) cpu_stop_signal_done(work->done); - spin_unlock_irqrestore(&stopper->lock, flags); - + raw_spin_unlock_irqrestore(&stopper->lock, flags); - return enabled; - } -@@ -231,8 +231,8 @@ static int cpu_stop_queue_two_works(int cpu1, struct cpu_stop_work *work1, - struct cpu_stopper *stopper2 = per_cpu_ptr(&cpu_stopper, cpu2); + wake_up_q(&wakeq); + +@@ -237,8 +237,8 @@ static int cpu_stop_queue_two_works(int cpu1, struct cpu_stop_work *work1, + DEFINE_WAKE_Q(wakeq); int err; retry: - spin_lock_irq(&stopper1->lock); @@ -51,9 +50,9 @@ index b9f350bdf9a4..2aa4ce60811c 100644 err = -ENOENT; if (!stopper1->enabled || !stopper2->enabled) -@@ -255,8 +255,8 @@ static int cpu_stop_queue_two_works(int cpu1, struct cpu_stop_work *work1, - __cpu_stop_queue_work(stopper1, work1); - __cpu_stop_queue_work(stopper2, work2); +@@ -261,8 +261,8 @@ static int cpu_stop_queue_two_works(int cpu1, struct cpu_stop_work *work1, + __cpu_stop_queue_work(stopper1, work1, &wakeq); + __cpu_stop_queue_work(stopper2, work2, &wakeq); unlock: - spin_unlock(&stopper2->lock); - spin_unlock_irq(&stopper1->lock); @@ -62,7 +61,7 @@ index b9f350bdf9a4..2aa4ce60811c 100644 if (unlikely(err == -EDEADLK)) { while (stop_cpus_in_progress) -@@ -448,9 +448,9 @@ static int cpu_stop_should_run(unsigned int cpu) +@@ -457,9 +457,9 @@ static int cpu_stop_should_run(unsigned int cpu) unsigned long flags; int run; @@ -74,7 +73,7 @@ index b9f350bdf9a4..2aa4ce60811c 100644 return run; } -@@ -461,13 +461,13 @@ static void cpu_stopper_thread(unsigned int cpu) +@@ -470,13 +470,13 @@ static void cpu_stopper_thread(unsigned int cpu) repeat: work = NULL; @@ -90,7 +89,7 @@ index b9f350bdf9a4..2aa4ce60811c 100644 if (work) { cpu_stop_fn_t fn = work->fn; -@@ -475,15 +475,7 @@ static void cpu_stopper_thread(unsigned int cpu) +@@ -484,15 +484,7 @@ static void cpu_stopper_thread(unsigned int cpu) struct cpu_stop_done *done = work->done; int ret; @@ -107,7 +106,7 @@ index b9f350bdf9a4..2aa4ce60811c 100644 /* cpu stop callbacks must not sleep, make in_atomic() == T */ preempt_count_inc(); -@@ -551,7 +543,7 @@ static int __init cpu_stop_init(void) +@@ -560,7 +552,7 @@ static int __init cpu_stop_init(void) for_each_possible_cpu(cpu) { struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); @@ -117,5 +116,5 @@ index b9f350bdf9a4..2aa4ce60811c 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0229-0229-hotplug-Lightweight-get-online-cpus.patch b/kernel/patches-4.14.x-rt/0228-hotplug-Lightweight-get-online-cpus.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0229-0229-hotplug-Lightweight-get-online-cpus.patch rename to kernel/patches-4.14.x-rt/0228-hotplug-Lightweight-get-online-cpus.patch index 64615cad3..7c4b81cda 100644 --- a/kernel/patches-4.14.x-rt/0229-0229-hotplug-Lightweight-get-online-cpus.patch +++ b/kernel/patches-4.14.x-rt/0228-hotplug-Lightweight-get-online-cpus.patch @@ -1,7 +1,7 @@ -From 40b285c9982d7bf568f0e41597de2826bcfa2d71 Mon Sep 17 00:00:00 2001 +From e444d3a4bb3b4685417e56f8a9c233ae1ed2f6be Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 15 Jun 2011 12:36:06 +0200 -Subject: [PATCH 229/414] hotplug: Lightweight get online cpus +Subject: [PATCH 228/418] hotplug: Lightweight get online cpus get_online_cpus() is a heavy weight function which involves a global mutex. migrate_disable() wants a simpler construct which prevents only @@ -19,10 +19,10 @@ Signed-off-by: Thomas Gleixner 3 files changed, 24 insertions(+) diff --git a/include/linux/cpu.h b/include/linux/cpu.h -index c816e6f2730c..b43db346dfe4 100644 +index 9546bf2fe310..74fcf89801f0 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h -@@ -116,6 +116,8 @@ extern void cpu_hotplug_disable(void); +@@ -118,6 +118,8 @@ extern void cpu_hotplug_disable(void); extern void cpu_hotplug_enable(void); void clear_tasks_mm_cpumask(int cpu); int cpu_down(unsigned int cpu); @@ -31,7 +31,7 @@ index c816e6f2730c..b43db346dfe4 100644 #else /* CONFIG_HOTPLUG_CPU */ -@@ -126,6 +128,9 @@ static inline void cpus_read_unlock(void) { } +@@ -128,6 +130,9 @@ static inline void cpus_read_unlock(void) { } static inline void lockdep_assert_cpus_held(void) { } static inline void cpu_hotplug_disable(void) { } static inline void cpu_hotplug_enable(void) { } @@ -68,10 +68,10 @@ index f21bfa3172d8..aa9b1702e115 100644 void cpus_read_lock(void) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 9841a7381457..b07d65aca09e 100644 +index b0e02473f81a..bfe7a3bedc3d 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6915,6 +6915,7 @@ void migrate_disable(void) +@@ -6900,6 +6900,7 @@ void migrate_disable(void) } preempt_disable(); @@ -79,7 +79,7 @@ index 9841a7381457..b07d65aca09e 100644 migrate_disable_update_cpus_allowed(p); p->migrate_disable = 1; -@@ -6980,12 +6981,15 @@ void migrate_enable(void) +@@ -6965,12 +6966,15 @@ void migrate_enable(void) arg.task = p; arg.dest_cpu = dest_cpu; @@ -96,5 +96,5 @@ index 9841a7381457..b07d65aca09e 100644 } EXPORT_SYMBOL(migrate_enable); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0230-0230-trace-Add-migrate-disabled-counter-to-tracing-output.patch b/kernel/patches-4.14.x-rt/0229-trace-Add-migrate-disabled-counter-to-tracing-output.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0230-0230-trace-Add-migrate-disabled-counter-to-tracing-output.patch rename to kernel/patches-4.14.x-rt/0229-trace-Add-migrate-disabled-counter-to-tracing-output.patch index 1facbfc32..98ee1f25a 100644 --- a/kernel/patches-4.14.x-rt/0230-0230-trace-Add-migrate-disabled-counter-to-tracing-output.patch +++ b/kernel/patches-4.14.x-rt/0229-trace-Add-migrate-disabled-counter-to-tracing-output.patch @@ -1,7 +1,7 @@ -From 5d8962ddabfd1dc4f1df9651e9e8932d36b5f1ef Mon Sep 17 00:00:00 2001 +From d32dbcf2747def220cf6cf3908f116feabd3f78a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:56:42 +0200 -Subject: [PATCH 230/414] trace: Add migrate-disabled counter to tracing output +Subject: [PATCH 229/418] trace: Add migrate-disabled counter to tracing output Signed-off-by: Thomas Gleixner --- @@ -25,7 +25,7 @@ index aefc80f2909b..ffd595ab5008 100644 #define TRACE_EVENT_TYPE_MAX \ diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 7f779b99501b..5796c41319c8 100644 +index f97a20ee462d..7e01f6793ca0 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2141,6 +2141,8 @@ tracing_generic_entry_update(struct trace_entry *entry, unsigned long flags, @@ -81,5 +81,5 @@ index c738e764e2a5..2bccb364a483 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0231-0231-lockdep-Make-it-RT-aware.patch b/kernel/patches-4.14.x-rt/0230-lockdep-Make-it-RT-aware.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0231-0231-lockdep-Make-it-RT-aware.patch rename to kernel/patches-4.14.x-rt/0230-lockdep-Make-it-RT-aware.patch index 7b3aaa7dc..5cb70c857 100644 --- a/kernel/patches-4.14.x-rt/0231-0231-lockdep-Make-it-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0230-lockdep-Make-it-RT-aware.patch @@ -1,7 +1,7 @@ -From 833c294e7ae0392ab6c54a670ed0b167d8bfad35 Mon Sep 17 00:00:00 2001 +From 15e37d709079f47b9e181bdc9bf92f13d79b0a4e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 18:51:23 +0200 -Subject: [PATCH 231/414] lockdep: Make it RT aware +Subject: [PATCH 230/418] lockdep: Make it RT aware teach lockdep that we don't really do softirqs on -RT. @@ -78,5 +78,5 @@ index 2f0f5720b123..aad05e4b228c 100644 if (!debug_locks) print_irqtrace_events(current); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0232-0232-lockdep-disable-self-test.patch b/kernel/patches-4.14.x-rt/0231-lockdep-disable-self-test.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0232-0232-lockdep-disable-self-test.patch rename to kernel/patches-4.14.x-rt/0231-lockdep-disable-self-test.patch index 87e5a471f..0986d4eb1 100644 --- a/kernel/patches-4.14.x-rt/0232-0232-lockdep-disable-self-test.patch +++ b/kernel/patches-4.14.x-rt/0231-lockdep-disable-self-test.patch @@ -1,7 +1,7 @@ -From 16b14829c1c41fca4fb8cbc064b8f4642dbb4eb6 Mon Sep 17 00:00:00 2001 +From 780b622ad972dbbfbc70fcbe9d98f1a7562d7c1f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 17 Oct 2017 16:36:18 +0200 -Subject: [PATCH 232/414] lockdep: disable self-test +Subject: [PATCH 231/418] lockdep: disable self-test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -30,5 +30,5 @@ index 62d0e25c054c..401b7ed164b5 100644 Say Y here if you want the kernel to run a short self-test during bootup. The self-test checks whether common types of locking bugs -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0233-0233-locking-Disable-spin-on-owner-for-RT.patch b/kernel/patches-4.14.x-rt/0232-locking-Disable-spin-on-owner-for-RT.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0233-0233-locking-Disable-spin-on-owner-for-RT.patch rename to kernel/patches-4.14.x-rt/0232-locking-Disable-spin-on-owner-for-RT.patch index c550c1f73..009905262 100644 --- a/kernel/patches-4.14.x-rt/0233-0233-locking-Disable-spin-on-owner-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0232-locking-Disable-spin-on-owner-for-RT.patch @@ -1,7 +1,7 @@ -From 090452d24009e941bd11c085654f61af6ac65ad7 Mon Sep 17 00:00:00 2001 +From 5c135c05e0dd04754e596fc2e40abe415e84912e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:51:45 +0200 -Subject: [PATCH 233/414] locking: Disable spin on owner for RT +Subject: [PATCH 232/418] locking: Disable spin on owner for RT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -33,5 +33,5 @@ index 84d882f3e299..af27c4000812 100644 config LOCK_SPIN_ON_OWNER def_bool y -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0234-0234-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch b/kernel/patches-4.14.x-rt/0233-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0234-0234-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch rename to kernel/patches-4.14.x-rt/0233-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch index 72052b3e9..48d6b8963 100644 --- a/kernel/patches-4.14.x-rt/0234-0234-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch +++ b/kernel/patches-4.14.x-rt/0233-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch @@ -1,7 +1,7 @@ -From 03101c099d85bf5bbd1230163c6846169a42b341 Mon Sep 17 00:00:00 2001 +From 7a91af2c4c1f1d4160fb6e3ee90dcbebdf408419 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 29 Nov 2011 20:18:22 -0500 -Subject: [PATCH 234/414] tasklet: Prevent tasklets from going into infinite +Subject: [PATCH 233/418] tasklet: Prevent tasklets from going into infinite spin in RT When CONFIG_PREEMPT_RT_FULL is enabled, tasklets run as threads, @@ -378,5 +378,5 @@ index 0f84f2a8f564..6602a9ef492b 100644 { return local_softirq_pending(); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0235-0235-softirq-Check-preemption-after-reenabling-interrupts.patch b/kernel/patches-4.14.x-rt/0234-softirq-Check-preemption-after-reenabling-interrupts.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0235-0235-softirq-Check-preemption-after-reenabling-interrupts.patch rename to kernel/patches-4.14.x-rt/0234-softirq-Check-preemption-after-reenabling-interrupts.patch index bc8be234a..404518516 100644 --- a/kernel/patches-4.14.x-rt/0235-0235-softirq-Check-preemption-after-reenabling-interrupts.patch +++ b/kernel/patches-4.14.x-rt/0234-softirq-Check-preemption-after-reenabling-interrupts.patch @@ -1,7 +1,7 @@ -From ec2a3f91df7f12d53bb5566935914f48df81eb39 Mon Sep 17 00:00:00 2001 +From 678c073a3e770dc9e84e42f5d0591f2d2718c8ef Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 13 Nov 2011 17:17:09 +0100 -Subject: [PATCH 235/414] softirq: Check preemption after reenabling interrupts +Subject: [PATCH 234/418] softirq: Check preemption after reenabling interrupts raise_softirq_irqoff() disables interrupts and wakes the softirq daemon, but after reenabling interrupts there is no preemption check, @@ -116,7 +116,7 @@ index 86a709954f5a..9c069ef83d6d 100644 return 0; } diff --git a/net/core/dev.c b/net/core/dev.c -index e7d56c5adde6..e754b055b3c9 100644 +index 6ca771f2f25b..95d74948164f 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2438,6 +2438,7 @@ static void __netif_reschedule(struct Qdisc *q) @@ -175,5 +175,5 @@ index e7d56c5adde6..e754b055b3c9 100644 #ifdef CONFIG_RPS remsd = oldsd->rps_ipi_list; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0236-0236-softirq-Disable-softirq-stacks-for-RT.patch b/kernel/patches-4.14.x-rt/0235-softirq-Disable-softirq-stacks-for-RT.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0236-0236-softirq-Disable-softirq-stacks-for-RT.patch rename to kernel/patches-4.14.x-rt/0235-softirq-Disable-softirq-stacks-for-RT.patch index 7124db833..db473063a 100644 --- a/kernel/patches-4.14.x-rt/0236-0236-softirq-Disable-softirq-stacks-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0235-softirq-Disable-softirq-stacks-for-RT.patch @@ -1,7 +1,7 @@ -From 94e6b2d0a8330955ac71355f7e0dd73824fb7f4f Mon Sep 17 00:00:00 2001 +From bd227c422f8cc51454628ceca8741418cd106027 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 13:59:17 +0200 -Subject: [PATCH 236/414] softirq: Disable softirq stacks for RT +Subject: [PATCH 235/418] softirq: Disable softirq stacks for RT Disable extra stacks for softirqs. We want to preempt softirqs and having them on special IRQ-stack does not make this easier. @@ -172,5 +172,5 @@ index e53ff6a143e0..c77f7a9ba836 100644 #else static inline void do_softirq_own_stack(void) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0237-0237-softirq-Split-softirq-locks.patch b/kernel/patches-4.14.x-rt/0236-softirq-Split-softirq-locks.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0237-0237-softirq-Split-softirq-locks.patch rename to kernel/patches-4.14.x-rt/0236-softirq-Split-softirq-locks.patch index 19ee47a23..7e3988373 100644 --- a/kernel/patches-4.14.x-rt/0237-0237-softirq-Split-softirq-locks.patch +++ b/kernel/patches-4.14.x-rt/0236-softirq-Split-softirq-locks.patch @@ -1,7 +1,7 @@ -From 61ec464cb0c89b8b7fd37b287cc8defdd8c06bc1 Mon Sep 17 00:00:00 2001 +From a9f5e0691e2966e0ad2c93496f5b76b5cfd2c9a0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 4 Oct 2012 14:20:47 +0100 -Subject: [PATCH 237/414] softirq: Split softirq locks +Subject: [PATCH 236/418] softirq: Split softirq locks The 3.x RT series removed the split softirq implementation in favour of pushing softirq processing into the context of the thread which @@ -178,10 +178,10 @@ index a3b19af35e3d..2983043d2194 100644 #define in_task() (!(preempt_count() & \ (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_OFFSET))) diff --git a/include/linux/sched.h b/include/linux/sched.h -index d4c8b0e373e2..2c14998b3aee 100644 +index 209e71d83687..b82a53ca6ce4 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -1096,6 +1096,8 @@ struct task_struct { +@@ -1136,6 +1136,8 @@ struct task_struct { #endif #ifdef CONFIG_PREEMPT_RT_BASE struct rcu_head put_rcu; @@ -190,7 +190,7 @@ index d4c8b0e373e2..2c14998b3aee 100644 #endif #ifdef CONFIG_DEBUG_ATOMIC_SLEEP unsigned long task_state_change; -@@ -1313,6 +1315,7 @@ extern struct pid *cad_pid; +@@ -1353,6 +1355,7 @@ extern struct pid *cad_pid; /* * Per process flags */ @@ -199,7 +199,7 @@ index d4c8b0e373e2..2c14998b3aee 100644 #define PF_EXITING 0x00000004 /* Getting shut down */ #define PF_EXITPIDONE 0x00000008 /* PI exit done on shut down */ diff --git a/init/main.c b/init/main.c -index 2d355a61dfc5..2e39c7c35d32 100644 +index 0d88f37febcb..c34e0c4a59b5 100644 --- a/init/main.c +++ b/init/main.c @@ -543,6 +543,7 @@ asmlinkage __visible void __init start_kernel(void) @@ -830,7 +830,7 @@ index 145dc49881e6..0ba600553004 100644 } diff --git a/net/core/dev.c b/net/core/dev.c -index e754b055b3c9..ab2b55dcd05f 100644 +index 95d74948164f..a67f99b8370f 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4088,11 +4088,9 @@ int netif_rx_ni(struct sk_buff *skb) @@ -848,5 +848,5 @@ index e754b055b3c9..ab2b55dcd05f 100644 return err; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0238-0238-kernel-softirq-unlock-with-irqs-on.patch b/kernel/patches-4.14.x-rt/0237-kernel-softirq-unlock-with-irqs-on.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0238-0238-kernel-softirq-unlock-with-irqs-on.patch rename to kernel/patches-4.14.x-rt/0237-kernel-softirq-unlock-with-irqs-on.patch index 6d043cc14..b140f4d27 100644 --- a/kernel/patches-4.14.x-rt/0238-0238-kernel-softirq-unlock-with-irqs-on.patch +++ b/kernel/patches-4.14.x-rt/0237-kernel-softirq-unlock-with-irqs-on.patch @@ -1,7 +1,7 @@ -From 9f5145c7113749cc467d45975ea5909c6fd00b07 Mon Sep 17 00:00:00 2001 +From d67a416c75d29c8be86f0c84a3c211efec952d90 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 9 Feb 2016 18:17:18 +0100 -Subject: [PATCH 238/414] kernel: softirq: unlock with irqs on +Subject: [PATCH 237/418] kernel: softirq: unlock with irqs on We unlock the lock while the interrupts are off. This isn't a problem now but will get because the migrate_disable() + enable are not @@ -29,5 +29,5 @@ index c737ad6df54b..bd4be3911b4a 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0239-0239-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch b/kernel/patches-4.14.x-rt/0238-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0239-0239-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch rename to kernel/patches-4.14.x-rt/0238-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch index 24368fa0e..6d1898fb8 100644 --- a/kernel/patches-4.14.x-rt/0239-0239-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch +++ b/kernel/patches-4.14.x-rt/0238-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch @@ -1,7 +1,7 @@ -From 0f151e9dfc43f5ef9f2e406b2505da0f447cfb08 Mon Sep 17 00:00:00 2001 +From ea44f9a58ae05259c23b2fe9e803bbb6828b3ea2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 31 Jan 2012 13:01:27 +0100 -Subject: [PATCH 239/414] genirq: Allow disabling of softirq processing in irq +Subject: [PATCH 238/418] genirq: Allow disabling of softirq processing in irq thread context The processing of softirqs in irq thread context is a performance gain @@ -156,5 +156,5 @@ index bd4be3911b4a..5798ff8f6a40 100644 { return current->flags & PF_IN_SOFTIRQ; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0240-0240-softirq-split-timer-softirqs-out-of-ksoftirqd.patch b/kernel/patches-4.14.x-rt/0239-softirq-split-timer-softirqs-out-of-ksoftirqd.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0240-0240-softirq-split-timer-softirqs-out-of-ksoftirqd.patch rename to kernel/patches-4.14.x-rt/0239-softirq-split-timer-softirqs-out-of-ksoftirqd.patch index 195eeb2e4..1191963be 100644 --- a/kernel/patches-4.14.x-rt/0240-0240-softirq-split-timer-softirqs-out-of-ksoftirqd.patch +++ b/kernel/patches-4.14.x-rt/0239-softirq-split-timer-softirqs-out-of-ksoftirqd.patch @@ -1,7 +1,7 @@ -From d3c9f741dae979977c7baf9cd9048e401d9b814b Mon Sep 17 00:00:00 2001 +From 0a60c2fb6770494435fcc68c1ba91757d09f47d1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 20 Jan 2016 16:34:17 +0100 -Subject: [PATCH 240/414] softirq: split timer softirqs out of ksoftirqd +Subject: [PATCH 239/418] softirq: split timer softirqs out of ksoftirqd 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 @@ -210,5 +210,5 @@ index 5798ff8f6a40..263d17b33f50 100644 } early_initcall(spawn_ksoftirqd); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0241-0241-softirq-wake-the-timer-softirq-if-needed.patch b/kernel/patches-4.14.x-rt/0240-softirq-wake-the-timer-softirq-if-needed.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0241-0241-softirq-wake-the-timer-softirq-if-needed.patch rename to kernel/patches-4.14.x-rt/0240-softirq-wake-the-timer-softirq-if-needed.patch index 11ba17ef3..944c9b93a 100644 --- a/kernel/patches-4.14.x-rt/0241-0241-softirq-wake-the-timer-softirq-if-needed.patch +++ b/kernel/patches-4.14.x-rt/0240-softirq-wake-the-timer-softirq-if-needed.patch @@ -1,7 +1,7 @@ -From 0c3cd413c5efea18efbd4269700c4e2d68631844 Mon Sep 17 00:00:00 2001 +From 38d93fddc94e6923a312276f267f173c32b19f53 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Fri, 20 Jan 2017 18:10:20 +0100 -Subject: [PATCH 241/414] softirq: wake the timer softirq if needed +Subject: [PATCH 240/418] softirq: wake the timer softirq if needed The irq-exit path only checks the "normal"-softirq thread if it is running and ignores the state of the "timer"-softirq thread. It is possible @@ -81,5 +81,5 @@ index 263d17b33f50..69a45729907a 100644 local_irq_save(flags); if (__this_cpu_read(ksoftirqd) && -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0242-0242-rtmutex-trylock-is-okay-on-RT.patch b/kernel/patches-4.14.x-rt/0241-rtmutex-trylock-is-okay-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0242-0242-rtmutex-trylock-is-okay-on-RT.patch rename to kernel/patches-4.14.x-rt/0241-rtmutex-trylock-is-okay-on-RT.patch index a57d90049..d30e879f2 100644 --- a/kernel/patches-4.14.x-rt/0242-0242-rtmutex-trylock-is-okay-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0241-rtmutex-trylock-is-okay-on-RT.patch @@ -1,7 +1,7 @@ -From c38533d2b8df1f4db5b2506da28472c4df83c5fd Mon Sep 17 00:00:00 2001 +From e1cbe897ed1dd99b01faf58dc9befa68daf9f672 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 2 Dec 2015 11:34:07 +0100 -Subject: [PATCH 242/414] rtmutex: trylock is okay on -RT +Subject: [PATCH 241/418] rtmutex: trylock is okay on -RT 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 @@ -29,5 +29,5 @@ index fe7f97edc94e..6f3177a6b8e3 100644 ret = rt_mutex_fasttrylock(lock, rt_mutex_slowtrylock); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0243-0243-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch b/kernel/patches-4.14.x-rt/0242-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0243-0243-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch rename to kernel/patches-4.14.x-rt/0242-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch index 6f186f30e..9ecfb8744 100644 --- a/kernel/patches-4.14.x-rt/0243-0243-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch +++ b/kernel/patches-4.14.x-rt/0242-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch @@ -1,7 +1,7 @@ -From 53e59c1ee868cc6c235438f068d21b04322b90b0 Mon Sep 17 00:00:00 2001 +From 2ab3b1d3828aed39e97cdb4a1cdd6d368873c1a9 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 15 Sep 2016 10:51:27 +0200 -Subject: [PATCH 243/414] fs/nfs: turn rmdir_sem into a semaphore +Subject: [PATCH 242/418] fs/nfs: turn rmdir_sem into a semaphore 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 @@ -146,5 +146,5 @@ index f0015f801a78..c38288622819 100644 #if IS_ENABLED(CONFIG_NFS_V4) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0244-0244-rtmutex-Handle-the-various-new-futex-race-conditions.patch b/kernel/patches-4.14.x-rt/0243-rtmutex-Handle-the-various-new-futex-race-conditions.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0244-0244-rtmutex-Handle-the-various-new-futex-race-conditions.patch rename to kernel/patches-4.14.x-rt/0243-rtmutex-Handle-the-various-new-futex-race-conditions.patch index 1436643f5..f570e72cb 100644 --- a/kernel/patches-4.14.x-rt/0244-0244-rtmutex-Handle-the-various-new-futex-race-conditions.patch +++ b/kernel/patches-4.14.x-rt/0243-rtmutex-Handle-the-various-new-futex-race-conditions.patch @@ -1,7 +1,7 @@ -From f98db64e451bcda06a0eaa62a19112af2cbf653c Mon Sep 17 00:00:00 2001 +From 5edd0b8ff185d293b9a5b5e071518571cc94e7ab Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 10 Jun 2011 11:04:15 +0200 -Subject: [PATCH 244/414] rtmutex: Handle the various new futex race conditions +Subject: [PATCH 243/418] rtmutex: Handle the various new futex race conditions RT opens a few new interesting race conditions in the rtmutex/futex combo due to futex hash bucket lock being a 'sleeping' spinlock and @@ -250,5 +250,5 @@ index 68686b3ec3c1..fa218cdff5eb 100644 extern void rt_mutex_init_proxy_locked(struct rt_mutex *lock, struct task_struct *proxy_owner); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0245-0245-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch b/kernel/patches-4.14.x-rt/0244-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0245-0245-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch rename to kernel/patches-4.14.x-rt/0244-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch index a8ffe675d..769516c22 100644 --- a/kernel/patches-4.14.x-rt/0245-0245-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch +++ b/kernel/patches-4.14.x-rt/0244-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch @@ -1,7 +1,7 @@ -From 0a5892ad82d686d7925c9f1b4d50df2727e7c45b Mon Sep 17 00:00:00 2001 +From db79b15f7dc85d03cd3140b4c4d5b998b3b5284a Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 245/414] futex: Fix bug on when a requeued RT task times out +Subject: [PATCH 244/418] futex: Fix bug on when a requeued RT task times out Requeue with timeout causes a bug with PREEMPT_RT_FULL. @@ -117,5 +117,5 @@ index fa218cdff5eb..509df18215f8 100644 extern struct task_struct *rt_mutex_next_owner(struct rt_mutex *lock); extern void rt_mutex_init_proxy_locked(struct rt_mutex *lock, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0246-0246-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch b/kernel/patches-4.14.x-rt/0245-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0246-0246-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch rename to kernel/patches-4.14.x-rt/0245-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch index 93c36dfe7..c7f505a29 100644 --- a/kernel/patches-4.14.x-rt/0246-0246-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch +++ b/kernel/patches-4.14.x-rt/0245-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch @@ -1,7 +1,7 @@ -From 180563060f645c409d22be68c60a4d68e7934e3b Mon Sep 17 00:00:00 2001 +From ba8fa0f99704bb6d3bbbcd484e6dede8776f5031 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 7 Sep 2017 12:38:47 +0200 -Subject: [PATCH 246/414] locking/rtmutex: don't drop the wait_lock twice +Subject: [PATCH 245/418] locking/rtmutex: don't drop the wait_lock twice Since the futex rework, __rt_mutex_start_proxy_lock() does no longer acquire the wait_lock so it must not drop it. Otherwise the lock is not @@ -31,5 +31,5 @@ index ee867d9ebf72..bbb3508d267f 100644 } task->pi_blocked_on = PI_REQUEUE_INPROGRESS; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0247-0247-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch b/kernel/patches-4.14.x-rt/0246-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0247-0247-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch rename to kernel/patches-4.14.x-rt/0246-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch index adf059642..ef5157082 100644 --- a/kernel/patches-4.14.x-rt/0247-0247-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch +++ b/kernel/patches-4.14.x-rt/0246-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch @@ -1,7 +1,7 @@ -From 2ef725837e40f9e133548ad515df592fde640f32 Mon Sep 17 00:00:00 2001 +From a7936b53054db25d76cb8c32f518d5287c4bba99 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 1 Mar 2013 11:17:42 +0100 -Subject: [PATCH 247/414] futex: Ensure lock/unlock symetry versus pi_lock and +Subject: [PATCH 246/418] futex: Ensure lock/unlock symetry versus pi_lock and hash bucket lock In exit_pi_state_list() we have the following locking construct: @@ -45,5 +45,5 @@ index 207e10a1791a..7540d5c425ac 100644 continue; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0248-0248-pid.h-include-atomic.h.patch b/kernel/patches-4.14.x-rt/0247-pid.h-include-atomic.h.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0248-0248-pid.h-include-atomic.h.patch rename to kernel/patches-4.14.x-rt/0247-pid.h-include-atomic.h.patch index 0a10bfd53..6a6883725 100644 --- a/kernel/patches-4.14.x-rt/0248-0248-pid.h-include-atomic.h.patch +++ b/kernel/patches-4.14.x-rt/0247-pid.h-include-atomic.h.patch @@ -1,7 +1,7 @@ -From 21ed5946a6efc1536fc1ec721334e0a37fb48240 Mon Sep 17 00:00:00 2001 +From 09ae7854de666614219dc586ae3086501a5651f3 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Tue, 21 Jul 2015 19:43:56 +0300 -Subject: [PATCH 248/414] pid.h: include atomic.h +Subject: [PATCH 247/418] pid.h: include atomic.h This patch fixes build error: CC kernel/pid_namespace.o @@ -38,5 +38,5 @@ index dfd684ce0787..bc954a99aa70 100644 enum pid_type { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0249-0249-arm-include-definition-for-cpumask_t.patch b/kernel/patches-4.14.x-rt/0248-arm-include-definition-for-cpumask_t.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0249-0249-arm-include-definition-for-cpumask_t.patch rename to kernel/patches-4.14.x-rt/0248-arm-include-definition-for-cpumask_t.patch index d8b11c6a0..02d43c0da 100644 --- a/kernel/patches-4.14.x-rt/0249-0249-arm-include-definition-for-cpumask_t.patch +++ b/kernel/patches-4.14.x-rt/0248-arm-include-definition-for-cpumask_t.patch @@ -1,7 +1,7 @@ -From 65883e07e5c4df5bf94f2dd3fc9cab2746f92382 Mon Sep 17 00:00:00 2001 +From d47e79b159825fda9f0e77f2d45cd3cdb678688f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 22 Dec 2016 17:28:33 +0100 -Subject: [PATCH 249/414] arm: include definition for cpumask_t +Subject: [PATCH 248/418] arm: include definition for cpumask_t This definition gets pulled in by other files. With the (later) split of RCU and spinlock.h it won't compile anymore. @@ -26,5 +26,5 @@ index b6f319606e30..ad377ef73739 100644 struct pt_regs; extern void migrate_irqs(void); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0250-0250-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0249-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0250-0250-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch rename to kernel/patches-4.14.x-rt/0249-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch index 17a3bc0f1..bf423a05a 100644 --- a/kernel/patches-4.14.x-rt/0250-0250-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch +++ b/kernel/patches-4.14.x-rt/0249-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch @@ -1,7 +1,7 @@ -From d11cd9ea277c0472256028afba34.17.4fffa448 Mon Sep 17 00:00:00 2001 +From e626b543d4f4126ea6a645484ddb12558b8fba4b Mon Sep 17 00:00:00 2001 From: "Wolfgang M. Reimer" Date: Tue, 21 Jul 2015 16:20:07 +0200 -Subject: [PATCH 250/414] locking: locktorture: Do NOT include rwlock.h +Subject: [PATCH 249/418] locking: locktorture: Do NOT include rwlock.h directly Including rwlock.h directly will cause kernel builds to fail @@ -29,5 +29,5 @@ index 6dca260eeccf..5d01ac590d4c 100644 #include #include -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0251-0251-rtmutex-Add-rtmutex_lock_killable.patch b/kernel/patches-4.14.x-rt/0250-rtmutex-Add-rtmutex_lock_killable.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0251-0251-rtmutex-Add-rtmutex_lock_killable.patch rename to kernel/patches-4.14.x-rt/0250-rtmutex-Add-rtmutex_lock_killable.patch index d3f41e7bb..f0c6b206c 100644 --- a/kernel/patches-4.14.x-rt/0251-0251-rtmutex-Add-rtmutex_lock_killable.patch +++ b/kernel/patches-4.14.x-rt/0250-rtmutex-Add-rtmutex_lock_killable.patch @@ -1,7 +1,7 @@ -From bcb4b36573bd4e3dd6162891142dd117d2ceb039 Mon Sep 17 00:00:00 2001 +From e4db3478b6391020f01b182736f1d6d7f35661a3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 9 Jun 2011 11:43:52 +0200 -Subject: [PATCH 251/414] rtmutex: Add rtmutex_lock_killable() +Subject: [PATCH 250/418] rtmutex: Add rtmutex_lock_killable() Add "killable" type to rtmutex. We need this since rtmutex are used as "normal" mutexes which do use this type. @@ -55,5 +55,5 @@ index bbb3508d267f..986620b78011 100644 * rt_mutex_timed_lock - lock a rt_mutex interruptible * the timeout structure is provided -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0252-0252-rtmutex-Make-lock_killable-work.patch b/kernel/patches-4.14.x-rt/0251-rtmutex-Make-lock_killable-work.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0252-0252-rtmutex-Make-lock_killable-work.patch rename to kernel/patches-4.14.x-rt/0251-rtmutex-Make-lock_killable-work.patch index cdd604215..d52b9556f 100644 --- a/kernel/patches-4.14.x-rt/0252-0252-rtmutex-Make-lock_killable-work.patch +++ b/kernel/patches-4.14.x-rt/0251-rtmutex-Make-lock_killable-work.patch @@ -1,7 +1,7 @@ -From 2ea4ce949c86cb342aca03c2659fccccd011d06d Mon Sep 17 00:00:00 2001 +From ac0136262b3a1ed4291d771a737a82bf289cc500 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 1 Apr 2017 12:50:59 +0200 -Subject: [PATCH 252/414] rtmutex: Make lock_killable work +Subject: [PATCH 251/418] rtmutex: Make lock_killable work Locking an rt mutex killable does not work because signal handling is restricted to TASK_INTERRUPTIBLE. @@ -46,5 +46,5 @@ index 986620b78011..0ba13b607757 100644 raw_spin_unlock_irq(&lock->wait_lock); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0253-0253-spinlock-Split-the-lock-types-header.patch b/kernel/patches-4.14.x-rt/0252-spinlock-Split-the-lock-types-header.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0253-0253-spinlock-Split-the-lock-types-header.patch rename to kernel/patches-4.14.x-rt/0252-spinlock-Split-the-lock-types-header.patch index c6bdecb0a..789ac83c3 100644 --- a/kernel/patches-4.14.x-rt/0253-0253-spinlock-Split-the-lock-types-header.patch +++ b/kernel/patches-4.14.x-rt/0252-spinlock-Split-the-lock-types-header.patch @@ -1,7 +1,7 @@ -From 68e12bb9c78ec938afa51de6c2d182b7116685e9 Mon Sep 17 00:00:00 2001 +From 58ce730dbe073f9128ff86a7ddd4ea48f47d0027 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 19:34:01 +0200 -Subject: [PATCH 253/414] spinlock: Split the lock types header +Subject: [PATCH 252/418] spinlock: Split the lock types header 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 @@ -222,5 +222,5 @@ index 000000000000..03235b475b77 + +#endif -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0254-0254-rtmutex-Avoid-include-hell.patch b/kernel/patches-4.14.x-rt/0253-rtmutex-Avoid-include-hell.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0254-0254-rtmutex-Avoid-include-hell.patch rename to kernel/patches-4.14.x-rt/0253-rtmutex-Avoid-include-hell.patch index 2c49ec40a..1dd4f318c 100644 --- a/kernel/patches-4.14.x-rt/0254-0254-rtmutex-Avoid-include-hell.patch +++ b/kernel/patches-4.14.x-rt/0253-rtmutex-Avoid-include-hell.patch @@ -1,7 +1,7 @@ -From 5742deafd1a8a7ed456d624f7770ffb1997c2431 Mon Sep 17 00:00:00 2001 +From 5487a9c96a8b0f4ac2b2b39c048b3f76b88d1f33 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 20:06:39 +0200 -Subject: [PATCH 254/414] rtmutex: Avoid include hell +Subject: [PATCH 253/418] rtmutex: Avoid include hell Include only the required raw types. This avoids pulling in the complete spinlock header which in turn requires rtmutex.h at some point. @@ -25,5 +25,5 @@ index 66aa13520b68..0331eb58f95d 100644 extern int max_lock_depth; /* for sysctl */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0255-0255-rbtree-don-t-include-the-rcu-header.patch b/kernel/patches-4.14.x-rt/0254-rbtree-don-t-include-the-rcu-header.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0255-0255-rbtree-don-t-include-the-rcu-header.patch rename to kernel/patches-4.14.x-rt/0254-rbtree-don-t-include-the-rcu-header.patch index c45c1b4f2..cbe79e5ec 100644 --- a/kernel/patches-4.14.x-rt/0255-0255-rbtree-don-t-include-the-rcu-header.patch +++ b/kernel/patches-4.14.x-rt/0254-rbtree-don-t-include-the-rcu-header.patch @@ -1,7 +1,7 @@ -From e312cb73ef5eb3bcf4ad566ea0fae589db735a51 Mon Sep 17 00:00:00 2001 +From 16978247c00fcbe3d6315bc88bef33b8aa5474c0 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 3 May 2018 17:46:31 +0200 -Subject: [PATCH 255/414] rbtree: don't include the rcu header +Subject: [PATCH 254/418] rbtree: don't include the rcu header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -170,5 +170,5 @@ index dbadbdbc8643..a2dc82b3118a 100644 * rcu_swap_protected() - swap an RCU and a regular pointer * @rcu_ptr: RCU pointer -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0256-0256-rtmutex-Provide-rt_mutex_slowlock_locked.patch b/kernel/patches-4.14.x-rt/0255-rtmutex-Provide-rt_mutex_slowlock_locked.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0256-0256-rtmutex-Provide-rt_mutex_slowlock_locked.patch rename to kernel/patches-4.14.x-rt/0255-rtmutex-Provide-rt_mutex_slowlock_locked.patch index 77f312c7e..15dc9931d 100644 --- a/kernel/patches-4.14.x-rt/0256-0256-rtmutex-Provide-rt_mutex_slowlock_locked.patch +++ b/kernel/patches-4.14.x-rt/0255-rtmutex-Provide-rt_mutex_slowlock_locked.patch @@ -1,7 +1,7 @@ -From 08620a678d3dad0c31f3282b40db7ee453baf8dc Mon Sep 17 00:00:00 2001 +From 46b8bcf8b2005eeeeb82b3a318372a97c3d65102 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 16:14:22 +0200 -Subject: [PATCH 256/414] rtmutex: Provide rt_mutex_slowlock_locked() +Subject: [PATCH 255/418] rtmutex: Provide rt_mutex_slowlock_locked() This is the inner-part of rt_mutex_slowlock(), required for rwsem-rt. @@ -135,5 +135,5 @@ index 509df18215f8..3b10fde6fd1f 100644 #ifdef CONFIG_DEBUG_RT_MUTEXES # include "rtmutex-debug.h" -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0257-0257-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch b/kernel/patches-4.14.x-rt/0256-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0257-0257-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch rename to kernel/patches-4.14.x-rt/0256-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch index 1c11a547e..c1dab1398 100644 --- a/kernel/patches-4.14.x-rt/0257-0257-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch +++ b/kernel/patches-4.14.x-rt/0256-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch @@ -1,7 +1,7 @@ -From af54ebbac5dbaa4d45210b2689daebb6c66f636a Mon Sep 17 00:00:00 2001 +From 8adda884bc90e91d8583685496bf23c1e179d9d7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 16:36:39 +0200 -Subject: [PATCH 257/414] rtmutex: export lockdep-less version of rt_mutex's +Subject: [PATCH 256/418] rtmutex: export lockdep-less version of rt_mutex's lock, trylock and unlock Required for lock implementation ontop of rtmutex. @@ -154,5 +154,5 @@ index 3b10fde6fd1f..ff17912f869c 100644 struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0258-0258-rtmutex-add-sleeping-lock-implementation.patch b/kernel/patches-4.14.x-rt/0257-rtmutex-add-sleeping-lock-implementation.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0258-0258-rtmutex-add-sleeping-lock-implementation.patch rename to kernel/patches-4.14.x-rt/0257-rtmutex-add-sleeping-lock-implementation.patch index 82028baa7..be6aacf11 100644 --- a/kernel/patches-4.14.x-rt/0258-0258-rtmutex-add-sleeping-lock-implementation.patch +++ b/kernel/patches-4.14.x-rt/0257-rtmutex-add-sleeping-lock-implementation.patch @@ -1,7 +1,7 @@ -From 874edcc7de0f8ba63e1c51aed9fdb3638560adb2 Mon Sep 17 00:00:00 2001 +From de28bffd0388d9815763cfca2f40b78f54507c54 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:11:19 +0200 -Subject: [PATCH 258/414] rtmutex: add sleeping lock implementation +Subject: [PATCH 257/418] rtmutex: add sleeping lock implementation Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior @@ -102,10 +102,10 @@ index 0331eb58f95d..82ac0e5db005 100644 * rt_mutex_is_locked - is the mutex locked * @lock: the mutex to be queried diff --git a/include/linux/sched.h b/include/linux/sched.h -index 2c14998b3aee..af6f1bb58002 100644 +index b82a53ca6ce4..71af67e42b1a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -123,6 +123,11 @@ struct task_group; +@@ -133,6 +133,11 @@ struct task_group; smp_store_mb(current->state, (state_value)); \ } while (0) @@ -114,20 +114,20 @@ index 2c14998b3aee..af6f1bb58002 100644 +#define set_current_state_no_track(state_value) \ + smp_store_mb(current->state, (state_value)); + - #else - /* - * set_current_state() includes a barrier so that the write of current->state -@@ -160,6 +165,9 @@ struct task_group; - */ - #define __set_current_state(state_value) do { current->state = (state_value); } while (0) - #define set_current_state(state_value) smp_store_mb(current->state, (state_value)) -+ + #define set_special_state(state_value) \ + do { \ + unsigned long flags; /* may shadow */ \ +@@ -186,6 +191,9 @@ struct task_group; + #define set_current_state(state_value) \ + smp_store_mb(current->state, (state_value)) + +#define __set_current_state_no_track(state_value) __set_current_state(state_value) +#define set_current_state_no_track(state_value) set_current_state(state_value) - #endif - - /* Task command name length: */ -@@ -827,6 +835,7 @@ struct task_struct { ++ + /* + * set_special_state() should be used for those states when the blocking task + * can not use the regular condition based wait-loop. In that case we must +@@ -867,6 +875,7 @@ struct task_struct { raw_spinlock_t pi_lock; struct wake_q_node wake_q; @@ -1161,7 +1161,7 @@ index ff17912f869c..2d822a08c87d 100644 #ifdef CONFIG_DEBUG_RT_MUTEXES # include "rtmutex-debug.h" diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index b07d65aca09e..0c759bd68232 100644 +index bfe7a3bedc3d..a331cf124606 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -427,9 +427,15 @@ static bool set_nr_if_polling(struct task_struct *p) @@ -1221,5 +1221,5 @@ index b07d65aca09e..0c759bd68232 100644 } } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0259-0259-rtmutex-add-mutex-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0258-rtmutex-add-mutex-implementation-based-on-rtmutex.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0259-0259-rtmutex-add-mutex-implementation-based-on-rtmutex.patch rename to kernel/patches-4.14.x-rt/0258-rtmutex-add-mutex-implementation-based-on-rtmutex.patch index 36162ab12..47dd8b4b7 100644 --- a/kernel/patches-4.14.x-rt/0259-0259-rtmutex-add-mutex-implementation-based-on-rtmutex.patch +++ b/kernel/patches-4.14.x-rt/0258-rtmutex-add-mutex-implementation-based-on-rtmutex.patch @@ -1,7 +1,7 @@ -From 0f4b1cb696943b0a12dea9fa1a1b6fdc7b77c5f5 Mon Sep 17 00:00:00 2001 +From 988baf91d4f0e3ec2d707aeea3b84fcd3684e37f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:17:03 +0200 -Subject: [PATCH 259/414] rtmutex: add mutex implementation based on rtmutex +Subject: [PATCH 258/418] rtmutex: add mutex implementation based on rtmutex Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior @@ -378,5 +378,5 @@ index 000000000000..4f81595c0f52 +} +EXPORT_SYMBOL(atomic_dec_and_mutex_lock); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0260-0260-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0259-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0260-0260-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch rename to kernel/patches-4.14.x-rt/0259-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch index 89cd5592f..5180a77ea 100644 --- a/kernel/patches-4.14.x-rt/0260-0260-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch +++ b/kernel/patches-4.14.x-rt/0259-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch @@ -1,7 +1,7 @@ -From 466f49e7b207aa071221ab566b05c9aab16824ec Mon Sep 17 00:00:00 2001 +From f8568b7bfb261052376e372fff50e041bc3cb8a8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:28:34 +0200 -Subject: [PATCH 260/414] rtmutex: add rwsem implementation based on rtmutex +Subject: [PATCH 259/418] rtmutex: add rwsem implementation based on rtmutex 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 @@ -397,5 +397,5 @@ index 000000000000..a8f7ce5be989 + __up_write_unlock(sem, WRITER_BIAS - 1, flags); +} -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0261-0261-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0260-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0261-0261-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch rename to kernel/patches-4.14.x-rt/0260-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch index 9ec57d904..03911d6c7 100644 --- a/kernel/patches-4.14.x-rt/0261-0261-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch +++ b/kernel/patches-4.14.x-rt/0260-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch @@ -1,7 +1,7 @@ -From d40484f5f490dad4f424996ac035a7c0aabd1cce Mon Sep 17 00:00:00 2001 +From 23d2e42f165b74664a050717268403d2ffc3645d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:18:06 +0200 -Subject: [PATCH 261/414] rtmutex: add rwlock implementation based on rtmutex +Subject: [PATCH 260/418] rtmutex: add rwlock implementation based on rtmutex The implementation is bias-based, similar to the rwsem implementation. @@ -577,5 +577,5 @@ index 000000000000..aebb7ce25bc6 +} +EXPORT_SYMBOL(__rt_rwlock_init); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0262-0262-rtmutex-wire-up-RT-s-locking.patch b/kernel/patches-4.14.x-rt/0261-rtmutex-wire-up-RT-s-locking.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0262-0262-rtmutex-wire-up-RT-s-locking.patch rename to kernel/patches-4.14.x-rt/0261-rtmutex-wire-up-RT-s-locking.patch index 589360f68..1e17bf419 100644 --- a/kernel/patches-4.14.x-rt/0262-0262-rtmutex-wire-up-RT-s-locking.patch +++ b/kernel/patches-4.14.x-rt/0261-rtmutex-wire-up-RT-s-locking.patch @@ -1,7 +1,7 @@ -From 1decab5844b9e92e7a2cae9a5906d8b261f787c6 Mon Sep 17 00:00:00 2001 +From 178bfc1d71a0578a86b4d25228e8d1a956812efa Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 12 Oct 2017 17:31:14 +0200 -Subject: [PATCH 262/414] rtmutex: wire up RT's locking +Subject: [PATCH 261/418] rtmutex: wire up RT's locking Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior @@ -60,7 +60,7 @@ index 153274f78402..dbb52857b25b 100644 + #endif /* __LINUX_MUTEX_H */ diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h -index dfa34d803439..6671cff97fa5 100644 +index c427ffaa4904..513df11a364e 100644 --- a/include/linux/rwsem.h +++ b/include/linux/rwsem.h @@ -20,6 +20,10 @@ @@ -74,7 +74,7 @@ index dfa34d803439..6671cff97fa5 100644 struct rw_semaphore; #ifdef CONFIG_RWSEM_GENERIC_SPINLOCK -@@ -108,6 +112,13 @@ static inline int rwsem_is_contended(struct rw_semaphore *sem) +@@ -114,6 +118,13 @@ static inline int rwsem_is_contended(struct rw_semaphore *sem) return !list_empty(&sem->wait_list); } @@ -264,5 +264,5 @@ index 9aa0fccd5d43..76d0b40d9193 100644 + +#endif -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0263-0263-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch b/kernel/patches-4.14.x-rt/0262-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0263-0263-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch rename to kernel/patches-4.14.x-rt/0262-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch index 87220a1ed..c47a7909d 100644 --- a/kernel/patches-4.14.x-rt/0263-0263-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch +++ b/kernel/patches-4.14.x-rt/0262-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch @@ -1,7 +1,7 @@ -From f30d023a97a6e21fef127a11a4d7de7223938b84 Mon Sep 17 00:00:00 2001 +From 1bb5944ed7c30765c9df2d6a2287ae55471778fa Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 12 Oct 2017 17:34:38 +0200 -Subject: [PATCH 263/414] rtmutex: add ww_mutex addon for mutex-rt +Subject: [PATCH 262/418] rtmutex: add ww_mutex addon for mutex-rt Signed-off-by: Sebastian Andrzej Siewior --- @@ -428,5 +428,5 @@ index a8f7ce5be989..26991ddb6c5a 100644 /* * The slowlock() above is guaranteed to return with the rtmutex is -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0264-0264-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch b/kernel/patches-4.14.x-rt/0263-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0264-0264-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch rename to kernel/patches-4.14.x-rt/0263-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch index 4c99f6cb3..852efdbe8 100644 --- a/kernel/patches-4.14.x-rt/0264-0264-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch +++ b/kernel/patches-4.14.x-rt/0263-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch @@ -1,7 +1,7 @@ -From c33b49f83ccc428ca2f32bd95517733f45ad8b9a Mon Sep 17 00:00:00 2001 +From 44086fdf418dc6d5dbebe4ad4b7f940692b21c8a Mon Sep 17 00:00:00 2001 From: Mikulas Patocka Date: Mon, 13 Nov 2017 12:56:53 -0500 -Subject: [PATCH 264/414] locking/rt-mutex: fix deadlock in device mapper / +Subject: [PATCH 263/418] locking/rt-mutex: fix deadlock in device mapper / block-IO When some block device driver creates a bio and submits it to another @@ -76,5 +76,5 @@ index 3e130ea6f85c..53f344caf5c8 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0265-0265-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch b/kernel/patches-4.14.x-rt/0264-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0265-0265-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch rename to kernel/patches-4.14.x-rt/0264-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch index 5cc98d59a..cd34cc12b 100644 --- a/kernel/patches-4.14.x-rt/0265-0265-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch +++ b/kernel/patches-4.14.x-rt/0264-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch @@ -1,7 +1,7 @@ -From de0000243b11540f11e2956d5a866486bf93d8ca Mon Sep 17 00:00:00 2001 +From d9cdc51320142ab2825ad1d7992009bb7abad4a3 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 16 Nov 2017 16:48:48 +0100 -Subject: [PATCH 265/414] locking/rtmutex: re-init the wait_lock in +Subject: [PATCH 264/418] locking/rtmutex: re-init the wait_lock in rt_mutex_init_proxy_locked() We could provide a key-class for the lockdep (and fixup all callers) or @@ -34,5 +34,5 @@ index 53f344caf5c8..0cb716ba3be0 100644 rt_mutex_set_owner(lock, proxy_owner); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0266-0266-ptrace-fix-ptrace-vs-tasklist_lock-race.patch b/kernel/patches-4.14.x-rt/0265-ptrace-fix-ptrace-vs-tasklist_lock-race.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0266-0266-ptrace-fix-ptrace-vs-tasklist_lock-race.patch rename to kernel/patches-4.14.x-rt/0265-ptrace-fix-ptrace-vs-tasklist_lock-race.patch index c2bbe03a7..0ce9b8372 100644 --- a/kernel/patches-4.14.x-rt/0266-0266-ptrace-fix-ptrace-vs-tasklist_lock-race.patch +++ b/kernel/patches-4.14.x-rt/0265-ptrace-fix-ptrace-vs-tasklist_lock-race.patch @@ -1,7 +1,7 @@ -From e71270b6bdb4e57afbde8f4e881c8c957ae49edf Mon Sep 17 00:00:00 2001 +From 49ad8eb04b99b741d12a884e0e6051a05740d3be Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Aug 2013 18:21:04 +0200 -Subject: [PATCH 266/414] ptrace: fix ptrace vs tasklist_lock race +Subject: [PATCH 265/418] ptrace: fix ptrace vs tasklist_lock race As explained by Alexander Fyodorov : @@ -30,7 +30,7 @@ Signed-off-by: Sebastian Andrzej Siewior 3 files changed, 68 insertions(+), 7 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h -index af6f1bb58002..89ea033c76d0 100644 +index 71af67e42b1a..1e829adc282e 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -100,12 +100,8 @@ struct task_group; @@ -46,7 +46,7 @@ index af6f1bb58002..89ea033c76d0 100644 #define task_contributes_to_load(task) ((task->state & TASK_UNINTERRUPTIBLE) != 0 && \ (task->flags & PF_FROZEN) == 0 && \ (task->state & TASK_NOLOAD) == 0) -@@ -1597,6 +1593,51 @@ static inline int test_tsk_need_resched(struct task_struct *tsk) +@@ -1645,6 +1641,51 @@ static inline int test_tsk_need_resched(struct task_struct *tsk) return unlikely(test_tsk_thread_flag(tsk,TIF_NEED_RESCHED)); } @@ -119,7 +119,7 @@ index 84b1367935e4..b32a86f63522 100644 } spin_unlock_irq(&task->sighand->siglock); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 0c759bd68232..ce2e431e1b94 100644 +index a331cf124606..150daf55f939 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1359,6 +1359,18 @@ int migrate_swap(struct task_struct *cur, struct task_struct *p) @@ -161,5 +161,5 @@ index 0c759bd68232..ce2e431e1b94 100644 task_rq_unlock(rq, p, &rf); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0267-0267-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch b/kernel/patches-4.14.x-rt/0266-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0267-0267-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch rename to kernel/patches-4.14.x-rt/0266-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch index c4ae0e3d9..a8dda21a9 100644 --- a/kernel/patches-4.14.x-rt/0267-0267-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch +++ b/kernel/patches-4.14.x-rt/0266-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch @@ -1,7 +1,7 @@ -From 8055b8fd96f21c0bc990fcda87c29ac1d2ba4767 Mon Sep 17 00:00:00 2001 +From b3545133404207518ead71fe7f030fe3767e882e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 14:25:13 +0200 -Subject: [PATCH 267/414] RCU: we need to skip that warning but only on +Subject: [PATCH 266/418] RCU: we need to skip that warning but only on sleeping locks This check is okay for upstream. On RT we trigger this while blocking on @@ -18,7 +18,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h -index 4428c8edb074..f7dee8352496 100644 +index 181e2487c8b8..787321ad4f5f 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -323,9 +323,13 @@ static void rcu_preempt_note_context_switch(bool preempt) @@ -37,5 +37,5 @@ index 4428c8edb074..f7dee8352496 100644 !t->rcu_read_unlock_special.b.blocked) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0268-0268-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch b/kernel/patches-4.14.x-rt/0267-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0268-0268-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch rename to kernel/patches-4.14.x-rt/0267-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch index e3005933e..3caeb906f 100644 --- a/kernel/patches-4.14.x-rt/0268-0268-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch +++ b/kernel/patches-4.14.x-rt/0267-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch @@ -1,7 +1,7 @@ -From f45f65486122226766ccc613a5ed5d7488e13a13 Mon Sep 17 00:00:00 2001 +From ba1096f32fba79b2de8e6787b881e0a6d10962b8 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 16 Feb 2018 11:45:13 +0100 -Subject: [PATCH 268/414] RCU: skip the "schedule() in RCU section" warning on +Subject: [PATCH 267/418] RCU: skip the "schedule() in RCU section" warning on UP, too In "RCU: we need to skip that warning but only on sleeping locks" we @@ -44,10 +44,10 @@ index 2983043d2194..fd2efc6ffc3f 100644 #define migrate_disable() barrier() #define migrate_enable() barrier() diff --git a/include/linux/sched.h b/include/linux/sched.h -index 89ea033c76d0..c9941a5e93ae 100644 +index 1e829adc282e..52cf8d74b534 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -591,6 +591,12 @@ struct task_struct { +@@ -631,6 +631,12 @@ struct task_struct { # ifdef CONFIG_SCHED_DEBUG int migrate_disable_atomic; # endif @@ -61,7 +61,7 @@ index 89ea033c76d0..c9941a5e93ae 100644 #ifdef CONFIG_PREEMPT_RCU diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h -index f7dee8352496..cd4c89fcc33a 100644 +index 787321ad4f5f..18b98ae934a2 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -326,7 +326,7 @@ static void rcu_preempt_note_context_switch(bool preempt) @@ -74,10 +74,10 @@ index f7dee8352496..cd4c89fcc33a 100644 #endif WARN_ON_ONCE(!preempt && t->rcu_read_lock_nesting > 0 && !mg_counter); diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index ce2e431e1b94..6ab163bbeaa0 100644 +index 150daf55f939..b5d0877c7079 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7020,4 +7020,49 @@ void migrate_enable(void) +@@ -7005,4 +7005,49 @@ void migrate_enable(void) preempt_enable(); } EXPORT_SYMBOL(migrate_enable); @@ -128,5 +128,5 @@ index ce2e431e1b94..6ab163bbeaa0 100644 +EXPORT_SYMBOL(migrate_enable); #endif -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0269-0269-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch b/kernel/patches-4.14.x-rt/0268-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0269-0269-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch rename to kernel/patches-4.14.x-rt/0268-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch index 59ef0ed17..4b1ee005a 100644 --- a/kernel/patches-4.14.x-rt/0269-0269-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch +++ b/kernel/patches-4.14.x-rt/0268-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch @@ -1,7 +1,7 @@ -From 2a95931c6cebd69e81f39ca8e4f0baeed593fd78 Mon Sep 17 00:00:00 2001 +From 0f18de8ca35d53133bdee04999e7f216b1e0502b Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 4 Aug 2017 17:40:42 +0200 -Subject: [PATCH 269/414] locking: don't check for __LINUX_SPINLOCK_TYPES_H on +Subject: [PATCH 268/418] locking: don't check for __LINUX_SPINLOCK_TYPES_H on -RT archs Upstream uses arch_spinlock_t within spinlock_t and requests that @@ -257,5 +257,5 @@ index c09b6407ae1b..b0243ba07fb7 100644 * include/linux/spinlock_types_up.h - spinlock type definitions for UP * -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0270-0270-rcu-Frob-softirq-test.patch b/kernel/patches-4.14.x-rt/0269-rcu-Frob-softirq-test.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0270-0270-rcu-Frob-softirq-test.patch rename to kernel/patches-4.14.x-rt/0269-rcu-Frob-softirq-test.patch index db7db87d8..144970229 100644 --- a/kernel/patches-4.14.x-rt/0270-0270-rcu-Frob-softirq-test.patch +++ b/kernel/patches-4.14.x-rt/0269-rcu-Frob-softirq-test.patch @@ -1,7 +1,7 @@ -From f4060948890d482ed47dc45775b2bc92f4f13ab6 Mon Sep 17 00:00:00 2001 +From f28df56a721ee61782138f9337b075712a0d098d Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Sat, 13 Aug 2011 00:23:17 +0200 -Subject: [PATCH 270/414] rcu: Frob softirq test +Subject: [PATCH 269/418] rcu: Frob softirq test With RT_FULL we get the below wreckage: @@ -155,7 +155,7 @@ Signed-off-by: Peter Zijlstra 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h -index cd4c89fcc33a..1789b7474b65 100644 +index 18b98ae934a2..157593d080c5 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -466,7 +466,7 @@ void rcu_read_unlock_special(struct task_struct *t) @@ -168,5 +168,5 @@ index cd4c89fcc33a..1789b7474b65 100644 "rcu_read_unlock() from irq or softirq with blocking in critical section!!!\n"); pr_alert("->rcu_read_unlock_special: %#x (b: %d, enq: %d nq: %d)\n", -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0271-0271-rcu-Merge-RCU-bh-into-RCU-preempt.patch b/kernel/patches-4.14.x-rt/0270-rcu-Merge-RCU-bh-into-RCU-preempt.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0271-0271-rcu-Merge-RCU-bh-into-RCU-preempt.patch rename to kernel/patches-4.14.x-rt/0270-rcu-Merge-RCU-bh-into-RCU-preempt.patch index dddcf269d..c499a8ecf 100644 --- a/kernel/patches-4.14.x-rt/0271-0271-rcu-Merge-RCU-bh-into-RCU-preempt.patch +++ b/kernel/patches-4.14.x-rt/0270-rcu-Merge-RCU-bh-into-RCU-preempt.patch @@ -1,7 +1,7 @@ -From d94c5d186590fe94eee1828d2ced173cb8442e85 Mon Sep 17 00:00:00 2001 +From 49efb343acd8e1130b4b63ea60b27a3d643f8551 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 5 Oct 2011 11:59:38 -0700 -Subject: [PATCH 271/414] rcu: Merge RCU-bh into RCU-preempt +Subject: [PATCH 270/418] rcu: Merge RCU-bh into RCU-preempt The Linux kernel has long RCU-bh read-side critical sections that intolerably increase scheduling latency under mainline's RCU-bh rules, @@ -370,5 +370,5 @@ index 7a577bd989a4..c63c88a0de7e 100644 #endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0272-0272-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch b/kernel/patches-4.14.x-rt/0271-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0272-0272-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch rename to kernel/patches-4.14.x-rt/0271-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch index 04d1f6739..f74b3d8f5 100644 --- a/kernel/patches-4.14.x-rt/0272-0272-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch +++ b/kernel/patches-4.14.x-rt/0271-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch @@ -1,7 +1,7 @@ -From fc099edd130fe5260cdb0459c12d348eb38af28a Mon Sep 17 00:00:00 2001 +From 9e74cea27affa94aba94a73ae38e6962c31e3a3e Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Wed, 5 Oct 2011 11:45:18 -0700 -Subject: [PATCH 272/414] rcu: Make ksoftirqd do RCU quiescent states +Subject: [PATCH 271/418] rcu: Make ksoftirqd do RCU quiescent states Implementing RCU-bh in terms of RCU-preempt makes the system vulnerable to network-based denial-of-service attacks. This patch therefore @@ -65,7 +65,7 @@ index b2367bc209cc..cc495f5273af 100644 { RCU_LOCKDEP_WARN(preemptible(), "rcu_bh_qs() invoked with preemption enabled!!!"); diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h -index 1789b7474b65..5d93d972d88e 100644 +index 157593d080c5..65efae0cf087 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -29,6 +29,7 @@ @@ -76,7 +76,7 @@ index 1789b7474b65..5d93d972d88e 100644 #include #include "../time/tick-internal.h" #include "../locking/rtmutex_common.h" -@@ -1299,7 +1300,7 @@ static void rcu_prepare_kthreads(int cpu) +@@ -1305,7 +1306,7 @@ static void rcu_prepare_kthreads(int cpu) #endif /* #else #ifdef CONFIG_RCU_BOOST */ @@ -85,7 +85,7 @@ index 1789b7474b65..5d93d972d88e 100644 /* * Check to see if any future RCU-related work will need to be done -@@ -1315,7 +1316,9 @@ int rcu_needs_cpu(u64 basemono, u64 *nextevt) +@@ -1321,7 +1322,9 @@ int rcu_needs_cpu(u64 basemono, u64 *nextevt) *nextevt = KTIME_MAX; return rcu_cpu_has_callbacks(NULL); } @@ -95,7 +95,7 @@ index 1789b7474b65..5d93d972d88e 100644 /* * Because we do not have RCU_FAST_NO_HZ, don't bother cleaning up * after it. -@@ -1411,6 +1414,8 @@ static bool __maybe_unused rcu_try_advance_all_cbs(void) +@@ -1417,6 +1420,8 @@ static bool __maybe_unused rcu_try_advance_all_cbs(void) return cbs_ready; } @@ -104,7 +104,7 @@ index 1789b7474b65..5d93d972d88e 100644 /* * Allow the CPU to enter dyntick-idle mode unless it has callbacks ready * to invoke. If the CPU has callbacks, try to advance them. Tell the -@@ -1453,6 +1458,7 @@ int rcu_needs_cpu(u64 basemono, u64 *nextevt) +@@ -1459,6 +1464,7 @@ int rcu_needs_cpu(u64 basemono, u64 *nextevt) *nextevt = basemono + dj * TICK_NSEC; return 0; } @@ -113,5 +113,5 @@ index 1789b7474b65..5d93d972d88e 100644 /* * Prepare a CPU for idle from an RCU perspective. The first major task -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0273-0273-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch b/kernel/patches-4.14.x-rt/0272-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0273-0273-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch rename to kernel/patches-4.14.x-rt/0272-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch index 5def722e4..ee210114a 100644 --- a/kernel/patches-4.14.x-rt/0273-0273-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch +++ b/kernel/patches-4.14.x-rt/0272-rcutree-rcu_bh_qs-Disable-irq-while-calling-rcu_pree.patch @@ -1,7 +1,7 @@ -From 4ff7fc7a2f44365c7753570fe3b0b78f388c35e1 Mon Sep 17 00:00:00 2001 +From ac4f0a71e1c6d0abc7d720ad1643d18f79030e0e Mon Sep 17 00:00:00 2001 From: Tiejun Chen Date: Wed, 18 Dec 2013 17:51:49 +0800 -Subject: [PATCH 273/414] rcutree/rcu_bh_qs: Disable irq while calling +Subject: [PATCH 272/418] rcutree/rcu_bh_qs: Disable irq while calling rcu_preempt_qs() Any callers to the function rcu_preempt_qs() must disable irqs in @@ -51,5 +51,5 @@ index cc495f5273af..55c56b1aece7 100644 #else void rcu_bh_qs(void) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0274-0274-tty-serial-omap-Make-the-locking-RT-aware.patch b/kernel/patches-4.14.x-rt/0273-tty-serial-omap-Make-the-locking-RT-aware.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0274-0274-tty-serial-omap-Make-the-locking-RT-aware.patch rename to kernel/patches-4.14.x-rt/0273-tty-serial-omap-Make-the-locking-RT-aware.patch index aa60a41bf..323f6926e 100644 --- a/kernel/patches-4.14.x-rt/0274-0274-tty-serial-omap-Make-the-locking-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0273-tty-serial-omap-Make-the-locking-RT-aware.patch @@ -1,7 +1,7 @@ -From 943a26bad05db1c425c02de0fb0453bdac10f3ca Mon Sep 17 00:00:00 2001 +From cb548ccaf132f472d50e2b8da7b7ab4a13ffa64e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 28 Jul 2011 13:32:57 +0200 -Subject: [PATCH 274/414] tty/serial/omap: Make the locking RT aware +Subject: [PATCH 273/418] tty/serial/omap: Make the locking RT aware 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 @@ -44,5 +44,5 @@ index 26a22b100df1..69117e355bcd 100644 static int __init -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0275-0275-tty-serial-pl011-Make-the-locking-work-on-RT.patch b/kernel/patches-4.14.x-rt/0274-tty-serial-pl011-Make-the-locking-work-on-RT.patch similarity index 82% rename from kernel/patches-4.14.x-rt/0275-0275-tty-serial-pl011-Make-the-locking-work-on-RT.patch rename to kernel/patches-4.14.x-rt/0274-tty-serial-pl011-Make-the-locking-work-on-RT.patch index 6154308fc..83ef83025 100644 --- a/kernel/patches-4.14.x-rt/0275-0275-tty-serial-pl011-Make-the-locking-work-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0274-tty-serial-pl011-Make-the-locking-work-on-RT.patch @@ -1,7 +1,7 @@ -From 6dfaf3e1fd979b158e3e37dd835a3ebe0192077d Mon Sep 17 00:00:00 2001 +From 044c5640b238d462686d18b4c3a5da12ed55952e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 8 Jan 2013 21:36:51 +0100 -Subject: [PATCH 275/414] tty/serial/pl011: Make the locking work on RT +Subject: [PATCH 274/418] tty/serial/pl011: Make the locking work on RT 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. @@ -12,10 +12,10 @@ 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 111e6a950779..f5290e448783 100644 +index c9f701aca677..81d6b15fb80a 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c -@@ -2220,13 +2220,19 @@ pl011_console_write(struct console *co, const char *s, unsigned int count) +@@ -2236,13 +2236,19 @@ pl011_console_write(struct console *co, const char *s, unsigned int count) clk_enable(uap->clk); @@ -38,7 +38,7 @@ index 111e6a950779..f5290e448783 100644 /* * First save the CR then disable the interrupts -@@ -2252,8 +2258,7 @@ pl011_console_write(struct console *co, const char *s, unsigned int count) +@@ -2268,8 +2274,7 @@ pl011_console_write(struct console *co, const char *s, unsigned int count) pl011_write(old_cr, uap, REG_CR); if (locked) @@ -49,5 +49,5 @@ index 111e6a950779..f5290e448783 100644 clk_disable(uap->clk); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0276-0276-rt-Improve-the-serial-console-PASS_LIMIT.patch b/kernel/patches-4.14.x-rt/0275-rt-Improve-the-serial-console-PASS_LIMIT.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0276-0276-rt-Improve-the-serial-console-PASS_LIMIT.patch rename to kernel/patches-4.14.x-rt/0275-rt-Improve-the-serial-console-PASS_LIMIT.patch index 584fa92e9..a2b16e657 100644 --- a/kernel/patches-4.14.x-rt/0276-0276-rt-Improve-the-serial-console-PASS_LIMIT.patch +++ b/kernel/patches-4.14.x-rt/0275-rt-Improve-the-serial-console-PASS_LIMIT.patch @@ -1,7 +1,7 @@ -From c28bb385bd040151b46b28e0beafef62dddcce9b Mon Sep 17 00:00:00 2001 +From b7cad0b0c9aefbae3d0322f4ac9d59fddd667350 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Wed, 14 Dec 2011 13:05:54 +0100 -Subject: [PATCH 276/414] rt: Improve the serial console PASS_LIMIT +Subject: [PATCH 275/418] rt: Improve the serial console PASS_LIMIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -42,5 +42,5 @@ index d29b512a7d9f..bc8cbb995b29 100644 #include /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0277-0277-tty-serial-8250-don-t-take-the-trylock-during-oops.patch b/kernel/patches-4.14.x-rt/0276-tty-serial-8250-don-t-take-the-trylock-during-oops.patch similarity index 79% rename from kernel/patches-4.14.x-rt/0277-0277-tty-serial-8250-don-t-take-the-trylock-during-oops.patch rename to kernel/patches-4.14.x-rt/0276-tty-serial-8250-don-t-take-the-trylock-during-oops.patch index fa54dd3f3..2863ede8e 100644 --- a/kernel/patches-4.14.x-rt/0277-0277-tty-serial-8250-don-t-take-the-trylock-during-oops.patch +++ b/kernel/patches-4.14.x-rt/0276-tty-serial-8250-don-t-take-the-trylock-during-oops.patch @@ -1,7 +1,7 @@ -From 1009e99d6847e920efe02a042eeeaf7f949b976e Mon Sep 17 00:00:00 2001 +From 3b9b6e1519171cb6bf05e318777148e72ef0dd4f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 11 Apr 2016 16:55:02 +0200 -Subject: [PATCH 277/414] tty: serial: 8250: don't take the trylock during oops +Subject: [PATCH 276/418] tty: serial: 8250: don't take the trylock during oops 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 @@ -14,10 +14,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 e32c51d549c3..5117bdf9b1ef 100644 +index be456ea27ab2..832d0fd9d371 100644 --- a/drivers/tty/serial/8250/8250_port.c +++ b/drivers/tty/serial/8250/8250_port.c -@@ -3224,10 +3224,8 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, +@@ -3225,10 +3225,8 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, serial8250_rpm_get(up); @@ -30,5 +30,5 @@ index e32c51d549c3..5117bdf9b1ef 100644 spin_lock_irqsave(&port->lock, flags); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0278-0278-locking-percpu-rwsem-Remove-preempt_disable-variants.patch b/kernel/patches-4.14.x-rt/0277-locking-percpu-rwsem-Remove-preempt_disable-variants.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0278-0278-locking-percpu-rwsem-Remove-preempt_disable-variants.patch rename to kernel/patches-4.14.x-rt/0277-locking-percpu-rwsem-Remove-preempt_disable-variants.patch index 1e32dc74f..857d5c2cd 100644 --- a/kernel/patches-4.14.x-rt/0278-0278-locking-percpu-rwsem-Remove-preempt_disable-variants.patch +++ b/kernel/patches-4.14.x-rt/0277-locking-percpu-rwsem-Remove-preempt_disable-variants.patch @@ -1,7 +1,7 @@ -From 426844bbaa0c1228f5bc4fd9bb1cfd435b50eca2 Mon Sep 17 00:00:00 2001 +From a13bed09478d7efdcfd57259d0fc385e53d28087 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Wed, 23 Nov 2016 16:29:32 +0100 -Subject: [PATCH 278/414] locking/percpu-rwsem: Remove preempt_disable variants +Subject: [PATCH 277/418] locking/percpu-rwsem: Remove preempt_disable variants Effective revert commit: @@ -161,7 +161,7 @@ index 1bd71c4d663a..fef5f1e29a4f 100644 locks_dispose_list(&dispose); } diff --git a/include/linux/percpu-rwsem.h b/include/linux/percpu-rwsem.h -index b1f37a89e368..cd61863d2cb9 100644 +index 79b99d653e03..fb44e237316d 100644 --- a/include/linux/percpu-rwsem.h +++ b/include/linux/percpu-rwsem.h @@ -29,7 +29,7 @@ static struct percpu_rw_semaphore name = { \ @@ -221,5 +221,5 @@ index b1f37a89e368..cd61863d2cb9 100644 extern void percpu_up_write(struct percpu_rw_semaphore *); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0279-0279-fs-namespace-preemption-fix.patch b/kernel/patches-4.14.x-rt/0278-fs-namespace-preemption-fix.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0279-0279-fs-namespace-preemption-fix.patch rename to kernel/patches-4.14.x-rt/0278-fs-namespace-preemption-fix.patch index c13380f5e..2e83a0e2e 100644 --- a/kernel/patches-4.14.x-rt/0279-0279-fs-namespace-preemption-fix.patch +++ b/kernel/patches-4.14.x-rt/0278-fs-namespace-preemption-fix.patch @@ -1,7 +1,7 @@ -From 5d20c7dd73c9d5dbba939708df619b139fe55f7f Mon Sep 17 00:00:00 2001 +From a45c65024ac8f55ad0dc1ccfa72803fb57500595 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 19 Jul 2009 08:44:27 -0500 -Subject: [PATCH 279/414] fs: namespace preemption fix +Subject: [PATCH 278/418] fs: namespace preemption fix On RT we cannot loop with preemption disabled here as mnt_make_readonly() might have been preempted. We can safely enable @@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/namespace.c b/fs/namespace.c -index 62b17aff1908..b9cd42b9b2c9 100644 +index 1eb3bfd8be5a..0a74d6c02928 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -353,8 +353,11 @@ int __mnt_want_write(struct vfsmount *m) @@ -31,5 +31,5 @@ index 62b17aff1908..b9cd42b9b2c9 100644 * After the slowpath clears MNT_WRITE_HOLD, mnt_is_readonly will * be set to match its requirements. So we must not load that until -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0280-0280-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch b/kernel/patches-4.14.x-rt/0279-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0280-0280-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch rename to kernel/patches-4.14.x-rt/0279-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch index 2dc4cbbd3..03c183976 100644 --- a/kernel/patches-4.14.x-rt/0280-0280-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch +++ b/kernel/patches-4.14.x-rt/0279-mm-Protect-activate_mm-by-preempt_-disable-enable-_r.patch @@ -1,7 +1,7 @@ -From 31408e871a9cab07d1e9f792fd9fa4f721e538ab Mon Sep 17 00:00:00 2001 +From 708e30bda47739d6dbea5202dbad40d8f8f8496d Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Tue, 15 May 2012 13:53:56 +0800 -Subject: [PATCH 280/414] mm: Protect activate_mm() by +Subject: [PATCH 279/418] mm: Protect activate_mm() by preempt_[disable&enable]_rt() User preempt_*_rt instead of local_irq_*_rt or otherwise there will be @@ -76,5 +76,5 @@ index 3e612ae748e9..d0ccc070979f 100644 #ifdef finish_arch_post_lock_switch finish_arch_post_lock_switch(); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0281-0281-block-Turn-off-warning-which-is-bogus-on-RT.patch b/kernel/patches-4.14.x-rt/0280-block-Turn-off-warning-which-is-bogus-on-RT.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0281-0281-block-Turn-off-warning-which-is-bogus-on-RT.patch rename to kernel/patches-4.14.x-rt/0280-block-Turn-off-warning-which-is-bogus-on-RT.patch index 5a9aa4012..17cfef89e 100644 --- a/kernel/patches-4.14.x-rt/0281-0281-block-Turn-off-warning-which-is-bogus-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0280-block-Turn-off-warning-which-is-bogus-on-RT.patch @@ -1,7 +1,7 @@ -From b77c6d43af8b9bb970fa1182c92aa1bc5d547841 Mon Sep 17 00:00:00 2001 +From 18a708f4daf485c6b76fd7f2b7f4f8a8ba20cc02 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jun 2011 17:05:09 +0200 -Subject: [PATCH 281/414] block: Turn off warning which is bogus on RT +Subject: [PATCH 280/418] block: Turn off warning which is bogus on RT On -RT the context is always with IRQs enabled. Ignore this warning on -RT. @@ -24,5 +24,5 @@ index b4dd598666b9..0b7308bce7e7 100644 queue_flag_clear(QUEUE_FLAG_STOPPED, q); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0282-0282-fs-ntfs-disable-interrupt-only-on-RT.patch b/kernel/patches-4.14.x-rt/0281-fs-ntfs-disable-interrupt-only-on-RT.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0282-0282-fs-ntfs-disable-interrupt-only-on-RT.patch rename to kernel/patches-4.14.x-rt/0281-fs-ntfs-disable-interrupt-only-on-RT.patch index 115f8a280..b1060be55 100644 --- a/kernel/patches-4.14.x-rt/0282-0282-fs-ntfs-disable-interrupt-only-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0281-fs-ntfs-disable-interrupt-only-on-RT.patch @@ -1,7 +1,7 @@ -From 653bc43dc4c68e0c57dd6f8304f33c466f080836 Mon Sep 17 00:00:00 2001 +From e5df9653b83104d3f7e153797f32a01efcb3a5a4 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Fri, 3 Jul 2009 08:44:12 -0500 -Subject: [PATCH 282/414] fs: ntfs: disable interrupt only on !RT +Subject: [PATCH 281/418] fs: ntfs: disable interrupt only on !RT On Sat, 2007-10-27 at 11:44 +0200, Ingo Molnar wrote: > * Nick Piggin wrote: @@ -76,5 +76,5 @@ index e11411997769..a982d7c3ad91 100644 if (likely(page_uptodate && !PageError(page))) SetPageUptodate(page); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0283-0283-fs-jbd2-pull-your-plug-when-waiting-for-space.patch b/kernel/patches-4.14.x-rt/0282-fs-jbd2-pull-your-plug-when-waiting-for-space.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0283-0283-fs-jbd2-pull-your-plug-when-waiting-for-space.patch rename to kernel/patches-4.14.x-rt/0282-fs-jbd2-pull-your-plug-when-waiting-for-space.patch index f049af662..51936bb48 100644 --- a/kernel/patches-4.14.x-rt/0283-0283-fs-jbd2-pull-your-plug-when-waiting-for-space.patch +++ b/kernel/patches-4.14.x-rt/0282-fs-jbd2-pull-your-plug-when-waiting-for-space.patch @@ -1,7 +1,7 @@ -From b0c90c02e2089bae0efd84f73e91a77974d03eff Mon Sep 17 00:00:00 2001 +From 657680ff385c773fdc9e90b12913d87647e4e5b4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior -Date: Mon, 17 Feb 2014.17.40:03 +0100 -Subject: [PATCH 283/414] fs: jbd2: pull your plug when waiting for space +Date: Mon, 17 Feb 2014 17:30:03 +0100 +Subject: [PATCH 282/418] fs: jbd2: pull your plug when waiting for space Two cps in parallel managed to stall the the ext4 fs. It seems that journal code is either waiting for locks or sleeping waiting for @@ -33,5 +33,5 @@ index 4055f51617ef..bba2e5e6e917 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0284-0284-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch b/kernel/patches-4.14.x-rt/0283-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0284-0284-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch rename to kernel/patches-4.14.x-rt/0283-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch index 1efbf7d1f..b9c0ce6fd 100644 --- a/kernel/patches-4.14.x-rt/0284-0284-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch +++ b/kernel/patches-4.14.x-rt/0283-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch @@ -1,7 +1,7 @@ -From 9aa6e7941c453162c95598c898bdb50029e5d613 Mon Sep 17 00:00:00 2001 +From 4a0051dd9c39470fa53111a6d5cae9aaa414da4e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 23 Nov 2017 17:51:51 +0100 -Subject: [PATCH 284/414] Revert "fs: jbd2: pull your plug when waiting for +Subject: [PATCH 283/418] Revert "fs: jbd2: pull your plug when waiting for space" This reverts commit "fs: jbd2: pull your plug when waiting for space". @@ -28,5 +28,5 @@ index bba2e5e6e917..4055f51617ef 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0285-0285-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch b/kernel/patches-4.14.x-rt/0284-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch similarity index 78% rename from kernel/patches-4.14.x-rt/0285-0285-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch rename to kernel/patches-4.14.x-rt/0284-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch index 369664304..8aecf8c2d 100644 --- a/kernel/patches-4.14.x-rt/0285-0285-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch +++ b/kernel/patches-4.14.x-rt/0284-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch @@ -1,7 +1,7 @@ -From 1081cdfbed7a465e58fab659fbff84d15c2d1cbd Mon Sep 17 00:00:00 2001 +From cec4d8b783cfc139cc95f3c570e12077b62d7669 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Sep 2017 12:32:34 +0200 -Subject: [PATCH 285/414] fs/dcache: bringt back explicit INIT_HLIST_BL_HEAD +Subject: [PATCH 284/418] fs/dcache: bringt back explicit INIT_HLIST_BL_HEAD init Commit 3d375d78593c ("mm: update callers to use HASH_ZERO flag") removed @@ -15,10 +15,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 10 insertions(+) diff --git a/fs/dcache.c b/fs/dcache.c -index c28b9c91b5cb..fa65b2a6776a 100644 +index 5f31a93150d1..73fe464d2240 100644 --- a/fs/dcache.c +++ b/fs/dcache.c -@@ -3590,6 +3590,8 @@ __setup("dhash_entries=", set_dhash_entries); +@@ -3618,6 +3618,8 @@ __setup("dhash_entries=", set_dhash_entries); static void __init dcache_init_early(void) { @@ -27,7 +27,7 @@ index c28b9c91b5cb..fa65b2a6776a 100644 /* If hashes are distributed across NUMA nodes, defer * hash allocation until vmalloc space is available. */ -@@ -3606,10 +3608,14 @@ static void __init dcache_init_early(void) +@@ -3634,10 +3636,14 @@ static void __init dcache_init_early(void) &d_hash_mask, 0, 0); @@ -42,7 +42,7 @@ index c28b9c91b5cb..fa65b2a6776a 100644 /* * A constructor could be added for stable state like the lists, * but it is probably not worth it because of the cache nature -@@ -3632,6 +3638,10 @@ static void __init dcache_init(void) +@@ -3660,6 +3666,10 @@ static void __init dcache_init(void) &d_hash_mask, 0, 0); @@ -54,5 +54,5 @@ index c28b9c91b5cb..fa65b2a6776a 100644 /* SLAB cache for __getname() consumers */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0286-0286-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch b/kernel/patches-4.14.x-rt/0285-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0286-0286-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch rename to kernel/patches-4.14.x-rt/0285-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch index 162110de7..ce0c934c3 100644 --- a/kernel/patches-4.14.x-rt/0286-0286-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch +++ b/kernel/patches-4.14.x-rt/0285-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch @@ -1,7 +1,7 @@ -From 3325a8b430181d98e1f38702d5dfaf3c4a04a609 Mon Sep 17 00:00:00 2001 +From 356fc53553f06102058730c4f9314f1842ee1dc9 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 20 Oct 2017 11:29:53 +0200 -Subject: [PATCH 286/414] fs/dcache: disable preemption on i_dir_seq's write +Subject: [PATCH 285/418] fs/dcache: disable preemption on i_dir_seq's write side i_dir_seq is an opencoded seqcounter. Based on the code it looks like we @@ -24,10 +24,10 @@ Signed-off-by: Sebastian Andrzej Siewior 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c -index fa65b2a6776a..39ba05ff22aa 100644 +index 73fe464d2240..0d8a43d0e445 100644 --- a/fs/dcache.c +++ b/fs/dcache.c -@@ -2417,9 +2417,10 @@ EXPORT_SYMBOL(d_rehash); +@@ -2439,9 +2439,10 @@ EXPORT_SYMBOL(d_rehash); static inline unsigned start_dir_add(struct inode *dir) { @@ -40,7 +40,7 @@ index fa65b2a6776a..39ba05ff22aa 100644 return n; cpu_relax(); } -@@ -2427,7 +2428,8 @@ static inline unsigned start_dir_add(struct inode *dir) +@@ -2449,7 +2450,8 @@ static inline unsigned start_dir_add(struct inode *dir) static inline void end_dir_add(struct inode *dir, unsigned n) { @@ -50,21 +50,21 @@ index fa65b2a6776a..39ba05ff22aa 100644 } static void d_wait_lookup(struct dentry *dentry) -@@ -2460,7 +2462,7 @@ struct dentry *d_alloc_parallel(struct dentry *parent, +@@ -2482,7 +2484,7 @@ struct dentry *d_alloc_parallel(struct dentry *parent, retry: rcu_read_lock(); -- seq = smp_load_acquire(&parent->d_inode->i_dir_seq) & ~1; -+ seq = smp_load_acquire(&parent->d_inode->__i_dir_seq) & ~1; +- seq = smp_load_acquire(&parent->d_inode->i_dir_seq); ++ seq = smp_load_acquire(&parent->d_inode->__i_dir_seq); r_seq = read_seqbegin(&rename_lock); dentry = __d_lookup_rcu(parent, name, &d_seq); if (unlikely(dentry)) { -@@ -2482,7 +2484,7 @@ struct dentry *d_alloc_parallel(struct dentry *parent, - goto retry; +@@ -2510,7 +2512,7 @@ struct dentry *d_alloc_parallel(struct dentry *parent, } + hlist_bl_lock(b); -- if (unlikely(parent->d_inode->i_dir_seq != seq)) { -+ if (unlikely(parent->d_inode->__i_dir_seq != seq)) { +- if (unlikely(READ_ONCE(parent->d_inode->i_dir_seq) != seq)) { ++ if (unlikely(READ_ONCE(parent->d_inode->__i_dir_seq) != seq)) { hlist_bl_unlock(b); rcu_read_unlock(); goto retry; @@ -127,5 +127,5 @@ index cc613f20e5a6..b806e2116f5c 100644 __u32 i_generation; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0287-0287-x86-Convert-mce-timer-to-hrtimer.patch b/kernel/patches-4.14.x-rt/0286-x86-Convert-mce-timer-to-hrtimer.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0287-0287-x86-Convert-mce-timer-to-hrtimer.patch rename to kernel/patches-4.14.x-rt/0286-x86-Convert-mce-timer-to-hrtimer.patch index 25f827a05..d07136a8b 100644 --- a/kernel/patches-4.14.x-rt/0287-0287-x86-Convert-mce-timer-to-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0286-x86-Convert-mce-timer-to-hrtimer.patch @@ -1,7 +1,7 @@ -From 179ba6984f5c701eab592a6c832d687fe17da639 Mon Sep 17 00:00:00 2001 +From d85b403e69f451d4bbbed78998b1db324bd3c3ed Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 13 Dec 2010 16:33:39 +0100 -Subject: [PATCH 287/414] x86: Convert mce timer to hrtimer +Subject: [PATCH 286/418] x86: Convert mce timer to hrtimer mce_timer is started in atomic contexts of cpu bringup. This results in might_sleep() warnings on RT. Convert mce_timer to a hrtimer to @@ -169,5 +169,5 @@ index 28d27de08545..85ceb6a035b4 100644 mce_device_remove(cpu); return 0; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0288-0288-x86-mce-use-swait-queue-for-mce-wakeups.patch b/kernel/patches-4.14.x-rt/0287-x86-mce-use-swait-queue-for-mce-wakeups.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0288-0288-x86-mce-use-swait-queue-for-mce-wakeups.patch rename to kernel/patches-4.14.x-rt/0287-x86-mce-use-swait-queue-for-mce-wakeups.patch index a92fa3a58..ca886cef6 100644 --- a/kernel/patches-4.14.x-rt/0288-0288-x86-mce-use-swait-queue-for-mce-wakeups.patch +++ b/kernel/patches-4.14.x-rt/0287-x86-mce-use-swait-queue-for-mce-wakeups.patch @@ -1,7 +1,7 @@ -From 84fabe5dfcb6c7578692c91fda2d1765f53e168d Mon Sep 17 00:00:00 2001 +From 05e5c8b7f200382ac85872f384aaf56dbd044606 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 27 Feb 2015 15:20:37 +0100 -Subject: [PATCH 288/414] x86/mce: use swait queue for mce wakeups +Subject: [PATCH 287/418] x86/mce: use swait queue for mce wakeups We had a customer report a lockup on a 3.0-rt kernel that had the following backtrace: @@ -127,5 +127,5 @@ index 7f85b76f43bc..9e74b805070f 100644 return 0; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0289-0289-x86-stackprotector-Avoid-random-pool-on-rt.patch b/kernel/patches-4.14.x-rt/0288-x86-stackprotector-Avoid-random-pool-on-rt.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0289-0289-x86-stackprotector-Avoid-random-pool-on-rt.patch rename to kernel/patches-4.14.x-rt/0288-x86-stackprotector-Avoid-random-pool-on-rt.patch index dbebfb779..3b0ed1e6a 100644 --- a/kernel/patches-4.14.x-rt/0289-0289-x86-stackprotector-Avoid-random-pool-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0288-x86-stackprotector-Avoid-random-pool-on-rt.patch @@ -1,7 +1,7 @@ -From deaba519af851c42da129408a78aac9269aecf99 Mon Sep 17 00:00:00 2001 +From 3d6a7dde3e2bb00d9ebd8f76f50136bfce927641 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 16 Dec 2010 14:25:18 +0100 -Subject: [PATCH 289/414] x86: stackprotector: Avoid random pool on rt +Subject: [PATCH 288/418] x86: stackprotector: Avoid random pool on rt CPU bringup calls into the random pool to initialize the stack canary. During boot that works nicely even on RT as the might sleep @@ -46,5 +46,5 @@ index 371b3a4af000..06613a805b25 100644 canary += tsc + (tsc << 32UL); canary &= CANARY_MASK; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0290-0290-x86-Use-generic-rwsem_spinlocks-on-rt.patch b/kernel/patches-4.14.x-rt/0289-x86-Use-generic-rwsem_spinlocks-on-rt.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0290-0290-x86-Use-generic-rwsem_spinlocks-on-rt.patch rename to kernel/patches-4.14.x-rt/0289-x86-Use-generic-rwsem_spinlocks-on-rt.patch index 5e49b2e49..0819553b9 100644 --- a/kernel/patches-4.14.x-rt/0290-0290-x86-Use-generic-rwsem_spinlocks-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0289-x86-Use-generic-rwsem_spinlocks-on-rt.patch @@ -1,7 +1,7 @@ -From ad90d00bff6b11c605d489d652337cf0ca166007 Mon Sep 17 00:00:00 2001 +From 777fdaf3d80ddf9cc364f5fae01e75c380427208 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 26 Jul 2009 02:21:32 +0200 -Subject: [PATCH 290/414] x86: Use generic rwsem_spinlocks on -rt +Subject: [PATCH 289/418] x86: Use generic rwsem_spinlocks on -rt Simplifies the separation of anon_rw_semaphores and rw_semaphores for -rt. @@ -29,5 +29,5 @@ index 7483cd514c32..310df1ea0d68 100644 config GENERIC_CALIBRATE_DELAY def_bool y -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0291-0291-x86-UV-raw_spinlock-conversion.patch b/kernel/patches-4.14.x-rt/0290-x86-UV-raw_spinlock-conversion.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0291-0291-x86-UV-raw_spinlock-conversion.patch rename to kernel/patches-4.14.x-rt/0290-x86-UV-raw_spinlock-conversion.patch index 8ca80c6a2..9e63f685a 100644 --- a/kernel/patches-4.14.x-rt/0291-0291-x86-UV-raw_spinlock-conversion.patch +++ b/kernel/patches-4.14.x-rt/0290-x86-UV-raw_spinlock-conversion.patch @@ -1,7 +1,7 @@ -From 643de3b90808014aebd9911fac5d78802e6e5070 Mon Sep 17 00:00:00 2001 +From aaf058930f47aa05108930d3769c0fd27e9c5374 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 2 Nov 2014 08:31:37 +0100 -Subject: [PATCH 291/414] x86: UV: raw_spinlock conversion +Subject: [PATCH 290/418] x86: UV: raw_spinlock conversion Shrug. Lots of hobbyists have a beast in their basement, right? @@ -225,5 +225,5 @@ index b082d71b08ee..badf377efc21 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0292-0292-thermal-Defer-thermal-wakups-to-threads.patch b/kernel/patches-4.14.x-rt/0291-thermal-Defer-thermal-wakups-to-threads.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0292-0292-thermal-Defer-thermal-wakups-to-threads.patch rename to kernel/patches-4.14.x-rt/0291-thermal-Defer-thermal-wakups-to-threads.patch index b0e67787c..e3df30ac8 100644 --- a/kernel/patches-4.14.x-rt/0292-0292-thermal-Defer-thermal-wakups-to-threads.patch +++ b/kernel/patches-4.14.x-rt/0291-thermal-Defer-thermal-wakups-to-threads.patch @@ -1,7 +1,7 @@ -From ec61d6f3d4ceea71a05cace70bbb619cf0cfdc2a Mon Sep 17 00:00:00 2001 +From 0249714f7ad706a687274bfc85143fe48836f6ba Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 17 Feb 2015 09:37:44 +0100 -Subject: [PATCH 292/414] thermal: Defer thermal wakups to threads +Subject: [PATCH 291/418] thermal: Defer thermal wakups to threads On RT the spin lock in pkg_temp_thermal_platfrom_thermal_notify will call schedule while we run in irq context. @@ -131,5 +131,5 @@ index d93eee2f101b..0287333b1f3c 100644 module_exit(pkg_temp_thermal_exit) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0293-0293-fs-epoll-Do-not-disable-preemption-on-RT.patch b/kernel/patches-4.14.x-rt/0292-fs-epoll-Do-not-disable-preemption-on-RT.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0293-0293-fs-epoll-Do-not-disable-preemption-on-RT.patch rename to kernel/patches-4.14.x-rt/0292-fs-epoll-Do-not-disable-preemption-on-RT.patch index 39b1d4946..859ff7952 100644 --- a/kernel/patches-4.14.x-rt/0293-0293-fs-epoll-Do-not-disable-preemption-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0292-fs-epoll-Do-not-disable-preemption-on-RT.patch @@ -1,7 +1,7 @@ -From e7587d1f9fcf179d430a7d4140d711a28b6008b6 Mon Sep 17 00:00:00 2001 +From 692a0f545559540f152a9ee06be8cc7a72c34ad0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 8 Jul 2011 16:35:35 +0200 -Subject: [PATCH 293/414] fs/epoll: Do not disable preemption on RT +Subject: [PATCH 292/418] fs/epoll: Do not disable preemption on RT 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 @@ -32,5 +32,5 @@ index 2fabd19cdeea..b768c32631eb 100644 static void ep_remove_wait_queue(struct eppoll_entry *pwq) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0294-0294-mm-vmalloc-Another-preempt-disable-region-which-suck.patch b/kernel/patches-4.14.x-rt/0293-mm-vmalloc-Another-preempt-disable-region-which-suck.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0294-0294-mm-vmalloc-Another-preempt-disable-region-which-suck.patch rename to kernel/patches-4.14.x-rt/0293-mm-vmalloc-Another-preempt-disable-region-which-suck.patch index 1f590de69..7e09951cc 100644 --- a/kernel/patches-4.14.x-rt/0294-0294-mm-vmalloc-Another-preempt-disable-region-which-suck.patch +++ b/kernel/patches-4.14.x-rt/0293-mm-vmalloc-Another-preempt-disable-region-which-suck.patch @@ -1,7 +1,7 @@ -From 878da860dcbc9369fede0aabb04640de942db843 Mon Sep 17 00:00:00 2001 +From 96b989b348a79d546d59bc7281c8dbc5bb65bf42 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 12 Jul 2011 11:39:36 +0200 -Subject: [PATCH 294/414] mm/vmalloc: Another preempt disable region which +Subject: [PATCH 293/418] mm/vmalloc: Another preempt disable region which sucks Avoid the preempt disable version of get_cpu_var(). The inner-lock should @@ -68,5 +68,5 @@ index ebff729cc956..5e3c3b21fe9e 100644 /* Allocate new block if nothing was found */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0295-0295-block-mq-use-cpu_light.patch b/kernel/patches-4.14.x-rt/0294-block-mq-use-cpu_light.patch similarity index 84% rename from kernel/patches-4.14.x-rt/0295-0295-block-mq-use-cpu_light.patch rename to kernel/patches-4.14.x-rt/0294-block-mq-use-cpu_light.patch index db2918846..38b26b7a9 100644 --- a/kernel/patches-4.14.x-rt/0295-0295-block-mq-use-cpu_light.patch +++ b/kernel/patches-4.14.x-rt/0294-block-mq-use-cpu_light.patch @@ -1,7 +1,7 @@ -From d65c8aef1cd4f6f700ac747978b54987bbd22505 Mon Sep 17 00:00:00 2001 +From 064f7f700e88a8f165c9abcf0ebd35f12c6713eb Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 9 Apr 2014 10:37:23 +0200 -Subject: [PATCH 295/414] block: mq: use cpu_light() +Subject: [PATCH 294/418] block: mq: use cpu_light() 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(). @@ -12,7 +12,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-mq.h b/block/blk-mq.h -index 4933af9d61f7..d0d9f9862d5f 100644 +index 877237e09083..d944750bade0 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -98,12 +98,12 @@ static inline struct blk_mq_ctx *__blk_mq_get_ctx(struct request_queue *q, @@ -31,5 +31,5 @@ index 4933af9d61f7..d0d9f9862d5f 100644 struct blk_mq_alloc_data { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0296-0296-block-mq-do-not-invoke-preempt_disable.patch b/kernel/patches-4.14.x-rt/0295-block-mq-do-not-invoke-preempt_disable.patch similarity index 76% rename from kernel/patches-4.14.x-rt/0296-0296-block-mq-do-not-invoke-preempt_disable.patch rename to kernel/patches-4.14.x-rt/0295-block-mq-do-not-invoke-preempt_disable.patch index e29fcd63a..0b046aeac 100644 --- a/kernel/patches-4.14.x-rt/0296-0296-block-mq-do-not-invoke-preempt_disable.patch +++ b/kernel/patches-4.14.x-rt/0295-block-mq-do-not-invoke-preempt_disable.patch @@ -1,7 +1,7 @@ -From 4936051fe8ae71d33035a472873206dad8aff190 Mon Sep 17 00:00:00 2001 +From 15884a21e8bf605626eca2cd6a19ca865b669ef9 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 296/414] block/mq: do not invoke preempt_disable() +Subject: [PATCH 295/418] block/mq: do not invoke preempt_disable() preempt_disable() and get_cpu() don't play well together with the sleeping locks it tries to allocate later. @@ -13,10 +13,10 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c -index de6cbc13a0d9..608ec6407dc5 100644 +index 1bd1069c5d84..ff88e0991196 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c -@@ -539,7 +539,7 @@ static void __blk_mq_complete_request(struct request *rq) +@@ -558,7 +558,7 @@ static void __blk_mq_complete_request(struct request *rq) return; } @@ -25,7 +25,7 @@ index de6cbc13a0d9..608ec6407dc5 100644 if (!test_bit(QUEUE_FLAG_SAME_FORCE, &rq->q->queue_flags)) shared = cpus_share_cache(cpu, ctx->cpu); -@@ -551,7 +551,7 @@ static void __blk_mq_complete_request(struct request *rq) +@@ -570,7 +570,7 @@ static void __blk_mq_complete_request(struct request *rq) } else { rq->q->softirq_done_fn(rq); } @@ -34,7 +34,7 @@ index de6cbc13a0d9..608ec6407dc5 100644 } /** -@@ -1219,14 +1219,14 @@ static void __blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async, +@@ -1238,14 +1238,14 @@ static void __blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async, return; if (!async && !(hctx->flags & BLK_MQ_F_BLOCKING)) { @@ -53,5 +53,5 @@ index de6cbc13a0d9..608ec6407dc5 100644 kblockd_schedule_delayed_work_on(blk_mq_hctx_next_cpu(hctx), -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0297-0297-block-mq-don-t-complete-requests-via-IPI.patch b/kernel/patches-4.14.x-rt/0296-block-mq-don-t-complete-requests-via-IPI.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0297-0297-block-mq-don-t-complete-requests-via-IPI.patch rename to kernel/patches-4.14.x-rt/0296-block-mq-don-t-complete-requests-via-IPI.patch index 543abd5b4..26ef472bd 100644 --- a/kernel/patches-4.14.x-rt/0297-0297-block-mq-don-t-complete-requests-via-IPI.patch +++ b/kernel/patches-4.14.x-rt/0296-block-mq-don-t-complete-requests-via-IPI.patch @@ -1,7 +1,7 @@ -From 937f94a8e3102871e0f904173d78213c8b34ee6d Mon Sep 17 00:00:00 2001 +From 9ccd4e0d93c504e73e0e35b948b067c70f2268fc Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Jan 2015 15:10:08 +0100 -Subject: [PATCH 297/414] block/mq: don't complete requests via IPI +Subject: [PATCH 296/418] block/mq: don't complete requests via IPI The IPI runs in hardirq context and there are sleeping locks. This patch moves the completion into a workqueue. @@ -29,10 +29,10 @@ index 0b7308bce7e7..4ea09f0974d6 100644 rq->q = q; rq->__sector = (sector_t) -1; diff --git a/block/blk-mq.c b/block/blk-mq.c -index 608ec6407dc5..f321d46fcec2 100644 +index ff88e0991196..0815a6599ab3 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c -@@ -320,6 +320,9 @@ static struct request *blk_mq_rq_ctx_init(struct blk_mq_alloc_data *data, +@@ -339,6 +339,9 @@ static struct request *blk_mq_rq_ctx_init(struct blk_mq_alloc_data *data, /* tag was already set */ rq->extra_len = 0; @@ -42,7 +42,7 @@ index 608ec6407dc5..f321d46fcec2 100644 INIT_LIST_HEAD(&rq->timeout_list); rq->timeout = 0; -@@ -514,12 +517,24 @@ void blk_mq_end_request(struct request *rq, blk_status_t error) +@@ -533,12 +536,24 @@ void blk_mq_end_request(struct request *rq, blk_status_t error) } EXPORT_SYMBOL(blk_mq_end_request); @@ -67,7 +67,7 @@ index 608ec6407dc5..f321d46fcec2 100644 static void __blk_mq_complete_request(struct request *rq) { -@@ -544,10 +559,18 @@ static void __blk_mq_complete_request(struct request *rq) +@@ -563,10 +578,18 @@ static void __blk_mq_complete_request(struct request *rq) shared = cpus_share_cache(cpu, ctx->cpu); if (cpu != ctx->cpu && !shared && cpu_online(ctx->cpu)) { @@ -114,5 +114,5 @@ index 6362e3606aa5..b68752bfb645 100644 struct __call_single_data csd; u64 fifo_time; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0298-0298-md-raid5-Make-raid5_percpu-handling-RT-aware.patch b/kernel/patches-4.14.x-rt/0297-md-raid5-Make-raid5_percpu-handling-RT-aware.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0298-0298-md-raid5-Make-raid5_percpu-handling-RT-aware.patch rename to kernel/patches-4.14.x-rt/0297-md-raid5-Make-raid5_percpu-handling-RT-aware.patch index 2691fd223..23f1e92e8 100644 --- a/kernel/patches-4.14.x-rt/0298-0298-md-raid5-Make-raid5_percpu-handling-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0297-md-raid5-Make-raid5_percpu-handling-RT-aware.patch @@ -1,7 +1,7 @@ -From b3da713afb931a7ca38ebbbad75d872457db2f45 Mon Sep 17 00:00:00 2001 +From c8bbffcc205a61efe944e774f79a8114524aea9f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 6 Apr 2010 16:51:31 +0200 -Subject: [PATCH 298/414] md: raid5: Make raid5_percpu handling RT aware +Subject: [PATCH 297/418] md: raid5: Make raid5_percpu handling RT aware __raid_run_ops() disables preemption with get_cpu() around the access to the raid5_percpu variables. That causes scheduling while atomic @@ -19,7 +19,7 @@ Tested-by: Udo van den Heuvel 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c -index 7ec822ced80b..871f1d2e9cc4 100644 +index de1ef6264ee7..11569aa9e6d2 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -2067,8 +2067,9 @@ static void raid_run_ops(struct stripe_head *sh, unsigned long ops_request) @@ -43,7 +43,7 @@ index 7ec822ced80b..871f1d2e9cc4 100644 } static void free_stripe(struct kmem_cache *sc, struct stripe_head *sh) -@@ -6796,6 +6798,7 @@ static int raid456_cpu_up_prepare(unsigned int cpu, struct hlist_node *node) +@@ -6797,6 +6799,7 @@ static int raid456_cpu_up_prepare(unsigned int cpu, struct hlist_node *node) __func__, cpu); return -ENOMEM; } @@ -51,7 +51,7 @@ index 7ec822ced80b..871f1d2e9cc4 100644 return 0; } -@@ -6806,7 +6809,6 @@ static int raid5_alloc_percpu(struct r5conf *conf) +@@ -6807,7 +6810,6 @@ static int raid5_alloc_percpu(struct r5conf *conf) conf->percpu = alloc_percpu(struct raid5_percpu); if (!conf->percpu) return -ENOMEM; @@ -72,5 +72,5 @@ index 2e6123825095..37a6021418a2 100644 struct flex_array *scribble; /* space for constructing buffer * lists and performing address -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0299-0299-md-raid5-do-not-disable-interrupts.patch b/kernel/patches-4.14.x-rt/0298-md-raid5-do-not-disable-interrupts.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0299-0299-md-raid5-do-not-disable-interrupts.patch rename to kernel/patches-4.14.x-rt/0298-md-raid5-do-not-disable-interrupts.patch index feba85f4a..6c5bbd4f7 100644 --- a/kernel/patches-4.14.x-rt/0299-0299-md-raid5-do-not-disable-interrupts.patch +++ b/kernel/patches-4.14.x-rt/0298-md-raid5-do-not-disable-interrupts.patch @@ -1,7 +1,7 @@ -From 97b8569fdcde9e2323505a8f4a20730c7f2a2dc8 Mon Sep 17 00:00:00 2001 +From 37e948baaf292138db26d8af9947074a6e904450 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 17 Nov 2017 16:21:00 +0100 -Subject: [PATCH 299/414] md/raid5: do not disable interrupts +Subject: [PATCH 298/418] md/raid5: do not disable interrupts |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974 |in_atomic(): 0, irqs_disabled(): 1, pid: 2992, name: lvm @@ -34,7 +34,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c -index 871f1d2e9cc4..79ba70bc1f89 100644 +index 11569aa9e6d2..373ee9fb716c 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -410,7 +410,7 @@ void raid5_release_stripe(struct stripe_head *sh) @@ -56,5 +56,5 @@ index 871f1d2e9cc4..79ba70bc1f89 100644 static inline void remove_hash(struct stripe_head *sh) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0300-0300-rt-Introduce-cpu_chill.patch b/kernel/patches-4.14.x-rt/0299-rt-Introduce-cpu_chill.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0300-0300-rt-Introduce-cpu_chill.patch rename to kernel/patches-4.14.x-rt/0299-rt-Introduce-cpu_chill.patch index 96c438aab..3eb6e5955 100644 --- a/kernel/patches-4.14.x-rt/0300-0300-rt-Introduce-cpu_chill.patch +++ b/kernel/patches-4.14.x-rt/0299-rt-Introduce-cpu_chill.patch @@ -1,7 +1,7 @@ -From 611df5906d053af47be15a4080fccf2d08291722 Mon Sep 17 00:00:00 2001 +From 0b1763ad6e9891d15438150336caafcae8644dfa Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 20:51:03 +0100 -Subject: [PATCH 300/414] rt: Introduce cpu_chill() +Subject: [PATCH 299/418] rt: Introduce cpu_chill() Retry loops on RT might loop forever when the modifying side was preempted. Add cpu_chill() to replace cpu_relax(). cpu_chill() @@ -132,5 +132,5 @@ index f824b9721ce7..ad67ac12d6b6 100644 * Functions related to boot-time initialization: */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0301-0301-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch b/kernel/patches-4.14.x-rt/0300-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0301-0301-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch rename to kernel/patches-4.14.x-rt/0300-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch index e2cd07ea1..df755ea53 100644 --- a/kernel/patches-4.14.x-rt/0301-0301-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch +++ b/kernel/patches-4.14.x-rt/0300-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch @@ -1,7 +1,7 @@ -From 5ce0ac406fcb466d4a16c428c2aa241e32380d58 Mon Sep 17 00:00:00 2001 +From af00646d7a38726c36b2c055037a57ed10577860 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 4 Mar 2014 12:28:32 -0500 -Subject: [PATCH 301/414] cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep +Subject: [PATCH 300/418] cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep We hit another bug that was caused by switching cpu_chill() from msleep() to hrtimer_nanosleep(). @@ -104,5 +104,5 @@ index ad67ac12d6b6..6c77643eaf02 100644 current->flags &= ~PF_NOFREEZE; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0302-0302-kernel-cpu_chill-use-schedule_hrtimeout.patch b/kernel/patches-4.14.x-rt/0301-kernel-cpu_chill-use-schedule_hrtimeout.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0302-0302-kernel-cpu_chill-use-schedule_hrtimeout.patch rename to kernel/patches-4.14.x-rt/0301-kernel-cpu_chill-use-schedule_hrtimeout.patch index a5ca9ce78..fbccb1b58 100644 --- a/kernel/patches-4.14.x-rt/0302-0302-kernel-cpu_chill-use-schedule_hrtimeout.patch +++ b/kernel/patches-4.14.x-rt/0301-kernel-cpu_chill-use-schedule_hrtimeout.patch @@ -1,7 +1,7 @@ -From 3b22e437d3251c80d0724ab8ac6314443a3d2334 Mon Sep 17 00:00:00 2001 +From 6d3a5b0526dd3e1c18cf53e56c27b3afa0dcf532 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 16 Mar 2018 13:07:59 +0100 -Subject: [PATCH 302/414] kernel/cpu_chill: use schedule_hrtimeout() +Subject: [PATCH 301/418] kernel/cpu_chill: use schedule_hrtimeout() If a task calls cpu_chill() and gets woken up by a regular or spurious wakeup and has a signal pending, then it exits the sleep loop in @@ -42,5 +42,5 @@ index 6c77643eaf02..c0efc22ba635 100644 current->flags &= ~PF_NOFREEZE; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0303-0303-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch b/kernel/patches-4.14.x-rt/0302-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0303-0303-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch rename to kernel/patches-4.14.x-rt/0302-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch index d85d95700..6ecd5aad0 100644 --- a/kernel/patches-4.14.x-rt/0303-0303-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch +++ b/kernel/patches-4.14.x-rt/0302-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch @@ -1,7 +1,7 @@ -From 17dc278d62433ceb76fbe2ceaedd64a2b210a84a Mon Sep 17 00:00:00 2001 +From 4f346629b8039668899908aec6b666807fa9b905 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 16 Mar 2018 15:04:49 +0100 -Subject: [PATCH 303/414] Revert "cpu_chill: Add a UNINTERRUPTIBLE +Subject: [PATCH 302/418] Revert "cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep" This reverts commit "cpu_chill: Add a UNINTERRUPTIBLE @@ -76,5 +76,5 @@ index c0efc22ba635..ce2c2d04cbaa 100644 struct timespec __user *, rmtp) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0304-0304-rtmutex-annotate-sleeping-lock-context.patch b/kernel/patches-4.14.x-rt/0303-rtmutex-annotate-sleeping-lock-context.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0304-0304-rtmutex-annotate-sleeping-lock-context.patch rename to kernel/patches-4.14.x-rt/0303-rtmutex-annotate-sleeping-lock-context.patch index 9e3f477b6..b1ea6a2d0 100644 --- a/kernel/patches-4.14.x-rt/0304-0304-rtmutex-annotate-sleeping-lock-context.patch +++ b/kernel/patches-4.14.x-rt/0303-rtmutex-annotate-sleeping-lock-context.patch @@ -1,7 +1,7 @@ -From 413200f00f89f4f99291278d14468d5abb8f2828 Mon Sep 17 00:00:00 2001 +From 77bbee9c76e26c4a3fa0f1ad8db65f5581fb057b Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 3 May 2018 17:16:26 +0200 -Subject: [PATCH 304/414] rtmutex: annotate sleeping lock context +Subject: [PATCH 303/418] rtmutex: annotate sleeping lock context 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 @@ -32,10 +32,10 @@ Signed-off-by: Sebastian Andrzej Siewior 5 files changed, 50 insertions(+), 10 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h -index c9941a5e93ae..358748c77304 100644 +index 52cf8d74b534..dc3c98d9f924 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -598,6 +598,9 @@ struct task_struct { +@@ -638,6 +638,9 @@ struct task_struct { int migrate_disable_atomic; # endif #endif @@ -45,7 +45,7 @@ index c9941a5e93ae..358748c77304 100644 #ifdef CONFIG_PREEMPT_RCU int rcu_read_lock_nesting; -@@ -1708,6 +1711,23 @@ static __always_inline bool need_resched(void) +@@ -1756,6 +1759,23 @@ static __always_inline bool need_resched(void) return unlikely(tif_need_resched()); } @@ -203,7 +203,7 @@ index aebb7ce25bc6..f2e155b2c4a8 100644 EXPORT_SYMBOL(rt_write_unlock); diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h -index 5d93d972d88e..5426b8733293 100644 +index 65efae0cf087..09c739703533 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -324,13 +324,13 @@ static void rcu_preempt_note_context_switch(bool preempt) @@ -239,5 +239,5 @@ index ce2c2d04cbaa..b59e009087a9 100644 current->flags &= ~PF_NOFREEZE; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0305-0305-block-blk-mq-Use-swait.patch b/kernel/patches-4.14.x-rt/0304-block-blk-mq-Use-swait.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0305-0305-block-blk-mq-Use-swait.patch rename to kernel/patches-4.14.x-rt/0304-block-blk-mq-Use-swait.patch index 215553e91..d4f6a3973 100644 --- a/kernel/patches-4.14.x-rt/0305-0305-block-blk-mq-Use-swait.patch +++ b/kernel/patches-4.14.x-rt/0304-block-blk-mq-Use-swait.patch @@ -1,7 +1,7 @@ -From 0614daa5f982ae058cf0984949a896dba68db3b8 Mon Sep 17 00:00:00 2001 +From d89e89efb4ad991ec5ea4b91ec0451c5ec4ba123 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 13 Feb 2015 11:01:26 +0100 -Subject: [PATCH 305/414] block: blk-mq: Use swait +Subject: [PATCH 304/418] block: blk-mq: Use swait | 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 @@ -76,10 +76,10 @@ index 4ea09f0974d6..8b04cde33602 100644 /* * Init percpu_ref in atomic mode so that it's faster to shutdown. diff --git a/block/blk-mq.c b/block/blk-mq.c -index f321d46fcec2..1da05b172dc4 100644 +index 0815a6599ab3..6929a028db12 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c -@@ -132,14 +132,14 @@ EXPORT_SYMBOL_GPL(blk_freeze_queue_start); +@@ -151,14 +151,14 @@ EXPORT_SYMBOL_GPL(blk_freeze_queue_start); void blk_mq_freeze_queue_wait(struct request_queue *q) { @@ -96,7 +96,7 @@ index f321d46fcec2..1da05b172dc4 100644 percpu_ref_is_zero(&q->q_usage_counter), timeout); } -@@ -182,7 +182,7 @@ void blk_mq_unfreeze_queue(struct request_queue *q) +@@ -201,7 +201,7 @@ void blk_mq_unfreeze_queue(struct request_queue *q) WARN_ON_ONCE(freeze_depth < 0); if (!freeze_depth) { percpu_ref_reinit(&q->q_usage_counter); @@ -105,7 +105,7 @@ index f321d46fcec2..1da05b172dc4 100644 } } EXPORT_SYMBOL_GPL(blk_mq_unfreeze_queue); -@@ -263,7 +263,7 @@ void blk_mq_wake_waiters(struct request_queue *q) +@@ -282,7 +282,7 @@ void blk_mq_wake_waiters(struct request_queue *q) * dying, we need to ensure that processes currently waiting on * the queue are notified as well. */ @@ -128,5 +128,5 @@ index b68752bfb645..6f278f1fd634 100644 struct list_head all_q_node; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0306-0306-Revert-block-blk-mq-Use-swait.patch b/kernel/patches-4.14.x-rt/0305-Revert-block-blk-mq-Use-swait.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0306-0306-Revert-block-blk-mq-Use-swait.patch rename to kernel/patches-4.14.x-rt/0305-Revert-block-blk-mq-Use-swait.patch index 165536c6f..00c78db2d 100644 --- a/kernel/patches-4.14.x-rt/0306-0306-Revert-block-blk-mq-Use-swait.patch +++ b/kernel/patches-4.14.x-rt/0305-Revert-block-blk-mq-Use-swait.patch @@ -1,7 +1,7 @@ -From 60400047cfb26f6617c03f1cd648444739529f2d Mon Sep 17 00:00:00 2001 +From 973ccd3785c59c769c646202eb5330908d08dbd4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 13 Mar 2018 11:31:09 +0100 -Subject: [PATCH 306/414] Revert "block: blk-mq: Use swait" +Subject: [PATCH 305/418] Revert "block: blk-mq: Use swait" This reverts commit "block: blk-mq: Use swait". The issue remains but will be fixed differently. @@ -46,10 +46,10 @@ index 8b04cde33602..4ea09f0974d6 100644 /* * Init percpu_ref in atomic mode so that it's faster to shutdown. diff --git a/block/blk-mq.c b/block/blk-mq.c -index 1da05b172dc4..f321d46fcec2 100644 +index 6929a028db12..0815a6599ab3 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c -@@ -132,14 +132,14 @@ EXPORT_SYMBOL_GPL(blk_freeze_queue_start); +@@ -151,14 +151,14 @@ EXPORT_SYMBOL_GPL(blk_freeze_queue_start); void blk_mq_freeze_queue_wait(struct request_queue *q) { @@ -66,7 +66,7 @@ index 1da05b172dc4..f321d46fcec2 100644 percpu_ref_is_zero(&q->q_usage_counter), timeout); } -@@ -182,7 +182,7 @@ void blk_mq_unfreeze_queue(struct request_queue *q) +@@ -201,7 +201,7 @@ void blk_mq_unfreeze_queue(struct request_queue *q) WARN_ON_ONCE(freeze_depth < 0); if (!freeze_depth) { percpu_ref_reinit(&q->q_usage_counter); @@ -75,7 +75,7 @@ index 1da05b172dc4..f321d46fcec2 100644 } } EXPORT_SYMBOL_GPL(blk_mq_unfreeze_queue); -@@ -263,7 +263,7 @@ void blk_mq_wake_waiters(struct request_queue *q) +@@ -282,7 +282,7 @@ void blk_mq_wake_waiters(struct request_queue *q) * dying, we need to ensure that processes currently waiting on * the queue are notified as well. */ @@ -98,5 +98,5 @@ index 6f278f1fd634..b68752bfb645 100644 struct list_head all_q_node; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0307-0307-block-blk-mq-move-blk_queue_usage_counter_release-in.patch b/kernel/patches-4.14.x-rt/0306-block-blk-mq-move-blk_queue_usage_counter_release-in.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0307-0307-block-blk-mq-move-blk_queue_usage_counter_release-in.patch rename to kernel/patches-4.14.x-rt/0306-block-blk-mq-move-blk_queue_usage_counter_release-in.patch index 2b8014985..133092394 100644 --- a/kernel/patches-4.14.x-rt/0307-0307-block-blk-mq-move-blk_queue_usage_counter_release-in.patch +++ b/kernel/patches-4.14.x-rt/0306-block-blk-mq-move-blk_queue_usage_counter_release-in.patch @@ -1,7 +1,7 @@ -From 3b72a7410a5417936cb0c7fd6c988c20a836cdc9 Mon Sep 17 00:00:00 2001 +From 1f0f39a6a7045be9c38a2d46c7ca49d14f89fd08 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 13 Mar 2018 13:49:16 +0100 -Subject: [PATCH 307/414] block: blk-mq: move blk_queue_usage_counter_release() +Subject: [PATCH 306/418] block: blk-mq: move blk_queue_usage_counter_release() into process context | BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:914 @@ -116,5 +116,5 @@ index b68752bfb645..49b53ad6d2d6 100644 struct list_head all_q_node; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0308-0308-block-Use-cpu_chill-for-retry-loops.patch b/kernel/patches-4.14.x-rt/0307-block-Use-cpu_chill-for-retry-loops.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0308-0308-block-Use-cpu_chill-for-retry-loops.patch rename to kernel/patches-4.14.x-rt/0307-block-Use-cpu_chill-for-retry-loops.patch index 946413d2e..cf32956a8 100644 --- a/kernel/patches-4.14.x-rt/0308-0308-block-Use-cpu_chill-for-retry-loops.patch +++ b/kernel/patches-4.14.x-rt/0307-block-Use-cpu_chill-for-retry-loops.patch @@ -1,7 +1,7 @@ -From ec5cb0791cfa622ba7be0207c4fc375dcc392bcd Mon Sep 17 00:00:00 2001 +From 7ae5e64d19356887a6b7e27d4b8d69b8f96a6418 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 20 Dec 2012 18:28:26 +0100 -Subject: [PATCH 308/414] block: Use cpu_chill() for retry loops +Subject: [PATCH 307/418] block: Use cpu_chill() for retry loops Retry loops on RT might loop forever when the modifying side was preempted. Steven also observed a live lock when there was a @@ -46,5 +46,5 @@ index f23311e4b201..ca9ea624f159 100644 } } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0309-0309-fs-dcache-Use-cpu_chill-in-trylock-loops.patch b/kernel/patches-4.14.x-rt/0308-fs-dcache-Use-cpu_chill-in-trylock-loops.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0309-0309-fs-dcache-Use-cpu_chill-in-trylock-loops.patch rename to kernel/patches-4.14.x-rt/0308-fs-dcache-Use-cpu_chill-in-trylock-loops.patch index 7f827c9cd..260c2da15 100644 --- a/kernel/patches-4.14.x-rt/0309-0309-fs-dcache-Use-cpu_chill-in-trylock-loops.patch +++ b/kernel/patches-4.14.x-rt/0308-fs-dcache-Use-cpu_chill-in-trylock-loops.patch @@ -1,7 +1,7 @@ -From 7c153c19a4f32b9ef2a4b31116b994e8e31eb233 Mon Sep 17 00:00:00 2001 +From 1919115b3860008bae10cad4030aff30fe17e87c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:00:34 +0100 -Subject: [PATCH 309/414] fs: dcache: Use cpu_chill() in trylock loops +Subject: [PATCH 308/418] fs: dcache: Use cpu_chill() in trylock loops Retry loops on RT might loop forever when the modifying side was preempted. Use cpu_chill() instead of cpu_relax() to let the system @@ -41,7 +41,7 @@ index 57725d4a8c59..62220508bace 100644 } spin_unlock(&p->d_lock); diff --git a/fs/dcache.c b/fs/dcache.c -index 39ba05ff22aa..1f20fdce4730 100644 +index 0d8a43d0e445..5aa25e166c7b 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -19,6 +19,7 @@ @@ -83,7 +83,7 @@ index 39ba05ff22aa..1f20fdce4730 100644 goto repeat; } } -@@ -2372,7 +2384,7 @@ void d_delete(struct dentry * dentry) +@@ -2394,7 +2406,7 @@ void d_delete(struct dentry * dentry) if (dentry->d_lockref.count == 1) { if (!spin_trylock(&inode->i_lock)) { spin_unlock(&dentry->d_lock); @@ -93,7 +93,7 @@ index 39ba05ff22aa..1f20fdce4730 100644 } dentry->d_flags &= ~DCACHE_CANT_MOUNT; diff --git a/fs/namespace.c b/fs/namespace.c -index b9cd42b9b2c9..e6360689fab3 100644 +index 0a74d6c02928..78aae83453dd 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -14,6 +14,7 @@ @@ -114,5 +114,5 @@ index b9cd42b9b2c9..e6360689fab3 100644 } /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0310-0310-net-Use-cpu_chill-instead-of-cpu_relax.patch b/kernel/patches-4.14.x-rt/0309-net-Use-cpu_chill-instead-of-cpu_relax.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0310-0310-net-Use-cpu_chill-instead-of-cpu_relax.patch rename to kernel/patches-4.14.x-rt/0309-net-Use-cpu_chill-instead-of-cpu_relax.patch index 52fa2d1f9..fc8450824 100644 --- a/kernel/patches-4.14.x-rt/0310-0310-net-Use-cpu_chill-instead-of-cpu_relax.patch +++ b/kernel/patches-4.14.x-rt/0309-net-Use-cpu_chill-instead-of-cpu_relax.patch @@ -1,7 +1,7 @@ -From c2959cdf29207c99481ce01e75d3154ea1624cb6 Mon Sep 17 00:00:00 2001 +From 5f998852deb9bb47c44465113e43ec601ed3f6b2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:10:04 +0100 -Subject: [PATCH 310/414] net: Use cpu_chill() instead of cpu_relax() +Subject: [PATCH 309/418] net: Use cpu_chill() instead of cpu_relax() Retry loops on RT might loop forever when the modifying side was preempted. Use cpu_chill() instead of cpu_relax() to let the system @@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c -index 3994b71f8197..5022140aff40 100644 +index 4fe2e34522d6..8bdf6c301261 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -63,6 +63,7 @@ @@ -65,5 +65,5 @@ index 9a3c54e659e9..2a95f1d587ac 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0311-0311-fs-dcache-use-swait_queue-instead-of-waitqueue.patch b/kernel/patches-4.14.x-rt/0310-fs-dcache-use-swait_queue-instead-of-waitqueue.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0311-0311-fs-dcache-use-swait_queue-instead-of-waitqueue.patch rename to kernel/patches-4.14.x-rt/0310-fs-dcache-use-swait_queue-instead-of-waitqueue.patch index eda40f194..8327daa5d 100644 --- a/kernel/patches-4.14.x-rt/0311-0311-fs-dcache-use-swait_queue-instead-of-waitqueue.patch +++ b/kernel/patches-4.14.x-rt/0310-fs-dcache-use-swait_queue-instead-of-waitqueue.patch @@ -1,7 +1,7 @@ -From b4baebe842bbdd23f5ec667a77354420ba63ed4a Mon Sep 17 00:00:00 2001 +From 0e82ebc06bbeab4cc3598f3035f7043c8c65b429 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 14:35:49 +0200 -Subject: [PATCH 311/414] fs/dcache: use swait_queue instead of waitqueue +Subject: [PATCH 310/418] fs/dcache: use swait_queue instead of waitqueue __d_lookup_done() invokes wake_up_all() while holding a hlist_bl_lock() which disables preemption. As a workaround convert it to swait. @@ -35,10 +35,10 @@ index a27fc8791551..791aecb7c1ac 100644 cifs_dbg(FYI, "%s: for %s\n", __func__, name->name); diff --git a/fs/dcache.c b/fs/dcache.c -index 1f20fdce4730..b5a8d9d26740 100644 +index 5aa25e166c7b..c1c1f3ce00ca 100644 --- a/fs/dcache.c +++ b/fs/dcache.c -@@ -2446,21 +2446,24 @@ static inline void end_dir_add(struct inode *dir, unsigned n) +@@ -2468,21 +2468,24 @@ static inline void end_dir_add(struct inode *dir, unsigned n) static void d_wait_lookup(struct dentry *dentry) { @@ -74,7 +74,7 @@ index 1f20fdce4730..b5a8d9d26740 100644 { unsigned int hash = name->hash; struct hlist_bl_head *b = in_lookup_hash(parent, hash); -@@ -2569,7 +2572,7 @@ void __d_lookup_done(struct dentry *dentry) +@@ -2597,7 +2600,7 @@ void __d_lookup_done(struct dentry *dentry) hlist_bl_lock(b); dentry->d_flags &= ~DCACHE_PAR_LOOKUP; __hlist_bl_del(&dentry->d_u.d_in_lookup_hash); @@ -163,10 +163,10 @@ index 2e78bc25bcea..0dc1d3e6a62f 100644 status = -EBUSY; spin_lock(&dentry->d_lock); diff --git a/fs/proc/base.c b/fs/proc/base.c -index 2ff11a693360..53ed8f8ca752 100644 +index c5c42f3e33d1..f5dcd63f37aa 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c -@@ -1880,7 +1880,7 @@ bool proc_fill_cache(struct file *file, struct dir_context *ctx, +@@ -1886,7 +1886,7 @@ bool proc_fill_cache(struct file *file, struct dir_context *ctx, child = d_hash_and_lookup(dir, &qname); if (!child) { @@ -176,7 +176,7 @@ index 2ff11a693360..53ed8f8ca752 100644 if (IS_ERR(child)) goto end_instantiate; diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c -index c5cbbdff3c3d..3b742e3b4dbc 100644 +index 82ac5f682b73..c35714621a38 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs/proc/proc_sysctl.c @@ -679,7 +679,7 @@ static bool proc_sys_fill_cache(struct file *file, @@ -189,7 +189,7 @@ index c5cbbdff3c3d..3b742e3b4dbc 100644 if (IS_ERR(child)) return false; diff --git a/include/linux/dcache.h b/include/linux/dcache.h -index f05a659cdf34..33c6591e59c1 100644 +index 006f4ccda5f5..d413993f7f17 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -107,7 +107,7 @@ struct dentry { @@ -201,7 +201,7 @@ index f05a659cdf34..33c6591e59c1 100644 }; struct list_head d_child; /* child of parent list */ struct list_head d_subdirs; /* our children */ -@@ -237,7 +237,7 @@ extern void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op +@@ -238,7 +238,7 @@ extern void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op extern struct dentry * d_alloc(struct dentry *, const struct qstr *); extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *); extern struct dentry * d_alloc_parallel(struct dentry *, const struct qstr *, @@ -236,5 +236,5 @@ index 7006375949c2..b14638a05ec9 100644 list_splice_init(&q->task_list, &tmp); while (!list_empty(&tmp)) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0312-0312-workqueue-Use-normal-rcu.patch b/kernel/patches-4.14.x-rt/0311-workqueue-Use-normal-rcu.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0312-0312-workqueue-Use-normal-rcu.patch rename to kernel/patches-4.14.x-rt/0311-workqueue-Use-normal-rcu.patch index 4b92d4cce..78da0011b 100644 --- a/kernel/patches-4.14.x-rt/0312-0312-workqueue-Use-normal-rcu.patch +++ b/kernel/patches-4.14.x-rt/0311-workqueue-Use-normal-rcu.patch @@ -1,7 +1,7 @@ -From bc530122ea666661632fd063c6bfdf151abd34a8 Mon Sep 17 00:00:00 2001 +From 7ba1285c7cef8db04a848a131b7f103f57d8a8f6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 24 Jul 2013 15:26:54 +0200 -Subject: [PATCH 312/414] workqueue: Use normal rcu +Subject: [PATCH 311/418] workqueue: Use normal rcu 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 @@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 52 insertions(+), 43 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index d0c6b50792c8..8237f1af3bc3 100644 +index d8a7f8939c81..309024baa39f 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -127,7 +127,7 @@ enum { @@ -355,5 +355,5 @@ index d0c6b50792c8..8237f1af3bc3 100644 return written; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0313-0313-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch b/kernel/patches-4.14.x-rt/0312-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0313-0313-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch rename to kernel/patches-4.14.x-rt/0312-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch index 51f7dc4d4..c2891ebdf 100644 --- a/kernel/patches-4.14.x-rt/0313-0313-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch +++ b/kernel/patches-4.14.x-rt/0312-workqueue-Use-local-irq-lock-instead-of-irq-disable-.patch @@ -1,7 +1,7 @@ -From f56c9372b3af4a683575374a9f0becd1d4887901 Mon Sep 17 00:00:00 2001 +From 7b71b313da1fb3af12455982486259751f231075 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:42:26 +0200 -Subject: [PATCH 313/414] workqueue: Use local irq lock instead of irq disable +Subject: [PATCH 312/418] workqueue: Use local irq lock instead of irq disable regions Use a local_irq_lock as a replacement for irq off regions. We keep the @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index 8237f1af3bc3..a54388c98ad6 100644 +index 309024baa39f..165166d88c05 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -49,6 +49,7 @@ @@ -161,5 +161,5 @@ index 8237f1af3bc3..a54388c98ad6 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0314-0314-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch b/kernel/patches-4.14.x-rt/0313-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0314-0314-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch rename to kernel/patches-4.14.x-rt/0313-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch index 1229ed33b..0a8cebbda 100644 --- a/kernel/patches-4.14.x-rt/0314-0314-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch +++ b/kernel/patches-4.14.x-rt/0313-workqueue-Prevent-workqueue-versus-ata-piix-livelock.patch @@ -1,7 +1,7 @@ -From 874e82674e471c7f9f4f0d60c819e8d32dabb17c Mon Sep 17 00:00:00 2001 +From 88c195e8ebc0141b4a7ccdf82f6c7553503e7d0d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 1 Jul 2013 11:02:42 +0200 -Subject: [PATCH 314/414] workqueue: Prevent workqueue versus ata-piix livelock +Subject: [PATCH 313/418] workqueue: Prevent workqueue versus ata-piix livelock 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 @@ -113,7 +113,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index a54388c98ad6..f56f234b1209 100644 +index 165166d88c05..55d1dee16bc0 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -50,6 +50,7 @@ @@ -134,5 +134,5 @@ index a54388c98ad6..f56f234b1209 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0315-0315-sched-Distangle-worker-accounting-from-rqlock.patch b/kernel/patches-4.14.x-rt/0314-sched-Distangle-worker-accounting-from-rqlock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0315-0315-sched-Distangle-worker-accounting-from-rqlock.patch rename to kernel/patches-4.14.x-rt/0314-sched-Distangle-worker-accounting-from-rqlock.patch index ad7b66c3c..db232535a 100644 --- a/kernel/patches-4.14.x-rt/0315-0315-sched-Distangle-worker-accounting-from-rqlock.patch +++ b/kernel/patches-4.14.x-rt/0314-sched-Distangle-worker-accounting-from-rqlock.patch @@ -1,7 +1,7 @@ -From fb434ada4e710cc858d341947ee069174665f653 Mon Sep 17 00:00:00 2001 +From 60e42b1eefeac9da2b5ca5f4e4e78d27a7778540 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Jun 2011 19:47:03 +0200 -Subject: [PATCH 315/414] sched: Distangle worker accounting from rqlock +Subject: [PATCH 314/418] sched: Distangle worker accounting from rqlock 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 @@ -30,7 +30,7 @@ Signed-off-by: Thomas Gleixner 3 files changed, 41 insertions(+), 100 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 6ab163bbeaa0..44a529ca00e0 100644 +index b5d0877c7079..44a1dc2574de 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1716,10 +1716,6 @@ static inline void ttwu_activate(struct rq *rq, struct task_struct *p, int en_fl @@ -123,7 +123,7 @@ index 6ab163bbeaa0..44a529ca00e0 100644 } switch_count = &prev->nvcsw; } -@@ -3500,6 +3431,14 @@ static inline void sched_submit_work(struct task_struct *tsk) +@@ -3485,6 +3416,14 @@ static inline void sched_submit_work(struct task_struct *tsk) { if (!tsk->state || tsk_is_pi_blocked(tsk)) return; @@ -138,7 +138,7 @@ index 6ab163bbeaa0..44a529ca00e0 100644 /* * If we are going to sleep and we have plugged IO queued, * make sure to submit it to avoid deadlocks. -@@ -3508,6 +3447,12 @@ static inline void sched_submit_work(struct task_struct *tsk) +@@ -3493,6 +3432,12 @@ static inline void sched_submit_work(struct task_struct *tsk) blk_schedule_flush_plug(tsk); } @@ -151,7 +151,7 @@ index 6ab163bbeaa0..44a529ca00e0 100644 asmlinkage __visible void __sched schedule(void) { struct task_struct *tsk = current; -@@ -3518,6 +3463,7 @@ asmlinkage __visible void __sched schedule(void) +@@ -3503,6 +3448,7 @@ asmlinkage __visible void __sched schedule(void) __schedule(false); sched_preempt_enable_no_resched(); } while (need_resched()); @@ -160,7 +160,7 @@ index 6ab163bbeaa0..44a529ca00e0 100644 EXPORT_SYMBOL(schedule); diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index f56f234b1209..a02ce94e5871 100644 +index 55d1dee16bc0..fffe7dd994b9 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -845,43 +845,32 @@ static void wake_up_worker(struct worker_pool *pool) @@ -277,5 +277,5 @@ index d390d1be3748..2dbcfe9bc364 100644 #endif /* _KERNEL_WORKQUEUE_INTERNAL_H */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0316-0316-percpu_ida-Use-local-locks.patch b/kernel/patches-4.14.x-rt/0315-percpu_ida-Use-local-locks.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0316-0316-percpu_ida-Use-local-locks.patch rename to kernel/patches-4.14.x-rt/0315-percpu_ida-Use-local-locks.patch index 2abbb14ed..5920454cd 100644 --- a/kernel/patches-4.14.x-rt/0316-0316-percpu_ida-Use-local-locks.patch +++ b/kernel/patches-4.14.x-rt/0315-percpu_ida-Use-local-locks.patch @@ -1,7 +1,7 @@ -From ef8eeac6d1c88e1d159af3107cdb0928ed6cbef7 Mon Sep 17 00:00:00 2001 +From 35c392fdde3f7becf08f6923fbb977f3a0efb962 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 9 Apr 2014 11:58:17 +0200 -Subject: [PATCH 316/414] percpu_ida: Use local locks +Subject: [PATCH 315/418] percpu_ida: Use local locks the local_irq_save() + spin_lock() does not work that well on -RT @@ -103,5 +103,5 @@ index 6016f1deb1f5..cdd43086b55b 100644 } EXPORT_SYMBOL_GPL(percpu_ida_for_each_free); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0317-0317-debugobjects-Make-RT-aware.patch b/kernel/patches-4.14.x-rt/0316-debugobjects-Make-RT-aware.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0317-0317-debugobjects-Make-RT-aware.patch rename to kernel/patches-4.14.x-rt/0316-debugobjects-Make-RT-aware.patch index 376381970..7c10e0dd5 100644 --- a/kernel/patches-4.14.x-rt/0317-0317-debugobjects-Make-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0316-debugobjects-Make-RT-aware.patch @@ -1,7 +1,7 @@ -From 486c11672e2b42023b9b966fd4a7f289237ff668 Mon Sep 17 00:00:00 2001 +From e1d4fbd1eb23951873c0023c184cabacc7459575 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:41:35 +0200 -Subject: [PATCH 317/414] debugobjects: Make RT aware +Subject: [PATCH 316/418] debugobjects: Make RT aware Avoid filling the pool / allocating memory with irqs off(). @@ -27,5 +27,5 @@ index 2f5349c6e81a..d789930edcc2 100644 db = get_bucket((unsigned long) addr); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0318-0318-jump-label-disable-if-stop_machine-is-used.patch b/kernel/patches-4.14.x-rt/0317-jump-label-disable-if-stop_machine-is-used.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0318-0318-jump-label-disable-if-stop_machine-is-used.patch rename to kernel/patches-4.14.x-rt/0317-jump-label-disable-if-stop_machine-is-used.patch index df753984b..a801ca9a3 100644 --- a/kernel/patches-4.14.x-rt/0318-0318-jump-label-disable-if-stop_machine-is-used.patch +++ b/kernel/patches-4.14.x-rt/0317-jump-label-disable-if-stop_machine-is-used.patch @@ -1,7 +1,7 @@ -From f7f75473dbcc1a9f37c6db6c9dd3ec2f6849c2bf Mon Sep 17 00:00:00 2001 +From 75bcfe01b33f077b3287d684bdd2fe62b22d2a4e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 8 Jul 2015 17:14:48 +0200 -Subject: [PATCH 318/414] jump-label: disable if stop_machine() is used +Subject: [PATCH 317/418] jump-label: disable if stop_machine() is used Some architectures are using stop_machine() while switching the opcode which leads to latency spikes. @@ -37,5 +37,5 @@ index d1346a160760..e57221694d28 100644 select HAVE_ARCH_MMAP_RND_BITS if MMU select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0319-0319-seqlock-Prevent-rt-starvation.patch b/kernel/patches-4.14.x-rt/0318-seqlock-Prevent-rt-starvation.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0319-0319-seqlock-Prevent-rt-starvation.patch rename to kernel/patches-4.14.x-rt/0318-seqlock-Prevent-rt-starvation.patch index 044fe6a1a..ea25bfeba 100644 --- a/kernel/patches-4.14.x-rt/0319-0319-seqlock-Prevent-rt-starvation.patch +++ b/kernel/patches-4.14.x-rt/0318-seqlock-Prevent-rt-starvation.patch @@ -1,7 +1,7 @@ -From d02ab7e10b1e9f2ef97676c0510da95fceeb967b Mon Sep 17 00:00:00 2001 +From 9d26fab112b6eb5298df0b7d448fad1be3990f5f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Feb 2012 12:03:30 +0100 -Subject: [PATCH 319/414] seqlock: Prevent rt starvation +Subject: [PATCH 318/418] seqlock: Prevent rt starvation If a low prio writer gets preempted while holding the seqlock write locked, a high prio reader spins forever on RT. @@ -189,5 +189,5 @@ index a964366a7ef5..51c854583987 100644 { unsigned int seq; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0320-0320-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch b/kernel/patches-4.14.x-rt/0319-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0320-0320-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch rename to kernel/patches-4.14.x-rt/0319-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch index 8eb292f99..0e1b4accc 100644 --- a/kernel/patches-4.14.x-rt/0320-0320-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch +++ b/kernel/patches-4.14.x-rt/0319-sunrpc-Make-svc_xprt_do_enqueue-use-get_cpu_light.patch @@ -1,7 +1,7 @@ -From 9be48a5300df1f103eae12aaa574ce898f167829 Mon Sep 17 00:00:00 2001 +From cce92a00c792f3c43f35e6a2e20682d7fa125106 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 18 Feb 2015 16:05:28 +0100 -Subject: [PATCH 320/414] sunrpc: Make svc_xprt_do_enqueue() use +Subject: [PATCH 319/418] sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light() |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915 @@ -65,5 +65,5 @@ index d16a8b423c20..cedaf909eb97 100644 trace_svc_xprt_do_enqueue(xprt, rqstp); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0321-0321-net-Use-skbufhead-with-raw-lock.patch b/kernel/patches-4.14.x-rt/0320-net-Use-skbufhead-with-raw-lock.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0321-0321-net-Use-skbufhead-with-raw-lock.patch rename to kernel/patches-4.14.x-rt/0320-net-Use-skbufhead-with-raw-lock.patch index 34cfeab96..c14d17b00 100644 --- a/kernel/patches-4.14.x-rt/0321-0321-net-Use-skbufhead-with-raw-lock.patch +++ b/kernel/patches-4.14.x-rt/0320-net-Use-skbufhead-with-raw-lock.patch @@ -1,7 +1,7 @@ -From aa8c557bc62b92234f5ed1609124b13f4be8957f Mon Sep 17 00:00:00 2001 +From 3d78659af54cfff1f1a0cf163bf51d8247867832 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 12 Jul 2011 15:38:34 +0200 -Subject: [PATCH 321/414] net: Use skbufhead with raw lock +Subject: [PATCH 320/418] net: Use skbufhead with raw lock 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 @@ -52,7 +52,7 @@ index be45224b01d7..675e45323f17 100644 struct lock_class_key *class) { diff --git a/net/core/dev.c b/net/core/dev.c -index ab2b55dcd05f..536508ef7d5e 100644 +index a67f99b8370f..4950ef3cc1b4 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -217,14 +217,14 @@ static inline struct hlist_head *dev_index_hash(struct net *net, int ifindex) @@ -163,5 +163,5 @@ index ab2b55dcd05f..536508ef7d5e 100644 sd->output_queue_tailp = &sd->output_queue; #ifdef CONFIG_RPS -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0322-0322-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch b/kernel/patches-4.14.x-rt/0321-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0322-0322-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch rename to kernel/patches-4.14.x-rt/0321-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch index 7a2d1d95c..129c8c700 100644 --- a/kernel/patches-4.14.x-rt/0322-0322-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch +++ b/kernel/patches-4.14.x-rt/0321-net-core-cpuhotplug-Drain-input_pkt_queue-lockless.patch @@ -1,7 +1,7 @@ -From 9c45aca7ebb5f1876046c17476a0147cc6b945ae Mon Sep 17 00:00:00 2001 +From 808224ca97f2dd4b4186d975f0957d8118b14f31 Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Fri, 9 Oct 2015 09:25:49 -0500 -Subject: [PATCH 322/414] net/core/cpuhotplug: Drain input_pkt_queue lockless +Subject: [PATCH 321/418] net/core/cpuhotplug: Drain input_pkt_queue lockless I can constantly see below error report with 4.1 RT-kernel on TI ARM dra7-evm if I'm trying to unplug cpu1: @@ -35,7 +35,7 @@ Cc: stable-rt@vger.kernel.org 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c -index 536508ef7d5e..bcbc5b2b2d3f 100644 +index 4950ef3cc1b4..8e7d77da7881 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -8449,7 +8449,7 @@ static int dev_cpu_dead(unsigned int oldcpu) @@ -48,5 +48,5 @@ index 536508ef7d5e..bcbc5b2b2d3f 100644 input_queue_head_incr(oldsd); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0323-0323-net-move-xmit_recursion-to-per-task-variable-on-RT.patch b/kernel/patches-4.14.x-rt/0322-net-move-xmit_recursion-to-per-task-variable-on-RT.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0323-0323-net-move-xmit_recursion-to-per-task-variable-on-RT.patch rename to kernel/patches-4.14.x-rt/0322-net-move-xmit_recursion-to-per-task-variable-on-RT.patch index f3614aafc..7baaea5a2 100644 --- a/kernel/patches-4.14.x-rt/0323-0323-net-move-xmit_recursion-to-per-task-variable-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0322-net-move-xmit_recursion-to-per-task-variable-on-RT.patch @@ -1,7 +1,7 @@ -From 5fb53f2940525ef6ad39acc8f612e657bd7cbea7 Mon Sep 17 00:00:00 2001 +From 9383e2ddd603d35e57f016a83f29a94dbc9202b4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Jan 2016 15:55:02 +0100 -Subject: [PATCH 323/414] net: move xmit_recursion to per-task variable on -RT +Subject: [PATCH 322/418] net: move xmit_recursion to per-task variable on -RT A softirq on -RT can be preempted. That means one task is in __dev_queue_xmit(), gets preempted and another task may enter @@ -82,10 +82,10 @@ index a5e88b07a471..03d01f91df83 100644 struct net_device *__dev_get_by_index(struct net *net, int ifindex); struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex); diff --git a/include/linux/sched.h b/include/linux/sched.h -index 358748c77304..f6ea03d86966 100644 +index dc3c98d9f924..33d7cb59c00b 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -1115,6 +1115,9 @@ struct task_struct { +@@ -1155,6 +1155,9 @@ struct task_struct { #endif #ifdef CONFIG_DEBUG_ATOMIC_SLEEP unsigned long task_state_change; @@ -96,7 +96,7 @@ index 358748c77304..f6ea03d86966 100644 int pagefault_disabled; #ifdef CONFIG_MMU diff --git a/net/core/dev.c b/net/core/dev.c -index bcbc5b2b2d3f..b39e7672062a 100644 +index 8e7d77da7881..ecf45f23d3ef 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3248,8 +3248,10 @@ static void skb_update_prio(struct sk_buff *skb) @@ -158,5 +158,5 @@ index d5158a10ac8f..ad96ec78f7b8 100644 return ret; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0324-0324-net-use-task_struct-instead-of-CPU-number-as-the-que.patch b/kernel/patches-4.14.x-rt/0323-net-use-task_struct-instead-of-CPU-number-as-the-que.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0324-0324-net-use-task_struct-instead-of-CPU-number-as-the-que.patch rename to kernel/patches-4.14.x-rt/0323-net-use-task_struct-instead-of-CPU-number-as-the-que.patch index 9b7c0ca1a..e04e861dc 100644 --- a/kernel/patches-4.14.x-rt/0324-0324-net-use-task_struct-instead-of-CPU-number-as-the-que.patch +++ b/kernel/patches-4.14.x-rt/0323-net-use-task_struct-instead-of-CPU-number-as-the-que.patch @@ -1,7 +1,7 @@ -From 12adfa82bdfa758daeeac0a221f6c51b393c513c Mon Sep 17 00:00:00 2001 +From 4e725f7d63971f911db84c241185de8291cf1ccf Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 21 Feb 2018 10:39:54 +0100 -Subject: [PATCH 324/414] net: use task_struct instead of CPU number as the +Subject: [PATCH 323/418] net: use task_struct instead of CPU number as the queue owner on -RT In commit ("net: move xmit_recursion to per-task variable on -RT") the @@ -124,7 +124,7 @@ index 03d01f91df83..2b0110cc0e13 100644 } diff --git a/net/core/dev.c b/net/core/dev.c -index b39e7672062a..2077c851f3b4 100644 +index ecf45f23d3ef..afd50ebb7197 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3491,7 +3491,11 @@ static int __dev_queue_xmit(struct sk_buff *skb, void *accel_priv) @@ -149,5 +149,5 @@ index b39e7672062a..2077c851f3b4 100644 queue->dev = dev; #ifdef CONFIG_BQL -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0325-0325-net-provide-a-way-to-delegate-processing-a-softirq-t.patch b/kernel/patches-4.14.x-rt/0324-net-provide-a-way-to-delegate-processing-a-softirq-t.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0325-0325-net-provide-a-way-to-delegate-processing-a-softirq-t.patch rename to kernel/patches-4.14.x-rt/0324-net-provide-a-way-to-delegate-processing-a-softirq-t.patch index d7f8a0cc3..8b9683d23 100644 --- a/kernel/patches-4.14.x-rt/0325-0325-net-provide-a-way-to-delegate-processing-a-softirq-t.patch +++ b/kernel/patches-4.14.x-rt/0324-net-provide-a-way-to-delegate-processing-a-softirq-t.patch @@ -1,7 +1,7 @@ -From 0d46d626c7a61114e0949aa9538ac72de117a05c Mon Sep 17 00:00:00 2001 +From 99a5ef140b17b11b751fd61138ae8eec7ab67175 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 20 Jan 2016 15:39:05 +0100 -Subject: [PATCH 325/414] net: provide a way to delegate processing a softirq +Subject: [PATCH 324/418] net: provide a way to delegate processing a softirq to ksoftirqd If the NET_RX uses up all of his budget it moves the following NAPI @@ -71,7 +71,7 @@ index 69a45729907a..28bd8394caa3 100644 * This function must run with irqs disabled! */ diff --git a/net/core/dev.c b/net/core/dev.c -index 2077c851f3b4..626d7cc80b7a 100644 +index afd50ebb7197..8f9fa90d72bc 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -5673,7 +5673,7 @@ static __latent_entropy void net_rx_action(struct softirq_action *h) @@ -84,5 +84,5 @@ index 2077c851f3b4..626d7cc80b7a 100644 net_rps_action_and_irq_enable(sd); out: -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0326-0326-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch b/kernel/patches-4.14.x-rt/0325-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0326-0326-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch rename to kernel/patches-4.14.x-rt/0325-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch index 014672b06..9367810c5 100644 --- a/kernel/patches-4.14.x-rt/0326-0326-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch +++ b/kernel/patches-4.14.x-rt/0325-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch @@ -1,7 +1,7 @@ -From 9c18aecf96f5310afecaab00a6dbf74615cc9602 Mon Sep 17 00:00:00 2001 +From 6d03e80a7264041dc8b667bbc2550302c9dbf7a3 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 30 Mar 2016 13:36:29 +0200 -Subject: [PATCH 326/414] net: dev: always take qdisc's busylock in +Subject: [PATCH 325/418] net: dev: always take qdisc's busylock in __dev_xmit_skb() The root-lock is dropped before dev_hard_start_xmit() is invoked and after @@ -21,7 +21,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 4 insertions(+) diff --git a/net/core/dev.c b/net/core/dev.c -index 626d7cc80b7a..8a9590c0d6af 100644 +index 8f9fa90d72bc..17ec4679e3f3 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3177,7 +3177,11 @@ static inline int __dev_xmit_skb(struct sk_buff *skb, struct Qdisc *q, @@ -37,5 +37,5 @@ index 626d7cc80b7a..8a9590c0d6af 100644 spin_lock(&q->busylock); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0327-0327-net-Qdisc-use-a-seqlock-instead-seqcount.patch b/kernel/patches-4.14.x-rt/0326-net-Qdisc-use-a-seqlock-instead-seqcount.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0327-0327-net-Qdisc-use-a-seqlock-instead-seqcount.patch rename to kernel/patches-4.14.x-rt/0326-net-Qdisc-use-a-seqlock-instead-seqcount.patch index c357d2042..ac26173c5 100644 --- a/kernel/patches-4.14.x-rt/0327-0327-net-Qdisc-use-a-seqlock-instead-seqcount.patch +++ b/kernel/patches-4.14.x-rt/0326-net-Qdisc-use-a-seqlock-instead-seqcount.patch @@ -1,7 +1,7 @@ -From 7aab44d2f015ac27ee797f0916375aa9581d640e Mon Sep 17 00:00:00 2001 +From 0813d42e576b47cbe559593e13c018625c153b73 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 14 Sep 2016 17:36:35 +0200 -Subject: [PATCH 327/414] net/Qdisc: use a seqlock instead seqcount +Subject: [PATCH 326/418] net/Qdisc: use a seqlock instead seqcount 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 @@ -289,5 +289,5 @@ index de0839491dd8..341f7895659c 100644 sch->ops = ops; sch->enqueue = ops->enqueue; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0328-0328-net-add-back-the-missing-serialization-in-ip_send_un.patch b/kernel/patches-4.14.x-rt/0327-net-add-back-the-missing-serialization-in-ip_send_un.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0328-0328-net-add-back-the-missing-serialization-in-ip_send_un.patch rename to kernel/patches-4.14.x-rt/0327-net-add-back-the-missing-serialization-in-ip_send_un.patch index 046418c39..cf93259c3 100644 --- a/kernel/patches-4.14.x-rt/0328-0328-net-add-back-the-missing-serialization-in-ip_send_un.patch +++ b/kernel/patches-4.14.x-rt/0327-net-add-back-the-missing-serialization-in-ip_send_un.patch @@ -1,7 +1,7 @@ -From 82fdf9494a68f087723e08a533fa550fc72fe970 Mon Sep 17 00:00:00 2001 +From 291f6d5a1fa2d4c5b0ff2b3464604345a84891e4 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 31 Aug 2016 17:21:56 +0200 -Subject: [PATCH 328/414] net: add back the missing serialization in +Subject: [PATCH 327/418] net: add back the missing serialization in ip_send_unicast_reply() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -42,7 +42,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 6 insertions(+) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c -index cab4b935e474..43ca00e05177 100644 +index a95ccdceb797..8f157f3aaafd 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -62,6 +62,7 @@ @@ -94,5 +94,5 @@ index cab4b935e474..43ca00e05177 100644 static void tcp_v4_timewait_ack(struct sock *sk, struct sk_buff *skb) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0329-0329-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch b/kernel/patches-4.14.x-rt/0328-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0329-0329-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch rename to kernel/patches-4.14.x-rt/0328-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch index 13fc0f54a..9c579cbfe 100644 --- a/kernel/patches-4.14.x-rt/0329-0329-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch +++ b/kernel/patches-4.14.x-rt/0328-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch @@ -1,7 +1,7 @@ -From f2951c60354c34a4a7c145737b8d7e2b4e65c145 Mon Sep 17 00:00:00 2001 +From d2a91cda43b10cf2860cdc72e8dea3175738f8a6 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 21 Aug 2017 15:09:13 +0200 -Subject: [PATCH 329/414] net: take the tcp_sk_lock lock with BH disabled +Subject: [PATCH 328/418] net: take the tcp_sk_lock lock with BH disabled Lockdep may complain about an unsafe locking scenario: | CPU0 CPU1 @@ -26,7 +26,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c -index 43ca00e05177..734dac099371 100644 +index 8f157f3aaafd..41e18629441b 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -711,8 +711,8 @@ static void tcp_v4_send_reset(const struct sock *sk, struct sk_buff *skb) @@ -69,5 +69,5 @@ index 43ca00e05177..734dac099371 100644 static void tcp_v4_timewait_ack(struct sock *sk, struct sk_buff *skb) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0330-0330-net-add-a-lock-around-icmp_sk.patch b/kernel/patches-4.14.x-rt/0329-net-add-a-lock-around-icmp_sk.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0330-0330-net-add-a-lock-around-icmp_sk.patch rename to kernel/patches-4.14.x-rt/0329-net-add-a-lock-around-icmp_sk.patch index 8d3a11226..f6cdcc9b0 100644 --- a/kernel/patches-4.14.x-rt/0330-0330-net-add-a-lock-around-icmp_sk.patch +++ b/kernel/patches-4.14.x-rt/0329-net-add-a-lock-around-icmp_sk.patch @@ -1,7 +1,7 @@ -From e5787932c4705893bc2b76d96325b25aedabfa1a Mon Sep 17 00:00:00 2001 +From 1a2dcc667042039655490aa23a547baae70882c1 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 31 Aug 2016 17:54:09 +0200 -Subject: [PATCH 330/414] net: add a lock around icmp_sk() +Subject: [PATCH 329/418] net: add a lock around icmp_sk() 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 @@ -67,5 +67,5 @@ index 3c1570d3e22f..6e1ae84d662c 100644 out:; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0331-0331-net-use-trylock-in-icmp_sk.patch b/kernel/patches-4.14.x-rt/0330-net-use-trylock-in-icmp_sk.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0331-0331-net-use-trylock-in-icmp_sk.patch rename to kernel/patches-4.14.x-rt/0330-net-use-trylock-in-icmp_sk.patch index f6bfea42e..5bc00897d 100644 --- a/kernel/patches-4.14.x-rt/0331-0331-net-use-trylock-in-icmp_sk.patch +++ b/kernel/patches-4.14.x-rt/0330-net-use-trylock-in-icmp_sk.patch @@ -1,7 +1,7 @@ -From 0257fa00cf1c964c5ee9286e5b3d24c5a76d9a50 Mon Sep 17 00:00:00 2001 +From ff62d446371f58701517feca924eac6b8dff1684 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Sep 2017 14:42:04 +0200 -Subject: [PATCH 331/414] net: use trylock in icmp_sk +Subject: [PATCH 330/418] net: use trylock in icmp_sk The locking path can be recursive (same as for sk->sk_lock.slock) and therefore we need a trylock version for the locallock, too. @@ -75,5 +75,5 @@ index 6e1ae84d662c..0310ea93f877 100644 out:; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0332-0332-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch b/kernel/patches-4.14.x-rt/0331-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0332-0332-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch rename to kernel/patches-4.14.x-rt/0331-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch index bb69938c9..66e2d21b2 100644 --- a/kernel/patches-4.14.x-rt/0332-0332-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch +++ b/kernel/patches-4.14.x-rt/0331-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch @@ -1,7 +1,7 @@ -From 70149de53319af9940161038e0cbae8afb8a1a62 Mon Sep 17 00:00:00 2001 +From 7c43cc3345957d62dc840d1cb950d356127bff84 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 6 Dec 2016 17:50:30 -0500 -Subject: [PATCH 332/414] net: Have __napi_schedule_irqoff() disable interrupts +Subject: [PATCH 331/418] net: Have __napi_schedule_irqoff() disable interrupts on RT A customer hit a crash where the napi sd->poll_list became corrupted. @@ -52,7 +52,7 @@ index 2b0110cc0e13..cd0f34dfc5f4 100644 static inline bool napi_disable_pending(struct napi_struct *n) { diff --git a/net/core/dev.c b/net/core/dev.c -index 8a9590c0d6af..9285dd9f69de 100644 +index 17ec4679e3f3..9c936553c46e 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -5268,6 +5268,7 @@ bool napi_schedule_prep(struct napi_struct *n) @@ -72,5 +72,5 @@ index 8a9590c0d6af..9285dd9f69de 100644 bool napi_complete_done(struct napi_struct *n, int work_done) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0333-0333-irqwork-push-most-work-into-softirq-context.patch b/kernel/patches-4.14.x-rt/0332-irqwork-push-most-work-into-softirq-context.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0333-0333-irqwork-push-most-work-into-softirq-context.patch rename to kernel/patches-4.14.x-rt/0332-irqwork-push-most-work-into-softirq-context.patch index 655c4118d..3e3286e16 100644 --- a/kernel/patches-4.14.x-rt/0333-0333-irqwork-push-most-work-into-softirq-context.patch +++ b/kernel/patches-4.14.x-rt/0332-irqwork-push-most-work-into-softirq-context.patch @@ -1,7 +1,7 @@ -From c79323cff02a034a861d6e52a5254a880251e50e Mon Sep 17 00:00:00 2001 +From 9c809e93261aefd0ff15052efff087d792f531ca Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 23 Jun 2015 15:32:51 +0200 -Subject: [PATCH 333/414] irqwork: push most work into softirq context +Subject: [PATCH 332/418] irqwork: push most work into softirq context 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. @@ -194,5 +194,5 @@ index ced791c0b47b..feab4b90d896 100644 * must_forward_clk must be cleared before running timers so that any * timer functions that call mod_timer will not try to forward the -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0334-0334-irqwork-Move-irq-safe-work-to-irq-context.patch b/kernel/patches-4.14.x-rt/0333-irqwork-Move-irq-safe-work-to-irq-context.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0334-0334-irqwork-Move-irq-safe-work-to-irq-context.patch rename to kernel/patches-4.14.x-rt/0333-irqwork-Move-irq-safe-work-to-irq-context.patch index e0bcd8e06..7d8c20b14 100644 --- a/kernel/patches-4.14.x-rt/0334-0334-irqwork-Move-irq-safe-work-to-irq-context.patch +++ b/kernel/patches-4.14.x-rt/0333-irqwork-Move-irq-safe-work-to-irq-context.patch @@ -1,7 +1,7 @@ -From a9a73df81d9a906141d9dce9cd6e8548ba047ee3 Mon Sep 17 00:00:00 2001 +From fe8aca9284a8c34e190db1e44160968f43c68827 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 15 Nov 2015 18:40:17 +0100 -Subject: [PATCH 334/414] irqwork: Move irq safe work to irq context +Subject: [PATCH 333/418] irqwork: Move irq safe work to irq context On architectures where arch_irq_work_has_interrupt() returns false, we end up running the irq safe work from the softirq context. That @@ -83,5 +83,5 @@ index feab4b90d896..ff1d60d4c0cc 100644 * must_forward_clk must be cleared before running timers so that any * timer functions that call mod_timer will not try to forward the -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0335-0335-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch b/kernel/patches-4.14.x-rt/0334-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0335-0335-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch rename to kernel/patches-4.14.x-rt/0334-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch index 771c33df2..87c870335 100644 --- a/kernel/patches-4.14.x-rt/0335-0335-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch +++ b/kernel/patches-4.14.x-rt/0334-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch @@ -1,7 +1,7 @@ -From 2fffd07035f47b41fc7c4b3c4af5a89300610414 Mon Sep 17 00:00:00 2001 +From 3e2b0f1b7728aaf51f4a95b32a5c1f5a943ee17b Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 18 Feb 2015 15:09:23 +0100 -Subject: [PATCH 335/414] snd/pcm: fix snd_pcm_stream_lock*() irqs_disabled() +Subject: [PATCH 334/418] snd/pcm: fix snd_pcm_stream_lock*() irqs_disabled() splats Locking functions previously using read_lock_irq()/read_lock_irqsave() were @@ -72,5 +72,5 @@ index ab3bf36786b6..f0bb7c9aa4be 100644 EXPORT_SYMBOL_GPL(snd_pcm_stream_unlock_irqrestore); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0336-0336-printk-Make-rt-aware.patch b/kernel/patches-4.14.x-rt/0335-printk-Make-rt-aware.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0336-0336-printk-Make-rt-aware.patch rename to kernel/patches-4.14.x-rt/0335-printk-Make-rt-aware.patch index 757e11aeb..f3582eaa5 100644 --- a/kernel/patches-4.14.x-rt/0336-0336-printk-Make-rt-aware.patch +++ b/kernel/patches-4.14.x-rt/0335-printk-Make-rt-aware.patch @@ -1,7 +1,7 @@ -From 28161c1d6514b28df731b8b4f9f181903a22ece9 Mon Sep 17 00:00:00 2001 +From be8888258ca3234e36fc04ef4d092f9eaf42c502 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 19 Sep 2012 14:50:37 +0200 -Subject: [PATCH 336/414] printk: Make rt aware +Subject: [PATCH 335/418] printk: Make rt aware Drop the lock before calling the console driver and do not disable interrupts while printing to a serial console. @@ -72,5 +72,5 @@ index 1da739f39a3d..bce72853f9a2 100644 if (do_cond_resched) cond_resched(); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0337-0337-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch b/kernel/patches-4.14.x-rt/0336-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0337-0337-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch rename to kernel/patches-4.14.x-rt/0336-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch index 8989e443d..c139494f9 100644 --- a/kernel/patches-4.14.x-rt/0337-0337-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch +++ b/kernel/patches-4.14.x-rt/0336-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch @@ -1,7 +1,7 @@ -From 89c50e0769a2eb7abc81f652699c94011dc59c19 Mon Sep 17 00:00:00 2001 +From 14ff530effdb2c48c594ef3507999cc5b9618e48 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 19 May 2016 17:45:27 +0200 -Subject: [PATCH 337/414] kernel/printk: Don't try to print from IRQ/NMI region +Subject: [PATCH 336/418] kernel/printk: Don't try to print from IRQ/NMI region 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 @@ -43,5 +43,5 @@ index bce72853f9a2..304abddbab01 100644 * console_unblank can no longer be called in interrupt context unless * oops_in_progress is set to 1.. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0338-0338-printk-Drop-the-logbuf_lock-more-often.patch b/kernel/patches-4.14.x-rt/0337-printk-Drop-the-logbuf_lock-more-often.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0338-0338-printk-Drop-the-logbuf_lock-more-often.patch rename to kernel/patches-4.14.x-rt/0337-printk-Drop-the-logbuf_lock-more-often.patch index ca8a0c497..0355b4d8e 100644 --- a/kernel/patches-4.14.x-rt/0338-0338-printk-Drop-the-logbuf_lock-more-often.patch +++ b/kernel/patches-4.14.x-rt/0337-printk-Drop-the-logbuf_lock-more-often.patch @@ -1,7 +1,7 @@ -From 2e8d3aef326ac42e9eacfac8c753f990efead8e2 Mon Sep 17 00:00:00 2001 +From 2ccf168b37e51467ae00acfc01017a8cd22dd956 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 21 Mar 2013 19:01:05 +0100 -Subject: [PATCH 338/414] printk: Drop the logbuf_lock more often +Subject: [PATCH 337/418] printk: Drop the logbuf_lock more often 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. @@ -78,5 +78,5 @@ index 304abddbab01..7393fcb271fb 100644 kfree(text); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0339-0339-powerpc-Use-generic-rwsem-on-RT.patch b/kernel/patches-4.14.x-rt/0338-powerpc-Use-generic-rwsem-on-RT.patch similarity index 83% rename from kernel/patches-4.14.x-rt/0339-0339-powerpc-Use-generic-rwsem-on-RT.patch rename to kernel/patches-4.14.x-rt/0338-powerpc-Use-generic-rwsem-on-RT.patch index b73e18b63..7afa4a794 100644 --- a/kernel/patches-4.14.x-rt/0339-0339-powerpc-Use-generic-rwsem-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0338-powerpc-Use-generic-rwsem-on-RT.patch @@ -1,7 +1,7 @@ -From aaa43fcfe6fa7505ce319098d20800af97950545 Mon Sep 17 00:00:00 2001 +From 8645e472903b7772169edc88072c481ee1f6e06d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jul 2015 14:26:34 +0200 -Subject: [PATCH 339/414] powerpc: Use generic rwsem on RT +Subject: [PATCH 338/418] powerpc: Use generic rwsem on RT Use generic code which uses rtmutex @@ -28,5 +28,5 @@ index fe418226df7f..b8525ddc4b3b 100644 config GENERIC_LOCKBREAK bool -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0340-0340-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch b/kernel/patches-4.14.x-rt/0339-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0340-0340-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch rename to kernel/patches-4.14.x-rt/0339-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch index 2a2d5bd10..1a36a8315 100644 --- a/kernel/patches-4.14.x-rt/0340-0340-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch +++ b/kernel/patches-4.14.x-rt/0339-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch @@ -1,7 +1,7 @@ -From 746383160c2087d0bc7578ca74577ca352ccb84d Mon Sep 17 00:00:00 2001 +From 849d0e3ca22b5d44a2a3f7d8b848831210b1bb5a Mon Sep 17 00:00:00 2001 From: Bogdan Purcareata Date: Fri, 24 Apr 2015 15:53:13 +0000 -Subject: [PATCH 340/414] powerpc/kvm: Disable in-kernel MPIC emulation for +Subject: [PATCH 339/418] powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT_FULL While converting the openpic emulation code to use a raw_spinlock_t enables @@ -40,5 +40,5 @@ index 648160334abf..9d24331fc9b4 100644 select HAVE_KVM_IRQFD select HAVE_KVM_IRQ_ROUTING -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0341-0341-powerpc-ps3-device-init.c-adapt-to-completions-using.patch b/kernel/patches-4.14.x-rt/0340-powerpc-ps3-device-init.c-adapt-to-completions-using.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0341-0341-powerpc-ps3-device-init.c-adapt-to-completions-using.patch rename to kernel/patches-4.14.x-rt/0340-powerpc-ps3-device-init.c-adapt-to-completions-using.patch index 7588a7f6f..ebe4f7468 100644 --- a/kernel/patches-4.14.x-rt/0341-0341-powerpc-ps3-device-init.c-adapt-to-completions-using.patch +++ b/kernel/patches-4.14.x-rt/0340-powerpc-ps3-device-init.c-adapt-to-completions-using.patch @@ -1,7 +1,7 @@ -From f1176d41575ab74c24f3541cda6f2fb725c16efe Mon Sep 17 00:00:00 2001 +From 7363a4dff640f347b026a6c02d6fe68753f391c4 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sun, 31 May 2015 14:44:42 -0400 -Subject: [PATCH 341/414] powerpc: ps3/device-init.c - adapt to completions +Subject: [PATCH 340/418] powerpc: ps3/device-init.c - adapt to completions using swait vs wait To fix: @@ -34,5 +34,5 @@ index e48462447ff0..2670cee66064 100644 if (kthread_should_stop()) res = -EINTR; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0342-0342-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch b/kernel/patches-4.14.x-rt/0341-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0342-0342-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch rename to kernel/patches-4.14.x-rt/0341-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch index b6f17e92d..02e1ed277 100644 --- a/kernel/patches-4.14.x-rt/0342-0342-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0341-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch @@ -1,7 +1,7 @@ -From fc767fa862ee5982cd088c4e8c67ba666f8ea0f6 Mon Sep 17 00:00:00 2001 +From 3d50ec046e14909b0410ba7cc89d731fee14fad9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 1 May 2010 18:29:35 +0200 -Subject: [PATCH 342/414] ARM: at91: tclib: Default to tclib timer for RT +Subject: [PATCH 341/418] ARM: at91: tclib: Default to tclib timer for RT RT is not too happy about the shared timer interrupt in AT91 devices. Default to tclib timer for RT. @@ -33,5 +33,5 @@ index d2feb491e689..86e83b9629d7 100644 Select this to use 32 KiHz base clock rate as TC block clock source for clock events. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0343-0343-arm-unwind-use-a-raw_spin_lock.patch b/kernel/patches-4.14.x-rt/0342-arm-unwind-use-a-raw_spin_lock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0343-0343-arm-unwind-use-a-raw_spin_lock.patch rename to kernel/patches-4.14.x-rt/0342-arm-unwind-use-a-raw_spin_lock.patch index fce3c8e10..4fd900c2a 100644 --- a/kernel/patches-4.14.x-rt/0343-0343-arm-unwind-use-a-raw_spin_lock.patch +++ b/kernel/patches-4.14.x-rt/0342-arm-unwind-use-a-raw_spin_lock.patch @@ -1,7 +1,7 @@ -From 5be2f7c4e90a5ddccbc1eb9ad61f0eb6f73e55cb Mon Sep 17 00:00:00 2001 +From f2c2d76478be2c7059eeb3447e8e9cf5f0ee399c Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 20 Sep 2013 14:31:54 +0200 -Subject: [PATCH 343/414] arm/unwind: use a raw_spin_lock +Subject: [PATCH 342/418] arm/unwind: use a raw_spin_lock Mostly unwind is done with irqs enabled however SLUB may call it with irqs disabled while creating a new SLUB cache. @@ -85,5 +85,5 @@ index 0bee233fef9a..314cfb232a63 100644 kfree(tab); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0344-0344-ARM-enable-irq-in-translation-section-permission-fau.patch b/kernel/patches-4.14.x-rt/0343-ARM-enable-irq-in-translation-section-permission-fau.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0344-0344-ARM-enable-irq-in-translation-section-permission-fau.patch rename to kernel/patches-4.14.x-rt/0343-ARM-enable-irq-in-translation-section-permission-fau.patch index acaad703c..8eacc9318 100644 --- a/kernel/patches-4.14.x-rt/0344-0344-ARM-enable-irq-in-translation-section-permission-fau.patch +++ b/kernel/patches-4.14.x-rt/0343-ARM-enable-irq-in-translation-section-permission-fau.patch @@ -1,7 +1,7 @@ -From da3ed3f476407de24913a137363d9cf308a5d8ea Mon Sep 17 00:00:00 2001 +From 7ea1f72cfd56274cb47357cf17126830aa91272d Mon Sep 17 00:00:00 2001 From: "Yadi.hu" Date: Wed, 10 Dec 2014 10:32:09 +0800 -Subject: [PATCH 344/414] ARM: enable irq in translation/section permission +Subject: [PATCH 343/418] ARM: enable irq in translation/section permission fault handlers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 @@ -91,5 +91,5 @@ index 42f585379e19..93d2eccc8b60 100644 return 0; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0345-0345-genirq-update-irq_set_irqchip_state-documentation.patch b/kernel/patches-4.14.x-rt/0344-genirq-update-irq_set_irqchip_state-documentation.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0345-0345-genirq-update-irq_set_irqchip_state-documentation.patch rename to kernel/patches-4.14.x-rt/0344-genirq-update-irq_set_irqchip_state-documentation.patch index 315fa8d54..4fa2f1531 100644 --- a/kernel/patches-4.14.x-rt/0345-0345-genirq-update-irq_set_irqchip_state-documentation.patch +++ b/kernel/patches-4.14.x-rt/0344-genirq-update-irq_set_irqchip_state-documentation.patch @@ -1,7 +1,7 @@ -From 775f24452fe994f0cff5189a860f020611642a1c Mon Sep 17 00:00:00 2001 +From 0f361ea0f81441f25315f5a42e6911bf0fd35ce7 Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Thu, 11 Feb 2016 11:54:00 -0600 -Subject: [PATCH 345/414] genirq: update irq_set_irqchip_state documentation +Subject: [PATCH 344/418] genirq: update irq_set_irqchip_state documentation On -rt kernels, the use of migrate_disable()/migrate_enable() is sufficient to guarantee a task isn't moved to another CPU. Update the @@ -27,5 +27,5 @@ index d8fa6c86a8ca..000c519a35cd 100644 */ int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0346-0346-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch b/kernel/patches-4.14.x-rt/0345-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0346-0346-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch rename to kernel/patches-4.14.x-rt/0345-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch index aa7bc40cf..ac30c49bc 100644 --- a/kernel/patches-4.14.x-rt/0346-0346-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch +++ b/kernel/patches-4.14.x-rt/0345-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch @@ -1,7 +1,7 @@ -From eb332dff86d3e136ca90df99478c697c1ad5bd51 Mon Sep 17 00:00:00 2001 +From c39d4f0c4ee6c87ab145a81fa3942e0b86da6df9 Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Thu, 11 Feb 2016 11:54:01 -0600 -Subject: [PATCH 346/414] KVM: arm/arm64: downgrade preempt_disable()d region +Subject: [PATCH 345/418] KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable() kvm_arch_vcpu_ioctl_run() disables the use of preemption when updating @@ -54,5 +54,5 @@ index 0c5d846ba809..9c25fd3d9708 100644 ret = handle_exit(vcpu, run, ret); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0347-0347-arm64-xen-Make-XEN-depend-on-RT.patch b/kernel/patches-4.14.x-rt/0346-arm64-xen-Make-XEN-depend-on-RT.patch similarity index 73% rename from kernel/patches-4.14.x-rt/0347-0347-arm64-xen-Make-XEN-depend-on-RT.patch rename to kernel/patches-4.14.x-rt/0346-arm64-xen-Make-XEN-depend-on-RT.patch index cee453c3d..6dab2e4e8 100644 --- a/kernel/patches-4.14.x-rt/0347-0347-arm64-xen-Make-XEN-depend-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0346-arm64-xen-Make-XEN-depend-on-RT.patch @@ -1,7 +1,7 @@ -From d74cda3c6ed4ad6ac0595c5ebde25ae9360677dc Mon Sep 17 00:00:00 2001 +From 5aec6952dc14a5dcdc44a6fef37b556798e8df4b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 12 Oct 2015 11:18:40 +0200 -Subject: [PATCH 347/414] arm64/xen: Make XEN depend on !RT +Subject: [PATCH 346/418] arm64/xen: Make XEN depend on !RT It's not ready and probably never will be, unless xen folks have a look at it. @@ -12,10 +12,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig -index c2abb4e88ff2..c8bcd6e41192 100644 +index 2d5f7aca156d..720678aea92f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig -@@ -777,7 +777,7 @@ config XEN_DOM0 +@@ -791,7 +791,7 @@ config XEN_DOM0 config XEN bool "Xen guest support on ARM64" @@ -25,5 +25,5 @@ index c2abb4e88ff2..c8bcd6e41192 100644 select PARAVIRT help -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0348-0348-kgdb-serial-Short-term-workaround.patch b/kernel/patches-4.14.x-rt/0347-kgdb-serial-Short-term-workaround.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0348-0348-kgdb-serial-Short-term-workaround.patch rename to kernel/patches-4.14.x-rt/0347-kgdb-serial-Short-term-workaround.patch index 2615911ed..691962200 100644 --- a/kernel/patches-4.14.x-rt/0348-0348-kgdb-serial-Short-term-workaround.patch +++ b/kernel/patches-4.14.x-rt/0347-kgdb-serial-Short-term-workaround.patch @@ -1,7 +1,7 @@ -From 59651504fc65850831f802e0374082fce770307f Mon Sep 17 00:00:00 2001 +From 1eff793fe4a861e993ec2711599bf8b0d2f9f429 Mon Sep 17 00:00:00 2001 From: Jason Wessel Date: Thu, 28 Jul 2011 12:42:23 -0500 -Subject: [PATCH 348/414] kgdb/serial: Short term workaround +Subject: [PATCH 347/418] kgdb/serial: Short term workaround On 07/27/2011 04:37 PM, Thomas Gleixner wrote: > - KGDB (not yet disabled) is reportedly unusable on -rt right now due @@ -24,7 +24,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 5117bdf9b1ef..59c1c0944ebc 100644 +index 832d0fd9d371..05d4a17236cb 100644 --- a/drivers/tty/serial/8250/8250_port.c +++ b/drivers/tty/serial/8250/8250_port.c @@ -35,6 +35,7 @@ @@ -35,7 +35,7 @@ index 5117bdf9b1ef..59c1c0944ebc 100644 #include #include #include -@@ -3226,6 +3227,8 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, +@@ -3227,6 +3228,8 @@ void serial8250_console_write(struct uart_8250_port *up, const char *s, if (port->sysrq || oops_in_progress) locked = 0; @@ -81,5 +81,5 @@ index ed5d34925ad0..c0d4c24fc241 100644 return r; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0349-0349-sysfs-Add-sys-kernel-realtime-entry.patch b/kernel/patches-4.14.x-rt/0348-sysfs-Add-sys-kernel-realtime-entry.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0349-0349-sysfs-Add-sys-kernel-realtime-entry.patch rename to kernel/patches-4.14.x-rt/0348-sysfs-Add-sys-kernel-realtime-entry.patch index 7e46540a0..62cb0d56a 100644 --- a/kernel/patches-4.14.x-rt/0349-0349-sysfs-Add-sys-kernel-realtime-entry.patch +++ b/kernel/patches-4.14.x-rt/0348-sysfs-Add-sys-kernel-realtime-entry.patch @@ -1,7 +1,7 @@ -From dbf2260f8d92cb24c34bdd8081bf4966bf657aad Mon Sep 17 00:00:00 2001 +From 6ef46884b1f5a000a95bb80adb5dafc04d2340cb Mon Sep 17 00:00:00 2001 From: Clark Williams Date: Sat, 30 Jul 2011 21:55:53 -0500 -Subject: [PATCH 349/414] sysfs: Add /sys/kernel/realtime entry +Subject: [PATCH 348/418] sysfs: Add /sys/kernel/realtime entry Add a /sys/kernel entry to indicate that the kernel is a realtime kernel. @@ -49,5 +49,5 @@ index 46ba853656f6..9a23632b6294 100644 NULL }; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0350-0350-powerpc-Disable-highmem-on-RT.patch b/kernel/patches-4.14.x-rt/0349-powerpc-Disable-highmem-on-RT.patch similarity index 83% rename from kernel/patches-4.14.x-rt/0350-0350-powerpc-Disable-highmem-on-RT.patch rename to kernel/patches-4.14.x-rt/0349-powerpc-Disable-highmem-on-RT.patch index 7a63b41ff..d26ab0730 100644 --- a/kernel/patches-4.14.x-rt/0350-0350-powerpc-Disable-highmem-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0349-powerpc-Disable-highmem-on-RT.patch @@ -1,7 +1,7 @@ -From b175d82ce10a88627f94383da00a03f5f9fa0ded Mon Sep 17 00:00:00 2001 +From 850465b6c3ac57ece03ae5328fb0987f50d14468 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:08:34 +0200 -Subject: [PATCH 350/414] powerpc: Disable highmem on RT +Subject: [PATCH 349/418] powerpc: Disable highmem on RT The current highmem handling on -RT is not compatible and needs fixups. @@ -24,5 +24,5 @@ index b8525ddc4b3b..f3201bf888ad 100644 source kernel/Kconfig.hz source kernel/Kconfig.preempt -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0351-0351-mips-Disable-highmem-on-RT.patch b/kernel/patches-4.14.x-rt/0350-mips-Disable-highmem-on-RT.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0351-0351-mips-Disable-highmem-on-RT.patch rename to kernel/patches-4.14.x-rt/0350-mips-Disable-highmem-on-RT.patch index 1a486363d..eec3c68f4 100644 --- a/kernel/patches-4.14.x-rt/0351-0351-mips-Disable-highmem-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0350-mips-Disable-highmem-on-RT.patch @@ -1,7 +1,7 @@ -From 3bd7b49f5ddb5faade45667000d49fd182acc4a5 Mon Sep 17 00:00:00 2001 +From 5666723926459ab906708a2597bc3de068a27802 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:10:12 +0200 -Subject: [PATCH 351/414] mips: Disable highmem on RT +Subject: [PATCH 350/418] mips: Disable highmem on RT The current highmem handling on -RT is not compatible and needs fixups. @@ -24,5 +24,5 @@ index c82457b0e733..7bb1838508de 100644 config CPU_SUPPORTS_HIGHMEM bool -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0352-0352-mm-rt-kmap_atomic-scheduling.patch b/kernel/patches-4.14.x-rt/0351-mm-rt-kmap_atomic-scheduling.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0352-0352-mm-rt-kmap_atomic-scheduling.patch rename to kernel/patches-4.14.x-rt/0351-mm-rt-kmap_atomic-scheduling.patch index 583992bdf..b9fe47d39 100644 --- a/kernel/patches-4.14.x-rt/0352-0352-mm-rt-kmap_atomic-scheduling.patch +++ b/kernel/patches-4.14.x-rt/0351-mm-rt-kmap_atomic-scheduling.patch @@ -1,7 +1,7 @@ -From 9039bc9b5255a113e59443fa2b063dccac0405b6 Mon Sep 17 00:00:00 2001 +From 2d1859c26f8eda82fcc4ca6d2899474d5f8836a5 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Thu, 28 Jul 2011 10:43:51 +0200 -Subject: [PATCH 352/414] mm, rt: kmap_atomic scheduling +Subject: [PATCH 351/418] mm, rt: kmap_atomic scheduling In fact, with migrate_disable() existing one could play games with kmap_atomic. You could save/restore the kmap_atomic slots on context @@ -229,7 +229,7 @@ index 776f90f3a1cd..cfcd7b7ab205 100644 } diff --git a/include/linux/sched.h b/include/linux/sched.h -index f6ea03d86966..35f7a037fe1a 100644 +index 33d7cb59c00b..cb26ba8286fb 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -27,6 +27,7 @@ @@ -240,7 +240,7 @@ index f6ea03d86966..35f7a037fe1a 100644 /* task_struct member predeclarations (sorted alphabetically): */ struct audit_context; -@@ -1113,6 +1114,12 @@ struct task_struct { +@@ -1153,6 +1154,12 @@ struct task_struct { int softirq_nestcnt; unsigned int softirqs_raised; #endif @@ -302,5 +302,5 @@ index 59db3223a5d6..22aa3ddbd87b 100644 unsigned int nr_free_highpages (void) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0353-0353-mm-rt-Fix-generic-kmap_atomic-for-RT.patch b/kernel/patches-4.14.x-rt/0352-mm-rt-Fix-generic-kmap_atomic-for-RT.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0353-0353-mm-rt-Fix-generic-kmap_atomic-for-RT.patch rename to kernel/patches-4.14.x-rt/0352-mm-rt-Fix-generic-kmap_atomic-for-RT.patch index f7b5f0a0b..807a140aa 100644 --- a/kernel/patches-4.14.x-rt/0353-0353-mm-rt-Fix-generic-kmap_atomic-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0352-mm-rt-Fix-generic-kmap_atomic-for-RT.patch @@ -1,7 +1,7 @@ -From 3b0334349225ed443a5111ef3edd3fa5cb3ec670 Mon Sep 17 00:00:00 2001 +From fa87e7c559db3670cfb5ac4716b84cd2cf658e9d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 19 Sep 2015 10:15:00 +0200 -Subject: [PATCH 353/414] mm: rt: Fix generic kmap_atomic for RT +Subject: [PATCH 352/418] mm: rt: Fix generic kmap_atomic for RT The update to 4.1 brought in the mainline variant of the pagefault disable distangling from preempt count. That introduced a @@ -42,5 +42,5 @@ index cfcd7b7ab205..8f248e2137eb 100644 #define kmap_atomic_pfn(pfn) kmap_atomic(pfn_to_page(pfn)) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0354-0354-x86-highmem-Add-a-already-used-pte-check.patch b/kernel/patches-4.14.x-rt/0353-x86-highmem-Add-a-already-used-pte-check.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0354-0354-x86-highmem-Add-a-already-used-pte-check.patch rename to kernel/patches-4.14.x-rt/0353-x86-highmem-Add-a-already-used-pte-check.patch index 1965134bc..68f1e8dd7 100644 --- a/kernel/patches-4.14.x-rt/0354-0354-x86-highmem-Add-a-already-used-pte-check.patch +++ b/kernel/patches-4.14.x-rt/0353-x86-highmem-Add-a-already-used-pte-check.patch @@ -1,7 +1,7 @@ -From 6c60c6993f036d39e8d733b751879d805416fe10 Mon Sep 17 00:00:00 2001 +From c73a4d806931620893979f92f929e037650e3bdc Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 11 Mar 2013 17:09:55 +0100 -Subject: [PATCH 354/414] x86/highmem: Add a "already used pte" check +Subject: [PATCH 353/418] x86/highmem: Add a "already used pte" check This is a copy from kmap_atomic_prot(). @@ -24,5 +24,5 @@ index 2620fb55ece1..585f6829653b 100644 current->kmap_pte[type] = pte; #endif -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0355-0355-arm-highmem-Flush-tlb-on-unmap.patch b/kernel/patches-4.14.x-rt/0354-arm-highmem-Flush-tlb-on-unmap.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0355-0355-arm-highmem-Flush-tlb-on-unmap.patch rename to kernel/patches-4.14.x-rt/0354-arm-highmem-Flush-tlb-on-unmap.patch index fee30feff..b2651b1da 100644 --- a/kernel/patches-4.14.x-rt/0355-0355-arm-highmem-Flush-tlb-on-unmap.patch +++ b/kernel/patches-4.14.x-rt/0354-arm-highmem-Flush-tlb-on-unmap.patch @@ -1,7 +1,7 @@ -From 099d3ec8f53955ac473b850e61deca85a00b31ea Mon Sep 17 00:00:00 2001 +From 39626d0d570e4de60f9ab7522716461440d4cc94 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Mon, 11 Mar 2013 21:37:27 +0100 -Subject: [PATCH 355/414] arm/highmem: Flush tlb on unmap +Subject: [PATCH 354/418] arm/highmem: Flush tlb on unmap 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 @@ -29,5 +29,5 @@ index d02f8187b1cc..eb4b225d28c9 100644 } else if (vaddr >= PKMAP_ADDR(0) && vaddr < PKMAP_ADDR(LAST_PKMAP)) { /* this address was obtained through kmap_high_get() */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0356-0356-arm-Enable-highmem-for-rt.patch b/kernel/patches-4.14.x-rt/0355-arm-Enable-highmem-for-rt.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0356-0356-arm-Enable-highmem-for-rt.patch rename to kernel/patches-4.14.x-rt/0355-arm-Enable-highmem-for-rt.patch index 9865a390f..4f9ff7c51 100644 --- a/kernel/patches-4.14.x-rt/0356-0356-arm-Enable-highmem-for-rt.patch +++ b/kernel/patches-4.14.x-rt/0355-arm-Enable-highmem-for-rt.patch @@ -1,7 +1,7 @@ -From e8d822eba7301a92b762de86156dbb861df39b4f Mon Sep 17 00:00:00 2001 +From 5e98cd4f6e3bcdbbf09af71500a83ae0fc209363 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 13 Feb 2013 11:03:11 +0100 -Subject: [PATCH 356/414] arm: Enable highmem for rt +Subject: [PATCH 355/418] arm: Enable highmem for rt fixup highmem for ARM. @@ -179,5 +179,5 @@ index 8f248e2137eb..5f0bd7a3e6a7 100644 #include -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0357-0357-scsi-fcoe-Make-RT-aware.patch b/kernel/patches-4.14.x-rt/0356-scsi-fcoe-Make-RT-aware.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0357-0357-scsi-fcoe-Make-RT-aware.patch rename to kernel/patches-4.14.x-rt/0356-scsi-fcoe-Make-RT-aware.patch index 13f92a11d..c3a8c3abb 100644 --- a/kernel/patches-4.14.x-rt/0357-0357-scsi-fcoe-Make-RT-aware.patch +++ b/kernel/patches-4.14.x-rt/0356-scsi-fcoe-Make-RT-aware.patch @@ -1,7 +1,7 @@ -From 64c81d9042394979f29faba76ae6af9637780e78 Mon Sep 17 00:00:00 2001 +From 84c2c6ef49c20128abf1c9c452c40dc41a8e8cc7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 12 Nov 2011 14:00:48 +0100 -Subject: [PATCH 357/414] scsi/fcoe: Make RT aware. +Subject: [PATCH 356/418] scsi/fcoe: Make RT aware. Do not disable preemption while taking sleeping locks. All user look safe for migrate_diable() only. @@ -111,5 +111,5 @@ index 42bcf7f3a0f9..2ce045d6860c 100644 /* peek cache of free slot */ if (pool->left != FC_XID_UNKNOWN) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0358-0358-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch b/kernel/patches-4.14.x-rt/0357-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0358-0358-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch rename to kernel/patches-4.14.x-rt/0357-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch index 9e64001e6..c7fd3047e 100644 --- a/kernel/patches-4.14.x-rt/0358-0358-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch +++ b/kernel/patches-4.14.x-rt/0357-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch @@ -1,7 +1,7 @@ -From 805724cc332ec3f4ae61da37f79cada0ca97fee0 Mon Sep 17 00:00:00 2001 +From 5266beff34ad56100127ee746142005e014e3add Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sat, 14 Feb 2015 11:01:16 -0500 -Subject: [PATCH 358/414] sas-ata/isci: dont't disable interrupts in qc_issue +Subject: [PATCH 357/418] sas-ata/isci: dont't disable interrupts in qc_issue handler On 3.14-rt we see the following trace on Canoe Pass for @@ -81,5 +81,5 @@ index 70be4425ae0b..a23ef685deac 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0359-0359-x86-crypto-Reduce-preempt-disabled-regions.patch b/kernel/patches-4.14.x-rt/0358-x86-crypto-Reduce-preempt-disabled-regions.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0359-0359-x86-crypto-Reduce-preempt-disabled-regions.patch rename to kernel/patches-4.14.x-rt/0358-x86-crypto-Reduce-preempt-disabled-regions.patch index 14446eb6d..af6fa77cd 100644 --- a/kernel/patches-4.14.x-rt/0359-0359-x86-crypto-Reduce-preempt-disabled-regions.patch +++ b/kernel/patches-4.14.x-rt/0358-x86-crypto-Reduce-preempt-disabled-regions.patch @@ -1,7 +1,7 @@ -From bb382c7039691c80560e42757e69d9881d214fc2 Mon Sep 17 00:00:00 2001 +From 13519a69cb506bbf3243bd853345bc06c93f9b5c Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Mon, 14 Nov 2011 18:19:27 +0100 -Subject: [PATCH 359/414] x86: crypto: Reduce preempt disabled regions +Subject: [PATCH 358/418] x86: crypto: Reduce preempt disabled regions Restrict the preempt disabled regions to the actual floating point operations and enable preemption for the administrative actions. @@ -113,5 +113,5 @@ index c690ddc78c03..7a3138d33e33 100644 return err; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0360-0360-crypto-Reduce-preempt-disabled-regions-more-algos.patch b/kernel/patches-4.14.x-rt/0359-crypto-Reduce-preempt-disabled-regions-more-algos.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0360-0360-crypto-Reduce-preempt-disabled-regions-more-algos.patch rename to kernel/patches-4.14.x-rt/0359-crypto-Reduce-preempt-disabled-regions-more-algos.patch index fb8573031..d7dccb4cc 100644 --- a/kernel/patches-4.14.x-rt/0360-0360-crypto-Reduce-preempt-disabled-regions-more-algos.patch +++ b/kernel/patches-4.14.x-rt/0359-crypto-Reduce-preempt-disabled-regions-more-algos.patch @@ -1,7 +1,7 @@ -From aab48463aa3fd43271c5e95307131a4eb2857c6a Mon Sep 17 00:00:00 2001 +From 3105d021136b6494dc238ecd56f754ff2fc7e110 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior -Date: Fri, 21 Feb 2014.17.44:04 +0100 -Subject: [PATCH 360/414] crypto: Reduce preempt disabled regions, more algos +Date: Fri, 21 Feb 2014 17:24:04 +0100 +Subject: [PATCH 359/418] crypto: Reduce preempt disabled regions, more algos Don Estabrook reported | kernel: WARNING: CPU: 2 PID: 858 at kernel/sched/core.c:2428 migrate_disable+0xed/0x100() @@ -245,5 +245,5 @@ index d61e57960fe0..c67560d9718a 100644 } EXPORT_SYMBOL_GPL(glue_xts_crypt_128bit); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0361-0361-crypto-limit-more-FPU-enabled-sections.patch b/kernel/patches-4.14.x-rt/0360-crypto-limit-more-FPU-enabled-sections.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0361-0361-crypto-limit-more-FPU-enabled-sections.patch rename to kernel/patches-4.14.x-rt/0360-crypto-limit-more-FPU-enabled-sections.patch index e68f04d39..e98982b0a 100644 --- a/kernel/patches-4.14.x-rt/0361-0361-crypto-limit-more-FPU-enabled-sections.patch +++ b/kernel/patches-4.14.x-rt/0360-crypto-limit-more-FPU-enabled-sections.patch @@ -1,7 +1,7 @@ -From 72ffd8b705f59d75d374273d36b81f647a7ba360 Mon Sep 17 00:00:00 2001 +From 6b5577038510d5681f74af092ae566cbdf15b42a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 30 Nov 2017 13:40:10 +0100 -Subject: [PATCH 361/414] crypto: limit more FPU-enabled sections +Subject: [PATCH 360/418] crypto: limit more FPU-enabled sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -496,5 +496,5 @@ index f92a6593de1e..7128beaf594c 100644 * Save the FPU state (mark it for reload if necessary): * -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0362-0362-arm-disable-NEON-in-kernel-mode.patch b/kernel/patches-4.14.x-rt/0361-arm-disable-NEON-in-kernel-mode.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0362-0362-arm-disable-NEON-in-kernel-mode.patch rename to kernel/patches-4.14.x-rt/0361-arm-disable-NEON-in-kernel-mode.patch index eb7d2c339..49dc86e44 100644 --- a/kernel/patches-4.14.x-rt/0362-0362-arm-disable-NEON-in-kernel-mode.patch +++ b/kernel/patches-4.14.x-rt/0361-arm-disable-NEON-in-kernel-mode.patch @@ -1,7 +1,7 @@ -From 54f1647b42f4352aec96c757d71b67cd7e6b6a13 Mon Sep 17 00:00:00 2001 +From bc70d40246ca10c2c9a064bf1baef03dc02f49bf Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 1 Dec 2017 10:42:03 +0100 -Subject: [PATCH 362/414] arm*: disable NEON in kernel mode +Subject: [PATCH 361/418] arm*: disable NEON in kernel mode 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 @@ -133,5 +133,5 @@ index 34b4e3d46aab..ae055cdad8cf 100644 crc32_pmull_algs[1].update = crc32c_pmull_update; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0363-0363-dm-Make-rt-aware.patch b/kernel/patches-4.14.x-rt/0362-dm-Make-rt-aware.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0363-0363-dm-Make-rt-aware.patch rename to kernel/patches-4.14.x-rt/0362-dm-Make-rt-aware.patch index 445014226..afcc6a652 100644 --- a/kernel/patches-4.14.x-rt/0363-0363-dm-Make-rt-aware.patch +++ b/kernel/patches-4.14.x-rt/0362-dm-Make-rt-aware.patch @@ -1,7 +1,7 @@ -From aa78cacfb85f54e41a938a4ceb5d098b332d79ed Mon Sep 17 00:00:00 2001 +From 09bba1c89fe819973eed7a8ddbbe34d59ac98155 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 14 Nov 2011 23:06:09 +0100 -Subject: [PATCH 363/414] dm: Make rt aware +Subject: [PATCH 362/418] dm: Make rt aware Use the BUG_ON_NORT variant for the irq_disabled() checks. RT has interrupts legitimately enabled here as we cant deadlock against the @@ -28,5 +28,5 @@ index eadfcfd106ff..8824aeda85cf 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0364-0364-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch b/kernel/patches-4.14.x-rt/0363-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0364-0364-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch rename to kernel/patches-4.14.x-rt/0363-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch index 3a086b312..601240916 100644 --- a/kernel/patches-4.14.x-rt/0364-0364-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch +++ b/kernel/patches-4.14.x-rt/0363-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch @@ -1,7 +1,7 @@ -From a0a4716b65fa6b1bec03a2ef78e31e663f4224c1 Mon Sep 17 00:00:00 2001 +From 1e42d8f297c5c746245e025b4c21474a14c276aa Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 13 Feb 2013 09:26:05 -0500 -Subject: [PATCH 364/414] acpi/rt: Convert acpi_gbl_hardware lock back to a +Subject: [PATCH 363/418] acpi/rt: Convert acpi_gbl_hardware lock back to a raw_spinlock_t We hit the following bug with 3.6-rt: @@ -184,5 +184,5 @@ index 1b473efd9eb6..89ee5e1dac48 100644 * OSL interfaces used by debugger/disassembler */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0365-0365-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch b/kernel/patches-4.14.x-rt/0364-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0365-0365-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch rename to kernel/patches-4.14.x-rt/0364-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch index 5e4ed2204..951084cd7 100644 --- a/kernel/patches-4.14.x-rt/0365-0365-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0364-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch @@ -1,7 +1,7 @@ -From 7947cbb9c75ad46c0237c2ae3348e0e473e7cb50 Mon Sep 17 00:00:00 2001 +From 4c29e979ce2c1f897fc737006cb000de3a2f4c27 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 14 Dec 2011 01:03:49 +0100 -Subject: [PATCH 365/414] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT +Subject: [PATCH 364/418] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT There are "valid" GFP_ATOMIC allocations such as @@ -71,5 +71,5 @@ index b1445b22a6de..9ab51b78991a 100644 Use dynamic allocation for cpumask_var_t, instead of putting them on the stack. This is a bit more expensive, but avoids -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0366-0366-random-Make-it-work-on-rt.patch b/kernel/patches-4.14.x-rt/0365-random-Make-it-work-on-rt.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0366-0366-random-Make-it-work-on-rt.patch rename to kernel/patches-4.14.x-rt/0365-random-Make-it-work-on-rt.patch index 29a4bc538..3967a9523 100644 --- a/kernel/patches-4.14.x-rt/0366-0366-random-Make-it-work-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0365-random-Make-it-work-on-rt.patch @@ -1,7 +1,7 @@ -From 4b24c3e4d676d2651dedd877c5bb01aae3694212 Mon Sep 17 00:00:00 2001 +From c9aeeac26d5f445cbf14d637b39151b1fae6d651 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Aug 2012 20:38:50 +0200 -Subject: [PATCH 366/414] random: Make it work on rt +Subject: [PATCH 365/418] random: Make it work on rt Delegate the random insertion to the forced threaded interrupt handler. Store the return IP of the hard interrupt handler in the irq @@ -143,5 +143,5 @@ index 000c519a35cd..5190abc61d37 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0367-0367-random-avoid-preempt_disable-ed-section.patch b/kernel/patches-4.14.x-rt/0366-random-avoid-preempt_disable-ed-section.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0367-0367-random-avoid-preempt_disable-ed-section.patch rename to kernel/patches-4.14.x-rt/0366-random-avoid-preempt_disable-ed-section.patch index d5b73dc22..cf9b68d7d 100644 --- a/kernel/patches-4.14.x-rt/0367-0367-random-avoid-preempt_disable-ed-section.patch +++ b/kernel/patches-4.14.x-rt/0366-random-avoid-preempt_disable-ed-section.patch @@ -1,7 +1,7 @@ -From f069ea319e63cc2bc6b32c8a7c45617014acfd32 Mon Sep 17 00:00:00 2001 +From 0ff8b53141c333e87e4e2b73b2a2df00d4e5501a Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 12 May 2017 15:46:17 +0200 -Subject: [PATCH 367/414] random: avoid preempt_disable()ed section +Subject: [PATCH 366/418] random: avoid preempt_disable()ed section extract_crng() will use sleeping locks while in a preempt_disable() section due to get_cpu_var(). @@ -76,5 +76,5 @@ index 07d3b27db4fb..74a0f65217f5 100644 } EXPORT_SYMBOL(get_random_u32); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0368-0368-char-random-don-t-print-that-the-init-is-done.patch b/kernel/patches-4.14.x-rt/0367-char-random-don-t-print-that-the-init-is-done.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0368-0368-char-random-don-t-print-that-the-init-is-done.patch rename to kernel/patches-4.14.x-rt/0367-char-random-don-t-print-that-the-init-is-done.patch index 9c94af0ba..598fb38f9 100644 --- a/kernel/patches-4.14.x-rt/0368-0368-char-random-don-t-print-that-the-init-is-done.patch +++ b/kernel/patches-4.14.x-rt/0367-char-random-don-t-print-that-the-init-is-done.patch @@ -1,7 +1,7 @@ -From 9037d5fb70c6985cebb474b9904ce78878e5652a Mon Sep 17 00:00:00 2001 +From 7754f712e5338b263c5bb3920a0474b92e97c90e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Tue, 30 May 2017 16:39:01 +0200 -Subject: [PATCH 368/414] char/random: don't print that the init is done +Subject: [PATCH 367/418] char/random: don't print that the init is done On RT we run into circular locking with pendingb_lock (workqueue), port_lock_key (uart) and the primary_crng (random): @@ -182,5 +182,5 @@ index 74a0f65217f5..4a8458ff5ee8 100644 } } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0369-0369-cpu-hotplug-Implement-CPU-pinning.patch b/kernel/patches-4.14.x-rt/0368-cpu-hotplug-Implement-CPU-pinning.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0369-0369-cpu-hotplug-Implement-CPU-pinning.patch rename to kernel/patches-4.14.x-rt/0368-cpu-hotplug-Implement-CPU-pinning.patch index afe2ad862..8b709cbf1 100644 --- a/kernel/patches-4.14.x-rt/0369-0369-cpu-hotplug-Implement-CPU-pinning.patch +++ b/kernel/patches-4.14.x-rt/0368-cpu-hotplug-Implement-CPU-pinning.patch @@ -1,7 +1,7 @@ -From 893b08921fc68e4725cda3606d490c72b5df33bd Mon Sep 17 00:00:00 2001 +From e97f994f0e4988e1d970ab7e9a55cbc27f8a0c80 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 19 Jul 2017 17:31:20 +0200 -Subject: [PATCH 369/414] cpu/hotplug: Implement CPU pinning +Subject: [PATCH 368/418] cpu/hotplug: Implement CPU pinning Signed-off-by: Thomas Gleixner --- @@ -10,10 +10,10 @@ Signed-off-by: Thomas Gleixner 2 files changed, 41 insertions(+) diff --git a/include/linux/sched.h b/include/linux/sched.h -index 35f7a037fe1a..d32be8e98b90 100644 +index cb26ba8286fb..4e48d5fe8bd6 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -589,6 +589,7 @@ struct task_struct { +@@ -629,6 +629,7 @@ struct task_struct { #if defined(CONFIG_PREEMPT_COUNT) && defined(CONFIG_SMP) int migrate_disable; int migrate_disable_update; @@ -114,5 +114,5 @@ index aa9b1702e115..61ca799b76c5 100644 irq_unlock_sparse(); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0370-0370-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch b/kernel/patches-4.14.x-rt/0369-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0370-0370-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch rename to kernel/patches-4.14.x-rt/0369-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch index 3f2fdd7bc..0358c18b9 100644 --- a/kernel/patches-4.14.x-rt/0370-0370-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch +++ b/kernel/patches-4.14.x-rt/0369-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch @@ -1,7 +1,7 @@ -From c4e97705f5468e3d8e3db7e52c0cfcc1cd5b8ff6 Mon Sep 17 00:00:00 2001 +From a5fa45be1b5940e5355dd944043d13809a378f4f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 4 Aug 2017 18:31:00 +0200 -Subject: [PATCH 370/414] hotplug: duct-tape RT-rwlock usage for non-RT +Subject: [PATCH 369/418] hotplug: duct-tape RT-rwlock usage for non-RT 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 @@ -97,5 +97,5 @@ index 61ca799b76c5..8fbc0f5ac6f9 100644 irq_unlock_sparse(); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0371-0371-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch b/kernel/patches-4.14.x-rt/0370-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0371-0371-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch rename to kernel/patches-4.14.x-rt/0370-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch index 1af33c995..5893c9247 100644 --- a/kernel/patches-4.14.x-rt/0371-0371-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch +++ b/kernel/patches-4.14.x-rt/0370-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch @@ -1,7 +1,7 @@ -From 75d4661de574b2a4349867d41cb3b9222a79ba91 Mon Sep 17 00:00:00 2001 +From 79b257af3a9ae091f7947cdd799c3372bdb48663 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Fri, 27 Apr 2012 12:48:46 +0200 -Subject: [PATCH 371/414] scsi: qla2xxx: Use local_irq_save_nort() in +Subject: [PATCH 370/418] scsi: qla2xxx: Use local_irq_save_nort() in qla2x00_poll RT triggers the following: @@ -50,5 +50,5 @@ index 9a2c86eacf44..28266455b54c 100644 static inline uint8_t * -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0372-0372-net-Remove-preemption-disabling-in-netif_rx.patch b/kernel/patches-4.14.x-rt/0371-net-Remove-preemption-disabling-in-netif_rx.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0372-0372-net-Remove-preemption-disabling-in-netif_rx.patch rename to kernel/patches-4.14.x-rt/0371-net-Remove-preemption-disabling-in-netif_rx.patch index 187aba96d..99401102a 100644 --- a/kernel/patches-4.14.x-rt/0372-0372-net-Remove-preemption-disabling-in-netif_rx.patch +++ b/kernel/patches-4.14.x-rt/0371-net-Remove-preemption-disabling-in-netif_rx.patch @@ -1,7 +1,7 @@ -From 10d295e1f35b57caa341211413c8eb12b0cef666 Mon Sep 17 00:00:00 2001 +From 20d4ae650ed74d75429f3a7315c0da1169974085 Mon Sep 17 00:00:00 2001 From: Priyanka Jain Date: Thu, 17 May 2012 09:35:11 +0530 -Subject: [PATCH 372/414] net: Remove preemption disabling in netif_rx() +Subject: [PATCH 371/418] net: Remove preemption disabling in netif_rx() 1)enqueue_to_backlog() (called from netif_rx) should be bind to a particluar CPU. This can be achieved by @@ -35,7 +35,7 @@ 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 9285dd9f69de..c10852608381 100644 +index 9c936553c46e..11bb8981602d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4046,7 +4046,7 @@ static int netif_rx_internal(struct sk_buff *skb) @@ -66,5 +66,5 @@ index 9285dd9f69de..c10852608381 100644 return ret; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0373-0373-net-Another-local_irq_disable-kmalloc-headache.patch b/kernel/patches-4.14.x-rt/0372-net-Another-local_irq_disable-kmalloc-headache.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0373-0373-net-Another-local_irq_disable-kmalloc-headache.patch rename to kernel/patches-4.14.x-rt/0372-net-Another-local_irq_disable-kmalloc-headache.patch index 249e241dd..20b281e26 100644 --- a/kernel/patches-4.14.x-rt/0373-0373-net-Another-local_irq_disable-kmalloc-headache.patch +++ b/kernel/patches-4.14.x-rt/0372-net-Another-local_irq_disable-kmalloc-headache.patch @@ -1,7 +1,7 @@ -From 92764f7347026b0fd790c2af3ebbf684ff78f23b Mon Sep 17 00:00:00 2001 +From bdbac438d862833be4d21f4fffcbc15d3c649a11 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 26 Sep 2012 16:21:08 +0200 -Subject: [PATCH 373/414] net: Another local_irq_disable/kmalloc headache +Subject: [PATCH 372/418] net: Another local_irq_disable/kmalloc headache Replace it by a local lock. Though that's pretty inefficient :( @@ -11,7 +11,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c -index 564beb7e6d1c..fff48b662872 100644 +index c132eca9e383..a20583c3224e 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -63,6 +63,7 @@ @@ -60,5 +60,5 @@ index 564beb7e6d1c..fff48b662872 100644 if (unlikely(!data)) return NULL; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0374-0374-net-core-protect-users-of-napi_alloc_cache-against-r.patch b/kernel/patches-4.14.x-rt/0373-net-core-protect-users-of-napi_alloc_cache-against-r.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0374-0374-net-core-protect-users-of-napi_alloc_cache-against-r.patch rename to kernel/patches-4.14.x-rt/0373-net-core-protect-users-of-napi_alloc_cache-against-r.patch index 0970ec3f5..d964c4ec1 100644 --- a/kernel/patches-4.14.x-rt/0374-0374-net-core-protect-users-of-napi_alloc_cache-against-r.patch +++ b/kernel/patches-4.14.x-rt/0373-net-core-protect-users-of-napi_alloc_cache-against-r.patch @@ -1,7 +1,7 @@ -From c601dbc9efd24fb11413a687d79ef05389530536 Mon Sep 17 00:00:00 2001 +From 4765799a2c19dd1d6bc1feadd6e5c4ce411ae2ac Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 15 Jan 2016 16:33:34 +0100 -Subject: [PATCH 374/414] net/core: protect users of napi_alloc_cache against +Subject: [PATCH 373/418] net/core: protect users of napi_alloc_cache against reentrance On -RT the code running in BH can not be moved to another CPU so CPU @@ -17,7 +17,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c -index fff48b662872..a048bf357fde 100644 +index a20583c3224e..59976c5a7e3b 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -332,6 +332,7 @@ struct napi_alloc_cache { @@ -114,5 +114,5 @@ index fff48b662872..a048bf357fde 100644 void __kfree_skb_defer(struct sk_buff *skb) { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0375-0375-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch b/kernel/patches-4.14.x-rt/0374-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0375-0375-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch rename to kernel/patches-4.14.x-rt/0374-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch index 16f3c7549..1e77530be 100644 --- a/kernel/patches-4.14.x-rt/0375-0375-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch +++ b/kernel/patches-4.14.x-rt/0374-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch @@ -1,7 +1,7 @@ -From 269b8c1eccda2bb62270940b21248d03f01dcb75 Mon Sep 17 00:00:00 2001 +From 1af4ca6975b54a0619ec4f28e07587e6f633f9ea Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 28 Oct 2012 11:18:08 +0100 -Subject: [PATCH 375/414] net: netfilter: Serialize xt_write_recseq sections on +Subject: [PATCH 374/418] net: netfilter: Serialize xt_write_recseq sections on RT The netfilter code relies only on the implicit semantics of @@ -79,5 +79,5 @@ index 52cd2901a097..c63e937b6676 100644 const struct nf_afinfo __rcu *nf_afinfo[NFPROTO_NUMPROTO] __read_mostly; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0376-0376-net-Add-a-mutex-around-devnet_rename_seq.patch b/kernel/patches-4.14.x-rt/0375-net-Add-a-mutex-around-devnet_rename_seq.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0376-0376-net-Add-a-mutex-around-devnet_rename_seq.patch rename to kernel/patches-4.14.x-rt/0375-net-Add-a-mutex-around-devnet_rename_seq.patch index a1cdcc410..80036a8e0 100644 --- a/kernel/patches-4.14.x-rt/0376-0376-net-Add-a-mutex-around-devnet_rename_seq.patch +++ b/kernel/patches-4.14.x-rt/0375-net-Add-a-mutex-around-devnet_rename_seq.patch @@ -1,7 +1,7 @@ -From 5c92e3bbf42d5dbe3803e78e5639ad6e9f04d93d Mon Sep 17 00:00:00 2001 +From 53aece04234a80984fd32a4eca7c8ead39a1b6c8 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 20 Mar 2013 18:06:20 +0100 -Subject: [PATCH 376/414] net: Add a mutex around devnet_rename_seq +Subject: [PATCH 375/418] net: Add a mutex around devnet_rename_seq On RT write_seqcount_begin() disables preemption and device_rename() allocates memory with GFP_KERNEL and grabs later the sysfs_mutex @@ -21,7 +21,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c -index c10852608381..18de1d6eff2b 100644 +index 11bb8981602d..e0e8738abac9 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -195,6 +195,7 @@ static unsigned int napi_gen_id = NR_CPUS; @@ -108,5 +108,5 @@ index c10852608381..18de1d6eff2b 100644 /** -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0377-0377-crypto-Convert-crypto-notifier-chain-to-SRCU.patch b/kernel/patches-4.14.x-rt/0376-crypto-Convert-crypto-notifier-chain-to-SRCU.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0377-0377-crypto-Convert-crypto-notifier-chain-to-SRCU.patch rename to kernel/patches-4.14.x-rt/0376-crypto-Convert-crypto-notifier-chain-to-SRCU.patch index 646a7e5df..3236c0d60 100644 --- a/kernel/patches-4.14.x-rt/0377-0377-crypto-Convert-crypto-notifier-chain-to-SRCU.patch +++ b/kernel/patches-4.14.x-rt/0376-crypto-Convert-crypto-notifier-chain-to-SRCU.patch @@ -1,7 +1,7 @@ -From 4babb114876d6137ee6f052499cd9876014f61b9 Mon Sep 17 00:00:00 2001 +From 97177d4b67f35f71cb44270dc162cb763a698da2 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 5 Oct 2012 09:03:24 +0100 -Subject: [PATCH 377/414] crypto: Convert crypto notifier chain to SRCU +Subject: [PATCH 376/418] crypto: Convert crypto notifier chain to SRCU The crypto notifier deadlocks on RT. Though this can be a real deadlock on mainline as well due to fifo fair rwsems. @@ -188,5 +188,5 @@ index f07320423191..333d985088fe 100644 #endif /* _CRYPTO_INTERNAL_H */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0378-0378-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch b/kernel/patches-4.14.x-rt/0377-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0378-0378-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch rename to kernel/patches-4.14.x-rt/0377-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch index 739af2e57..e5f166a80 100644 --- a/kernel/patches-4.14.x-rt/0378-0378-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch +++ b/kernel/patches-4.14.x-rt/0377-lockdep-selftest-Only-do-hardirq-context-test-for-ra.patch @@ -1,7 +1,7 @@ -From cc721997c6efe434a3f37d60287e838b1afc777e Mon Sep 17 00:00:00 2001 +From 71236004ea4c8057a84f70b9d6f5182bcbdafec2 Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Mon, 16 Apr 2012 15:01:56 +0800 -Subject: [PATCH 378/414] lockdep: selftest: Only do hardirq context test for +Subject: [PATCH 377/418] lockdep: selftest: Only do hardirq context test for raw spinlock On -rt there is no softirq context any more and rwlock is sleepable, @@ -57,5 +57,5 @@ index b5c1293ce147..7a452887c9c3 100644 ww_tests(); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0379-0379-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch b/kernel/patches-4.14.x-rt/0378-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0379-0379-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch rename to kernel/patches-4.14.x-rt/0378-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch index cb95c91e4..33c8e150e 100644 --- a/kernel/patches-4.14.x-rt/0379-0379-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch +++ b/kernel/patches-4.14.x-rt/0378-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch @@ -1,7 +1,7 @@ -From c8e5dfb94ba458b36d99312a74005b9133d22fd7 Mon Sep 17 00:00:00 2001 +From a3a1e9cbffd524cb19b67d640a23251fc7536d39 Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Wed, 28 Jan 2015 13:08:45 -0600 -Subject: [PATCH 379/414] lockdep: selftest: fix warnings due to missing +Subject: [PATCH 378/418] lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals "lockdep: Selftest: Only do hardirq context test for raw spinlock" @@ -144,5 +144,5 @@ index 7a452887c9c3..075e225f4111 100644 * read-lock / write-lock recursion that is unsafe. */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0380-0380-srcu-use-cpu_online-instead-custom-check.patch b/kernel/patches-4.14.x-rt/0379-srcu-use-cpu_online-instead-custom-check.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0380-0380-srcu-use-cpu_online-instead-custom-check.patch rename to kernel/patches-4.14.x-rt/0379-srcu-use-cpu_online-instead-custom-check.patch index 9b1be72a1..e368e8eb0 100644 --- a/kernel/patches-4.14.x-rt/0380-0380-srcu-use-cpu_online-instead-custom-check.patch +++ b/kernel/patches-4.14.x-rt/0379-srcu-use-cpu_online-instead-custom-check.patch @@ -1,7 +1,7 @@ -From 06e9e5bc8f89df6d839f2a1912efbd6a5867eac5 Mon Sep 17 00:00:00 2001 +From 7b17fa1461347cf507fc3367b82c587f8795815c Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 13 Sep 2017 14:43:41 +0200 -Subject: [PATCH 380/414] srcu: use cpu_online() instead custom check +Subject: [PATCH 379/418] srcu: use cpu_online() instead custom check The current check via srcu_online is slightly racy because after looking at srcu_online there could be an interrupt that interrupted us long @@ -103,5 +103,5 @@ index 55c56b1aece7..85e2dc55a82c 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0381-0381-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch b/kernel/patches-4.14.x-rt/0380-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0381-0381-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch rename to kernel/patches-4.14.x-rt/0380-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch index 32fc73eb2..fa17d0bb4 100644 --- a/kernel/patches-4.14.x-rt/0381-0381-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch +++ b/kernel/patches-4.14.x-rt/0380-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch @@ -1,7 +1,7 @@ -From 3fe897c4db4adfb480672dfce928497ec9602654 Mon Sep 17 00:00:00 2001 +From 7e2fbef5e1f87047963be1499ad5bf75527c259b Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Tue, 10 Oct 2017 13:52:30 -0700 -Subject: [PATCH 381/414] srcu: Prohibit call_srcu() use under raw spinlocks +Subject: [PATCH 380/418] srcu: Prohibit call_srcu() use under raw spinlocks Upstream commit 08265b8f1a139c1cff052b35ab7cf929528f88bb @@ -406,5 +406,5 @@ index b72d8c552604..c9d1f0e5f899 100644 if (pushgp) queue_delayed_work(system_power_efficient_wq, &sp->work, delay); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0382-0382-srcu-replace-local_irqsave-with-a-locallock.patch b/kernel/patches-4.14.x-rt/0381-srcu-replace-local_irqsave-with-a-locallock.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0382-0382-srcu-replace-local_irqsave-with-a-locallock.patch rename to kernel/patches-4.14.x-rt/0381-srcu-replace-local_irqsave-with-a-locallock.patch index 7753a1659..009315980 100644 --- a/kernel/patches-4.14.x-rt/0382-0382-srcu-replace-local_irqsave-with-a-locallock.patch +++ b/kernel/patches-4.14.x-rt/0381-srcu-replace-local_irqsave-with-a-locallock.patch @@ -1,7 +1,7 @@ -From 95014a8d2006e935d002fa95f2c03d2f25c1552e Mon Sep 17 00:00:00 2001 +From 69ab29706007e328c8e17cd0bd480da7bb21e07e Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 12 Oct 2017 18:37:12 +0200 -Subject: [PATCH 382/414] srcu: replace local_irqsave() with a locallock +Subject: [PATCH 381/418] srcu: replace local_irqsave() with a locallock There are two instances which disable interrupts in order to become a stable this_cpu_ptr() pointer. The restore part is coupled with @@ -72,5 +72,5 @@ index c9d1f0e5f899..0e3b2bd3f2ac 100644 srcu_funnel_gp_start(sp, sdp, s, do_norm); else if (needexp) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0383-0383-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch b/kernel/patches-4.14.x-rt/0382-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0383-0383-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch rename to kernel/patches-4.14.x-rt/0382-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch index d029acc6a..6198536fe 100644 --- a/kernel/patches-4.14.x-rt/0383-0383-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0382-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch @@ -1,7 +1,7 @@ -From b08a08bd302bc6b774de5d028c355562bd119c8b Mon Sep 17 00:00:00 2001 +From 68a83f2934a3f9f19fd932d7b715827c79cf469f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 28 Oct 2012 13:26:09 +0000 -Subject: [PATCH 383/414] rcu: Disable RCU_FAST_NO_HZ on RT +Subject: [PATCH 382/418] rcu: Disable RCU_FAST_NO_HZ on RT This uses a timer_list timer from the irq disabled guts of the idle code. Disable it for now to prevent wreckage. @@ -25,5 +25,5 @@ index 9210379c0353..644264be90f0 100644 help This option permits CPUs to enter dynticks-idle state even if -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0384-0384-rcu-Eliminate-softirq-processing-from-rcutree.patch b/kernel/patches-4.14.x-rt/0383-rcu-Eliminate-softirq-processing-from-rcutree.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0384-0384-rcu-Eliminate-softirq-processing-from-rcutree.patch rename to kernel/patches-4.14.x-rt/0383-rcu-Eliminate-softirq-processing-from-rcutree.patch index c6871c4cf..85caa62fa 100644 --- a/kernel/patches-4.14.x-rt/0384-0384-rcu-Eliminate-softirq-processing-from-rcutree.patch +++ b/kernel/patches-4.14.x-rt/0383-rcu-Eliminate-softirq-processing-from-rcutree.patch @@ -1,7 +1,7 @@ -From b8ac0f1d53e5447260a112a0659c2f7df8fa0a59 Mon Sep 17 00:00:00 2001 +From cde97512d5759b2e9aeb14542c016e26b3bb4eed Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Mon, 4 Nov 2013 13:21:10 -0800 -Subject: [PATCH 384/414] rcu: Eliminate softirq processing from rcutree +Subject: [PATCH 383/418] rcu: Eliminate softirq processing from rcutree Running RCU out of softirq is a problem for some workloads that would like to manage RCU core processing independently of other softirq work, @@ -210,7 +210,7 @@ index ac4296f85278..7acc23da94e2 100644 struct rcu_node *rnp); #endif /* #ifdef CONFIG_RCU_BOOST */ diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h -index 5426b8733293..c6098f60e641 100644 +index 09c739703533..17ee8d1f38c4 100644 --- a/kernel/rcu/tree_plugin.h +++ b/kernel/rcu/tree_plugin.h @@ -24,39 +24,16 @@ @@ -253,7 +253,7 @@ index 5426b8733293..c6098f60e641 100644 #ifdef CONFIG_RCU_NOCB_CPU static cpumask_var_t rcu_nocb_mask; /* CPUs to have callbacks offloaded. */ static bool have_rcu_nocb_mask; /* Was rcu_nocb_mask allocated? */ -@@ -682,15 +659,6 @@ static void rcu_preempt_check_callbacks(void) +@@ -688,15 +665,6 @@ static void rcu_preempt_check_callbacks(void) t->rcu_read_unlock_special.b.need_qs = true; } @@ -269,7 +269,7 @@ index 5426b8733293..c6098f60e641 100644 /** * call_rcu() - Queue an RCU callback for invocation after a grace period. * @head: structure to be used for queueing the RCU updates. -@@ -913,20 +881,23 @@ void exit_rcu(void) +@@ -919,20 +887,23 @@ void exit_rcu(void) #endif /* #else #ifdef CONFIG_PREEMPT_RCU */ @@ -303,7 +303,7 @@ index 5426b8733293..c6098f60e641 100644 /* * Carry out RCU priority boosting on the task indicated by ->exp_tasks * or ->boost_tasks, advancing the pointer to the next task in the -@@ -1068,23 +1039,6 @@ static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags) +@@ -1074,23 +1045,6 @@ static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags) } } @@ -327,7 +327,7 @@ index 5426b8733293..c6098f60e641 100644 /* * Is the current CPU running the RCU-callbacks kthread? * Caller must have preemption disabled. -@@ -1139,67 +1093,6 @@ static int rcu_spawn_one_boost_kthread(struct rcu_state *rsp, +@@ -1145,67 +1099,6 @@ static int rcu_spawn_one_boost_kthread(struct rcu_state *rsp, return 0; } @@ -395,7 +395,7 @@ index 5426b8733293..c6098f60e641 100644 /* * Set the per-rcu_node kthread's affinity to cover all CPUs that are * served by the rcu_node in question. The CPU hotplug lock is still -@@ -1230,26 +1123,12 @@ static void rcu_boost_kthread_setaffinity(struct rcu_node *rnp, int outgoingcpu) +@@ -1236,26 +1129,12 @@ static void rcu_boost_kthread_setaffinity(struct rcu_node *rnp, int outgoingcpu) free_cpumask_var(cm); } @@ -422,7 +422,7 @@ index 5426b8733293..c6098f60e641 100644 rcu_for_each_leaf_node(rcu_state_p, rnp) (void)rcu_spawn_one_boost_kthread(rcu_state_p, rnp); } -@@ -1272,11 +1151,6 @@ static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags) +@@ -1278,11 +1157,6 @@ static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags) raw_spin_unlock_irqrestore_rcu_node(rnp, flags); } @@ -435,5 +435,5 @@ index 5426b8733293..c6098f60e641 100644 { return false; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0385-0385-rcu-make-RCU_BOOST-default-on-RT.patch b/kernel/patches-4.14.x-rt/0384-rcu-make-RCU_BOOST-default-on-RT.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0385-0385-rcu-make-RCU_BOOST-default-on-RT.patch rename to kernel/patches-4.14.x-rt/0384-rcu-make-RCU_BOOST-default-on-RT.patch index 0d4c9e4fe..88b901a24 100644 --- a/kernel/patches-4.14.x-rt/0385-0385-rcu-make-RCU_BOOST-default-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0384-rcu-make-RCU_BOOST-default-on-RT.patch @@ -1,7 +1,7 @@ -From 2ac331bf4f61f795ba8fc5babf7f30d5b03ea6ef Mon Sep 17 00:00:00 2001 +From 89d849930e05b76e217793e9fe23fcedc0ee6805 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 21 Mar 2014 20:19:05 +0100 -Subject: [PATCH 385/414] rcu: make RCU_BOOST default on RT +Subject: [PATCH 384/418] rcu: make RCU_BOOST default on RT 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 @@ -36,5 +36,5 @@ index 644264be90f0..0be2c96fb640 100644 This option boosts the priority of preempted RCU readers that block the current preemptible RCU grace period for too long. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0386-0386-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch b/kernel/patches-4.14.x-rt/0385-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0386-0386-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch rename to kernel/patches-4.14.x-rt/0385-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch index 5cca46fad..1f277308d 100644 --- a/kernel/patches-4.14.x-rt/0386-0386-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch +++ b/kernel/patches-4.14.x-rt/0385-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch @@ -1,7 +1,7 @@ -From 369eda2e641a3e7b096bdcacf9f782d1a37e3b1c Mon Sep 17 00:00:00 2001 +From 449ba95eb771a1c0bc5d3208707baf79fa7d59b4 Mon Sep 17 00:00:00 2001 From: Julia Cartwright Date: Wed, 12 Oct 2016 11:21:14 -0500 -Subject: [PATCH 386/414] rcu: enable rcu_normal_after_boot by default for RT +Subject: [PATCH 385/418] rcu: enable rcu_normal_after_boot by default for RT The forcing of an expedited grace period is an expensive and very RT-application unfriendly operation, as it forcibly preempts all running @@ -31,5 +31,5 @@ index c63c88a0de7e..2006a09680aa 100644 #endif /* #ifndef CONFIG_TINY_RCU */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0387-0387-sched-Add-support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0386-sched-Add-support-for-lazy-preemption.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0387-0387-sched-Add-support-for-lazy-preemption.patch rename to kernel/patches-4.14.x-rt/0386-sched-Add-support-for-lazy-preemption.patch index 74fc21901..90f6218ce 100644 --- a/kernel/patches-4.14.x-rt/0387-0387-sched-Add-support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0386-sched-Add-support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ -From 3d1a0cca98ea826dc8de30a99069cef2abaa9850 Mon Sep 17 00:00:00 2001 +From 23c369d344399f08455da98e77f7386d35e836ac Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 26 Oct 2012 18:50:54 +0100 -Subject: [PATCH 387/414] sched: Add support for lazy preemption +Subject: [PATCH 386/418] sched: Add support for lazy preemption It has become an obsession to mitigate the determinism vs. throughput loss of RT. Looking at the mainline semantics of preemption points @@ -142,10 +142,10 @@ index fd2efc6ffc3f..0591df500e9d 100644 } while (0) diff --git a/include/linux/sched.h b/include/linux/sched.h -index d32be8e98b90..0322503084a5 100644 +index 4e48d5fe8bd6..c26b5ff005ab 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -1613,6 +1613,44 @@ static inline int test_tsk_need_resched(struct task_struct *tsk) +@@ -1661,6 +1661,44 @@ static inline int test_tsk_need_resched(struct task_struct *tsk) return unlikely(test_tsk_thread_flag(tsk,TIF_NEED_RESCHED)); } @@ -243,7 +243,7 @@ index f8a2982bdbde..11dbe26a8279 100644 prompt "Preemption Model" default PREEMPT_NONE diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 44a529ca00e0..6387a157fb41 100644 +index 44a1dc2574de..70455682c1f8 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -518,6 +518,48 @@ void resched_curr(struct rq *rq) @@ -313,7 +313,7 @@ index 44a529ca00e0..6387a157fb41 100644 clear_preempt_need_resched(); if (likely(prev != next)) { -@@ -3552,6 +3598,30 @@ static void __sched notrace preempt_schedule_common(void) +@@ -3537,6 +3583,30 @@ static void __sched notrace preempt_schedule_common(void) } while (need_resched()); } @@ -344,7 +344,7 @@ index 44a529ca00e0..6387a157fb41 100644 #ifdef CONFIG_PREEMPT /* * this is the entry point to schedule() from in-kernel preemption -@@ -3566,7 +3636,8 @@ asmlinkage __visible void __sched notrace preempt_schedule(void) +@@ -3551,7 +3621,8 @@ asmlinkage __visible void __sched notrace preempt_schedule(void) */ if (likely(!preemptible())) return; @@ -354,7 +354,7 @@ index 44a529ca00e0..6387a157fb41 100644 preempt_schedule_common(); } NOKPROBE_SYMBOL(preempt_schedule); -@@ -3593,6 +3664,9 @@ asmlinkage __visible void __sched notrace preempt_schedule_notrace(void) +@@ -3578,6 +3649,9 @@ asmlinkage __visible void __sched notrace preempt_schedule_notrace(void) if (likely(!preemptible())) return; @@ -364,7 +364,7 @@ index 44a529ca00e0..6387a157fb41 100644 do { /* * Because the function tracer can trace preempt_count_sub() -@@ -5332,7 +5406,9 @@ void init_idle(struct task_struct *idle, int cpu) +@@ -5317,7 +5391,9 @@ void init_idle(struct task_struct *idle, int cpu) /* Set the preempt count _outside_ the spinlocks! */ init_idle_preempt_count(idle, cpu); @@ -375,7 +375,7 @@ index 44a529ca00e0..6387a157fb41 100644 /* * The idle tasks have their own, simple scheduling class: */ -@@ -6888,6 +6964,7 @@ void migrate_disable(void) +@@ -6873,6 +6949,7 @@ void migrate_disable(void) } preempt_disable(); @@ -383,7 +383,7 @@ index 44a529ca00e0..6387a157fb41 100644 pin_current_cpu(); migrate_disable_update_cpus_allowed(p); -@@ -6955,6 +7032,7 @@ void migrate_enable(void) +@@ -6940,6 +7017,7 @@ void migrate_enable(void) arg.dest_cpu = dest_cpu; unpin_current_cpu(); @@ -391,7 +391,7 @@ index 44a529ca00e0..6387a157fb41 100644 preempt_enable(); stop_one_cpu(task_cpu(p), migration_cpu_stop, &arg); tlb_migrate_finish(p->mm); -@@ -6963,6 +7041,7 @@ void migrate_enable(void) +@@ -6948,6 +7026,7 @@ void migrate_enable(void) } } unpin_current_cpu(); @@ -490,7 +490,7 @@ index c675ee1694f5..fb069998b518 100644 /* diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h -index df2a22e591cc..d71161d063ea 100644 +index ace39806bff8..96481980c8c7 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1546,6 +1546,15 @@ extern void init_sched_fair_class(void); @@ -510,7 +510,7 @@ index df2a22e591cc..d71161d063ea 100644 extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime); diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index 5796c41319c8..aae582536839 100644 +index 7e01f6793ca0..3fe94621007c 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2129,6 +2129,7 @@ tracing_generic_entry_update(struct trace_entry *entry, unsigned long flags, @@ -582,7 +582,7 @@ index 5796c41319c8..aae582536839 100644 } diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h -index 40f2130b3047..fd8a400404cc 100644 +index 0b8af849dc75..18bf383f46e8 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -127,6 +127,7 @@ struct kretprobe_trace_entry_head { @@ -647,5 +647,5 @@ index 2bccb364a483..5af6d7d1b1e9 100644 trace_seq_printf(s, "%x", entry->migrate_disable); else -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0388-0388-ftrace-Fix-trace-header-alignment.patch b/kernel/patches-4.14.x-rt/0387-ftrace-Fix-trace-header-alignment.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0388-0388-ftrace-Fix-trace-header-alignment.patch rename to kernel/patches-4.14.x-rt/0387-ftrace-Fix-trace-header-alignment.patch index bc323ac1b..72a73905b 100644 --- a/kernel/patches-4.14.x-rt/0388-0388-ftrace-Fix-trace-header-alignment.patch +++ b/kernel/patches-4.14.x-rt/0387-ftrace-Fix-trace-header-alignment.patch @@ -1,7 +1,7 @@ -From 7ac8dc098409ee5e16b03ac65b573d0fa699dd6c Mon Sep 17 00:00:00 2001 +From 689dbe43df4fd20617cd0870c5928193c010326b Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 16 Oct 2016 05:08:30 +0200 -Subject: [PATCH 388/414] ftrace: Fix trace header alignment +Subject: [PATCH 387/418] ftrace: Fix trace header alignment Line up helper arrows to the right column. @@ -14,7 +14,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c -index aae582536839..d936c4352742 100644 +index 3fe94621007c..d67ac5c2bc66 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -3343,17 +3343,17 @@ get_total_entries(struct trace_buffer *buf, @@ -47,5 +47,5 @@ index aae582536839..d936c4352742 100644 static void print_event_info(struct trace_buffer *buf, struct seq_file *m) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0389-0389-x86-Support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0388-x86-Support-for-lazy-preemption.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0389-0389-x86-Support-for-lazy-preemption.patch rename to kernel/patches-4.14.x-rt/0388-x86-Support-for-lazy-preemption.patch index c98fbe2e0..e6c7cb231 100644 --- a/kernel/patches-4.14.x-rt/0389-0389-x86-Support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0388-x86-Support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ -From 91fc56ed798072c101b895ba2c4d952d22d2a551 Mon Sep 17 00:00:00 2001 +From f1bd269dcf7c145d0495ef7b85bb5c1f9e801ac6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Nov 2012 11:03:47 +0100 -Subject: [PATCH 389/414] x86: Support for lazy preemption +Subject: [PATCH 388/418] x86: Support for lazy preemption Implement the x86 pieces for lazy preempt. @@ -161,7 +161,7 @@ index 7f2dbd91fc74..22992c837795 100644 #ifdef CONFIG_PREEMPT diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h -index eda3b6823ca4..0242d91734ee 100644 +index 95ff2d7f553f..b1c9129f64fc 100644 --- a/arch/x86/include/asm/thread_info.h +++ b/arch/x86/include/asm/thread_info.h @@ -56,11 +56,14 @@ struct task_struct; @@ -190,7 +190,7 @@ index eda3b6823ca4..0242d91734ee 100644 #endif /* -@@ -84,6 +91,7 @@ struct thread_info { +@@ -85,6 +92,7 @@ struct thread_info { #define TIF_SYSCALL_EMU 6 /* syscall emulation active */ #define TIF_SYSCALL_AUDIT 7 /* syscall auditing active */ #define TIF_SECCOMP 8 /* secure computing */ @@ -198,7 +198,7 @@ index eda3b6823ca4..0242d91734ee 100644 #define TIF_USER_RETURN_NOTIFY 11 /* notify kernel of userspace return */ #define TIF_UPROBE 12 /* breakpointed or singlestepping */ #define TIF_PATCH_PENDING 13 /* pending live patching update */ -@@ -110,6 +118,7 @@ struct thread_info { +@@ -112,6 +120,7 @@ struct thread_info { #define _TIF_SYSCALL_EMU (1 << TIF_SYSCALL_EMU) #define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) #define _TIF_SECCOMP (1 << TIF_SECCOMP) @@ -206,7 +206,7 @@ index eda3b6823ca4..0242d91734ee 100644 #define _TIF_USER_RETURN_NOTIFY (1 << TIF_USER_RETURN_NOTIFY) #define _TIF_UPROBE (1 << TIF_UPROBE) #define _TIF_PATCH_PENDING (1 << TIF_PATCH_PENDING) -@@ -151,6 +160,8 @@ struct thread_info { +@@ -153,6 +162,8 @@ struct thread_info { #define _TIF_WORK_CTXSW_PREV (_TIF_WORK_CTXSW|_TIF_USER_RETURN_NOTIFY) #define _TIF_WORK_CTXSW_NEXT (_TIF_WORK_CTXSW) @@ -236,5 +236,5 @@ index 76417a9aab73..62c3e27c8e1c 100644 /* TLB state for the entry code */ OFFSET(TLB_STATE_user_pcid_flush_mask, tlb_state, user_pcid_flush_mask); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0390-0390-arm-Add-support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0389-arm-Add-support-for-lazy-preemption.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0390-0390-arm-Add-support-for-lazy-preemption.patch rename to kernel/patches-4.14.x-rt/0389-arm-Add-support-for-lazy-preemption.patch index 00353c2b7..e3d0e0eec 100644 --- a/kernel/patches-4.14.x-rt/0390-0390-arm-Add-support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0389-arm-Add-support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ -From 11d916532aae957aa181b29e68343fde1e963141 Mon Sep 17 00:00:00 2001 +From fedf6d7389831899945c204e467ea9389e20444c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 31 Oct 2012 12:04:11 +0100 -Subject: [PATCH 390/414] arm: Add support for lazy preemption +Subject: [PATCH 389/418] arm: Add support for lazy preemption Implement the arm pieces for lazy preempt. @@ -163,5 +163,5 @@ index b67ae12503f3..7039988510bb 100644 } else { if (unlikely(!user_mode(regs))) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0391-0391-powerpc-Add-support-for-lazy-preemption.patch b/kernel/patches-4.14.x-rt/0390-powerpc-Add-support-for-lazy-preemption.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0391-0391-powerpc-Add-support-for-lazy-preemption.patch rename to kernel/patches-4.14.x-rt/0390-powerpc-Add-support-for-lazy-preemption.patch index 34b26691b..4b6a4bbb3 100644 --- a/kernel/patches-4.14.x-rt/0391-0391-powerpc-Add-support-for-lazy-preemption.patch +++ b/kernel/patches-4.14.x-rt/0390-powerpc-Add-support-for-lazy-preemption.patch @@ -1,7 +1,7 @@ -From 43d18880d0fdc513998e0e2719a35a31a121108f Mon Sep 17 00:00:00 2001 +From ece346f77007f0c29c2d09762f7c32d3cbea3f40 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Nov 2012 10:14:11 +0100 -Subject: [PATCH 391/414] powerpc: Add support for lazy preemption +Subject: [PATCH 390/418] powerpc: Add support for lazy preemption Implement the powerpc pieces for lazy preempt. @@ -77,7 +77,7 @@ index a264c3ad366b..020afb8329a1 100644 /* Bits in local_flags */ /* Don't move TLF_NAPPING without adjusting the code in entry_32.S */ diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c -index 748cdc4bb89a..90c2d96aff6f 100644 +index 2e5ea300258a..a2cb40098d7c 100644 --- a/arch/powerpc/kernel/asm-offsets.c +++ b/arch/powerpc/kernel/asm-offsets.c @@ -156,6 +156,7 @@ int main(void) @@ -183,5 +183,5 @@ index 6f07c687fc05..24ae3d343084 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0392-0392-arch-arm64-Add-lazy-preempt-support.patch b/kernel/patches-4.14.x-rt/0391-arch-arm64-Add-lazy-preempt-support.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0392-0392-arch-arm64-Add-lazy-preempt-support.patch rename to kernel/patches-4.14.x-rt/0391-arch-arm64-Add-lazy-preempt-support.patch index 8a1f212c7..590bb78d5 100644 --- a/kernel/patches-4.14.x-rt/0392-0392-arch-arm64-Add-lazy-preempt-support.patch +++ b/kernel/patches-4.14.x-rt/0391-arch-arm64-Add-lazy-preempt-support.patch @@ -1,7 +1,7 @@ -From 24b4d4f5deeb374106d6864e3f213f4efbeda8e7 Mon Sep 17 00:00:00 2001 +From 012271ca852e27ad4fe40c63dff1b9c60bfbcb72 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Thu, 14 May 2015 17:52:17 +0200 -Subject: [PATCH 392/414] arch/arm64: Add lazy preempt support +Subject: [PATCH 391/418] arch/arm64: Add lazy preempt support arm64 is missing support for PREEMPT_RT. The main feature which is lacking is support for lazy preemption. The arch-specific entry code, @@ -20,7 +20,7 @@ Signed-off-by: Anders Roxell 5 files changed, 17 insertions(+), 5 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig -index c8bcd6e41192..7e08c4fd1ae0 100644 +index 720678aea92f..f1c20cfca4ab 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -103,6 +103,7 @@ config ARM64 @@ -128,5 +128,5 @@ index 0bdc96c61bc0..5393eb231209 100644 } else { local_irq_enable(); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0393-0393-leds-trigger-disable-CPU-trigger-on-RT.patch b/kernel/patches-4.14.x-rt/0392-leds-trigger-disable-CPU-trigger-on-RT.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0393-0393-leds-trigger-disable-CPU-trigger-on-RT.patch rename to kernel/patches-4.14.x-rt/0392-leds-trigger-disable-CPU-trigger-on-RT.patch index 2c87f4589..99150e9f7 100644 --- a/kernel/patches-4.14.x-rt/0393-0393-leds-trigger-disable-CPU-trigger-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0392-leds-trigger-disable-CPU-trigger-on-RT.patch @@ -1,7 +1,7 @@ -From 4b69f33ec0a1ce5cb6cca8feabb64703a8924631 Mon Sep 17 00:00:00 2001 +From 8fa5fc847283f8869343df765ae97ff55f754ea3 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 23 Jan 2014 14:45:59 +0100 -Subject: [PATCH 393/414] leds: trigger: disable CPU trigger on -RT +Subject: [PATCH 392/418] leds: trigger: disable CPU trigger on -RT as it triggers: |CPU: 0 PID: 0 Comm: swapper Not tainted 3.12.8-rt10 #141 @@ -37,5 +37,5 @@ index 3f9ddb9fafa7..09da5b6b44a1 100644 This allows LEDs to be controlled by active CPUs. This shows the active CPUs across an array of LEDs so you can see which -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0394-0394-mmci-Remove-bogus-local_irq_save.patch b/kernel/patches-4.14.x-rt/0393-mmci-Remove-bogus-local_irq_save.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0394-0394-mmci-Remove-bogus-local_irq_save.patch rename to kernel/patches-4.14.x-rt/0393-mmci-Remove-bogus-local_irq_save.patch index 5a33b33be..e6ea0e444 100644 --- a/kernel/patches-4.14.x-rt/0394-0394-mmci-Remove-bogus-local_irq_save.patch +++ b/kernel/patches-4.14.x-rt/0393-mmci-Remove-bogus-local_irq_save.patch @@ -1,7 +1,7 @@ -From 34019af11510661afc37fb072b054520515d9056 Mon Sep 17 00:00:00 2001 +From 993fb8cf1d63ec1db9b9981f4e560b45a5a5d1bf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 9 Jan 2013 12:11:12 +0100 -Subject: [PATCH 394/414] mmci: Remove bogus local_irq_save() +Subject: [PATCH 393/418] mmci: Remove bogus local_irq_save() On !RT interrupt runs with interrupts disabled. On RT it's in a thread, so no need to disable interrupts at all. @@ -41,5 +41,5 @@ index f1f54a818489..ce102378df02 100644 * If we have less than the fifo 'half-full' threshold to transfer, * trigger a PIO interrupt as soon as any data is available. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0395-0395-cpufreq-drop-K8-s-driver-from-beeing-selected.patch b/kernel/patches-4.14.x-rt/0394-cpufreq-drop-K8-s-driver-from-beeing-selected.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0395-0395-cpufreq-drop-K8-s-driver-from-beeing-selected.patch rename to kernel/patches-4.14.x-rt/0394-cpufreq-drop-K8-s-driver-from-beeing-selected.patch index c72201edc..f1ae09d1a 100644 --- a/kernel/patches-4.14.x-rt/0395-0395-cpufreq-drop-K8-s-driver-from-beeing-selected.patch +++ b/kernel/patches-4.14.x-rt/0394-cpufreq-drop-K8-s-driver-from-beeing-selected.patch @@ -1,7 +1,7 @@ -From 46d66cff29b8a1cdfc64a0e69171aa510315f9ca Mon Sep 17 00:00:00 2001 +From d7d4b86a2344a87910cea7f631262321e9b1c988 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 9 Apr 2015 15:23:01 +0200 -Subject: [PATCH 395/414] cpufreq: drop K8's driver from beeing selected +Subject: [PATCH 394/418] cpufreq: drop K8's driver from beeing selected Ralf posted a picture of a backtrace from @@ -34,5 +34,5 @@ index 35f71825b7f3..bb4a6160d0f7 100644 This adds the CPUFreq driver for K8/early Opteron/Athlon64 processors. Support for K10 and newer processors is now in acpi-cpufreq. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0396-0396-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch b/kernel/patches-4.14.x-rt/0395-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0396-0396-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch rename to kernel/patches-4.14.x-rt/0395-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch index 366bc6d6b..883c144b8 100644 --- a/kernel/patches-4.14.x-rt/0396-0396-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch +++ b/kernel/patches-4.14.x-rt/0395-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch @@ -1,7 +1,7 @@ -From a88fd249ccff219250a01059ff52291023859f57 Mon Sep 17 00:00:00 2001 +From 3bbaf8ca6a38f9291214b9814ff82e6cb2faa95b Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 16 Oct 2016 05:11:54 +0200 -Subject: [PATCH 396/414] connector/cn_proc: Protect send_msg() with a local +Subject: [PATCH 395/418] connector/cn_proc: Protect send_msg() with a local lock on RT |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:931 @@ -69,5 +69,5 @@ index a782ce87715c..19d265948526 100644 void proc_fork_connector(struct task_struct *task) -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0397-0397-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch b/kernel/patches-4.14.x-rt/0396-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0397-0397-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch rename to kernel/patches-4.14.x-rt/0396-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch index 345bd9c5d..7e0c09b2e 100644 --- a/kernel/patches-4.14.x-rt/0397-0397-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch +++ b/kernel/patches-4.14.x-rt/0396-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch @@ -1,7 +1,7 @@ -From b05b3cdd91f22a30a51afb1dca1b69e24ab7fdbd Mon Sep 17 00:00:00 2001 +From 92c0cd4ee0c9942a08d820e5711ba55f7555134c Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Thu, 31 Mar 2016 04:08:28 +0200 -Subject: [PATCH 397/414] drivers/block/zram: Replace bit spinlocks with +Subject: [PATCH 396/418] drivers/block/zram: Replace bit spinlocks with rtmutex for -rt They're nondeterministic, and lead to ___might_sleep() splats in -rt. @@ -80,5 +80,5 @@ index 31762db861e3..a417c96b8f3f 100644 struct zram_stats { -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0398-0398-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch b/kernel/patches-4.14.x-rt/0397-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0398-0398-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch rename to kernel/patches-4.14.x-rt/0397-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch index a8e6d93f2..19ea01f8f 100644 --- a/kernel/patches-4.14.x-rt/0398-0398-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch +++ b/kernel/patches-4.14.x-rt/0397-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch @@ -1,7 +1,7 @@ -From 709ce2ad069cc2ba297c371894fcee3b596eb210 Mon Sep 17 00:00:00 2001 +From 0f4d9fb0ae9a5d006c86694694841dda3328b575 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Thu, 20 Oct 2016 11:15:22 +0200 -Subject: [PATCH 398/414] drivers/zram: Don't disable preemption in +Subject: [PATCH 397/418] drivers/zram: Don't disable preemption in zcomp_stream_get/put() In v4.7, the driver switched to percpu compression streams, disabling @@ -102,5 +102,5 @@ index 0fc72950be2d..9839656465ea 100644 /* Should NEVER happen. Return bio error if it does. */ -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0399-0399-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch b/kernel/patches-4.14.x-rt/0398-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0399-0399-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch rename to kernel/patches-4.14.x-rt/0398-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch index a24140543..8075aad85 100644 --- a/kernel/patches-4.14.x-rt/0399-0399-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch +++ b/kernel/patches-4.14.x-rt/0398-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch @@ -1,7 +1,7 @@ -From 59328b250989984f4e719fd01d9d7e5999c2f70d Mon Sep 17 00:00:00 2001 +From dfd74ea61dc533370570b27fe4fb01220e99020d Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 23 Aug 2017 11:57:29 +0200 -Subject: [PATCH 399/414] drivers/zram: fix zcomp_stream_get() +Subject: [PATCH 398/418] drivers/zram: fix zcomp_stream_get() smp_processor_id() use in preemptible code Use get_local_ptr() instead this_cpu_ptr() to avoid a warning regarding @@ -39,5 +39,5 @@ index 374931245128..40345483a022 100644 int zcomp_compress(struct zcomp_strm *zstrm, -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0400-0400-tpm_tis-fix-stall-after-iowrite-s.patch b/kernel/patches-4.14.x-rt/0399-tpm_tis-fix-stall-after-iowrite-s.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0400-0400-tpm_tis-fix-stall-after-iowrite-s.patch rename to kernel/patches-4.14.x-rt/0399-tpm_tis-fix-stall-after-iowrite-s.patch index 1c53ec4f7..cc3d31e5d 100644 --- a/kernel/patches-4.14.x-rt/0400-0400-tpm_tis-fix-stall-after-iowrite-s.patch +++ b/kernel/patches-4.14.x-rt/0399-tpm_tis-fix-stall-after-iowrite-s.patch @@ -1,7 +1,7 @@ -From c04bec112ba6dc9ad2c611b6bdf83b16c57ffb63 Mon Sep 17 00:00:00 2001 +From dc93ab94c0362370ca85e45abdcdb8040591fd13 Mon Sep 17 00:00:00 2001 From: Haris Okanovic Date: Tue, 15 Aug 2017 15:13:08 -0500 -Subject: [PATCH 400/414] tpm_tis: fix stall after iowrite*()s +Subject: [PATCH 399/418] tpm_tis: fix stall after iowrite*()s ioread8() operations to TPM MMIO addresses can stall the cpu when immediately following a sequence of iowrite*()'s to the same region. @@ -79,5 +79,5 @@ index 50b59a69dc33..cbdb0a6c5337 100644 return 0; } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0401-0401-pci-switchtec-Don-t-use-completion-s-wait-queue.patch b/kernel/patches-4.14.x-rt/0400-pci-switchtec-Don-t-use-completion-s-wait-queue.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0401-0401-pci-switchtec-Don-t-use-completion-s-wait-queue.patch rename to kernel/patches-4.14.x-rt/0400-pci-switchtec-Don-t-use-completion-s-wait-queue.patch index bba56a31a..346e52676 100644 --- a/kernel/patches-4.14.x-rt/0401-0401-pci-switchtec-Don-t-use-completion-s-wait-queue.patch +++ b/kernel/patches-4.14.x-rt/0400-pci-switchtec-Don-t-use-completion-s-wait-queue.patch @@ -1,7 +1,7 @@ -From 23dc17f0f46092fc3c5eb2d0df3cf99ed7624171 Mon Sep 17 00:00:00 2001 +From 0175e8d9963a2fbd225bb37711d16d85fd0737bd Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 4 Oct 2017 10:24:23 +0200 -Subject: [PATCH 401/414] pci/switchtec: Don't use completion's wait queue +Subject: [PATCH 400/418] pci/switchtec: Don't use completion's wait queue 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 @@ -110,5 +110,5 @@ index af81b2dec42e..1910c6c72fcd 100644 stuser_put(stuser); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0402-0402-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch b/kernel/patches-4.14.x-rt/0401-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0402-0402-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch rename to kernel/patches-4.14.x-rt/0401-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch index 149d2c9f3..1d991ef60 100644 --- a/kernel/patches-4.14.x-rt/0402-0402-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch +++ b/kernel/patches-4.14.x-rt/0401-drm-radeon-i915-Use-preempt_disable-enable_rt-where-.patch @@ -1,7 +1,7 @@ -From e4f0423400949818dc4e1d198927d4151b9014af Mon Sep 17 00:00:00 2001 +From d4262b1fc0b32a8384e97798aeb081dbada56e80 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sat, 27 Feb 2016 08:09:11 +0100 -Subject: [PATCH 402/414] drm,radeon,i915: Use preempt_disable/enable_rt() +Subject: [PATCH 401/418] drm,radeon,i915: Use preempt_disable/enable_rt() where recommended DRM folks identified the spots, so use them. @@ -56,5 +56,5 @@ index ddfe91efa61e..3157bcf6428f 100644 /* Decode into vertical and horizontal scanout position. */ *vpos = position & 0x1fff; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0403-0403-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch b/kernel/patches-4.14.x-rt/0402-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0403-0403-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch rename to kernel/patches-4.14.x-rt/0402-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch index bb87df48a..42bacbfe7 100644 --- a/kernel/patches-4.14.x-rt/0403-0403-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch +++ b/kernel/patches-4.14.x-rt/0402-drm-i915-Use-local_lock-unlock_irq-in-intel_pipe_upd.patch @@ -1,7 +1,7 @@ -From 6f0d16eed6c75fed003708bd20642e258421b029 Mon Sep 17 00:00:00 2001 +From 9192e8cb30fce9bfe851e81a67e1e9958b30af44 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sat, 27 Feb 2016 09:01:42 +0100 -Subject: [PATCH 403/414] drm,i915: Use local_lock/unlock_irq() in +Subject: [PATCH 402/418] drm,i915: Use local_lock/unlock_irq() in intel_pipe_update_start/end() [ 8.014039] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:918 @@ -114,5 +114,5 @@ index 41e31a454604..7e0cadf51b31 100644 if (intel_vgpu_active(dev_priv)) return; -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0404-0404-cgroups-use-simple-wait-in-css_release.patch b/kernel/patches-4.14.x-rt/0403-cgroups-use-simple-wait-in-css_release.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0404-0404-cgroups-use-simple-wait-in-css_release.patch rename to kernel/patches-4.14.x-rt/0403-cgroups-use-simple-wait-in-css_release.patch index eb603e2e7..4ba06c0c1 100644 --- a/kernel/patches-4.14.x-rt/0404-0404-cgroups-use-simple-wait-in-css_release.patch +++ b/kernel/patches-4.14.x-rt/0403-cgroups-use-simple-wait-in-css_release.patch @@ -1,7 +1,7 @@ -From 656a7d61286664379bcc2cbcfa4522acecebf2ea Mon Sep 17 00:00:00 2001 +From 7f5c1e8d48f894437c9ece711691a979491eb006 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 13 Feb 2015 15:52:24 +0100 -Subject: [PATCH 404/414] cgroups: use simple wait in css_release() +Subject: [PATCH 403/418] cgroups: use simple wait in css_release() To avoid: |BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:914 @@ -90,5 +90,5 @@ index 76c0ef2cb509..cfa3505f2b3b 100644 } core_initcall(cgroup_wq_init); -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0405-0405-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch b/kernel/patches-4.14.x-rt/0404-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0405-0405-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch rename to kernel/patches-4.14.x-rt/0404-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch index e8e0add59..0e50bf5bd 100644 --- a/kernel/patches-4.14.x-rt/0405-0405-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch +++ b/kernel/patches-4.14.x-rt/0404-memcontrol-Prevent-scheduling-while-atomic-in-cgroup.patch @@ -1,7 +1,7 @@ -From 21233f953d4c583ab75d8fb7a2050a1d6620bffd Mon Sep 17 00:00:00 2001 +From 087e1e104b3d37ac6099f6d603682deecbc32527 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sat, 21 Jun 2014 10:09:48 +0200 -Subject: [PATCH 405/414] memcontrol: Prevent scheduling while atomic in cgroup +Subject: [PATCH 404/418] memcontrol: Prevent scheduling while atomic in cgroup code mm, memcg: make refill_stock() use get_cpu_light() @@ -43,7 +43,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index b2fb2903137e..325a6b702688 100644 +index 9458de860e41..bb9562903d84 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1723,6 +1723,7 @@ struct memcg_stock_pcp { @@ -107,5 +107,5 @@ index b2fb2903137e..325a6b702688 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0406-0406-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch b/kernel/patches-4.14.x-rt/0405-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0406-0406-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch rename to kernel/patches-4.14.x-rt/0405-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch index 44d62f29f..0eb4c7888 100644 --- a/kernel/patches-4.14.x-rt/0406-0406-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch +++ b/kernel/patches-4.14.x-rt/0405-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch @@ -1,7 +1,7 @@ -From 11a553a1afd9ef106c890a84248644664efb4556 Mon Sep 17 00:00:00 2001 +From 1699ccd1d0ee9ba1769ac5845a52c53844a43e26 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (VMware)" Date: Wed, 22 Nov 2017 07:31:19 -0500 -Subject: [PATCH 406/414] Revert "memcontrol: Prevent scheduling while atomic +Subject: [PATCH 405/418] Revert "memcontrol: Prevent scheduling while atomic in cgroup code" The commit "memcontrol: Prevent scheduling while atomic in cgroup code" @@ -38,7 +38,7 @@ Signed-off-by: Sebastian Andrzej Siewior 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c -index 325a6b702688..b2fb2903137e 100644 +index bb9562903d84..9458de860e41 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1723,7 +1723,6 @@ struct memcg_stock_pcp { @@ -102,5 +102,5 @@ index 325a6b702688..b2fb2903137e 100644 /* -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0407-0407-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch b/kernel/patches-4.14.x-rt/0406-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0407-0407-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch rename to kernel/patches-4.14.x-rt/0406-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch index 38bdfc430..59ffa40bc 100644 --- a/kernel/patches-4.14.x-rt/0407-0407-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch +++ b/kernel/patches-4.14.x-rt/0406-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch @@ -1,7 +1,7 @@ -From 9afd87a6135a234daae35c8e97775162f3da7a24 Mon Sep 17 00:00:00 2001 +From a57e764bf1c1611f2dc2f6e6440c58b8c2cc78af Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Sun, 8 Jan 2017 09:32:25 +0100 -Subject: [PATCH 407/414] cpuset: Convert callback_lock to raw_spinlock_t +Subject: [PATCH 406/418] cpuset: Convert callback_lock to raw_spinlock_t The two commits below add up to a cpuset might_sleep() splat for RT: @@ -288,5 +288,5 @@ index 7bb7384b543a..bda2af78277a 100644 } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0408-0408-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch b/kernel/patches-4.14.x-rt/0407-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0408-0408-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch rename to kernel/patches-4.14.x-rt/0407-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch index f2a759517..5aef93253 100644 --- a/kernel/patches-4.14.x-rt/0408-0408-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch +++ b/kernel/patches-4.14.x-rt/0407-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch @@ -1,7 +1,7 @@ -From f5ba4db7166bc5e7e3e1690b121ee9ae07147ee1 Mon Sep 17 00:00:00 2001 +From 958f43b85871f47c4237eaca87f3dc4cbe55bc9b Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 26 Jun 2013 15:28:11 -0400 -Subject: [PATCH 408/414] rt,ntp: Move call to schedule_delayed_work() to +Subject: [PATCH 407/418] rt,ntp: Move call to schedule_delayed_work() to helper thread The ntp code for notify_cmos_timer() is called from a hard interrupt @@ -75,5 +75,5 @@ index 99e03bec68e4..2c226b90c231 100644 #else void ntp_notify_cmos_timer(void) { } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0409-0409-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch b/kernel/patches-4.14.x-rt/0408-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0409-0409-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch rename to kernel/patches-4.14.x-rt/0408-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch index bc66a3817..1b4b241e7 100644 --- a/kernel/patches-4.14.x-rt/0409-0409-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch +++ b/kernel/patches-4.14.x-rt/0408-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch @@ -1,7 +1,7 @@ -From 7e07cab1bb10cb2dddecafdcd248e67e168fbf46 Mon Sep 17 00:00:00 2001 +From f26a2e1619dc0db0020a750e76eccece13e699da Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 2 Mar 2018 11:37:57 +0100 -Subject: [PATCH 409/414] Revert "rt,ntp: Move call to schedule_delayed_work() +Subject: [PATCH 408/418] Revert "rt,ntp: Move call to schedule_delayed_work() to helper thread" I've been looking at this in v3.10-RT where it got in. The patch @@ -73,5 +73,5 @@ index 2c226b90c231..99e03bec68e4 100644 #else void ntp_notify_cmos_timer(void) { } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0410-0410-md-disable-bcache.patch b/kernel/patches-4.14.x-rt/0409-md-disable-bcache.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0410-0410-md-disable-bcache.patch rename to kernel/patches-4.14.x-rt/0409-md-disable-bcache.patch index b0cfe04f6..165ce8121 100644 --- a/kernel/patches-4.14.x-rt/0410-0410-md-disable-bcache.patch +++ b/kernel/patches-4.14.x-rt/0409-md-disable-bcache.patch @@ -1,7 +1,7 @@ -From 44d90ce07aab86a74bf6dab84f99da53fbc46c42 Mon Sep 17 00:00:00 2001 +From 52644a0661af9e481c9bdfb61b61b9fe7f8dc56f Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Thu, 29 Aug 2013 11:48:57 +0200 -Subject: [PATCH 410/414] md: disable bcache +Subject: [PATCH 409/418] md: disable bcache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -36,5 +36,5 @@ index 4d200883c505..98b64ed5cb81 100644 Allows a block device to be used as cache for other devices; uses a btree for indexing and the layout is optimized for SSDs. -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0411-0411-apparmor-use-a-locallock-instead-preempt_disable.patch b/kernel/patches-4.14.x-rt/0410-apparmor-use-a-locallock-instead-preempt_disable.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0411-0411-apparmor-use-a-locallock-instead-preempt_disable.patch rename to kernel/patches-4.14.x-rt/0410-apparmor-use-a-locallock-instead-preempt_disable.patch index afb3ed438..81e3948cf 100644 --- a/kernel/patches-4.14.x-rt/0411-0411-apparmor-use-a-locallock-instead-preempt_disable.patch +++ b/kernel/patches-4.14.x-rt/0410-apparmor-use-a-locallock-instead-preempt_disable.patch @@ -1,7 +1,7 @@ -From affbcba2a6b297ac5fdcef095f08b2c85ee92ac4 Mon Sep 17 00:00:00 2001 +From 408c6d17e7afd6631b1ee5a3abe48b6e70380bea Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Wed, 11 Oct 2017 17:43:49 +0200 -Subject: [PATCH 411/414] apparmor: use a locallock instead preempt_disable() +Subject: [PATCH 410/418] apparmor: use a locallock instead preempt_disable() 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 @@ -87,5 +87,5 @@ index 1346ee5be04f..aa7e4dee107b 100644 /* * LSM hook functions -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0412-0412-workqueue-Prevent-deadlock-stall-on-RT.patch b/kernel/patches-4.14.x-rt/0411-workqueue-Prevent-deadlock-stall-on-RT.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0412-0412-workqueue-Prevent-deadlock-stall-on-RT.patch rename to kernel/patches-4.14.x-rt/0411-workqueue-Prevent-deadlock-stall-on-RT.patch index b05e68751..983704bf4 100644 --- a/kernel/patches-4.14.x-rt/0412-0412-workqueue-Prevent-deadlock-stall-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0411-workqueue-Prevent-deadlock-stall-on-RT.patch @@ -1,7 +1,7 @@ -From 4990d9b7df490a978da681368b9df34ad2608141 Mon Sep 17 00:00:00 2001 +From 1187ac2d6efa3053a2243848ab7421b63e79b600 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 27 Jun 2014 16:24:52 +0200 -Subject: [PATCH 412/414] workqueue: Prevent deadlock/stall on RT +Subject: [PATCH 411/418] workqueue: Prevent deadlock/stall on RT Austin reported a XFS deadlock/stall on RT where scheduled work gets never exececuted and tasks are waiting for each other for ever. @@ -42,10 +42,10 @@ Cc: Steven Rostedt 2 files changed, 52 insertions(+), 15 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c -index 6387a157fb41..310256350540 100644 +index 70455682c1f8..d6c2afc8c629 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -3475,9 +3475,8 @@ void __noreturn do_task_dead(void) +@@ -3460,9 +3460,8 @@ void __noreturn do_task_dead(void) static inline void sched_submit_work(struct task_struct *tsk) { @@ -56,7 +56,7 @@ index 6387a157fb41..310256350540 100644 /* * If a worker went to sleep, notify and ask workqueue whether * it wants to wake up a task to maintain concurrency. -@@ -3485,6 +3484,10 @@ static inline void sched_submit_work(struct task_struct *tsk) +@@ -3470,6 +3469,10 @@ static inline void sched_submit_work(struct task_struct *tsk) if (tsk->flags & PF_WQ_WORKER) wq_worker_sleeping(tsk); @@ -68,7 +68,7 @@ index 6387a157fb41..310256350540 100644 * If we are going to sleep and we have plugged IO queued, * make sure to submit it to avoid deadlocks. diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index a02ce94e5871..e4ae52492a51 100644 +index fffe7dd994b9..f3f7afecb686 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -125,6 +125,11 @@ enum { @@ -203,5 +203,5 @@ index a02ce94e5871..e4ae52492a51 100644 wake_up_process(worker->task); } -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0413-0413-Add-localversion-for-RT-release.patch b/kernel/patches-4.14.x-rt/0412-Add-localversion-for-RT-release.patch similarity index 75% rename from kernel/patches-4.14.x-rt/0413-0413-Add-localversion-for-RT-release.patch rename to kernel/patches-4.14.x-rt/0412-Add-localversion-for-RT-release.patch index ad0418376..0c6127881 100644 --- a/kernel/patches-4.14.x-rt/0413-0413-Add-localversion-for-RT-release.patch +++ b/kernel/patches-4.14.x-rt/0412-Add-localversion-for-RT-release.patch @@ -1,7 +1,7 @@ -From c4b11b37243218d9e977d9a42d5064ffba5f9c9c Mon Sep 17 00:00:00 2001 +From 3ad640a273f5e1db45d1a0d84e5637865d37fd2c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 8 Jul 2011 20:25:16 +0200 -Subject: [PATCH 413/414] Add localversion for -RT release +Subject: [PATCH 412/418] Add localversion for -RT release Signed-off-by: Thomas Gleixner --- @@ -17,5 +17,5 @@ index 000000000000..90290c642ed5 @@ -0,0 +1 @@ +-rt29 -- -2.17.0 +2.17.1 diff --git a/kernel/patches-4.14.x-rt/0413-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch b/kernel/patches-4.14.x-rt/0413-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch new file mode 100644 index 000000000..f93e2020c --- /dev/null +++ b/kernel/patches-4.14.x-rt/0413-tracing-Add-field-modifier-parsing-hist-error-for-hi.patch @@ -0,0 +1,52 @@ +From f2e9b9bfd99ef6b1e6f8bf6e5e92df8f994d1ac7 Mon Sep 17 00:00:00 2001 +From: Tom Zanussi +Date: Thu, 26 Apr 2018 20:04:49 -0500 +Subject: [PATCH 413/418] tracing: Add field modifier parsing hist error for + hist triggers + +[ commit dcf234577cd31fa16874e828b90659166ad6b80d ] + +If the user specifies an invalid field modifier for a hist trigger, +the current code correctly flags that as an error, but doesn't tell +the user what happened. + +Fix this by invoking hist_err() with an appropriate message when +invalid modifiers are specified. + +Before: + + # echo 'hist:keys=pid:ts0=common_timestamp.junkusecs' >> /sys/kernel/debug/tracing/events/sched/sched_wakeup/trigger + -su: echo: write error: Invalid argument + # cat /sys/kernel/debug/tracing/events/sched/sched_wakeup/hist + +After: + + # echo 'hist:keys=pid:ts0=common_timestamp.junkusecs' >> /sys/kernel/debug/tracing/events/sched/sched_wakeup/trigger + -su: echo: write error: Invalid argument + # cat /sys/kernel/debug/tracing/events/sched/sched_wakeup/hist + ERROR: Invalid field modifier: junkusecs + Last command: keys=pid:ts0=common_timestamp.junkusecs + +Link: http://lkml.kernel.org/r/b043c59fa79acd06a5f14a1d44dee9e5a3cd1248.1524790601.git.tom.zanussi@linux.intel.com + +Signed-off-by: Tom Zanussi +Signed-off-by: Steven Rostedt (VMware) +--- + kernel/trace/trace_events_hist.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c +index 37db86145c8b..b8fee11b5be9 100644 +--- a/kernel/trace/trace_events_hist.c ++++ b/kernel/trace/trace_events_hist.c +@@ -2466,6 +2466,7 @@ parse_field(struct hist_trigger_data *hist_data, struct trace_event_file *file, + else if (strcmp(modifier, "usecs") == 0) + *flags |= HIST_FIELD_FL_TIMESTAMP_USECS; + else { ++ hist_err("Invalid field modifier: ", modifier); + field = ERR_PTR(-EINVAL); + goto out; + } +-- +2.17.1 + diff --git a/kernel/patches-4.14.x-rt/0414-0414-Linux-4.14.40-rt30-REBASE.patch b/kernel/patches-4.14.x-rt/0414-0414-Linux-4.14.40-rt30-REBASE.patch deleted file mode 100644 index 05626b753..000000000 --- a/kernel/patches-4.14.x-rt/0414-0414-Linux-4.14.40-rt30-REBASE.patch +++ /dev/null @@ -1,19 +0,0 @@ -From 10a87e7fb2bb7bf20af50a4fa11e60ead439e2f5 Mon Sep 17 00:00:00 2001 -From: Steven Rostedt -Date: Mon, 14 May 2018 12:48:00 -0400 -Subject: [PATCH 414/414] Linux 4.14.40-rt30 REBASE - ---- - localversion-rt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/localversion-rt b/localversion-rt -index 90290c642ed5..b72862e06be4 100644 ---- a/localversion-rt -+++ b/localversion-rt -@@ -1 +1 @@ ---rt29 -+-rt30 --- -2.17.0 - diff --git a/kernel/patches-4.14.x-rt/0414-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch b/kernel/patches-4.14.x-rt/0414-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch new file mode 100644 index 000000000..9c7c8dfef --- /dev/null +++ b/kernel/patches-4.14.x-rt/0414-tracing-Add-field-parsing-hist-error-for-hist-trigge.patch @@ -0,0 +1,53 @@ +From 6a2990630764733b9b7df28b038088bb928aa23d Mon Sep 17 00:00:00 2001 +From: Tom Zanussi +Date: Thu, 26 Apr 2018 20:04:48 -0500 +Subject: [PATCH 414/418] tracing: Add field parsing hist error for hist + triggers + +[ commit 5ec432d7bf9dd3b4a2b84f8974e3adb71f45fb1d ] + +If the user specifies a nonexistent field for a hist trigger, the +current code correctly flags that as an error, but doesn't tell the +user what happened. + +Fix this by invoking hist_err() with an appropriate message when +nonexistent fields are specified. + +Before: + + # echo 'hist:keys=pid:ts0=common_timestamp.usecs' >> /sys/kernel/debug/tracing/events/sched/sched_switch/trigger + -su: echo: write error: Invalid argument + # cat /sys/kernel/debug/tracing/events/sched/sched_switch/hist + +After: + + # echo 'hist:keys=pid:ts0=common_timestamp.usecs' >> /sys/kernel/debug/tracing/events/sched/sched_switch/trigger + -su: echo: write error: Invalid argument + # cat /sys/kernel/debug/tracing/events/sched/sched_switch/hist + ERROR: Couldn't find field: pid + Last command: keys=pid:ts0=common_timestamp.usecs + +Link: http://lkml.kernel.org/r/fdc8746969d16906120f162b99dd71c741e0b62c.1524790601.git.tom.zanussi@linux.intel.com + +Signed-off-by: Tom Zanussi +Reported-by: Masami Hiramatsu +Signed-off-by: Steven Rostedt (VMware) +--- + kernel/trace/trace_events_hist.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c +index b8fee11b5be9..9dac8bae4f34 100644 +--- a/kernel/trace/trace_events_hist.c ++++ b/kernel/trace/trace_events_hist.c +@@ -2482,6 +2482,7 @@ parse_field(struct hist_trigger_data *hist_data, struct trace_event_file *file, + else { + field = trace_find_event_field(file->event_call, field_name); + if (!field || !field->size) { ++ hist_err("Couldn't find field: ", field_name); + field = ERR_PTR(-EINVAL); + goto out; + } +-- +2.17.1 + diff --git a/kernel/patches-4.14.x-rt/0415-tracing-Restore-proper-field-flag-printing-when-disp.patch b/kernel/patches-4.14.x-rt/0415-tracing-Restore-proper-field-flag-printing-when-disp.patch new file mode 100644 index 000000000..12bf95dec --- /dev/null +++ b/kernel/patches-4.14.x-rt/0415-tracing-Restore-proper-field-flag-printing-when-disp.patch @@ -0,0 +1,68 @@ +From ec3a6e2b1c04d1fd9808a8bde4755f9a396c2a37 Mon Sep 17 00:00:00 2001 +From: Tom Zanussi +Date: Thu, 26 Apr 2018 20:04:47 -0500 +Subject: [PATCH 415/418] tracing: Restore proper field flag printing when + displaying triggers + +[ commit 608940dabe1bd2ce4c97524004ec86637cf80f2c ] + +The flag-printing code used when displaying hist triggers somehow got +dropped during refactoring of the inter-event patchset. This restores +it. + +Below are a couple examples - in the first case, .usecs wasn't being +displayed properly for common_timestamps and the second illustrates +the same for other flags such as .execname. + +Before: + + # echo 'hist:key=common_pid.execname:val=count:sort=count' > /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/trigger + # cat /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/trigger + hist:keys=common_pid:vals=hitcount,count:sort=count:size=2048 [active] + + # echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="cyclictest"' >> /sys/kernel/debug/tracing/events/sched/sched_wakeup/trigger + # cat /sys/kernel/debug/tracing/events/sched/sched_wakeup/trigger + hist:keys=pid:vals=hitcount:ts0=common_timestamp:sort=hitcount:size=2048:clock=global if comm=="cyclictest" [active] + +After: + + # echo 'hist:key=common_pid.execname:val=count:sort=count' > /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/trigger + # cat /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/trigger + hist:keys=common_pid.execname:vals=hitcount,count:sort=count:size=2048 [active] + + # echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="cyclictest"' >> /sys/kernel/debug/tracing/events/sched/sched_wakeup/trigger + # cat /sys/kernel/debug/tracing/events/sched/sched_wakeup/trigger + hist:keys=pid:vals=hitcount:ts0=common_timestamp.usecs:sort=hitcount:size=2048:clock=global if comm=="cyclictest" [active] + +Link: http://lkml.kernel.org/r/492bab42ff21806600af98a8ea901af10efbee0c.1524790601.git.tom.zanussi@linux.intel.com + +Signed-off-by: Tom Zanussi +Signed-off-by: Steven Rostedt (VMware) +--- + kernel/trace/trace_events_hist.c | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c +index 9dac8bae4f34..4745ed588607 100644 +--- a/kernel/trace/trace_events_hist.c ++++ b/kernel/trace/trace_events_hist.c +@@ -4916,6 +4916,16 @@ static void hist_field_print(struct seq_file *m, struct hist_field *hist_field) + seq_printf(m, "%s", field_name); + } else if (hist_field->flags & HIST_FIELD_FL_TIMESTAMP) + seq_puts(m, "common_timestamp"); ++ ++ if (hist_field->flags) { ++ if (!(hist_field->flags & HIST_FIELD_FL_VAR_REF) && ++ !(hist_field->flags & HIST_FIELD_FL_EXPR)) { ++ const char *flags = get_hist_field_flags(hist_field); ++ ++ if (flags) ++ seq_printf(m, ".%s", flags); ++ } ++ } + } + + static int event_hist_trigger_print(struct seq_file *m, +-- +2.17.1 + diff --git a/kernel/patches-4.14.x-rt/0416-tracing-Uninitialized-variable-in-create_tracing_map.patch b/kernel/patches-4.14.x-rt/0416-tracing-Uninitialized-variable-in-create_tracing_map.patch new file mode 100644 index 000000000..e363ba8df --- /dev/null +++ b/kernel/patches-4.14.x-rt/0416-tracing-Uninitialized-variable-in-create_tracing_map.patch @@ -0,0 +1,39 @@ +From c141308bd57584273fd5e9351672e7a1a4b29fe8 Mon Sep 17 00:00:00 2001 +From: Dan Carpenter +Date: Wed, 28 Mar 2018 14:48:15 +0300 +Subject: [PATCH 416/418] tracing: Uninitialized variable in + create_tracing_map_fields() + +[ commit b28d7b2dc27f0eef1ae608b49d6860f2463910f1 ] + +Smatch complains that idx can be used uninitialized when we check if +(idx < 0). It has to be the first iteration through the loop and the +HIST_FIELD_FL_STACKTRACE bit has to be clear and the HIST_FIELD_FL_VAR +bit has to be set to reach the bug. + +Link: http://lkml.kernel.org/r/20180328114815.GC29050@mwanda + +Fixes: 30350d65ac56 ("tracing: Add variable support to hist triggers") +Acked-by: Tom Zanussi +Signed-off-by: Dan Carpenter +Signed-off-by: Steven Rostedt (VMware) +--- + kernel/trace/trace_events_hist.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c +index 4745ed588607..b3808969ac92 100644 +--- a/kernel/trace/trace_events_hist.c ++++ b/kernel/trace/trace_events_hist.c +@@ -4459,7 +4459,7 @@ static int create_tracing_map_fields(struct hist_trigger_data *hist_data) + struct tracing_map *map = hist_data->map; + struct ftrace_event_field *field; + struct hist_field *hist_field; +- int i, idx; ++ int i, idx = 0; + + for_each_hist_field(i, hist_data) { + hist_field = hist_data->fields[i]; +-- +2.17.1 + diff --git a/kernel/patches-4.14.x-rt/0417-tracing-Fix-a-potential-NULL-dereference.patch b/kernel/patches-4.14.x-rt/0417-tracing-Fix-a-potential-NULL-dereference.patch new file mode 100644 index 000000000..46e2f419b --- /dev/null +++ b/kernel/patches-4.14.x-rt/0417-tracing-Fix-a-potential-NULL-dereference.patch @@ -0,0 +1,35 @@ +From f7b4e7cfee658abc3ec0fddfcbcdf754e9793891 Mon Sep 17 00:00:00 2001 +From: Dan Carpenter +Date: Fri, 23 Mar 2018 14:37:36 +0300 +Subject: [PATCH 417/418] tracing: Fix a potential NULL dereference + +[ commit 5e4cf2bf6d1c198a90ccc0df5ffd8e0d4ea36b48 ] + +We forgot to set the error code on this path so we return ERR_PTR(0) +which is NULL. It results in a NULL dereference in the caller. + +Link: http://lkml.kernel.org/r/20180323113735.GC28518@mwanda + +Fixes: 100719dcef44 ("tracing: Add simple expression support to hist triggers") +Acked-by: Tom Zanussi +Signed-off-by: Dan Carpenter +Signed-off-by: Steven Rostedt (VMware) +--- + kernel/trace/trace_events_hist.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c +index b3808969ac92..24bc0769fdd6 100644 +--- a/kernel/trace/trace_events_hist.c ++++ b/kernel/trace/trace_events_hist.c +@@ -2777,6 +2777,7 @@ static struct hist_field *parse_expr(struct hist_trigger_data *hist_data, + expr->fn = hist_field_plus; + break; + default: ++ ret = -EINVAL; + goto free; + } + +-- +2.17.1 + diff --git a/kernel/patches-4.14.x-rt/0418-Linux-4.14.52-rt34-REBASE.patch b/kernel/patches-4.14.x-rt/0418-Linux-4.14.52-rt34-REBASE.patch new file mode 100644 index 000000000..e7a909f23 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0418-Linux-4.14.52-rt34-REBASE.patch @@ -0,0 +1,19 @@ +From 733b7b767041b42c70fdd39342ed5e5a2c8caf1d Mon Sep 17 00:00:00 2001 +From: "Steven Rostedt (VMware)" +Date: Wed, 16 May 2018 09:33:00 -0400 +Subject: [PATCH 418/418] Linux 4.14.52-rt34 REBASE + +--- + localversion-rt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/localversion-rt b/localversion-rt +index 90290c642ed5..21988f9ad53f 100644 +--- a/localversion-rt ++++ b/localversion-rt +@@ -1 +1 @@ +--rt29 ++-rt34 +-- +2.17.1 +