From 9a88a5e98601294ec800db029042c7f33c712ab2 Mon Sep 17 00:00:00 2001 From: Tiejun Chen Date: Wed, 21 Mar 2018 11:52:25 -0700 Subject: [PATCH 1/2] Upgrade -rt patches to v4.14.29-rt25 Signed-off-by: Tiejun Chen --- kernel/Makefile | 5 +- ...mutex_futex_unlock-safe-for-irq-off-.patch | 121 ++++++++++++++++++ ...dep-false-positive-boost_mtx-compla.patch} | 0 ...=> 0003-brd-remove-unused-brd_mutex.patch} | 0 ...-keys-for-migrate_enable-nohz_activ.patch} | 0 ...mer-Correct-blantanly-wrong-comment.patch} | 2 +- ...rneldoc-for-struct-hrtimer_cpu_base.patch} | 0 ...lock-argument-in-schedule_hrtimeout.patch} | 8 +- ...er-Fix-hrtimer-function-description.patch} | 2 +- ...7-hrtimer-Cleanup-hrtimer_mode-enum.patch} | 0 ...ake-all-clock-bases-and-modes-into-.patch} | 0 ...rint-hrtimer-mode-in-hrtimer_start-.patch} | 0 ...-Switch-for-loop-to-_ffs-evaluation.patch} | 0 ...running-timer-in-hrtimer_clock_base.patch} | 0 ...ake-room-in-struct-hrtimer_cpu_base.patch} | 0 ...Reduce-conditional-code-hres_active.patch} | 0 ...or-functions-instead-of-direct-acce.patch} | 0 ...-remote-enqueue-check-unconditional.patch} | 0 ...mer_cpu_base.next_timer-handling-un.patch} | 0 ...ke-hrtimer_reprogramm-unconditional.patch} | 0 ...mer_force_reprogramm-unconditionall.patch} | 0 ...er-Unify-handling-of-hrtimer-remove.patch} | 0 ...er-Unify-handling-of-remote-enqueue.patch} | 0 ...te-enqueue-decision-less-restrictiv.patch} | 0 ...ase-argument-from-hrtimer_reprogram.patch} | 0 ...rtimer-Split-hrtimer_start_range_ns.patch} | 0 ...imer-Split-__hrtimer_get_next_event.patch} | 0 ...ave-irqrestore-around-__run_hrtimer.patch} | 0 ...-bases-and-hrtimer-mode-for-soft-ir.patch} | 0 ...andling-of-hard-and-softirq-based-h.patch} | 0 ...-support-for-softirq-based-hrtimers.patch} | 0 ...ment-SOFT-HARD-clock-base-selection.patch} | 0 ...rtimer_tasklet-with-softirq-based-h.patch} | 0 ...place-hrtimer-tasklet-with-softirq-.patch} | 16 +-- ...rtimer-tasklet-with-softirq-hrtimer.patch} | 20 +-- ...0033-softirq-Remove-tasklet_hrtimer.patch} | 4 +- ...eplace-tasklet-with-softirq-hrtimer.patch} | 0 ...eplace-tasklet-with-softirq-hrtimer.patch} | 0 ...eplace-tasklet-with-softirq-hrtimer.patch} | 2 +- ...0039-at91_dont_enable_disable_clock.patch} | 0 ...unction-called-from-invalid-context.patch} | 0 ...dle-non-enqueued-waiters-gracefully.patch} | 2 +- ...ree-include-rcu.h-because-we-use-it.patch} | 0 ...xrpc-remove-unused-static-variables.patch} | 0 ...d-syscon-atmel-smc-include-string.h.patch} | 0 ... => 0045-sched-swait-include-wait.h.patch} | 0 ...replace-seqcount_t-with-a-seqlock_t.patch} | 0 ...ecursive-locking-in-hci_send_to_cha.patch} | 0 ...w_cpu_ptr-instead-of-get_cpu_ptr-fo.patch} | 0 ...dio-don-t-inclide-rwlock.h-directly.patch} | 0 ...pfs-don-t-inclide-rwlock.h-directly.patch} | 0 ...sh-Enable-earlycon-only-if-built-in.patch} | 0 ...rm-i915-properly-init-lockdep-class.patch} | 0 ...nt-return-values-of-timerqueue_add-.patch} | 0 ...rc64-use-generic-rwsem-spinlocks-rt.patch} | 0 ...l-SRCU-provide-a-static-initializer.patch} | 0 ..._lock_assert-irqs_disabled-combo-che.patch | 60 +++++++++ ...ide-a-pointer-to-the-valid-CPU-mask.patch} | 34 ++--- ...e.patch => 0058-add_migrate_disable.patch} | 8 +- ...he-order-of-trace_types_lock-and-ev.patch} | 0 ...te-trace_recursive_-un-lock-to-be-s.patch} | 4 +- ...e-lookups-from-tracing_map-hitcount.patch} | 0 ...-Increase-tracing-map-KEYS_MAX-size.patch} | 0 ...ke-traceprobe-parsing-code-reusable.patch} | 0 ...cing-Clean-up-hist_field_flags-enum.patch} | 0 ...racing-Add-hist_field_name-accessor.patch} | 0 ... 0066-0008-tracing-Reimplement-log2.patch} | 0 ...-trigger-Documentation-to-histogram.patch} | 0 ...Add-Documentation-for-log2-modifier.patch} | 0 ...port-to-detect-and-avoid-duplicates.patch} | 0 ...Remove-code-which-merges-duplicates.patch} | 0 ...nterface-for-setting-absolute-time-.patch} | 6 +- ...ine-the-unimplemented-RINGBUF_TYPE_.patch} | 40 +++--- ...acing-Add-timestamp_mode-trace-file.patch} | 0 ...t-triggers-access-to-ring_buffer_ev.patch} | 0 ...buffer-event-param-to-hist-field-fu.patch} | 0 ...out-hist-trigger-assignment-parsing.patch} | 0 ...-Add-hist-trigger-timestamp-support.patch} | 0 ...lement-variable-support-to-tracing_.patch} | 0 ...-Add-hist_data-member-to-hist_field.patch} | 0 ...-modifier-for-hist-trigger-timestam.patch} | 0 ...d-variable-support-to-hist-triggers.patch} | 0 ...or-variables-in-named-trigger-compa.patch} | 0 ...5-tracing-Move-get_hist_field_flags.patch} | 0 ...e-expression-support-to-hist-trigge.patch} | 0 ...alize-per-element-hist-trigger-data.patch} | 0 ...ing_map_elt-to-hist_field-accessor-.patch} | 0 ...9-tracing-Add-hist_field-type-field.patch} | 0 ...ble-reference-handling-to-hist-trig.patch} | 0 ...racing-Add-hist-trigger-action-hook.patch} | 0 ...ng-Add-support-for-synthetic-events.patch} | 0 ...ing-Add-support-for-field-variables.patch} | 0 ...onmatch-hist-trigger-action-support.patch} | 0 ...d-onmax-hist-trigger-action-support.patch} | 0 ...tespace-to-surround-hist-trigger-fi.patch} | 0 ...ing-Add-cpu-field-for-hist-triggers.patch} | 0 ...trigger-support-for-variable-refere.patch} | 0 ...error-error-facility-for-hist-trigg.patch} | 0 ...er-event-hist-trigger-Documentation.patch} | 0 ...g-Make-tracing_set_clock-non-static.patch} | 0 ...a-clock-attribute-for-hist-triggers.patch} | 0 ...-back-context-level-recursive-check.patch} | 4 +- ...uplicate-results-in-mapping-context.patch} | 2 +- ...esting-for-adding-events-within-eve.patch} | 8 +- ...ing-buffer-nesting-to-allow-synthet.patch} | 0 ...-event-blurb-to-HIST_TRIGGERS-confi.patch} | 0 ...Add-inter-event-hist-triggers-testc.patch} | 0 ...-shorten-interrupt-disabled-regions.patch} | 10 +- ...0108-timekeeping-split-jiffies-lock.patch} | 0 ...for-preempt-off-in-preempt_schedule.patch} | 2 +- ...-signal-revert-ptrace-preempt-magic.patch} | 2 +- ...> 0111-arm-convert-boot-lock-to-raw.patch} | 0 ...robe-replace-patch_lock-to-raw-lock.patch} | 0 ...h => 0113-posix-timers-no-broadcast.patch} | 0 ...-tasks-to-cache-one-sigqueue-struct.patch} | 2 +- ...ndom-reduce-preempt-disabled-region.patch} | 4 +- ...ve-irq-handler-when-clock-is-unused.patch} | 0 ...rs-timer-atmel-pit-fix-double-free_.patch} | 0 ...ource-tclib-allow-higher-clockrates.patch} | 0 ...drivers-net-8139-disable-irq-nosync.patch} | 0 ...suspend-prevernt-might-sleep-splats.patch} | 0 ...h => 0121-net-prevent-abba-deadlock.patch} | 2 +- ...ctivate_many-use-msleep-1-instead-o.patch} | 10 +- ...> 0123-net_disable_NET_RX_BUSY_POLL.patch} | 0 ...=> 0124-x86-io-apic-migra-no-unmask.patch} | 0 ...25-rcu-segcblist-include-rcupdate.h.patch} | 0 ...intk-kill.patch => 0126-printk-kill.patch} | 0 ...7-boot-param-to-help-with-debugging.patch} | 0 ...atch => 0128-rt-preempt-base-config.patch} | 0 ...29-kconfig-disable-a-few-options-rt.patch} | 0 ...tch => 0130-kconfig-preempt-rt-full.patch} | 0 ...h => 0131-bug-rt-dependend-variants.patch} | 0 ...=> 0132-iommu-amd--Use-WARN_ON_NORT.patch} | 0 ...133-local-irq-rt-depending-variants.patch} | 0 ...ch => 0134-preempt-nort-rt-variants.patch} | 0 ...migrate_disable-enable-in-different.patch} | 0 ...ock.patch => 0136-rt-local-irq-lock.patch} | 0 ...37-ata-disable-interrupts-if-non-rt.patch} | 0 ...138-ide-use-nort-local-irq-variants.patch} | 0 ...infiniband-mellanox-ib-use-nort-irq.patch} | 4 +- ...40-inpt-gameport-use-local-irq-nort.patch} | 0 ...tch => 0141-user-use-local-irq-nort.patch} | 0 ...h => 0142-usb-use-_nort-in-giveback.patch} | 0 ...scatterlist-dont-disable-irqs-on-RT.patch} | 0 ...not-protect-workingset_shadow_nodes.patch} | 0 ... => 0145-signal-fix-up-rcu-wreckage.patch} | 4 +- ...ix.patch => 0146-oleg-signal-rt-fix.patch} | 4 +- ...gnal-delay-calling-signals-on-32bit.patch} | 0 ...atch => 0148-net-wireless-warn-nort.patch} | 2 +- ...-fs-replace-bh_uptodate_lock-for-rt.patch} | 0 ...> 0150-fs-jbd-replace-bh_state-lock.patch} | 0 ...bl.h-make-list-head-locking-RT-safe.patch} | 0 ...list_bl-fixup-bogus-lockdep-warning.patch} | 0 ...> 0153-genirq-disable-irqpoll-on-rt.patch} | 0 ...atch => 0154-genirq-force-threading.patch} | 0 ...ivers-net-vortex-fix-locking-issues.patch} | 0 ...=> 0156-delayacct-use-raw_spinlocks.patch} | 0 ...age_alloc-rt-friendly-per-cpu-pages.patch} | 36 +++--- ..._alloc-reduce-lock-sections-further.patch} | 16 +-- ...59-mm-convert-swap-to-percpu-locked.patch} | 2 +- ...-perform-lru_add_drain_all-remotely.patch} | 0 ...tch => 0161-mm-make-vmstat-rt-aware.patch} | 0 ...-arm-coredump-fails-for-cpu-3e-3d-4.patch} | 0 ... 0163-mm-bounce-local-irq-save-nort.patch} | 0 ...t.patch => 0164-mm-disable-sloub-rt.patch} | 0 ...e-slub.patch => 0165-mm-enable-slub.patch} | 84 ++++++------ ...sible-memory-leak-in-kmem_cache_all.patch} | 2 +- ...> 0167-slub-enable-irqs-for-no-wait.patch} | 4 +- ... 0168-slub-disable-SLUB_CPU_PARTIAL.patch} | 0 ...-alloc-use-local-lock-on-target-cpu.patch} | 2 +- ...-t-call-schedule_work_on-in-preempt.patch} | 0 ...71-mm-memcontrol-do_not_disable_irq.patch} | 0 ...n-t-disable-IRQs-in-wb_congested_pu.patch} | 0 ...c_copy_with_get_cpu_var_and_locking.patch} | 0 ... => 0174-radix-tree-use-local-locks.patch} | 0 ... => 0175-panic-disable-random-on-rt.patch} | 0 ...-timers-prepare-for-full-preemption.patch} | 6 +- ...waking-softirqs-from-the-jiffy-tick.patch} | 0 ...ent-erroneous-tick-stop-invocations.patch} | 0 ...79-x86-kvm-require-const-tsc-for-rt.patch} | 2 +- ...tch => 0180-wait.h-include-atomic.h.patch} | 0 ...ple-Simple-work-queue-implemenation.patch} | 0 ...2-completion-use-simple-wait-queues.patch} | 6 +- ...h => 0183-fs-aio-simple-simple-work.patch} | 48 ++----- ...oke-the-affinity-callback-via-a-wor.patch} | 0 ...d-schedule_work-with-interrupts-dis.patch} | 0 ...te-hrtimer_init-hrtimer_init_sleepe.patch} | 2 +- ...87-hrtimers-prepare-full-preemption.patch} | 0 ...by-default-into-the-softirq-context.patch} | 4 +- ...schedule_work-call-to-helper-thread.patch} | 0 ...ch => 0190-timer-fd-avoid-live-lock.patch} | 0 ...imers-thread-posix-cpu-timers-on-rt.patch} | 0 ....patch => 0192-sched-delay-put-task.patch} | 0 ...atch => 0193-sched-limit-nr-migrate.patch} | 0 ....patch => 0194-sched-mmdrop-delayed.patch} | 10 +- ...-stack-kprobe-clean-up-to-__put_tas.patch} | 2 +- ...patch => 0196-sched-rt-mutex-wakeup.patch} | 4 +- ...k-state-corruption-by-spurious-lock.patch} | 2 +- ...patch => 0198-sched-Remove-TASK_ALL.patch} | 0 ...ight-sleep-do-not-account-rcu-depth.patch} | 2 +- ...tch => 0200-cond-resched-softirq-rt.patch} | 6 +- ... => 0201-cond-resched-lock-rt-tweak.patch} | 0 ...ch => 0202-sched-disable-ttwu-queue.patch} | 0 ...-sched-disable-rt-group-sched-on-rt.patch} | 0 ...wu-ensure-success-return-is-correct.patch} | 2 +- ...nly-wake-up-idle-workers-if-not-blo.patch} | 2 +- ...ase-the-nr-of-migratory-tasks-when-.patch} | 6 +- ...vert-stop_machine_run-to-PREEMPT_RT.patch} | 0 ...patch => 0208-stop-machine-raw-lock.patch} | 0 ... 0209-hotplug-light-get-online-cpus.patch} | 4 +- ...0210-ftrace-migrate-disable-tracing.patch} | 0 ...lockdep-no-softirq-accounting-on-rt.patch} | 4 +- ...h => 0212-lockdep-disable-self-test.patch} | 2 +- ...t.patch => 0213-mutex-no-spin-on-rt.patch} | 0 ...from-going-into-infinite-spin-in-rt.patch} | 2 +- ...ch => 0215-softirq-preempt-fix-3-re.patch} | 12 +- ...ftirq-disable-softirq-stacks-for-rt.patch} | 4 +- ...s.patch => 0217-softirq-split-locks.patch} | 10 +- ...-kernel-softirq-unlock-with-irqs-on.patch} | 0 ...rq-processing-in-irq-thread-context.patch} | 0 ...lit-timer-softirqs-out-of-ksoftirqd.patch} | 2 +- ...rq-wake-the-timer-softirq-if-needed.patch} | 0 ... 0222-rtmutex-trylock-is-okay-on-RT.patch} | 0 ...nfs-turn-rmdir_sem-into-a-semaphore.patch} | 0 ...ch => 0224-rtmutex-futex-prepare-rt.patch} | 0 ....patch => 0225-futex-requeue-pi-fix.patch} | 2 +- ...utex-don-t-drop-the-wait_lock-twice.patch} | 2 +- ...-unlock-symetry-versus-pi_lock-and-.patch} | 0 ...atch => 0228-pid.h-include-atomic.h.patch} | 0 ...rm-include-definition-for-cpumask_t.patch} | 0 ...re-Do-NOT-include-rwlock.h-directly.patch} | 0 ...patch => 0231-rtmutex-lock-killable.patch} | 0 ...232-rtmutex-Make-lock_killable-work.patch} | 0 ...=> 0233-spinlock-types-separate-raw.patch} | 0 ... => 0234-rtmutex-avoid-include-hell.patch} | 0 ...ch => 0235-rtmutex_dont_include_rcu.patch} | 0 ...ex-Provide-rt_mutex_slowlock_locked.patch} | 0 ...ckdep-less-version-of-rt_mutex-s-lo.patch} | 0 ...ex-add-sleeping-lock-implementation.patch} | 13 +- ...tex-implementation-based-on-rtmutex.patch} | 0 ...sem-implementation-based-on-rtmutex.patch} | 0 ...ock-implementation-based-on-rtmutex.patch} | 0 ...> 0242-rtmutex-wire-up-RT-s-locking.patch} | 0 ...tex-add-ww_mutex-addon-for-mutex-rt.patch} | 4 +- ...fix-deadlock-in-device-mapper-block.patch} | 0 ...e-init-the-wait_lock-in-rt_mutex_in.patch} | 2 +- ...ce-fix-ptrace-vs-tasklist_lock-race.patch} | 8 +- ...ip-that-warning-but-only-on-sleepin.patch} | 0 ...dule-in-RCU-section-warning-on-UP-t.patch} | 2 +- ...ck-for-__LINUX_SPINLOCK_TYPES_H-on-.patch} | 0 ...tch => 0250-peter_zijlstra-frob-rcu.patch} | 0 ...erge-rcu-bh-into-rcu-preempt-for-rt.patch} | 0 ...e-rcu-bh-qs-where-safe-from-softirq.patch} | 0 ...-disable-irq-while-calling-rcu_pree.patch} | 0 ...0254-drivers-tty-fix-omap-lock-crap.patch} | 0 ...ivers-tty-pl011-irq-disable-madness.patch} | 0 ...ix.patch => 0256-rt-serial-warn-fix.patch} | 0 ...-don-t-take-the-trylock-during-oops.patch} | 0 ...atch => 0258-peterz-percpu-rwsem-rt.patch} | 0 ...=> 0259-fs-namespace-preemption-fix.patch} | 0 ... 0260-mm-protect-activate-switch-mm.patch} | 0 ...t.patch => 0261-fs-block-rt-support.patch} | 0 ...62-fs-ntfs-disable-interrupt-non-rt.patch} | 0 ...ll-your-plug-when-waiting-for-space.patch} | 0 ...ll-your-plug-when-waiting-for-space.patch} | 0 ...back-explicit-INIT_HLIST_BL_HEAD-in.patch} | 6 +- ...-preemption-on-i_dir_seq-s-write-si.patch} | 8 +- ...patch => 0267-x86-mce-timer-hrtimer.patch} | 18 +-- ...mce-use-swait-queue-for-mce-wakeups.patch} | 0 ... 0269-x86-stackprot-no-random-on-rt.patch} | 0 ...0270-x86-use-gen-rwsem-spinlocks-rt.patch} | 2 +- ...0271-x86-UV-raw_spinlock-conversion.patch} | 0 ...mal-Defer-thermal-wakups-to-threads.patch} | 0 ...tch => 0273-epoll-use-get-cpu-light.patch} | 0 ...> 0274-mm-vmalloc-use-get-cpu-light.patch} | 0 ...atch => 0275-block-mq-use-cpu_light.patch} | 0 ... 0276-block-mq-drop-preempt-disable.patch} | 6 +- ...-mq-don-t-complete-requests-via-IPI.patch} | 6 +- ...8-md-raid5-percpu-handling-rt-aware.patch} | 0 ...-md-raid5-do-not-disable-interrupts.patch} | 0 ...atch => 0280-rt-introduce-cpu-chill.patch} | 0 ...a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch} | 0 ...nel-cpu_chill-use-schedule_hrtimeout.patch | 40 ++++++ ...-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch | 74 +++++++++++ ...atch => 0284-block-blk-mq-use-swait.patch} | 10 +- .../0285-Revert-block-blk-mq-Use-swait.patch | 92 +++++++++++++ ...e-blk_queue_usage_counter_release-in.patch | 112 ++++++++++++++++ ...l.patch => 0287-block-use-cpu-chill.patch} | 0 ...ache-use-cpu-chill-in-trylock-loops.patch} | 6 +- ...ill.patch => 0289-net-use-cpu-chill.patch} | 0 ...se-swait_queue-instead-of-waitqueue.patch} | 8 +- ...rcu.patch => 0291-workqueue-use-rcu.patch} | 16 +-- ...tch => 0292-workqueue-use-locallock.patch} | 0 ...k-around-irqsafe-timer-optimization.patch} | 0 ...94-workqueue-distangle-from-rq-lock.patch} | 12 +- ...ch => 0295-percpu_ida-use-locklocks.patch} | 0 ...ts-rt.patch => 0296-debugobjects-rt.patch} | 0 ...abel-rt.patch => 0297-jump-label-rt.patch} | 0 ... 0298-seqlock-prevent-rt-starvation.patch} | 0 ...c_xprt_do_enqueue-use-get_cpu_light.patch} | 0 ...ck.patch => 0300-skbufhead-raw-lock.patch} | 18 +-- ...plug-drain-input_pkt_queue-lockless.patch} | 2 +- ...ecursion-to-per-task-variable-on-RT.patch} | 6 +- ...ct-instead-of-CPU-number-as-the-que.patch} | 4 +- ...-to-delegate-processing-a-softirq-t.patch} | 2 +- ...ke-qdisc-s-busylock-in-__dev_xmit_s.patch} | 2 +- ...disc-use-a-seqlock-instead-seqcount.patch} | 6 +- ...missing-serialization-in-ip_send_un.patch} | 0 ...e-tcp_sk_lock-lock-with-BH-disabled.patch} | 0 ... 0309-net-add-a-lock-around-icmp_sk.patch} | 0 ... => 0310-net-use-trylock-in-icmp_sk.patch} | 0 ...chedule_irqoff-disable-interrupts-o.patch} | 4 +- ...push_most_work_into_softirq_context.patch} | 0 ...k-Move-irq-safe-work-to-irq-context.patch} | 0 ...cm_stream_lock-irqs_disabled-splats.patch} | 0 ...aware.patch => 0315-printk-rt-aware.patch} | 0 ...-t-try-to-print-from-IRQ-NMI-region.patch} | 0 ...ntk-drop-the-logbuf_lock-more-often.patch} | 0 ... 0318-power-use-generic-rwsem-on-rt.patch} | 0 ...le-in-kernel-MPIC-emulation-for-PRE.patch} | 0 ...e-init.c-adapt-to-completions-using.patch} | 0 ...tclib-default-to-tclib-timer-for-rt.patch} | 0 ...tch => 0322-arm-unwind-use_raw_lock.patch} | 0 ...-translation-section-permission-fau.patch} | 0 ...irq_set_irqchip_state-documentation.patch} | 0 ...ngrade-preempt_disable-d-region-to-.patch} | 0 ...rm64-xen--Make-XEN-depend-on-non-rt.patch} | 0 ...patch => 0327-kgb-serial-hackaround.patch} | 0 ....patch => 0328-sysfs-realtime-entry.patch} | 0 ...=> 0329-power-disable-highmem-on-rt.patch} | 0 ... => 0330-mips-disable-highmem-on-rt.patch} | 0 ...> 0331-mm-rt-kmap-atomic-scheduling.patch} | 0 ...-rt--Fix-generic-kmap_atomic-for-RT.patch} | 0 ...ighmem-add-a-already-used-pte-check.patch} | 0 ...0334-arm-highmem-flush-tlb-on-unmap.patch} | 0 ...h => 0335-arm-enable-highmem-for-rt.patch} | 0 ...re.patch => 0336-scsi-fcoe-rt-aware.patch} | 0 ...-t-disable-interrupts-in-qc_issue-h.patch} | 0 ...pto-reduce-preempt-disabled-regions.patch} | 0 ...preempt-disabled-regions-more-algos.patch} | 0 ...pto-limit-more-FPU-enabled-sections.patch} | 0 ...341-arm-disable-NEON-in-kernel-mode.patch} | 0 ...ware.patch => 0342-dm-make-rt-aware.patch} | 0 ...cpi_gbl_hardware-lock-back-to-a-raw.patch} | 0 ...0344-cpumask-disable-offstack-on-rt.patch} | 0 ...h => 0345-random-make-it-work-on-rt.patch} | 2 +- ...om-avoid-preempt_disable-ed-section.patch} | 12 +- ...m-don-t-print-that-the-init-is-done.patch} | 4 +- ...-cpu-hotplug--Implement-CPU-pinning.patch} | 0 ...uct-tape-RT-rwlock-usage-for-non-RT.patch} | 0 ...unction-called-from-invalid-context.patch} | 0 ...ve-preemption-disabling-in-netif_rx.patch} | 4 +- ...l-irq-disable-alloc-atomic-headache.patch} | 8 +- ...users-of-napi_alloc_cache-against-r.patch} | 14 +- ...le-xt-write-recseq-begin-rt-fallout.patch} | 0 ...-net-make-devnet_rename_seq-a-mutex.patch} | 0 ...ch => 0356-peterz-srcu-crypto-chain.patch} | 0 ...rdirq-context-test-for-raw-spinlock.patch} | 0 ...fix-warnings-due-to-missing-PREEMPT.patch} | 0 ...use-cpu_online-instead-custom-check.patch} | 0 ...t-call_srcu-use-under-raw-spinlocks.patch} | 0 ...lace-local_irqsave-with-a-locallock.patch} | 0 ...62-rcu-disable-rcu-fast-no-hz-on-rt.patch} | 0 ...ate-softirq-processing-from-rcutree.patch} | 0 ...64-rcu-make-RCU_BOOST-default-on-RT.patch} | 0 ...normal_after_boot-by-default-for-RT.patch} | 0 ....patch => 0366-preempt-lazy-support.patch} | 22 ++-- ...7-ftrace-Fix-trace-header-alignment.patch} | 0 ...lazy.patch => 0368-x86-preempt-lazy.patch} | 6 +- ...ch => 0369-arm-preempt-lazy-support.patch} | 0 ...> 0370-powerpc-preempt-lazy-support.patch} | 0 ...arch-arm64-Add-lazy-preempt-support.patch} | 0 ...s-trigger-disable-CPU-trigger-on-RT.patch} | 0 ... => 0373-mmci-remove-bogus-irq-save.patch} | 0 ...op-K8-s-driver-from-beeing-selected.patch} | 0 ...-Protect-send_msg-with-a-local-lock.patch} | 0 ...m-Replace-bit-spinlocks-with-rtmute.patch} | 0 ...t-disable-preemption-in-zcomp_strea.patch} | 0 ...zcomp_stream_get-smp_processor_id-u.patch} | 0 ...9-tpm_tis-fix-stall-after-iowrite-s.patch} | 18 +-- ...c-Don-t-use-completion-s-wait-queue.patch} | 0 ...isableenable_rt()_where_recommended.patch} | 0 ...q()_in_intel_pipe_update_startend().patch} | 0 ...oups-use-simple-wait-in-css_release.patch} | 0 ...eduling-while-atomic-in-cgroup-code.patch} | 0 ...-Prevent-scheduling-while-atomic-in.patch} | 0 ...ert-callback_lock-to-raw_spinlock_t.patch} | 0 ...7-move_sched_delayed_work_to_helper.patch} | 0 ...e-call-to-schedule_delayed_work-to-.patch} | 9 +- ...che.patch => 0389-md-disable-bcache.patch} | 0 ...a-locallock-instead-preempt_disable.patch} | 0 ...91-workqueue-prevent-deadlock-stall.patch} | 4 +- ...lversion.patch => 0392-localversion.patch} | 2 +- 393 files changed, 877 insertions(+), 405 deletions(-) create mode 100644 kernel/patches-4.14.x-rt/0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch rename kernel/patches-4.14.x-rt/{0001-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch => 0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch} (100%) rename kernel/patches-4.14.x-rt/{0002-brd-remove-unused-brd_mutex.patch => 0003-brd-remove-unused-brd_mutex.patch} (100%) rename kernel/patches-4.14.x-rt/{0003-0001-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch => 0004-0001-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch} (100%) rename kernel/patches-4.14.x-rt/{0004-0002-hrtimer-Correct-blantanly-wrong-comment.patch => 0005-0002-hrtimer-Correct-blantanly-wrong-comment.patch} (95%) rename kernel/patches-4.14.x-rt/{0005-0003-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch => 0006-0003-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch} (100%) rename kernel/patches-4.14.x-rt/{0006-0004-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch => 0007-0004-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch} (92%) rename kernel/patches-4.14.x-rt/{0007-0005-hrtimer-Fix-hrtimer-function-description.patch => 0008-0005-hrtimer-Fix-hrtimer-function-description.patch} (97%) rename kernel/patches-4.14.x-rt/{0008-0007-hrtimer-Cleanup-hrtimer_mode-enum.patch => 0009-0007-hrtimer-Cleanup-hrtimer_mode-enum.patch} (100%) rename kernel/patches-4.14.x-rt/{0009-0008-tracing-hrtimer-Take-all-clock-bases-and-modes-into-.patch => 0010-0008-tracing-hrtimer-Take-all-clock-bases-and-modes-into-.patch} (100%) rename kernel/patches-4.14.x-rt/{0010-0009-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch => 0011-0009-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch} (100%) rename kernel/patches-4.14.x-rt/{0011-0010-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch => 0012-0010-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch} (100%) rename kernel/patches-4.14.x-rt/{0012-0011-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch => 0013-0011-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch} (100%) rename kernel/patches-4.14.x-rt/{0013-0012-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch => 0014-0012-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch} (100%) rename kernel/patches-4.14.x-rt/{0014-0013-hrtimer-Reduce-conditional-code-hres_active.patch => 0015-0013-hrtimer-Reduce-conditional-code-hres_active.patch} (100%) rename kernel/patches-4.14.x-rt/{0015-0014-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch => 0016-0014-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch} (100%) rename kernel/patches-4.14.x-rt/{0016-0015-hrtimer-Make-the-remote-enqueue-check-unconditional.patch => 0017-0015-hrtimer-Make-the-remote-enqueue-check-unconditional.patch} (100%) rename kernel/patches-4.14.x-rt/{0017-0016-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch => 0018-0016-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch} (100%) rename kernel/patches-4.14.x-rt/{0018-0017-hrtimer-Make-hrtimer_reprogramm-unconditional.patch => 0019-0017-hrtimer-Make-hrtimer_reprogramm-unconditional.patch} (100%) rename kernel/patches-4.14.x-rt/{0019-0018-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch => 0020-0018-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch} (100%) rename kernel/patches-4.14.x-rt/{0020-0019-hrtimer-Unify-handling-of-hrtimer-remove.patch => 0021-0019-hrtimer-Unify-handling-of-hrtimer-remove.patch} (100%) rename kernel/patches-4.14.x-rt/{0021-0020-hrtimer-Unify-handling-of-remote-enqueue.patch => 0022-0020-hrtimer-Unify-handling-of-remote-enqueue.patch} (100%) rename kernel/patches-4.14.x-rt/{0022-0021-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch => 0023-0021-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch} (100%) rename kernel/patches-4.14.x-rt/{0023-0022-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch => 0024-0022-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch} (100%) rename kernel/patches-4.14.x-rt/{0024-0023-hrtimer-Split-hrtimer_start_range_ns.patch => 0025-0023-hrtimer-Split-hrtimer_start_range_ns.patch} (100%) rename kernel/patches-4.14.x-rt/{0025-0024-hrtimer-Split-__hrtimer_get_next_event.patch => 0026-0024-hrtimer-Split-__hrtimer_get_next_event.patch} (100%) rename kernel/patches-4.14.x-rt/{0026-0025-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch => 0027-0025-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch} (100%) rename kernel/patches-4.14.x-rt/{0027-0026-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch => 0028-0026-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch} (100%) rename kernel/patches-4.14.x-rt/{0028-0027-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch => 0029-0027-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch} (100%) rename kernel/patches-4.14.x-rt/{0029-0028-hrtimer-Implement-support-for-softirq-based-hrtimers.patch => 0030-0028-hrtimer-Implement-support-for-softirq-based-hrtimers.patch} (100%) rename kernel/patches-4.14.x-rt/{0030-0029-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch => 0031-0029-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch} (100%) rename kernel/patches-4.14.x-rt/{0031-0030-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch => 0032-0030-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch} (100%) rename kernel/patches-4.14.x-rt/{0032-0031-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch => 0033-0031-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch} (89%) rename kernel/patches-4.14.x-rt/{0033-0032-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch => 0034-0032-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch} (87%) rename kernel/patches-4.14.x-rt/{0034-0033-softirq-Remove-tasklet_hrtimer.patch => 0035-0033-softirq-Remove-tasklet_hrtimer.patch} (96%) rename kernel/patches-4.14.x-rt/{0035-0034-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch => 0036-0034-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch} (100%) rename kernel/patches-4.14.x-rt/{0036-0035-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch => 0037-0035-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch} (100%) rename kernel/patches-4.14.x-rt/{0037-0036-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch => 0038-0036-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch} (98%) rename kernel/patches-4.14.x-rt/{0038-at91_dont_enable_disable_clock.patch => 0039-at91_dont_enable_disable_clock.patch} (100%) rename kernel/patches-4.14.x-rt/{0039-rfc-arm-smp-__cpu_disable-fix-sleeping-function-called-from-invalid-context.patch => 0040-rfc-arm-smp-__cpu_disable-fix-sleeping-function-called-from-invalid-context.patch} (100%) rename kernel/patches-4.14.x-rt/{0040-rtmutex--Handle-non-enqueued-waiters-gracefully.patch => 0041-rtmutex--Handle-non-enqueued-waiters-gracefully.patch} (94%) rename kernel/patches-4.14.x-rt/{0041-rbtree-include-rcu.h-because-we-use-it.patch => 0042-rbtree-include-rcu.h-because-we-use-it.patch} (100%) rename kernel/patches-4.14.x-rt/{0042-rxrpc-remove-unused-static-variables.patch => 0043-rxrpc-remove-unused-static-variables.patch} (100%) rename kernel/patches-4.14.x-rt/{0043-mfd-syscon-atmel-smc-include-string.h.patch => 0044-mfd-syscon-atmel-smc-include-string.h.patch} (100%) rename kernel/patches-4.14.x-rt/{0044-sched-swait-include-wait.h.patch => 0045-sched-swait-include-wait.h.patch} (100%) rename kernel/patches-4.14.x-rt/{0045-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch => 0046-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch} (100%) rename kernel/patches-4.14.x-rt/{0046-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch => 0047-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch} (100%) rename kernel/patches-4.14.x-rt/{0047-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch => 0048-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch} (100%) rename kernel/patches-4.14.x-rt/{0048-greybus-audio-don-t-inclide-rwlock.h-directly.patch => 0049-greybus-audio-don-t-inclide-rwlock.h-directly.patch} (100%) rename kernel/patches-4.14.x-rt/{0049-xen-9pfs-don-t-inclide-rwlock.h-directly.patch => 0050-xen-9pfs-don-t-inclide-rwlock.h-directly.patch} (100%) rename kernel/patches-4.14.x-rt/{0050-tty-goldfish-Enable-earlycon-only-if-built-in.patch => 0051-tty-goldfish-Enable-earlycon-only-if-built-in.patch} (100%) rename kernel/patches-4.14.x-rt/{0051-drm-i915-properly-init-lockdep-class.patch => 0052-drm-i915-properly-init-lockdep-class.patch} (100%) rename kernel/patches-4.14.x-rt/{0052-timerqueue-Document-return-values-of-timerqueue_add-.patch => 0053-timerqueue-Document-return-values-of-timerqueue_add-.patch} (100%) rename kernel/patches-4.14.x-rt/{0053-sparc64-use-generic-rwsem-spinlocks-rt.patch => 0054-sparc64-use-generic-rwsem-spinlocks-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0054-kernel-SRCU-provide-a-static-initializer.patch => 0055-kernel-SRCU-provide-a-static-initializer.patch} (100%) create mode 100644 kernel/patches-4.14.x-rt/0056-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch rename kernel/patches-4.14.x-rt/{0055-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch => 0057-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch} (96%) rename kernel/patches-4.14.x-rt/{0056-add_migrate_disable.patch => 0058-add_migrate_disable.patch} (96%) rename kernel/patches-4.14.x-rt/{0057-0001-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch => 0059-0001-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch} (100%) rename kernel/patches-4.14.x-rt/{0058-0002-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch => 0060-0002-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch} (96%) rename kernel/patches-4.14.x-rt/{0059-0003-tracing-Remove-lookups-from-tracing_map-hitcount.patch => 0061-0003-tracing-Remove-lookups-from-tracing_map-hitcount.patch} (100%) rename kernel/patches-4.14.x-rt/{0060-0004-tracing-Increase-tracing-map-KEYS_MAX-size.patch => 0062-0004-tracing-Increase-tracing-map-KEYS_MAX-size.patch} (100%) rename kernel/patches-4.14.x-rt/{0061-0005-tracing-Make-traceprobe-parsing-code-reusable.patch => 0063-0005-tracing-Make-traceprobe-parsing-code-reusable.patch} (100%) rename kernel/patches-4.14.x-rt/{0062-0006-tracing-Clean-up-hist_field_flags-enum.patch => 0064-0006-tracing-Clean-up-hist_field_flags-enum.patch} (100%) rename kernel/patches-4.14.x-rt/{0063-0007-tracing-Add-hist_field_name-accessor.patch => 0065-0007-tracing-Add-hist_field_name-accessor.patch} (100%) rename kernel/patches-4.14.x-rt/{0064-0008-tracing-Reimplement-log2.patch => 0066-0008-tracing-Reimplement-log2.patch} (100%) rename kernel/patches-4.14.x-rt/{0065-0009-tracing-Move-hist-trigger-Documentation-to-histogram.patch => 0067-0009-tracing-Move-hist-trigger-Documentation-to-histogram.patch} (100%) rename kernel/patches-4.14.x-rt/{0066-0010-tracing-Add-Documentation-for-log2-modifier.patch => 0068-0010-tracing-Add-Documentation-for-log2-modifier.patch} (100%) rename kernel/patches-4.14.x-rt/{0067-0011-tracing-Add-support-to-detect-and-avoid-duplicates.patch => 0069-0011-tracing-Add-support-to-detect-and-avoid-duplicates.patch} (100%) rename kernel/patches-4.14.x-rt/{0068-0012-tracing-Remove-code-which-merges-duplicates.patch => 0070-0012-tracing-Remove-code-which-merges-duplicates.patch} (100%) rename kernel/patches-4.14.x-rt/{0069-0013-ring-buffer-Add-interface-for-setting-absolute-time-.patch => 0071-0013-ring-buffer-Add-interface-for-setting-absolute-time-.patch} (95%) rename kernel/patches-4.14.x-rt/{0070-0014-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch => 0072-0014-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch} (88%) rename kernel/patches-4.14.x-rt/{0071-0015-tracing-Add-timestamp_mode-trace-file.patch => 0073-0015-tracing-Add-timestamp_mode-trace-file.patch} (100%) rename kernel/patches-4.14.x-rt/{0072-0016-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch => 0074-0016-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch} (100%) rename kernel/patches-4.14.x-rt/{0073-0017-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch => 0075-0017-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch} (100%) rename kernel/patches-4.14.x-rt/{0074-0018-tracing-Break-out-hist-trigger-assignment-parsing.patch => 0076-0018-tracing-Break-out-hist-trigger-assignment-parsing.patch} (100%) rename kernel/patches-4.14.x-rt/{0075-0019-tracing-Add-hist-trigger-timestamp-support.patch => 0077-0019-tracing-Add-hist-trigger-timestamp-support.patch} (100%) rename kernel/patches-4.14.x-rt/{0076-0020-tracing-Add-per-element-variable-support-to-tracing_.patch => 0078-0020-tracing-Add-per-element-variable-support-to-tracing_.patch} (100%) rename kernel/patches-4.14.x-rt/{0077-0021-tracing-Add-hist_data-member-to-hist_field.patch => 0079-0021-tracing-Add-hist_data-member-to-hist_field.patch} (100%) rename kernel/patches-4.14.x-rt/{0078-0022-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch => 0080-0022-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch} (100%) rename kernel/patches-4.14.x-rt/{0079-0023-tracing-Add-variable-support-to-hist-triggers.patch => 0081-0023-tracing-Add-variable-support-to-hist-triggers.patch} (100%) rename kernel/patches-4.14.x-rt/{0080-0024-tracing-Account-for-variables-in-named-trigger-compa.patch => 0082-0024-tracing-Account-for-variables-in-named-trigger-compa.patch} (100%) rename kernel/patches-4.14.x-rt/{0081-0025-tracing-Move-get_hist_field_flags.patch => 0083-0025-tracing-Move-get_hist_field_flags.patch} (100%) rename kernel/patches-4.14.x-rt/{0082-0026-tracing-Add-simple-expression-support-to-hist-trigge.patch => 0084-0026-tracing-Add-simple-expression-support-to-hist-trigge.patch} (100%) rename kernel/patches-4.14.x-rt/{0083-0027-tracing-Generalize-per-element-hist-trigger-data.patch => 0085-0027-tracing-Generalize-per-element-hist-trigger-data.patch} (100%) rename kernel/patches-4.14.x-rt/{0084-0028-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch => 0086-0028-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch} (100%) rename kernel/patches-4.14.x-rt/{0085-0029-tracing-Add-hist_field-type-field.patch => 0087-0029-tracing-Add-hist_field-type-field.patch} (100%) rename kernel/patches-4.14.x-rt/{0086-0030-tracing-Add-variable-reference-handling-to-hist-trig.patch => 0088-0030-tracing-Add-variable-reference-handling-to-hist-trig.patch} (100%) rename kernel/patches-4.14.x-rt/{0087-0031-tracing-Add-hist-trigger-action-hook.patch => 0089-0031-tracing-Add-hist-trigger-action-hook.patch} (100%) rename kernel/patches-4.14.x-rt/{0088-0032-tracing-Add-support-for-synthetic-events.patch => 0090-0032-tracing-Add-support-for-synthetic-events.patch} (100%) rename kernel/patches-4.14.x-rt/{0089-0033-tracing-Add-support-for-field-variables.patch => 0091-0033-tracing-Add-support-for-field-variables.patch} (100%) rename kernel/patches-4.14.x-rt/{0090-0034-tracing-Add-onmatch-hist-trigger-action-support.patch => 0092-0034-tracing-Add-onmatch-hist-trigger-action-support.patch} (100%) rename kernel/patches-4.14.x-rt/{0091-0035-tracing-Add-onmax-hist-trigger-action-support.patch => 0093-0035-tracing-Add-onmax-hist-trigger-action-support.patch} (100%) rename kernel/patches-4.14.x-rt/{0092-0036-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch => 0094-0036-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch} (100%) rename kernel/patches-4.14.x-rt/{0093-0037-tracing-Add-cpu-field-for-hist-triggers.patch => 0095-0037-tracing-Add-cpu-field-for-hist-triggers.patch} (100%) rename kernel/patches-4.14.x-rt/{0094-0038-tracing-Add-hist-trigger-support-for-variable-refere.patch => 0096-0038-tracing-Add-hist-trigger-support-for-variable-refere.patch} (100%) rename kernel/patches-4.14.x-rt/{0095-0039-tracing-Add-last-error-error-facility-for-hist-trigg.patch => 0097-0039-tracing-Add-last-error-error-facility-for-hist-trigg.patch} (100%) rename kernel/patches-4.14.x-rt/{0096-0040-tracing-Add-inter-event-hist-trigger-Documentation.patch => 0098-0040-tracing-Add-inter-event-hist-trigger-Documentation.patch} (100%) rename kernel/patches-4.14.x-rt/{0097-0041-tracing-Make-tracing_set_clock-non-static.patch => 0099-0041-tracing-Make-tracing_set_clock-non-static.patch} (100%) rename kernel/patches-4.14.x-rt/{0098-0042-tracing-Add-a-clock-attribute-for-hist-triggers.patch => 0100-0042-tracing-Add-a-clock-attribute-for-hist-triggers.patch} (100%) rename kernel/patches-4.14.x-rt/{0099-0043-ring-buffer-Bring-back-context-level-recursive-check.patch => 0101-0043-ring-buffer-Bring-back-context-level-recursive-check.patch} (97%) rename kernel/patches-4.14.x-rt/{0100-0044-ring-buffer-Fix-duplicate-results-in-mapping-context.patch => 0102-0044-ring-buffer-Fix-duplicate-results-in-mapping-context.patch} (95%) rename kernel/patches-4.14.x-rt/{0101-0045-ring-buffer-Add-nesting-for-adding-events-within-eve.patch => 0103-0045-ring-buffer-Add-nesting-for-adding-events-within-eve.patch} (94%) rename kernel/patches-4.14.x-rt/{0102-0046-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch => 0104-0046-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch} (100%) rename kernel/patches-4.14.x-rt/{0103-0047-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch => 0105-0047-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch} (100%) rename kernel/patches-4.14.x-rt/{0104-0048-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch => 0106-0048-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch} (100%) rename kernel/patches-4.14.x-rt/{0105-block-shorten-interrupt-disabled-regions.patch => 0107-block-shorten-interrupt-disabled-regions.patch} (89%) rename kernel/patches-4.14.x-rt/{0106-timekeeping-split-jiffies-lock.patch => 0108-timekeeping-split-jiffies-lock.patch} (100%) rename kernel/patches-4.14.x-rt/{0107-tracing-account-for-preempt-off-in-preempt_schedule.patch => 0109-tracing-account-for-preempt-off-in-preempt_schedule.patch} (96%) rename kernel/patches-4.14.x-rt/{0108-signal-revert-ptrace-preempt-magic.patch => 0110-signal-revert-ptrace-preempt-magic.patch} (93%) rename kernel/patches-4.14.x-rt/{0109-arm-convert-boot-lock-to-raw.patch => 0111-arm-convert-boot-lock-to-raw.patch} (100%) rename kernel/patches-4.14.x-rt/{0110-arm-kprobe-replace-patch_lock-to-raw-lock.patch => 0112-arm-kprobe-replace-patch_lock-to-raw-lock.patch} (100%) rename kernel/patches-4.14.x-rt/{0111-posix-timers-no-broadcast.patch => 0113-posix-timers-no-broadcast.patch} (100%) rename kernel/patches-4.14.x-rt/{0112-signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch => 0114-signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch} (99%) rename kernel/patches-4.14.x-rt/{0113-drivers-random-reduce-preempt-disabled-region.patch => 0115-drivers-random-reduce-preempt-disabled-region.patch} (85%) rename kernel/patches-4.14.x-rt/{0114-arm-at91-pit-remove-irq-handler-when-clock-is-unused.patch => 0116-arm-at91-pit-remove-irq-handler-when-clock-is-unused.patch} (100%) rename kernel/patches-4.14.x-rt/{0115-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch => 0117-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch} (100%) rename kernel/patches-4.14.x-rt/{0116-clocksource-tclib-allow-higher-clockrates.patch => 0118-clocksource-tclib-allow-higher-clockrates.patch} (100%) rename kernel/patches-4.14.x-rt/{0117-drivers-net-8139-disable-irq-nosync.patch => 0119-drivers-net-8139-disable-irq-nosync.patch} (100%) rename kernel/patches-4.14.x-rt/{0118-suspend-prevernt-might-sleep-splats.patch => 0120-suspend-prevernt-might-sleep-splats.patch} (100%) rename kernel/patches-4.14.x-rt/{0119-net-prevent-abba-deadlock.patch => 0121-net-prevent-abba-deadlock.patch} (98%) rename kernel/patches-4.14.x-rt/{0120-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch => 0122-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch} (92%) rename kernel/patches-4.14.x-rt/{0121-net_disable_NET_RX_BUSY_POLL.patch => 0123-net_disable_NET_RX_BUSY_POLL.patch} (100%) rename kernel/patches-4.14.x-rt/{0122-x86-io-apic-migra-no-unmask.patch => 0124-x86-io-apic-migra-no-unmask.patch} (100%) rename kernel/patches-4.14.x-rt/{0123-rcu-segcblist-include-rcupdate.h.patch => 0125-rcu-segcblist-include-rcupdate.h.patch} (100%) rename kernel/patches-4.14.x-rt/{0124-printk-kill.patch => 0126-printk-kill.patch} (100%) rename kernel/patches-4.14.x-rt/{0125-printk-27force_early_printk-27-boot-param-to-help-with-debugging.patch => 0127-printk-27force_early_printk-27-boot-param-to-help-with-debugging.patch} (100%) rename kernel/patches-4.14.x-rt/{0126-rt-preempt-base-config.patch => 0128-rt-preempt-base-config.patch} (100%) rename kernel/patches-4.14.x-rt/{0127-kconfig-disable-a-few-options-rt.patch => 0129-kconfig-disable-a-few-options-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0128-kconfig-preempt-rt-full.patch => 0130-kconfig-preempt-rt-full.patch} (100%) rename kernel/patches-4.14.x-rt/{0129-bug-rt-dependend-variants.patch => 0131-bug-rt-dependend-variants.patch} (100%) rename kernel/patches-4.14.x-rt/{0130-iommu-amd--Use-WARN_ON_NORT.patch => 0132-iommu-amd--Use-WARN_ON_NORT.patch} (100%) rename kernel/patches-4.14.x-rt/{0131-local-irq-rt-depending-variants.patch => 0133-local-irq-rt-depending-variants.patch} (100%) rename kernel/patches-4.14.x-rt/{0132-preempt-nort-rt-variants.patch => 0134-preempt-nort-rt-variants.patch} (100%) rename kernel/patches-4.14.x-rt/{0133-futex-workaround-migrate_disable-enable-in-different.patch => 0135-futex-workaround-migrate_disable-enable-in-different.patch} (100%) rename kernel/patches-4.14.x-rt/{0134-rt-local-irq-lock.patch => 0136-rt-local-irq-lock.patch} (100%) rename kernel/patches-4.14.x-rt/{0135-ata-disable-interrupts-if-non-rt.patch => 0137-ata-disable-interrupts-if-non-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0136-ide-use-nort-local-irq-variants.patch => 0138-ide-use-nort-local-irq-variants.patch} (100%) rename kernel/patches-4.14.x-rt/{0137-infiniband-mellanox-ib-use-nort-irq.patch => 0139-infiniband-mellanox-ib-use-nort-irq.patch} (90%) rename kernel/patches-4.14.x-rt/{0138-inpt-gameport-use-local-irq-nort.patch => 0140-inpt-gameport-use-local-irq-nort.patch} (100%) rename kernel/patches-4.14.x-rt/{0139-user-use-local-irq-nort.patch => 0141-user-use-local-irq-nort.patch} (100%) rename kernel/patches-4.14.x-rt/{0140-usb-use-_nort-in-giveback.patch => 0142-usb-use-_nort-in-giveback.patch} (100%) rename kernel/patches-4.14.x-rt/{0141-mm-scatterlist-dont-disable-irqs-on-RT.patch => 0143-mm-scatterlist-dont-disable-irqs-on-RT.patch} (100%) rename kernel/patches-4.14.x-rt/{0142-mm-workingset-do-not-protect-workingset_shadow_nodes.patch => 0144-mm-workingset-do-not-protect-workingset_shadow_nodes.patch} (100%) rename kernel/patches-4.14.x-rt/{0143-signal-fix-up-rcu-wreckage.patch => 0145-signal-fix-up-rcu-wreckage.patch} (88%) rename kernel/patches-4.14.x-rt/{0144-oleg-signal-rt-fix.patch => 0146-oleg-signal-rt-fix.patch} (97%) rename kernel/patches-4.14.x-rt/{0145-x86-signal-delay-calling-signals-on-32bit.patch => 0147-x86-signal-delay-calling-signals-on-32bit.patch} (100%) rename kernel/patches-4.14.x-rt/{0146-net-wireless-warn-nort.patch => 0148-net-wireless-warn-nort.patch} (91%) rename kernel/patches-4.14.x-rt/{0147-fs-replace-bh_uptodate_lock-for-rt.patch => 0149-fs-replace-bh_uptodate_lock-for-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0148-fs-jbd-replace-bh_state-lock.patch => 0150-fs-jbd-replace-bh_state-lock.patch} (100%) rename kernel/patches-4.14.x-rt/{0149-list_bl.h-make-list-head-locking-RT-safe.patch => 0151-list_bl.h-make-list-head-locking-RT-safe.patch} (100%) rename kernel/patches-4.14.x-rt/{0150-list_bl-fixup-bogus-lockdep-warning.patch => 0152-list_bl-fixup-bogus-lockdep-warning.patch} (100%) rename kernel/patches-4.14.x-rt/{0151-genirq-disable-irqpoll-on-rt.patch => 0153-genirq-disable-irqpoll-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0152-genirq-force-threading.patch => 0154-genirq-force-threading.patch} (100%) rename kernel/patches-4.14.x-rt/{0153-drivers-net-vortex-fix-locking-issues.patch => 0155-drivers-net-vortex-fix-locking-issues.patch} (100%) rename kernel/patches-4.14.x-rt/{0154-delayacct-use-raw_spinlocks.patch => 0156-delayacct-use-raw_spinlocks.patch} (100%) rename kernel/patches-4.14.x-rt/{0155-mm-page_alloc-rt-friendly-per-cpu-pages.patch => 0157-mm-page_alloc-rt-friendly-per-cpu-pages.patch} (82%) rename kernel/patches-4.14.x-rt/{0156-mm-page_alloc-reduce-lock-sections-further.patch => 0158-mm-page_alloc-reduce-lock-sections-further.patch} (91%) rename kernel/patches-4.14.x-rt/{0157-mm-convert-swap-to-percpu-locked.patch => 0159-mm-convert-swap-to-percpu-locked.patch} (98%) rename kernel/patches-4.14.x-rt/{0158-mm-perform-lru_add_drain_all-remotely.patch => 0160-mm-perform-lru_add_drain_all-remotely.patch} (100%) rename kernel/patches-4.14.x-rt/{0159-mm-make-vmstat-rt-aware.patch => 0161-mm-make-vmstat-rt-aware.patch} (100%) rename kernel/patches-4.14.x-rt/{0160-re-preempt_rt_full-arm-coredump-fails-for-cpu-3e-3d-4.patch => 0162-re-preempt_rt_full-arm-coredump-fails-for-cpu-3e-3d-4.patch} (100%) rename kernel/patches-4.14.x-rt/{0161-mm-bounce-local-irq-save-nort.patch => 0163-mm-bounce-local-irq-save-nort.patch} (100%) rename kernel/patches-4.14.x-rt/{0162-mm-disable-sloub-rt.patch => 0164-mm-disable-sloub-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0163-mm-enable-slub.patch => 0165-mm-enable-slub.patch} (79%) rename kernel/patches-4.14.x-rt/{0164-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch => 0166-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch} (91%) rename kernel/patches-4.14.x-rt/{0165-slub-enable-irqs-for-no-wait.patch => 0167-slub-enable-irqs-for-no-wait.patch} (89%) rename kernel/patches-4.14.x-rt/{0166-slub-disable-SLUB_CPU_PARTIAL.patch => 0168-slub-disable-SLUB_CPU_PARTIAL.patch} (100%) rename kernel/patches-4.14.x-rt/{0167-mm-page-alloc-use-local-lock-on-target-cpu.patch => 0169-mm-page-alloc-use-local-lock-on-target-cpu.patch} (94%) rename kernel/patches-4.14.x-rt/{0168-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch => 0170-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch} (100%) rename kernel/patches-4.14.x-rt/{0169-mm-memcontrol-do_not_disable_irq.patch => 0171-mm-memcontrol-do_not_disable_irq.patch} (100%) rename kernel/patches-4.14.x-rt/{0170-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch => 0172-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch} (100%) rename kernel/patches-4.14.x-rt/{0171-mm_zsmalloc_copy_with_get_cpu_var_and_locking.patch => 0173-mm_zsmalloc_copy_with_get_cpu_var_and_locking.patch} (100%) rename kernel/patches-4.14.x-rt/{0172-radix-tree-use-local-locks.patch => 0174-radix-tree-use-local-locks.patch} (100%) rename kernel/patches-4.14.x-rt/{0173-panic-disable-random-on-rt.patch => 0175-panic-disable-random-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0174-timers-prepare-for-full-preemption.patch => 0176-timers-prepare-for-full-preemption.patch} (96%) rename kernel/patches-4.14.x-rt/{0175-timer-delay-waking-softirqs-from-the-jiffy-tick.patch => 0177-timer-delay-waking-softirqs-from-the-jiffy-tick.patch} (100%) rename kernel/patches-4.14.x-rt/{0176-nohz-Prevent-erroneous-tick-stop-invocations.patch => 0178-nohz-Prevent-erroneous-tick-stop-invocations.patch} (100%) rename kernel/patches-4.14.x-rt/{0177-x86-kvm-require-const-tsc-for-rt.patch => 0179-x86-kvm-require-const-tsc-for-rt.patch} (93%) rename kernel/patches-4.14.x-rt/{0178-wait.h-include-atomic.h.patch => 0180-wait.h-include-atomic.h.patch} (100%) rename kernel/patches-4.14.x-rt/{0179-work-simple-Simple-work-queue-implemenation.patch => 0181-work-simple-Simple-work-queue-implemenation.patch} (100%) rename kernel/patches-4.14.x-rt/{0180-completion-use-simple-wait-queues.patch => 0182-completion-use-simple-wait-queues.patch} (98%) rename kernel/patches-4.14.x-rt/{0181-fs-aio-simple-simple-work.patch => 0183-fs-aio-simple-simple-work.patch} (64%) rename kernel/patches-4.14.x-rt/{0182-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch => 0184-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch} (100%) rename kernel/patches-4.14.x-rt/{0183-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch => 0185-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch} (100%) rename kernel/patches-4.14.x-rt/{0184-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch => 0186-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch} (99%) rename kernel/patches-4.14.x-rt/{0185-hrtimers-prepare-full-preemption.patch => 0187-hrtimers-prepare-full-preemption.patch} (100%) rename kernel/patches-4.14.x-rt/{0186-hrtimer-by-timers-by-default-into-the-softirq-context.patch => 0188-hrtimer-by-timers-by-default-into-the-softirq-context.patch} (98%) rename kernel/patches-4.14.x-rt/{0187-hrtimer-Move-schedule_work-call-to-helper-thread.patch => 0189-hrtimer-Move-schedule_work-call-to-helper-thread.patch} (100%) rename kernel/patches-4.14.x-rt/{0188-timer-fd-avoid-live-lock.patch => 0190-timer-fd-avoid-live-lock.patch} (100%) rename kernel/patches-4.14.x-rt/{0189-posix-timers-thread-posix-cpu-timers-on-rt.patch => 0191-posix-timers-thread-posix-cpu-timers-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0190-sched-delay-put-task.patch => 0192-sched-delay-put-task.patch} (100%) rename kernel/patches-4.14.x-rt/{0191-sched-limit-nr-migrate.patch => 0193-sched-limit-nr-migrate.patch} (100%) rename kernel/patches-4.14.x-rt/{0192-sched-mmdrop-delayed.patch => 0194-sched-mmdrop-delayed.patch} (92%) rename kernel/patches-4.14.x-rt/{0193-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch => 0195-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch} (96%) rename kernel/patches-4.14.x-rt/{0194-sched-rt-mutex-wakeup.patch => 0196-sched-rt-mutex-wakeup.patch} (95%) rename kernel/patches-4.14.x-rt/{0195-sched-Prevent-task-state-corruption-by-spurious-lock.patch => 0197-sched-Prevent-task-state-corruption-by-spurious-lock.patch} (97%) rename kernel/patches-4.14.x-rt/{0196-sched-Remove-TASK_ALL.patch => 0198-sched-Remove-TASK_ALL.patch} (100%) rename kernel/patches-4.14.x-rt/{0197-sched-might-sleep-do-not-account-rcu-depth.patch => 0199-sched-might-sleep-do-not-account-rcu-depth.patch} (96%) rename kernel/patches-4.14.x-rt/{0198-cond-resched-softirq-rt.patch => 0200-cond-resched-softirq-rt.patch} (87%) rename kernel/patches-4.14.x-rt/{0199-cond-resched-lock-rt-tweak.patch => 0201-cond-resched-lock-rt-tweak.patch} (100%) rename kernel/patches-4.14.x-rt/{0200-sched-disable-ttwu-queue.patch => 0202-sched-disable-ttwu-queue.patch} (100%) rename kernel/patches-4.14.x-rt/{0201-sched-disable-rt-group-sched-on-rt.patch => 0203-sched-disable-rt-group-sched-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0202-sched-ttwu-ensure-success-return-is-correct.patch => 0204-sched-ttwu-ensure-success-return-is-correct.patch} (94%) rename kernel/patches-4.14.x-rt/{0203-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch => 0205-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch} (95%) rename kernel/patches-4.14.x-rt/{0204-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch => 0206-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch} (97%) rename kernel/patches-4.14.x-rt/{0205-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch => 0207-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch} (100%) rename kernel/patches-4.14.x-rt/{0206-stop-machine-raw-lock.patch => 0208-stop-machine-raw-lock.patch} (100%) rename kernel/patches-4.14.x-rt/{0207-hotplug-light-get-online-cpus.patch => 0209-hotplug-light-get-online-cpus.patch} (95%) rename kernel/patches-4.14.x-rt/{0208-ftrace-migrate-disable-tracing.patch => 0210-ftrace-migrate-disable-tracing.patch} (100%) rename kernel/patches-4.14.x-rt/{0209-lockdep-no-softirq-accounting-on-rt.patch => 0211-lockdep-no-softirq-accounting-on-rt.patch} (94%) rename kernel/patches-4.14.x-rt/{0210-lockdep-disable-self-test.patch => 0212-lockdep-disable-self-test.patch} (95%) rename kernel/patches-4.14.x-rt/{0211-mutex-no-spin-on-rt.patch => 0213-mutex-no-spin-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0212-tasklet-rt-prevent-tasklets-from-going-into-infinite-spin-in-rt.patch => 0214-tasklet-rt-prevent-tasklets-from-going-into-infinite-spin-in-rt.patch} (99%) rename kernel/patches-4.14.x-rt/{0213-softirq-preempt-fix-3-re.patch => 0215-softirq-preempt-fix-3-re.patch} (92%) rename kernel/patches-4.14.x-rt/{0214-softirq-disable-softirq-stacks-for-rt.patch => 0216-softirq-disable-softirq-stacks-for-rt.patch} (97%) rename kernel/patches-4.14.x-rt/{0215-softirq-split-locks.patch => 0217-softirq-split-locks.patch} (98%) rename kernel/patches-4.14.x-rt/{0216-kernel-softirq-unlock-with-irqs-on.patch => 0218-kernel-softirq-unlock-with-irqs-on.patch} (100%) rename kernel/patches-4.14.x-rt/{0217-irq-allow-disabling-of-softirq-processing-in-irq-thread-context.patch => 0219-irq-allow-disabling-of-softirq-processing-in-irq-thread-context.patch} (100%) rename kernel/patches-4.14.x-rt/{0218-softirq-split-timer-softirqs-out-of-ksoftirqd.patch => 0220-softirq-split-timer-softirqs-out-of-ksoftirqd.patch} (99%) rename kernel/patches-4.14.x-rt/{0219-softirq-wake-the-timer-softirq-if-needed.patch => 0221-softirq-wake-the-timer-softirq-if-needed.patch} (100%) rename kernel/patches-4.14.x-rt/{0220-rtmutex-trylock-is-okay-on-RT.patch => 0222-rtmutex-trylock-is-okay-on-RT.patch} (100%) rename kernel/patches-4.14.x-rt/{0221-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch => 0223-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch} (100%) rename kernel/patches-4.14.x-rt/{0222-rtmutex-futex-prepare-rt.patch => 0224-rtmutex-futex-prepare-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0223-futex-requeue-pi-fix.patch => 0225-futex-requeue-pi-fix.patch} (98%) rename kernel/patches-4.14.x-rt/{0224-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch => 0226-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch} (94%) rename kernel/patches-4.14.x-rt/{0225-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch => 0227-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch} (100%) rename kernel/patches-4.14.x-rt/{0226-pid.h-include-atomic.h.patch => 0228-pid.h-include-atomic.h.patch} (100%) rename kernel/patches-4.14.x-rt/{0227-arm-include-definition-for-cpumask_t.patch => 0229-arm-include-definition-for-cpumask_t.patch} (100%) rename kernel/patches-4.14.x-rt/{0228-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch => 0230-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch} (100%) rename kernel/patches-4.14.x-rt/{0229-rtmutex-lock-killable.patch => 0231-rtmutex-lock-killable.patch} (100%) rename kernel/patches-4.14.x-rt/{0230-rtmutex-Make-lock_killable-work.patch => 0232-rtmutex-Make-lock_killable-work.patch} (100%) rename kernel/patches-4.14.x-rt/{0231-spinlock-types-separate-raw.patch => 0233-spinlock-types-separate-raw.patch} (100%) rename kernel/patches-4.14.x-rt/{0232-rtmutex-avoid-include-hell.patch => 0234-rtmutex-avoid-include-hell.patch} (100%) rename kernel/patches-4.14.x-rt/{0233-rtmutex_dont_include_rcu.patch => 0235-rtmutex_dont_include_rcu.patch} (100%) rename kernel/patches-4.14.x-rt/{0234-rtmutex-Provide-rt_mutex_slowlock_locked.patch => 0236-rtmutex-Provide-rt_mutex_slowlock_locked.patch} (100%) rename kernel/patches-4.14.x-rt/{0235-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch => 0237-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch} (100%) rename kernel/patches-4.14.x-rt/{0236-rtmutex-add-sleeping-lock-implementation.patch => 0238-rtmutex-add-sleeping-lock-implementation.patch} (98%) rename kernel/patches-4.14.x-rt/{0237-rtmutex-add-mutex-implementation-based-on-rtmutex.patch => 0239-rtmutex-add-mutex-implementation-based-on-rtmutex.patch} (100%) rename kernel/patches-4.14.x-rt/{0238-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch => 0240-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch} (100%) rename kernel/patches-4.14.x-rt/{0239-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch => 0241-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch} (100%) rename kernel/patches-4.14.x-rt/{0240-rtmutex-wire-up-RT-s-locking.patch => 0242-rtmutex-wire-up-RT-s-locking.patch} (100%) rename kernel/patches-4.14.x-rt/{0241-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch => 0243-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch} (98%) rename kernel/patches-4.14.x-rt/{0242-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch => 0244-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch} (100%) rename kernel/patches-4.14.x-rt/{0243-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch => 0245-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch} (94%) rename kernel/patches-4.14.x-rt/{0244-ptrace-fix-ptrace-vs-tasklist_lock-race.patch => 0246-ptrace-fix-ptrace-vs-tasklist_lock-race.patch} (94%) rename kernel/patches-4.14.x-rt/{0245-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch => 0247-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch} (100%) rename kernel/patches-4.14.x-rt/{0246-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch => 0248-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch} (98%) rename kernel/patches-4.14.x-rt/{0247-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch => 0249-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch} (100%) rename kernel/patches-4.14.x-rt/{0248-peter_zijlstra-frob-rcu.patch => 0250-peter_zijlstra-frob-rcu.patch} (100%) rename kernel/patches-4.14.x-rt/{0249-rcu-merge-rcu-bh-into-rcu-preempt-for-rt.patch => 0251-rcu-merge-rcu-bh-into-rcu-preempt-for-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0250-patch-to-introduce-rcu-bh-qs-where-safe-from-softirq.patch => 0252-patch-to-introduce-rcu-bh-qs-where-safe-from-softirq.patch} (100%) rename kernel/patches-4.14.x-rt/{0251-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch => 0253-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch} (100%) rename kernel/patches-4.14.x-rt/{0252-drivers-tty-fix-omap-lock-crap.patch => 0254-drivers-tty-fix-omap-lock-crap.patch} (100%) rename kernel/patches-4.14.x-rt/{0253-drivers-tty-pl011-irq-disable-madness.patch => 0255-drivers-tty-pl011-irq-disable-madness.patch} (100%) rename kernel/patches-4.14.x-rt/{0254-rt-serial-warn-fix.patch => 0256-rt-serial-warn-fix.patch} (100%) rename kernel/patches-4.14.x-rt/{0255-tty-serial-8250-don-t-take-the-trylock-during-oops.patch => 0257-tty-serial-8250-don-t-take-the-trylock-during-oops.patch} (100%) rename kernel/patches-4.14.x-rt/{0256-peterz-percpu-rwsem-rt.patch => 0258-peterz-percpu-rwsem-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0257-fs-namespace-preemption-fix.patch => 0259-fs-namespace-preemption-fix.patch} (100%) rename kernel/patches-4.14.x-rt/{0258-mm-protect-activate-switch-mm.patch => 0260-mm-protect-activate-switch-mm.patch} (100%) rename kernel/patches-4.14.x-rt/{0259-fs-block-rt-support.patch => 0261-fs-block-rt-support.patch} (100%) rename kernel/patches-4.14.x-rt/{0260-fs-ntfs-disable-interrupt-non-rt.patch => 0262-fs-ntfs-disable-interrupt-non-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0261-fs-jbd2-pull-your-plug-when-waiting-for-space.patch => 0263-fs-jbd2-pull-your-plug-when-waiting-for-space.patch} (100%) rename kernel/patches-4.14.x-rt/{0262-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch => 0264-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch} (100%) rename kernel/patches-4.14.x-rt/{0263-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch => 0265-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch} (87%) rename kernel/patches-4.14.x-rt/{0264-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch => 0266-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch} (93%) rename kernel/patches-4.14.x-rt/{0265-x86-mce-timer-hrtimer.patch => 0267-x86-mce-timer-hrtimer.patch} (88%) rename kernel/patches-4.14.x-rt/{0266-x86-mce-use-swait-queue-for-mce-wakeups.patch => 0268-x86-mce-use-swait-queue-for-mce-wakeups.patch} (100%) rename kernel/patches-4.14.x-rt/{0267-x86-stackprot-no-random-on-rt.patch => 0269-x86-stackprot-no-random-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0268-x86-use-gen-rwsem-spinlocks-rt.patch => 0270-x86-use-gen-rwsem-spinlocks-rt.patch} (92%) rename kernel/patches-4.14.x-rt/{0269-x86-UV-raw_spinlock-conversion.patch => 0271-x86-UV-raw_spinlock-conversion.patch} (100%) rename kernel/patches-4.14.x-rt/{0270-thermal-Defer-thermal-wakups-to-threads.patch => 0272-thermal-Defer-thermal-wakups-to-threads.patch} (100%) rename kernel/patches-4.14.x-rt/{0271-epoll-use-get-cpu-light.patch => 0273-epoll-use-get-cpu-light.patch} (100%) rename kernel/patches-4.14.x-rt/{0272-mm-vmalloc-use-get-cpu-light.patch => 0274-mm-vmalloc-use-get-cpu-light.patch} (100%) rename kernel/patches-4.14.x-rt/{0273-block-mq-use-cpu_light.patch => 0275-block-mq-use-cpu_light.patch} (100%) rename kernel/patches-4.14.x-rt/{0274-block-mq-drop-preempt-disable.patch => 0276-block-mq-drop-preempt-disable.patch} (86%) rename kernel/patches-4.14.x-rt/{0275-block-mq-don-t-complete-requests-via-IPI.patch => 0277-block-mq-don-t-complete-requests-via-IPI.patch} (93%) rename kernel/patches-4.14.x-rt/{0276-md-raid5-percpu-handling-rt-aware.patch => 0278-md-raid5-percpu-handling-rt-aware.patch} (100%) rename kernel/patches-4.14.x-rt/{0277-md-raid5-do-not-disable-interrupts.patch => 0279-md-raid5-do-not-disable-interrupts.patch} (100%) rename kernel/patches-4.14.x-rt/{0278-rt-introduce-cpu-chill.patch => 0280-rt-introduce-cpu-chill.patch} (100%) rename kernel/patches-4.14.x-rt/{0279-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch => 0281-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch} (100%) create mode 100644 kernel/patches-4.14.x-rt/0282-kernel-cpu_chill-use-schedule_hrtimeout.patch create mode 100644 kernel/patches-4.14.x-rt/0283-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch rename kernel/patches-4.14.x-rt/{0280-block-blk-mq-use-swait.patch => 0284-block-blk-mq-use-swait.patch} (93%) create mode 100644 kernel/patches-4.14.x-rt/0285-Revert-block-blk-mq-Use-swait.patch create mode 100644 kernel/patches-4.14.x-rt/0286-block-blk-mq-move-blk_queue_usage_counter_release-in.patch rename kernel/patches-4.14.x-rt/{0281-block-use-cpu-chill.patch => 0287-block-use-cpu-chill.patch} (100%) rename kernel/patches-4.14.x-rt/{0282-fs-dcache-use-cpu-chill-in-trylock-loops.patch => 0288-fs-dcache-use-cpu-chill-in-trylock-loops.patch} (93%) rename kernel/patches-4.14.x-rt/{0283-net-use-cpu-chill.patch => 0289-net-use-cpu-chill.patch} (100%) rename kernel/patches-4.14.x-rt/{0284-fs-dcache-use-swait_queue-instead-of-waitqueue.patch => 0290-fs-dcache-use-swait_queue-instead-of-waitqueue.patch} (96%) rename kernel/patches-4.14.x-rt/{0285-workqueue-use-rcu.patch => 0291-workqueue-use-rcu.patch} (95%) rename kernel/patches-4.14.x-rt/{0286-workqueue-use-locallock.patch => 0292-workqueue-use-locallock.patch} (100%) rename kernel/patches-4.14.x-rt/{0287-work-queue-work-around-irqsafe-timer-optimization.patch => 0293-work-queue-work-around-irqsafe-timer-optimization.patch} (100%) rename kernel/patches-4.14.x-rt/{0288-workqueue-distangle-from-rq-lock.patch => 0294-workqueue-distangle-from-rq-lock.patch} (95%) rename kernel/patches-4.14.x-rt/{0289-percpu_ida-use-locklocks.patch => 0295-percpu_ida-use-locklocks.patch} (100%) rename kernel/patches-4.14.x-rt/{0290-debugobjects-rt.patch => 0296-debugobjects-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0291-jump-label-rt.patch => 0297-jump-label-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0292-seqlock-prevent-rt-starvation.patch => 0298-seqlock-prevent-rt-starvation.patch} (100%) rename kernel/patches-4.14.x-rt/{0293-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch => 0299-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch} (100%) rename kernel/patches-4.14.x-rt/{0294-skbufhead-raw-lock.patch => 0300-skbufhead-raw-lock.patch} (87%) rename kernel/patches-4.14.x-rt/{0295-net-core-cpuhotplug-drain-input_pkt_queue-lockless.patch => 0301-net-core-cpuhotplug-drain-input_pkt_queue-lockless.patch} (97%) rename kernel/patches-4.14.x-rt/{0296-net-move-xmit_recursion-to-per-task-variable-on-RT.patch => 0302-net-move-xmit_recursion-to-per-task-variable-on-RT.patch} (95%) rename kernel/patches-4.14.x-rt/{0297-net-use-task_struct-instead-of-CPU-number-as-the-que.patch => 0303-net-use-task_struct-instead-of-CPU-number-as-the-que.patch} (96%) rename kernel/patches-4.14.x-rt/{0298-net-provide-a-way-to-delegate-processing-a-softirq-t.patch => 0304-net-provide-a-way-to-delegate-processing-a-softirq-t.patch} (97%) rename kernel/patches-4.14.x-rt/{0299-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch => 0305-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch} (94%) rename kernel/patches-4.14.x-rt/{0300-net-Qdisc-use-a-seqlock-instead-seqcount.patch => 0306-net-Qdisc-use-a-seqlock-instead-seqcount.patch} (97%) rename kernel/patches-4.14.x-rt/{0301-net-add-back-the-missing-serialization-in-ip_send_un.patch => 0307-net-add-back-the-missing-serialization-in-ip_send_un.patch} (100%) rename kernel/patches-4.14.x-rt/{0302-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch => 0308-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch} (100%) rename kernel/patches-4.14.x-rt/{0303-net-add-a-lock-around-icmp_sk.patch => 0309-net-add-a-lock-around-icmp_sk.patch} (100%) rename kernel/patches-4.14.x-rt/{0304-net-use-trylock-in-icmp_sk.patch => 0310-net-use-trylock-in-icmp_sk.patch} (100%) rename kernel/patches-4.14.x-rt/{0305-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch => 0311-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch} (95%) rename kernel/patches-4.14.x-rt/{0306-irqwork-push_most_work_into_softirq_context.patch => 0312-irqwork-push_most_work_into_softirq_context.patch} (100%) rename kernel/patches-4.14.x-rt/{0307-irqwork-Move-irq-safe-work-to-irq-context.patch => 0313-irqwork-Move-irq-safe-work-to-irq-context.patch} (100%) rename kernel/patches-4.14.x-rt/{0308-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch => 0314-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch} (100%) rename kernel/patches-4.14.x-rt/{0309-printk-rt-aware.patch => 0315-printk-rt-aware.patch} (100%) rename kernel/patches-4.14.x-rt/{0310-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch => 0316-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch} (100%) rename kernel/patches-4.14.x-rt/{0311-HACK-printk-drop-the-logbuf_lock-more-often.patch => 0317-HACK-printk-drop-the-logbuf_lock-more-often.patch} (100%) rename kernel/patches-4.14.x-rt/{0312-power-use-generic-rwsem-on-rt.patch => 0318-power-use-generic-rwsem-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0313-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch => 0319-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch} (100%) rename kernel/patches-4.14.x-rt/{0314-powerpc-ps3-device-init.c-adapt-to-completions-using.patch => 0320-powerpc-ps3-device-init.c-adapt-to-completions-using.patch} (100%) rename kernel/patches-4.14.x-rt/{0315-arm-at91-tclib-default-to-tclib-timer-for-rt.patch => 0321-arm-at91-tclib-default-to-tclib-timer-for-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0316-arm-unwind-use_raw_lock.patch => 0322-arm-unwind-use_raw_lock.patch} (100%) rename kernel/patches-4.14.x-rt/{0317-ARM-enable-irq-in-translation-section-permission-fau.patch => 0323-ARM-enable-irq-in-translation-section-permission-fau.patch} (100%) rename kernel/patches-4.14.x-rt/{0318-genirq-update-irq_set_irqchip_state-documentation.patch => 0324-genirq-update-irq_set_irqchip_state-documentation.patch} (100%) rename kernel/patches-4.14.x-rt/{0319-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch => 0325-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch} (100%) rename kernel/patches-4.14.x-rt/{0320-arm64-xen--Make-XEN-depend-on-non-rt.patch => 0326-arm64-xen--Make-XEN-depend-on-non-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0321-kgb-serial-hackaround.patch => 0327-kgb-serial-hackaround.patch} (100%) rename kernel/patches-4.14.x-rt/{0322-sysfs-realtime-entry.patch => 0328-sysfs-realtime-entry.patch} (100%) rename kernel/patches-4.14.x-rt/{0323-power-disable-highmem-on-rt.patch => 0329-power-disable-highmem-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0324-mips-disable-highmem-on-rt.patch => 0330-mips-disable-highmem-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0325-mm-rt-kmap-atomic-scheduling.patch => 0331-mm-rt-kmap-atomic-scheduling.patch} (100%) rename kernel/patches-4.14.x-rt/{0326-mm--rt--Fix-generic-kmap_atomic-for-RT.patch => 0332-mm--rt--Fix-generic-kmap_atomic-for-RT.patch} (100%) rename kernel/patches-4.14.x-rt/{0327-x86-highmem-add-a-already-used-pte-check.patch => 0333-x86-highmem-add-a-already-used-pte-check.patch} (100%) rename kernel/patches-4.14.x-rt/{0328-arm-highmem-flush-tlb-on-unmap.patch => 0334-arm-highmem-flush-tlb-on-unmap.patch} (100%) rename kernel/patches-4.14.x-rt/{0329-arm-enable-highmem-for-rt.patch => 0335-arm-enable-highmem-for-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0330-scsi-fcoe-rt-aware.patch => 0336-scsi-fcoe-rt-aware.patch} (100%) rename kernel/patches-4.14.x-rt/{0331-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch => 0337-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch} (100%) rename kernel/patches-4.14.x-rt/{0332-x86-crypto-reduce-preempt-disabled-regions.patch => 0338-x86-crypto-reduce-preempt-disabled-regions.patch} (100%) rename kernel/patches-4.14.x-rt/{0333-crypto-Reduce-preempt-disabled-regions-more-algos.patch => 0339-crypto-Reduce-preempt-disabled-regions-more-algos.patch} (100%) rename kernel/patches-4.14.x-rt/{0334-crypto-limit-more-FPU-enabled-sections.patch => 0340-crypto-limit-more-FPU-enabled-sections.patch} (100%) rename kernel/patches-4.14.x-rt/{0335-arm-disable-NEON-in-kernel-mode.patch => 0341-arm-disable-NEON-in-kernel-mode.patch} (100%) rename kernel/patches-4.14.x-rt/{0336-dm-make-rt-aware.patch => 0342-dm-make-rt-aware.patch} (100%) rename kernel/patches-4.14.x-rt/{0337-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch => 0343-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch} (100%) rename kernel/patches-4.14.x-rt/{0338-cpumask-disable-offstack-on-rt.patch => 0344-cpumask-disable-offstack-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0339-random-make-it-work-on-rt.patch => 0345-random-make-it-work-on-rt.patch} (98%) rename kernel/patches-4.14.x-rt/{0340-random-avoid-preempt_disable-ed-section.patch => 0346-random-avoid-preempt_disable-ed-section.patch} (89%) rename kernel/patches-4.14.x-rt/{0341-char-random-don-t-print-that-the-init-is-done.patch => 0347-char-random-don-t-print-that-the-init-is-done.patch} (97%) rename kernel/patches-4.14.x-rt/{0342-cpu-hotplug--Implement-CPU-pinning.patch => 0348-cpu-hotplug--Implement-CPU-pinning.patch} (100%) rename kernel/patches-4.14.x-rt/{0343-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch => 0349-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch} (100%) rename kernel/patches-4.14.x-rt/{0344-scsi-qla2xxx-fix-bug-sleeping-function-called-from-invalid-context.patch => 0350-scsi-qla2xxx-fix-bug-sleeping-function-called-from-invalid-context.patch} (100%) rename kernel/patches-4.14.x-rt/{0345-upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch => 0351-upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch} (93%) rename kernel/patches-4.14.x-rt/{0346-net-another-local-irq-disable-alloc-atomic-headache.patch => 0352-net-another-local-irq-disable-alloc-atomic-headache.patch} (88%) rename kernel/patches-4.14.x-rt/{0347-net-core-protect-users-of-napi_alloc_cache-against-r.patch => 0353-net-core-protect-users-of-napi_alloc_cache-against-r.patch} (89%) rename kernel/patches-4.14.x-rt/{0348-net-fix-iptable-xt-write-recseq-begin-rt-fallout.patch => 0354-net-fix-iptable-xt-write-recseq-begin-rt-fallout.patch} (100%) rename kernel/patches-4.14.x-rt/{0349-net-make-devnet_rename_seq-a-mutex.patch => 0355-net-make-devnet_rename_seq-a-mutex.patch} (100%) rename kernel/patches-4.14.x-rt/{0350-peterz-srcu-crypto-chain.patch => 0356-peterz-srcu-crypto-chain.patch} (100%) rename kernel/patches-4.14.x-rt/{0351-lockdep-selftest-only-do-hardirq-context-test-for-raw-spinlock.patch => 0357-lockdep-selftest-only-do-hardirq-context-test-for-raw-spinlock.patch} (100%) rename kernel/patches-4.14.x-rt/{0352-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch => 0358-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch} (100%) rename kernel/patches-4.14.x-rt/{0353-srcu-use-cpu_online-instead-custom-check.patch => 0359-srcu-use-cpu_online-instead-custom-check.patch} (100%) rename kernel/patches-4.14.x-rt/{0354-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch => 0360-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch} (100%) rename kernel/patches-4.14.x-rt/{0355-srcu-replace-local_irqsave-with-a-locallock.patch => 0361-srcu-replace-local_irqsave-with-a-locallock.patch} (100%) rename kernel/patches-4.14.x-rt/{0356-rcu-disable-rcu-fast-no-hz-on-rt.patch => 0362-rcu-disable-rcu-fast-no-hz-on-rt.patch} (100%) rename kernel/patches-4.14.x-rt/{0357-rcu-Eliminate-softirq-processing-from-rcutree.patch => 0363-rcu-Eliminate-softirq-processing-from-rcutree.patch} (100%) rename kernel/patches-4.14.x-rt/{0358-rcu-make-RCU_BOOST-default-on-RT.patch => 0364-rcu-make-RCU_BOOST-default-on-RT.patch} (100%) rename kernel/patches-4.14.x-rt/{0359-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch => 0365-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch} (100%) rename kernel/patches-4.14.x-rt/{0360-preempt-lazy-support.patch => 0366-preempt-lazy-support.patch} (96%) rename kernel/patches-4.14.x-rt/{0361-ftrace-Fix-trace-header-alignment.patch => 0367-ftrace-Fix-trace-header-alignment.patch} (100%) rename kernel/patches-4.14.x-rt/{0362-x86-preempt-lazy.patch => 0368-x86-preempt-lazy.patch} (98%) rename kernel/patches-4.14.x-rt/{0363-arm-preempt-lazy-support.patch => 0369-arm-preempt-lazy-support.patch} (100%) rename kernel/patches-4.14.x-rt/{0364-powerpc-preempt-lazy-support.patch => 0370-powerpc-preempt-lazy-support.patch} (100%) rename kernel/patches-4.14.x-rt/{0365-arch-arm64-Add-lazy-preempt-support.patch => 0371-arch-arm64-Add-lazy-preempt-support.patch} (100%) rename kernel/patches-4.14.x-rt/{0366-leds-trigger-disable-CPU-trigger-on-RT.patch => 0372-leds-trigger-disable-CPU-trigger-on-RT.patch} (100%) rename kernel/patches-4.14.x-rt/{0367-mmci-remove-bogus-irq-save.patch => 0373-mmci-remove-bogus-irq-save.patch} (100%) rename kernel/patches-4.14.x-rt/{0368-cpufreq-drop-K8-s-driver-from-beeing-selected.patch => 0374-cpufreq-drop-K8-s-driver-from-beeing-selected.patch} (100%) rename kernel/patches-4.14.x-rt/{0369-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch => 0375-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch} (100%) rename kernel/patches-4.14.x-rt/{0370-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch => 0376-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch} (100%) rename kernel/patches-4.14.x-rt/{0371-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch => 0377-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch} (100%) rename kernel/patches-4.14.x-rt/{0372-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch => 0378-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch} (100%) rename kernel/patches-4.14.x-rt/{0373-tpm_tis-fix-stall-after-iowrite-s.patch => 0379-tpm_tis-fix-stall-after-iowrite-s.patch} (89%) rename kernel/patches-4.14.x-rt/{0374-pci-switchtec-Don-t-use-completion-s-wait-queue.patch => 0380-pci-switchtec-Don-t-use-completion-s-wait-queue.patch} (100%) rename kernel/patches-4.14.x-rt/{0375-drmradeoni915_Use_preempt_disableenable_rt()_where_recommended.patch => 0381-drmradeoni915_Use_preempt_disableenable_rt()_where_recommended.patch} (100%) rename kernel/patches-4.14.x-rt/{0376-drmi915_Use_local_lockunlock_irq()_in_intel_pipe_update_startend().patch => 0382-drmi915_Use_local_lockunlock_irq()_in_intel_pipe_update_startend().patch} (100%) rename kernel/patches-4.14.x-rt/{0377-cgroups-use-simple-wait-in-css_release.patch => 0383-cgroups-use-simple-wait-in-css_release.patch} (100%) rename kernel/patches-4.14.x-rt/{0378-cgroups-scheduling-while-atomic-in-cgroup-code.patch => 0384-cgroups-scheduling-while-atomic-in-cgroup-code.patch} (100%) rename kernel/patches-4.14.x-rt/{0379-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch => 0385-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch} (100%) rename kernel/patches-4.14.x-rt/{0380-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch => 0386-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch} (100%) rename kernel/patches-4.14.x-rt/{0381-move_sched_delayed_work_to_helper.patch => 0387-move_sched_delayed_work_to_helper.patch} (100%) rename kernel/patches-4.14.x-rt/{0382-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch => 0388-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch} (88%) rename kernel/patches-4.14.x-rt/{0383-md-disable-bcache.patch => 0389-md-disable-bcache.patch} (100%) rename kernel/patches-4.14.x-rt/{0384-apparmor-use-a-locallock-instead-preempt_disable.patch => 0390-apparmor-use-a-locallock-instead-preempt_disable.patch} (100%) rename kernel/patches-4.14.x-rt/{0385-workqueue-prevent-deadlock-stall.patch => 0391-workqueue-prevent-deadlock-stall.patch} (98%) rename kernel/patches-4.14.x-rt/{0386-localversion.patch => 0392-localversion.patch} (97%) diff --git a/kernel/Makefile b/kernel/Makefile index 54db2ff2f..56fed4654 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -221,18 +221,19 @@ ifeq ($(ARCH),x86_64) $(eval $(call kernel,4.15.14,4.15.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.31,4.14.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.31,4.14.x,,-dbg)) -$(eval $(call kernel,4.14.24,4.14.x,-rt,)) +$(eval $(call kernel,4.14.29,4.14.x,-rt,)) $(eval $(call kernel,4.9.91,4.9.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.4.125,4.4.x,$(EXTRA),$(DEBUG))) else ifeq ($(ARCH),aarch64) $(eval $(call kernel,4.15.14,4.15.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.31,4.14.x,$(EXTRA),$(DEBUG))) -$(eval $(call kernel,4.14.24,4.14.x,-rt,)) +$(eval $(call kernel,4.14.29,4.14.x,-rt,)) else ifeq ($(ARCH),s390x) $(eval $(call kernel,4.15.14,4.15.x,$(EXTRA),$(DEBUG))) $(eval $(call kernel,4.14.31,4.14.x,$(EXTRA),$(DEBUG))) +$(eval $(call kernel,4.14.29,4.14.x,-rt,)) endif # Target for kernel config diff --git a/kernel/patches-4.14.x-rt/0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch b/kernel/patches-4.14.x-rt/0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch new file mode 100644 index 000000000..4a72e38e6 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0001-rtmutex-Make-rt_mutex_futex_unlock-safe-for-irq-off-.patch @@ -0,0 +1,121 @@ +From: Boqun Feng +Date: Fri, 9 Mar 2018 14:56:28 +0800 +Subject: [PATCH] rtmutex: Make rt_mutex_futex_unlock() safe for irq-off + callsites + +Upstream commit 6b0ef92fee2a3189eba6d6b827b247cb4f6da7e9 + +When running rcutorture with TREE03 config, CONFIG_PROVE_LOCKING=y, and +kernel cmdline argument "rcutorture.gp_exp=1", lockdep reports a +HARDIRQ-safe->HARDIRQ-unsafe deadlock: + + ================================ + WARNING: inconsistent lock state + 4.16.0-rc4+ #1 Not tainted + -------------------------------- + inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage. + takes: + __schedule+0xbe/0xaf0 + {IN-HARDIRQ-W} state was registered at: + _raw_spin_lock+0x2a/0x40 + scheduler_tick+0x47/0xf0 +... + other info that might help us debug this: + Possible unsafe locking scenario: + CPU0 + ---- + lock(&rq->lock); + + lock(&rq->lock); + *** DEADLOCK *** + 1 lock held by rcu_torture_rea/724: + rcu_torture_read_lock+0x0/0x70 + stack backtrace: + CPU: 2 PID: 724 Comm: rcu_torture_rea Not tainted 4.16.0-rc4+ #1 + Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.0-20171110_100015-anatol 04/01/2014 + Call Trace: + lock_acquire+0x90/0x200 + ? __schedule+0xbe/0xaf0 + _raw_spin_lock+0x2a/0x40 + ? __schedule+0xbe/0xaf0 + __schedule+0xbe/0xaf0 + preempt_schedule_irq+0x2f/0x60 + retint_kernel+0x1b/0x2d + RIP: 0010:rcu_read_unlock_special+0x0/0x680 + ? rcu_torture_read_unlock+0x60/0x60 + __rcu_read_unlock+0x64/0x70 + rcu_torture_read_unlock+0x17/0x60 + rcu_torture_reader+0x275/0x450 + ? rcutorture_booster_init+0x110/0x110 + ? rcu_torture_stall+0x230/0x230 + ? kthread+0x10e/0x130 + kthread+0x10e/0x130 + ? kthread_create_worker_on_cpu+0x70/0x70 + ? call_usermodehelper_exec_async+0x11a/0x150 + ret_from_fork+0x3a/0x50 + +This happens with the following even sequence: + + preempt_schedule_irq(); + local_irq_enable(); + __schedule(): + local_irq_disable(); // irq off + ... + rcu_note_context_switch(): + rcu_note_preempt_context_switch(): + rcu_read_unlock_special(): + local_irq_save(flags); + ... + raw_spin_unlock_irqrestore(...,flags); // irq remains off + rt_mutex_futex_unlock(): + raw_spin_lock_irq(); + ... + raw_spin_unlock_irq(); // accidentally set irq on + + + rq_lock(): + raw_spin_lock(); // acquiring rq->lock with irq on + +which means rq->lock becomes a HARDIRQ-unsafe lock, which can cause +deadlocks in scheduler code. + +This problem was introduced by commit 02a7c234e540 ("rcu: Suppress +lockdep false-positive ->boost_mtx complaints"). That brought the user +of rt_mutex_futex_unlock() with irq off. + +To fix this, replace the *lock_irq() in rt_mutex_futex_unlock() with +*lock_irq{save,restore}() to make it safe to call rt_mutex_futex_unlock() +with irq off. + +Fixes: 02a7c234e540 ("rcu: Suppress lockdep false-positive ->boost_mtx complaints") +Signed-off-by: Boqun Feng +Signed-off-by: Thomas Gleixner +Cc: Peter Zijlstra +Cc: Lai Jiangshan +Cc: Steven Rostedt +Cc: Josh Triplett +Cc: Mathieu Desnoyers +Cc: "Paul E . McKenney" +Link: https://lkml.kernel.org/r/20180309065630.8283-1-boqun.feng@gmail.com +Signed-off-by: Sebastian Andrzej Siewior +--- + kernel/locking/rtmutex.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +--- a/kernel/locking/rtmutex.c ++++ b/kernel/locking/rtmutex.c +@@ -1616,11 +1616,12 @@ bool __sched __rt_mutex_futex_unlock(str + void __sched rt_mutex_futex_unlock(struct rt_mutex *lock) + { + DEFINE_WAKE_Q(wake_q); ++ unsigned long flags; + bool postunlock; + +- raw_spin_lock_irq(&lock->wait_lock); ++ raw_spin_lock_irqsave(&lock->wait_lock, flags); + postunlock = __rt_mutex_futex_unlock(lock, &wake_q); +- raw_spin_unlock_irq(&lock->wait_lock); ++ raw_spin_unlock_irqrestore(&lock->wait_lock, flags); + + if (postunlock) + rt_mutex_postunlock(&wake_q); diff --git a/kernel/patches-4.14.x-rt/0001-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch b/kernel/patches-4.14.x-rt/0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0001-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch rename to kernel/patches-4.14.x-rt/0002-rcu-Suppress-lockdep-false-positive-boost_mtx-compla.patch diff --git a/kernel/patches-4.14.x-rt/0002-brd-remove-unused-brd_mutex.patch b/kernel/patches-4.14.x-rt/0003-brd-remove-unused-brd_mutex.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0002-brd-remove-unused-brd_mutex.patch rename to kernel/patches-4.14.x-rt/0003-brd-remove-unused-brd_mutex.patch diff --git a/kernel/patches-4.14.x-rt/0003-0001-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch b/kernel/patches-4.14.x-rt/0004-0001-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0003-0001-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch rename to kernel/patches-4.14.x-rt/0004-0001-timers-Use-static-keys-for-migrate_enable-nohz_activ.patch diff --git a/kernel/patches-4.14.x-rt/0004-0002-hrtimer-Correct-blantanly-wrong-comment.patch b/kernel/patches-4.14.x-rt/0005-0002-hrtimer-Correct-blantanly-wrong-comment.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0004-0002-hrtimer-Correct-blantanly-wrong-comment.patch rename to kernel/patches-4.14.x-rt/0005-0002-hrtimer-Correct-blantanly-wrong-comment.patch index 651a4c4e7..4ac02de83 100644 --- a/kernel/patches-4.14.x-rt/0004-0002-hrtimer-Correct-blantanly-wrong-comment.patch +++ b/kernel/patches-4.14.x-rt/0005-0002-hrtimer-Correct-blantanly-wrong-comment.patch @@ -21,7 +21,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c -@@ -1199,9 +1199,9 @@ static void __run_hrtimer(struct hrtimer +@@ -1204,9 +1204,9 @@ static void __run_hrtimer(struct hrtimer timer->is_rel = false; /* diff --git a/kernel/patches-4.14.x-rt/0005-0003-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch b/kernel/patches-4.14.x-rt/0006-0003-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0005-0003-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch rename to kernel/patches-4.14.x-rt/0006-0003-hrtimer-Fix-kerneldoc-for-struct-hrtimer_cpu_base.patch diff --git a/kernel/patches-4.14.x-rt/0006-0004-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch b/kernel/patches-4.14.x-rt/0007-0004-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0006-0004-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch rename to kernel/patches-4.14.x-rt/0007-0004-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch index 5434649f9..b8ed3d518 100644 --- a/kernel/patches-4.14.x-rt/0006-0004-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch +++ b/kernel/patches-4.14.x-rt/0007-0004-hrtimer-Cleanup-clock-argument-in-schedule_hrtimeout.patch @@ -35,7 +35,7 @@ Signed-off-by: Sebastian Andrzej Siewior /* Soft interrupt function to run the hrtimer queues: */ --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c -@@ -1667,12 +1667,12 @@ void __init hrtimers_init(void) +@@ -1672,12 +1672,12 @@ void __init hrtimers_init(void) * schedule_hrtimeout_range_clock - sleep until timeout * @expires: timeout value (ktime_t) * @delta: slack in expires timeout (ktime_t) @@ -51,7 +51,7 @@ Signed-off-by: Sebastian Andrzej Siewior { struct hrtimer_sleeper t; -@@ -1693,7 +1693,7 @@ schedule_hrtimeout_range_clock(ktime_t * +@@ -1698,7 +1698,7 @@ schedule_hrtimeout_range_clock(ktime_t * return -EINTR; } @@ -60,7 +60,7 @@ Signed-off-by: Sebastian Andrzej Siewior hrtimer_set_expires_range_ns(&t.timer, *expires, delta); hrtimer_init_sleeper(&t, current); -@@ -1715,7 +1715,7 @@ schedule_hrtimeout_range_clock(ktime_t * +@@ -1720,7 +1720,7 @@ schedule_hrtimeout_range_clock(ktime_t * * schedule_hrtimeout_range - sleep until timeout * @expires: timeout value (ktime_t) * @delta: slack in expires timeout (ktime_t) @@ -69,7 +69,7 @@ Signed-off-by: Sebastian Andrzej Siewior * * Make the current task sleep until the given expiry time has * elapsed. The routine will return immediately unless -@@ -1754,7 +1754,7 @@ EXPORT_SYMBOL_GPL(schedule_hrtimeout_ran +@@ -1759,7 +1759,7 @@ EXPORT_SYMBOL_GPL(schedule_hrtimeout_ran /** * schedule_hrtimeout - sleep until timeout * @expires: timeout value (ktime_t) diff --git a/kernel/patches-4.14.x-rt/0007-0005-hrtimer-Fix-hrtimer-function-description.patch b/kernel/patches-4.14.x-rt/0008-0005-hrtimer-Fix-hrtimer-function-description.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0007-0005-hrtimer-Fix-hrtimer-function-description.patch rename to kernel/patches-4.14.x-rt/0008-0005-hrtimer-Fix-hrtimer-function-description.patch index adf8f66d2..6a39a0e74 100644 --- a/kernel/patches-4.14.x-rt/0007-0005-hrtimer-Fix-hrtimer-function-description.patch +++ b/kernel/patches-4.14.x-rt/0008-0005-hrtimer-Fix-hrtimer-function-description.patch @@ -48,7 +48,7 @@ Signed-off-by: Sebastian Andrzej Siewior */ void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, u64 delta_ns, const enum hrtimer_mode mode) -@@ -1111,7 +1111,8 @@ static void __hrtimer_init(struct hrtime +@@ -1116,7 +1116,8 @@ static void __hrtimer_init(struct hrtime * hrtimer_init - initialize a timer to the given clock * @timer: the timer to be initialized * @clock_id: the clock to be used diff --git a/kernel/patches-4.14.x-rt/0008-0007-hrtimer-Cleanup-hrtimer_mode-enum.patch b/kernel/patches-4.14.x-rt/0009-0007-hrtimer-Cleanup-hrtimer_mode-enum.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0008-0007-hrtimer-Cleanup-hrtimer_mode-enum.patch rename to kernel/patches-4.14.x-rt/0009-0007-hrtimer-Cleanup-hrtimer_mode-enum.patch diff --git a/kernel/patches-4.14.x-rt/0009-0008-tracing-hrtimer-Take-all-clock-bases-and-modes-into-.patch b/kernel/patches-4.14.x-rt/0010-0008-tracing-hrtimer-Take-all-clock-bases-and-modes-into-.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0009-0008-tracing-hrtimer-Take-all-clock-bases-and-modes-into-.patch rename to kernel/patches-4.14.x-rt/0010-0008-tracing-hrtimer-Take-all-clock-bases-and-modes-into-.patch diff --git a/kernel/patches-4.14.x-rt/0010-0009-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch b/kernel/patches-4.14.x-rt/0011-0009-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0010-0009-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch rename to kernel/patches-4.14.x-rt/0011-0009-tracing-hrtimer-Print-hrtimer-mode-in-hrtimer_start-.patch diff --git a/kernel/patches-4.14.x-rt/0011-0010-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch b/kernel/patches-4.14.x-rt/0012-0010-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0011-0010-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch rename to kernel/patches-4.14.x-rt/0012-0010-hrtimer-Switch-for-loop-to-_ffs-evaluation.patch diff --git a/kernel/patches-4.14.x-rt/0012-0011-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch b/kernel/patches-4.14.x-rt/0013-0011-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0012-0011-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch rename to kernel/patches-4.14.x-rt/0013-0011-hrtimer-Store-running-timer-in-hrtimer_clock_base.patch diff --git a/kernel/patches-4.14.x-rt/0013-0012-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch b/kernel/patches-4.14.x-rt/0014-0012-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0013-0012-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch rename to kernel/patches-4.14.x-rt/0014-0012-hrtimer-Make-room-in-struct-hrtimer_cpu_base.patch diff --git a/kernel/patches-4.14.x-rt/0014-0013-hrtimer-Reduce-conditional-code-hres_active.patch b/kernel/patches-4.14.x-rt/0015-0013-hrtimer-Reduce-conditional-code-hres_active.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0014-0013-hrtimer-Reduce-conditional-code-hres_active.patch rename to kernel/patches-4.14.x-rt/0015-0013-hrtimer-Reduce-conditional-code-hres_active.patch diff --git a/kernel/patches-4.14.x-rt/0015-0014-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch b/kernel/patches-4.14.x-rt/0016-0014-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0015-0014-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch rename to kernel/patches-4.14.x-rt/0016-0014-hrtimer-Use-accesor-functions-instead-of-direct-acce.patch diff --git a/kernel/patches-4.14.x-rt/0016-0015-hrtimer-Make-the-remote-enqueue-check-unconditional.patch b/kernel/patches-4.14.x-rt/0017-0015-hrtimer-Make-the-remote-enqueue-check-unconditional.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0016-0015-hrtimer-Make-the-remote-enqueue-check-unconditional.patch rename to kernel/patches-4.14.x-rt/0017-0015-hrtimer-Make-the-remote-enqueue-check-unconditional.patch diff --git a/kernel/patches-4.14.x-rt/0017-0016-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch b/kernel/patches-4.14.x-rt/0018-0016-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0017-0016-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch rename to kernel/patches-4.14.x-rt/0018-0016-hrtimer-Make-hrtimer_cpu_base.next_timer-handling-un.patch diff --git a/kernel/patches-4.14.x-rt/0018-0017-hrtimer-Make-hrtimer_reprogramm-unconditional.patch b/kernel/patches-4.14.x-rt/0019-0017-hrtimer-Make-hrtimer_reprogramm-unconditional.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0018-0017-hrtimer-Make-hrtimer_reprogramm-unconditional.patch rename to kernel/patches-4.14.x-rt/0019-0017-hrtimer-Make-hrtimer_reprogramm-unconditional.patch diff --git a/kernel/patches-4.14.x-rt/0019-0018-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch b/kernel/patches-4.14.x-rt/0020-0018-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0019-0018-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch rename to kernel/patches-4.14.x-rt/0020-0018-hrtimer-Make-hrtimer_force_reprogramm-unconditionall.patch diff --git a/kernel/patches-4.14.x-rt/0020-0019-hrtimer-Unify-handling-of-hrtimer-remove.patch b/kernel/patches-4.14.x-rt/0021-0019-hrtimer-Unify-handling-of-hrtimer-remove.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0020-0019-hrtimer-Unify-handling-of-hrtimer-remove.patch rename to kernel/patches-4.14.x-rt/0021-0019-hrtimer-Unify-handling-of-hrtimer-remove.patch diff --git a/kernel/patches-4.14.x-rt/0021-0020-hrtimer-Unify-handling-of-remote-enqueue.patch b/kernel/patches-4.14.x-rt/0022-0020-hrtimer-Unify-handling-of-remote-enqueue.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0021-0020-hrtimer-Unify-handling-of-remote-enqueue.patch rename to kernel/patches-4.14.x-rt/0022-0020-hrtimer-Unify-handling-of-remote-enqueue.patch diff --git a/kernel/patches-4.14.x-rt/0022-0021-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch b/kernel/patches-4.14.x-rt/0023-0021-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0022-0021-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch rename to kernel/patches-4.14.x-rt/0023-0021-hrtimer-Make-remote-enqueue-decision-less-restrictiv.patch diff --git a/kernel/patches-4.14.x-rt/0023-0022-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch b/kernel/patches-4.14.x-rt/0024-0022-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0023-0022-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch rename to kernel/patches-4.14.x-rt/0024-0022-hrtimer-Remove-base-argument-from-hrtimer_reprogram.patch diff --git a/kernel/patches-4.14.x-rt/0024-0023-hrtimer-Split-hrtimer_start_range_ns.patch b/kernel/patches-4.14.x-rt/0025-0023-hrtimer-Split-hrtimer_start_range_ns.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0024-0023-hrtimer-Split-hrtimer_start_range_ns.patch rename to kernel/patches-4.14.x-rt/0025-0023-hrtimer-Split-hrtimer_start_range_ns.patch diff --git a/kernel/patches-4.14.x-rt/0025-0024-hrtimer-Split-__hrtimer_get_next_event.patch b/kernel/patches-4.14.x-rt/0026-0024-hrtimer-Split-__hrtimer_get_next_event.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0025-0024-hrtimer-Split-__hrtimer_get_next_event.patch rename to kernel/patches-4.14.x-rt/0026-0024-hrtimer-Split-__hrtimer_get_next_event.patch diff --git a/kernel/patches-4.14.x-rt/0026-0025-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch b/kernel/patches-4.14.x-rt/0027-0025-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0026-0025-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch rename to kernel/patches-4.14.x-rt/0027-0025-hrtimer-Use-irqsave-irqrestore-around-__run_hrtimer.patch diff --git a/kernel/patches-4.14.x-rt/0027-0026-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch b/kernel/patches-4.14.x-rt/0028-0026-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0027-0026-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch rename to kernel/patches-4.14.x-rt/0028-0026-hrtimer-Add-clock-bases-and-hrtimer-mode-for-soft-ir.patch diff --git a/kernel/patches-4.14.x-rt/0028-0027-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch b/kernel/patches-4.14.x-rt/0029-0027-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0028-0027-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch rename to kernel/patches-4.14.x-rt/0029-0027-hrtimer-Prepare-handling-of-hard-and-softirq-based-h.patch diff --git a/kernel/patches-4.14.x-rt/0029-0028-hrtimer-Implement-support-for-softirq-based-hrtimers.patch b/kernel/patches-4.14.x-rt/0030-0028-hrtimer-Implement-support-for-softirq-based-hrtimers.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0029-0028-hrtimer-Implement-support-for-softirq-based-hrtimers.patch rename to kernel/patches-4.14.x-rt/0030-0028-hrtimer-Implement-support-for-softirq-based-hrtimers.patch diff --git a/kernel/patches-4.14.x-rt/0030-0029-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch b/kernel/patches-4.14.x-rt/0031-0029-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0030-0029-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch rename to kernel/patches-4.14.x-rt/0031-0029-hrtimer-Implement-SOFT-HARD-clock-base-selection.patch diff --git a/kernel/patches-4.14.x-rt/0031-0030-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch b/kernel/patches-4.14.x-rt/0032-0030-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0031-0030-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch rename to kernel/patches-4.14.x-rt/0032-0030-can-bcm-Replace-hrtimer_tasklet-with-softirq-based-h.patch diff --git a/kernel/patches-4.14.x-rt/0032-0031-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch b/kernel/patches-4.14.x-rt/0033-0031-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0032-0031-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch rename to kernel/patches-4.14.x-rt/0033-0031-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch index 927cc0fa7..cf7687a21 100644 --- a/kernel/patches-4.14.x-rt/0032-0031-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch +++ b/kernel/patches-4.14.x-rt/0033-0031-mac80211_hwsim-Replace-hrtimer-tasklet-with-softirq-.patch @@ -27,7 +27,7 @@ Signed-off-by: Sebastian Andrzej Siewior enum ps_mode { PS_DISABLED, PS_ENABLED, PS_AUTO_POLL, PS_MANUAL_POLL } ps; -@@ -1418,7 +1418,7 @@ static void mac80211_hwsim_stop(struct i +@@ -1423,7 +1423,7 @@ static void mac80211_hwsim_stop(struct i { struct mac80211_hwsim_data *data = hw->priv; data->started = false; @@ -36,7 +36,7 @@ Signed-off-by: Sebastian Andrzej Siewior wiphy_debug(hw->wiphy, "%s\n", __func__); } -@@ -1541,14 +1541,12 @@ static enum hrtimer_restart +@@ -1546,14 +1546,12 @@ static enum hrtimer_restart mac80211_hwsim_beacon(struct hrtimer *timer) { struct mac80211_hwsim_data *data = @@ -53,7 +53,7 @@ Signed-off-by: Sebastian Andrzej Siewior ieee80211_iterate_active_interfaces_atomic( hw, IEEE80211_IFACE_ITER_NORMAL, -@@ -1560,11 +1558,9 @@ mac80211_hwsim_beacon(struct hrtimer *ti +@@ -1565,11 +1563,9 @@ mac80211_hwsim_beacon(struct hrtimer *ti data->bcn_delta = 0; } @@ -68,7 +68,7 @@ Signed-off-by: Sebastian Andrzej Siewior } static const char * const hwsim_chanwidths[] = { -@@ -1638,15 +1634,15 @@ static int mac80211_hwsim_config(struct +@@ -1643,15 +1639,15 @@ static int mac80211_hwsim_config(struct mutex_unlock(&data->mutex); if (!data->started || !data->beacon_int) @@ -89,7 +89,7 @@ Signed-off-by: Sebastian Andrzej Siewior } return 0; -@@ -1709,7 +1705,7 @@ static void mac80211_hwsim_bss_info_chan +@@ -1714,7 +1710,7 @@ static void mac80211_hwsim_bss_info_chan info->enable_beacon, info->beacon_int); vp->bcn_en = info->enable_beacon; if (data->started && @@ -98,7 +98,7 @@ Signed-off-by: Sebastian Andrzej Siewior info->enable_beacon) { u64 tsf, until_tbtt; u32 bcn_int; -@@ -1717,9 +1713,9 @@ static void mac80211_hwsim_bss_info_chan +@@ -1722,9 +1718,9 @@ static void mac80211_hwsim_bss_info_chan tsf = mac80211_hwsim_get_tsf(hw, vif); bcn_int = data->beacon_int; until_tbtt = bcn_int - do_div(tsf, bcn_int); @@ -111,7 +111,7 @@ Signed-off-by: Sebastian Andrzej Siewior } else if (!info->enable_beacon) { unsigned int count = 0; ieee80211_iterate_active_interfaces_atomic( -@@ -1728,7 +1724,7 @@ static void mac80211_hwsim_bss_info_chan +@@ -1733,7 +1729,7 @@ static void mac80211_hwsim_bss_info_chan wiphy_debug(hw->wiphy, " beaconing vifs remaining: %u", count); if (count == 0) { @@ -120,7 +120,7 @@ Signed-off-by: Sebastian Andrzej Siewior data->beacon_int = 0; } } -@@ -2720,9 +2716,9 @@ static int mac80211_hwsim_new_radio(stru +@@ -2725,9 +2721,9 @@ static int mac80211_hwsim_new_radio(stru data->debugfs, data, &hwsim_simulate_radar); diff --git a/kernel/patches-4.14.x-rt/0033-0032-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0034-0032-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0033-0032-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0034-0032-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch index 09faf9f56..87ac7271d 100644 --- a/kernel/patches-4.14.x-rt/0033-0032-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0034-0032-xfrm-Replace-hrtimer-tasklet-with-softirq-hrtimer.patch @@ -30,7 +30,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c -@@ -426,7 +426,7 @@ static void xfrm_put_mode(struct xfrm_mo +@@ -427,7 +427,7 @@ static void xfrm_put_mode(struct xfrm_mo static void xfrm_state_gc_destroy(struct xfrm_state *x) { @@ -39,7 +39,7 @@ Signed-off-by: Sebastian Andrzej Siewior del_timer_sync(&x->rtimer); kfree(x->aead); kfree(x->aalg); -@@ -471,8 +471,8 @@ static void xfrm_state_gc_task(struct wo +@@ -472,8 +472,8 @@ static void xfrm_state_gc_task(struct wo static enum hrtimer_restart xfrm_timer_handler(struct hrtimer *me) { @@ -50,7 +50,7 @@ Signed-off-by: Sebastian Andrzej Siewior unsigned long now = get_seconds(); long next = LONG_MAX; int warn = 0; -@@ -536,7 +536,8 @@ static enum hrtimer_restart xfrm_timer_h +@@ -537,7 +537,8 @@ static enum hrtimer_restart xfrm_timer_h km_state_expired(x, 0, 0); resched: if (next != LONG_MAX) { @@ -60,7 +60,7 @@ Signed-off-by: Sebastian Andrzej Siewior } goto out; -@@ -553,7 +554,7 @@ static enum hrtimer_restart xfrm_timer_h +@@ -554,7 +555,7 @@ static enum hrtimer_restart xfrm_timer_h out: spin_unlock(&x->lock); @@ -69,7 +69,7 @@ Signed-off-by: Sebastian Andrzej Siewior } static void xfrm_replay_timer_handler(unsigned long data); -@@ -572,8 +573,8 @@ struct xfrm_state *xfrm_state_alloc(stru +@@ -573,8 +574,8 @@ struct xfrm_state *xfrm_state_alloc(stru INIT_HLIST_NODE(&x->bydst); INIT_HLIST_NODE(&x->bysrc); INIT_HLIST_NODE(&x->byspi); @@ -80,7 +80,7 @@ Signed-off-by: Sebastian Andrzej Siewior setup_timer(&x->rtimer, xfrm_replay_timer_handler, (unsigned long)x); x->curlft.add_time = get_seconds(); -@@ -1030,7 +1031,9 @@ xfrm_state_find(const xfrm_address_t *da +@@ -1031,7 +1032,9 @@ xfrm_state_find(const xfrm_address_t *da hlist_add_head_rcu(&x->byspi, net->xfrm.state_byspi + h); } x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; @@ -91,7 +91,7 @@ Signed-off-by: Sebastian Andrzej Siewior net->xfrm.state_num++; xfrm_hash_grow_check(net, x->bydst.next != NULL); spin_unlock_bh(&net->xfrm.xfrm_state_lock); -@@ -1141,7 +1144,7 @@ static void __xfrm_state_insert(struct x +@@ -1142,7 +1145,7 @@ static void __xfrm_state_insert(struct x hlist_add_head_rcu(&x->byspi, net->xfrm.state_byspi + h); } @@ -100,7 +100,7 @@ Signed-off-by: Sebastian Andrzej Siewior if (x->replay_maxage) mod_timer(&x->rtimer, jiffies + x->replay_maxage); -@@ -1245,7 +1248,9 @@ static struct xfrm_state *__find_acq_cor +@@ -1246,7 +1249,9 @@ static struct xfrm_state *__find_acq_cor x->mark.m = m->m; x->lft.hard_add_expires_seconds = net->xfrm.sysctl_acq_expires; xfrm_state_hold(x); @@ -111,7 +111,7 @@ Signed-off-by: Sebastian Andrzej Siewior 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); -@@ -1544,7 +1549,8 @@ int xfrm_state_update(struct xfrm_state +@@ -1545,7 +1550,8 @@ int xfrm_state_update(struct xfrm_state memcpy(&x1->lft, &x->lft, sizeof(x1->lft)); x1->km.dying = 0; @@ -121,7 +121,7 @@ Signed-off-by: Sebastian Andrzej Siewior if (x1->curlft.use_time) xfrm_state_check_expire(x1); -@@ -1568,7 +1574,7 @@ int xfrm_state_check_expire(struct xfrm_ +@@ -1569,7 +1575,7 @@ int xfrm_state_check_expire(struct xfrm_ if (x->curlft.bytes >= x->lft.hard_byte_limit || x->curlft.packets >= x->lft.hard_packet_limit) { x->km.state = XFRM_STATE_EXPIRED; diff --git a/kernel/patches-4.14.x-rt/0034-0033-softirq-Remove-tasklet_hrtimer.patch b/kernel/patches-4.14.x-rt/0035-0033-softirq-Remove-tasklet_hrtimer.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0034-0033-softirq-Remove-tasklet_hrtimer.patch rename to kernel/patches-4.14.x-rt/0035-0033-softirq-Remove-tasklet_hrtimer.patch index ceb8475ff..14e13bb10 100644 --- a/kernel/patches-4.14.x-rt/0034-0033-softirq-Remove-tasklet_hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0035-0033-softirq-Remove-tasklet_hrtimer.patch @@ -15,7 +15,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h -@@ -633,31 +633,6 @@ extern void tasklet_kill_immediate(struc +@@ -618,31 +618,6 @@ extern void tasklet_kill_immediate(struc extern void tasklet_init(struct tasklet_struct *t, void (*func)(unsigned long), unsigned long data); @@ -49,7 +49,7 @@ Signed-off-by: Sebastian Andrzej Siewior * --- a/kernel/softirq.c +++ b/kernel/softirq.c -@@ -594,57 +594,6 @@ void tasklet_kill(struct tasklet_struct +@@ -584,57 +584,6 @@ void tasklet_kill(struct tasklet_struct } EXPORT_SYMBOL(tasklet_kill); diff --git a/kernel/patches-4.14.x-rt/0035-0034-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0036-0034-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0035-0034-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0036-0034-ALSA-dummy-Replace-tasklet-with-softirq-hrtimer.patch diff --git a/kernel/patches-4.14.x-rt/0036-0035-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0037-0035-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0036-0035-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0037-0035-usb-gadget-NCM-Replace-tasklet-with-softirq-hrtimer.patch diff --git a/kernel/patches-4.14.x-rt/0037-0036-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch b/kernel/patches-4.14.x-rt/0038-0036-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0037-0036-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch rename to kernel/patches-4.14.x-rt/0038-0036-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch index 644f6c54d..01d9711ce 100644 --- a/kernel/patches-4.14.x-rt/0037-0036-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0038-0036-net-mvpp2-Replace-tasklet-with-softirq-hrtimer.patch @@ -114,7 +114,7 @@ Signed-off-by: Sebastian Andrzej Siewior } } mvpp2_cleanup_rxqs(port); -@@ -7639,13 +7630,10 @@ static int mvpp2_port_probe(struct platf +@@ -7644,13 +7635,10 @@ static int mvpp2_port_probe(struct platf port_pcpu = per_cpu_ptr(port->pcpu, cpu); hrtimer_init(&port_pcpu->tx_done_timer, CLOCK_MONOTONIC, diff --git a/kernel/patches-4.14.x-rt/0038-at91_dont_enable_disable_clock.patch b/kernel/patches-4.14.x-rt/0039-at91_dont_enable_disable_clock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0038-at91_dont_enable_disable_clock.patch rename to kernel/patches-4.14.x-rt/0039-at91_dont_enable_disable_clock.patch diff --git a/kernel/patches-4.14.x-rt/0039-rfc-arm-smp-__cpu_disable-fix-sleeping-function-called-from-invalid-context.patch b/kernel/patches-4.14.x-rt/0040-rfc-arm-smp-__cpu_disable-fix-sleeping-function-called-from-invalid-context.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0039-rfc-arm-smp-__cpu_disable-fix-sleeping-function-called-from-invalid-context.patch rename to kernel/patches-4.14.x-rt/0040-rfc-arm-smp-__cpu_disable-fix-sleeping-function-called-from-invalid-context.patch diff --git a/kernel/patches-4.14.x-rt/0040-rtmutex--Handle-non-enqueued-waiters-gracefully.patch b/kernel/patches-4.14.x-rt/0041-rtmutex--Handle-non-enqueued-waiters-gracefully.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0040-rtmutex--Handle-non-enqueued-waiters-gracefully.patch rename to kernel/patches-4.14.x-rt/0041-rtmutex--Handle-non-enqueued-waiters-gracefully.patch index 4ebc55416..1673b3cfd 100644 --- a/kernel/patches-4.14.x-rt/0040-rtmutex--Handle-non-enqueued-waiters-gracefully.patch +++ b/kernel/patches-4.14.x-rt/0041-rtmutex--Handle-non-enqueued-waiters-gracefully.patch @@ -21,7 +21,7 @@ Cc: stable-rt@vger.kernel.org --- a/kernel/locking/rtmutex.c +++ b/kernel/locking/rtmutex.c -@@ -1728,7 +1728,7 @@ int __rt_mutex_start_proxy_lock(struct r +@@ -1729,7 +1729,7 @@ int __rt_mutex_start_proxy_lock(struct r ret = 0; } diff --git a/kernel/patches-4.14.x-rt/0041-rbtree-include-rcu.h-because-we-use-it.patch b/kernel/patches-4.14.x-rt/0042-rbtree-include-rcu.h-because-we-use-it.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0041-rbtree-include-rcu.h-because-we-use-it.patch rename to kernel/patches-4.14.x-rt/0042-rbtree-include-rcu.h-because-we-use-it.patch diff --git a/kernel/patches-4.14.x-rt/0042-rxrpc-remove-unused-static-variables.patch b/kernel/patches-4.14.x-rt/0043-rxrpc-remove-unused-static-variables.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0042-rxrpc-remove-unused-static-variables.patch rename to kernel/patches-4.14.x-rt/0043-rxrpc-remove-unused-static-variables.patch diff --git a/kernel/patches-4.14.x-rt/0043-mfd-syscon-atmel-smc-include-string.h.patch b/kernel/patches-4.14.x-rt/0044-mfd-syscon-atmel-smc-include-string.h.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0043-mfd-syscon-atmel-smc-include-string.h.patch rename to kernel/patches-4.14.x-rt/0044-mfd-syscon-atmel-smc-include-string.h.patch diff --git a/kernel/patches-4.14.x-rt/0044-sched-swait-include-wait.h.patch b/kernel/patches-4.14.x-rt/0045-sched-swait-include-wait.h.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0044-sched-swait-include-wait.h.patch rename to kernel/patches-4.14.x-rt/0045-sched-swait-include-wait.h.patch diff --git a/kernel/patches-4.14.x-rt/0045-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch b/kernel/patches-4.14.x-rt/0046-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0045-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch rename to kernel/patches-4.14.x-rt/0046-NFSv4-replace-seqcount_t-with-a-seqlock_t.patch diff --git a/kernel/patches-4.14.x-rt/0046-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch b/kernel/patches-4.14.x-rt/0047-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0046-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch rename to kernel/patches-4.14.x-rt/0047-Bluetooth-avoid-recursive-locking-in-hci_send_to_cha.patch diff --git a/kernel/patches-4.14.x-rt/0047-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch b/kernel/patches-4.14.x-rt/0048-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0047-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch rename to kernel/patches-4.14.x-rt/0048-iommu-iova-Use-raw_cpu_ptr-instead-of-get_cpu_ptr-fo.patch diff --git a/kernel/patches-4.14.x-rt/0048-greybus-audio-don-t-inclide-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0049-greybus-audio-don-t-inclide-rwlock.h-directly.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0048-greybus-audio-don-t-inclide-rwlock.h-directly.patch rename to kernel/patches-4.14.x-rt/0049-greybus-audio-don-t-inclide-rwlock.h-directly.patch diff --git a/kernel/patches-4.14.x-rt/0049-xen-9pfs-don-t-inclide-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0050-xen-9pfs-don-t-inclide-rwlock.h-directly.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0049-xen-9pfs-don-t-inclide-rwlock.h-directly.patch rename to kernel/patches-4.14.x-rt/0050-xen-9pfs-don-t-inclide-rwlock.h-directly.patch diff --git a/kernel/patches-4.14.x-rt/0050-tty-goldfish-Enable-earlycon-only-if-built-in.patch b/kernel/patches-4.14.x-rt/0051-tty-goldfish-Enable-earlycon-only-if-built-in.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0050-tty-goldfish-Enable-earlycon-only-if-built-in.patch rename to kernel/patches-4.14.x-rt/0051-tty-goldfish-Enable-earlycon-only-if-built-in.patch diff --git a/kernel/patches-4.14.x-rt/0051-drm-i915-properly-init-lockdep-class.patch b/kernel/patches-4.14.x-rt/0052-drm-i915-properly-init-lockdep-class.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0051-drm-i915-properly-init-lockdep-class.patch rename to kernel/patches-4.14.x-rt/0052-drm-i915-properly-init-lockdep-class.patch diff --git a/kernel/patches-4.14.x-rt/0052-timerqueue-Document-return-values-of-timerqueue_add-.patch b/kernel/patches-4.14.x-rt/0053-timerqueue-Document-return-values-of-timerqueue_add-.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0052-timerqueue-Document-return-values-of-timerqueue_add-.patch rename to kernel/patches-4.14.x-rt/0053-timerqueue-Document-return-values-of-timerqueue_add-.patch diff --git a/kernel/patches-4.14.x-rt/0053-sparc64-use-generic-rwsem-spinlocks-rt.patch b/kernel/patches-4.14.x-rt/0054-sparc64-use-generic-rwsem-spinlocks-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0053-sparc64-use-generic-rwsem-spinlocks-rt.patch rename to kernel/patches-4.14.x-rt/0054-sparc64-use-generic-rwsem-spinlocks-rt.patch diff --git a/kernel/patches-4.14.x-rt/0054-kernel-SRCU-provide-a-static-initializer.patch b/kernel/patches-4.14.x-rt/0055-kernel-SRCU-provide-a-static-initializer.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0054-kernel-SRCU-provide-a-static-initializer.patch rename to kernel/patches-4.14.x-rt/0055-kernel-SRCU-provide-a-static-initializer.patch diff --git a/kernel/patches-4.14.x-rt/0056-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch b/kernel/patches-4.14.x-rt/0056-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch new file mode 100644 index 000000000..27ae736e1 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0056-target-drop-spin_lock_assert-irqs_disabled-combo-che.patch @@ -0,0 +1,60 @@ +From: "bigeasy@linutronix.de" +Date: Fri, 23 Mar 2018 18:17:36 +0100 +Subject: [PATCH] target: drop spin_lock_assert() + irqs_disabled() combo + checks + +There are a few functions which check for if the lock is held +(spin_lock_assert()) and the interrupts are disabled (irqs_disabled()). +>From looking at the code, each function is static, the caller is near by +and does spin_lock_irq|safe(). As Linus puts it: + +|It's not like this is some function that is exported to random users, +|and we should check that the calling convention is right. +| +|This looks like "it may have been useful during coding to document +|things, but it's not useful long-term". + +Remove those checks. + +Reviewed-by: Bart Van Assche +Reported-by: Arnaldo Carvalho de Melo +Suggested-by: Linus Torvalds +Signed-off-by: Sebastian Andrzej Siewior +--- + drivers/target/target_core_tmr.c | 2 -- + drivers/target/target_core_transport.c | 6 ------ + 2 files changed, 8 deletions(-) + +--- a/drivers/target/target_core_tmr.c ++++ b/drivers/target/target_core_tmr.c +@@ -114,8 +114,6 @@ static bool __target_check_io_state(stru + { + struct se_session *sess = se_cmd->se_sess; + +- assert_spin_locked(&sess->sess_cmd_lock); +- WARN_ON_ONCE(!irqs_disabled()); + /* + * If command already reached CMD_T_COMPLETE state within + * target_complete_cmd() or CMD_T_FABRIC_STOP due to shutdown, +--- a/drivers/target/target_core_transport.c ++++ b/drivers/target/target_core_transport.c +@@ -2966,9 +2966,6 @@ static bool + __acquires(&cmd->t_state_lock) + { + +- assert_spin_locked(&cmd->t_state_lock); +- WARN_ON_ONCE(!irqs_disabled()); +- + if (fabric_stop) + cmd->transport_state |= CMD_T_FABRIC_STOP; + +@@ -3238,9 +3235,6 @@ static int __transport_check_aborted_sta + { + int ret; + +- assert_spin_locked(&cmd->t_state_lock); +- WARN_ON_ONCE(!irqs_disabled()); +- + if (!(cmd->transport_state & CMD_T_ABORTED)) + return 0; + /* diff --git a/kernel/patches-4.14.x-rt/0055-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch b/kernel/patches-4.14.x-rt/0057-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0055-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch rename to kernel/patches-4.14.x-rt/0057-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch index 2ddec9c9b..8a8a338c8 100644 --- a/kernel/patches-4.14.x-rt/0055-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch +++ b/kernel/patches-4.14.x-rt/0057-kernel-sched-Provide-a-pointer-to-the-valid-CPU-mask.patch @@ -344,7 +344,7 @@ Signed-off-by: Sebastian Andrzej Siewior * parent) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -959,7 +959,7 @@ static struct rq *__migrate_task(struct +@@ -960,7 +960,7 @@ static struct rq *__migrate_task(struct } /* Affinity changed (again). */ @@ -353,7 +353,7 @@ Signed-off-by: Sebastian Andrzej Siewior return rq; update_rq_clock(rq); -@@ -987,7 +987,7 @@ static int migration_cpu_stop(void *data +@@ -988,7 +988,7 @@ static int migration_cpu_stop(void *data local_irq_disable(); /* * We need to explicitly wake pending tasks before running @@ -362,7 +362,7 @@ Signed-off-by: Sebastian Andrzej Siewior * during wakeups, see set_cpus_allowed_ptr()'s TASK_WAKING test. */ sched_ttwu_pending(); -@@ -1018,7 +1018,7 @@ static int migration_cpu_stop(void *data +@@ -1019,7 +1019,7 @@ static int migration_cpu_stop(void *data */ void set_cpus_allowed_common(struct task_struct *p, const struct cpumask *new_mask) { @@ -371,7 +371,7 @@ Signed-off-by: Sebastian Andrzej Siewior p->nr_cpus_allowed = cpumask_weight(new_mask); } -@@ -1088,7 +1088,7 @@ static int __set_cpus_allowed_ptr(struct +@@ -1089,7 +1089,7 @@ static int __set_cpus_allowed_ptr(struct goto out; } @@ -380,7 +380,7 @@ Signed-off-by: Sebastian Andrzej Siewior goto out; if (!cpumask_intersects(new_mask, cpu_valid_mask)) { -@@ -1249,10 +1249,10 @@ static int migrate_swap_stop(void *data) +@@ -1250,10 +1250,10 @@ static int migrate_swap_stop(void *data) if (task_cpu(arg->src_task) != arg->src_cpu) goto unlock; @@ -393,7 +393,7 @@ Signed-off-by: Sebastian Andrzej Siewior goto unlock; __migrate_swap_task(arg->src_task, arg->dst_cpu); -@@ -1293,10 +1293,10 @@ int migrate_swap(struct task_struct *cur +@@ -1294,10 +1294,10 @@ int migrate_swap(struct task_struct *cur if (!cpu_active(arg.src_cpu) || !cpu_active(arg.dst_cpu)) goto out; @@ -406,7 +406,7 @@ Signed-off-by: Sebastian Andrzej Siewior goto out; trace_sched_swap_numa(cur, arg.src_cpu, p, arg.dst_cpu); -@@ -1440,7 +1440,7 @@ void kick_process(struct task_struct *p) +@@ -1441,7 +1441,7 @@ void kick_process(struct task_struct *p) EXPORT_SYMBOL_GPL(kick_process); /* @@ -415,7 +415,7 @@ Signed-off-by: Sebastian Andrzej Siewior * * A few notes on cpu_active vs cpu_online: * -@@ -1480,14 +1480,14 @@ static int select_fallback_rq(int cpu, s +@@ -1481,14 +1481,14 @@ static int select_fallback_rq(int cpu, s for_each_cpu(dest_cpu, nodemask) { if (!cpu_active(dest_cpu)) continue; @@ -432,7 +432,7 @@ Signed-off-by: Sebastian Andrzej Siewior if (!(p->flags & PF_KTHREAD) && !cpu_active(dest_cpu)) continue; if (!cpu_online(dest_cpu)) -@@ -1532,7 +1532,7 @@ static int select_fallback_rq(int cpu, s +@@ -1533,7 +1533,7 @@ static int select_fallback_rq(int cpu, s } /* @@ -441,7 +441,7 @@ Signed-off-by: Sebastian Andrzej Siewior */ static inline int select_task_rq(struct task_struct *p, int cpu, int sd_flags, int wake_flags) -@@ -1542,11 +1542,11 @@ int select_task_rq(struct task_struct *p +@@ -1543,11 +1543,11 @@ int select_task_rq(struct task_struct *p if (p->nr_cpus_allowed > 1) cpu = p->sched_class->select_task_rq(p, cpu, sd_flags, wake_flags); else @@ -455,7 +455,7 @@ Signed-off-by: Sebastian Andrzej Siewior * CPU. * * Since this is common to all placement strategies, this lives here. -@@ -1554,7 +1554,7 @@ int select_task_rq(struct task_struct *p +@@ -1555,7 +1555,7 @@ int select_task_rq(struct task_struct *p * [ this allows ->select_task() to simply return task_cpu(p) and * not worry about this generic constraint ] */ @@ -464,7 +464,7 @@ Signed-off-by: Sebastian Andrzej Siewior !cpu_online(cpu))) cpu = select_fallback_rq(task_cpu(p), p); -@@ -2444,7 +2444,7 @@ void wake_up_new_task(struct task_struct +@@ -2445,7 +2445,7 @@ void wake_up_new_task(struct task_struct #ifdef CONFIG_SMP /* * Fork balancing, do it here and not earlier because: @@ -473,7 +473,7 @@ Signed-off-by: Sebastian Andrzej Siewior * - any previously selected CPU might disappear through hotplug * * Use __set_task_cpu() to avoid calling sched_class::migrate_task_rq, -@@ -4161,7 +4161,7 @@ static int __sched_setscheduler(struct t +@@ -4162,7 +4162,7 @@ static int __sched_setscheduler(struct t * the entire root_domain to become SCHED_DEADLINE. We * will also fail if there's no bandwidth available. */ @@ -482,7 +482,7 @@ Signed-off-by: Sebastian Andrzej Siewior rq->rd->dl_bw.bw == 0) { task_rq_unlock(rq, p, &rf); return -EPERM; -@@ -4755,7 +4755,7 @@ long sched_getaffinity(pid_t pid, struct +@@ -4756,7 +4756,7 @@ long sched_getaffinity(pid_t pid, struct goto out_unlock; raw_spin_lock_irqsave(&p->pi_lock, flags); @@ -491,7 +491,7 @@ Signed-off-by: Sebastian Andrzej Siewior raw_spin_unlock_irqrestore(&p->pi_lock, flags); out_unlock: -@@ -5320,7 +5320,7 @@ int task_can_attach(struct task_struct * +@@ -5321,7 +5321,7 @@ int task_can_attach(struct task_struct * * 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 @@ -500,7 +500,7 @@ Signed-off-by: Sebastian Andrzej Siewior */ if (p->flags & PF_NO_SETAFFINITY) { ret = -EINVAL; -@@ -5347,7 +5347,7 @@ int migrate_task_to(struct task_struct * +@@ -5348,7 +5348,7 @@ int migrate_task_to(struct task_struct * if (curr_cpu == target_cpu) return 0; @@ -509,7 +509,7 @@ Signed-off-by: Sebastian Andrzej Siewior return -EINVAL; /* TODO: This is not properly updating schedstats */ -@@ -5484,7 +5484,7 @@ static void migrate_tasks(struct rq *dea +@@ -5485,7 +5485,7 @@ static void migrate_tasks(struct rq *dea put_prev_task(rq, next); /* diff --git a/kernel/patches-4.14.x-rt/0056-add_migrate_disable.patch b/kernel/patches-4.14.x-rt/0058-add_migrate_disable.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0056-add_migrate_disable.patch rename to kernel/patches-4.14.x-rt/0058-add_migrate_disable.patch index 0b915a8ce..d6b48f1fa 100644 --- a/kernel/patches-4.14.x-rt/0056-add_migrate_disable.patch +++ b/kernel/patches-4.14.x-rt/0058-add_migrate_disable.patch @@ -79,7 +79,7 @@ Subject: kernel/sched/core: add migrate_disable() * boot command line: --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -1022,7 +1022,15 @@ void set_cpus_allowed_common(struct task +@@ -1023,7 +1023,15 @@ void set_cpus_allowed_common(struct task p->nr_cpus_allowed = cpumask_weight(new_mask); } @@ -96,7 +96,7 @@ Subject: kernel/sched/core: add migrate_disable() { struct rq *rq = task_rq(p); bool queued, running; -@@ -1051,6 +1059,20 @@ void do_set_cpus_allowed(struct task_str +@@ -1052,6 +1060,20 @@ void do_set_cpus_allowed(struct task_str set_curr_task(rq, p); } @@ -117,7 +117,7 @@ Subject: kernel/sched/core: add migrate_disable() /* * Change a given task's CPU affinity. Migrate the thread to a * proper CPU and schedule it away if the CPU it's executing on -@@ -1109,9 +1131,16 @@ static int __set_cpus_allowed_ptr(struct +@@ -1110,9 +1132,16 @@ static int __set_cpus_allowed_ptr(struct } /* Can the task run on the task's current CPU? If so, we're done */ @@ -135,7 +135,7 @@ Subject: kernel/sched/core: add migrate_disable() 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 }; -@@ -6759,3 +6788,100 @@ const u32 sched_prio_to_wmult[40] = { +@@ -6760,3 +6789,100 @@ const u32 sched_prio_to_wmult[40] = { /* 10 */ 39045157, 49367440, 61356676, 76695844, 95443717, /* 15 */ 119304647, 148102320, 186737708, 238609294, 286331153, }; diff --git a/kernel/patches-4.14.x-rt/0057-0001-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch b/kernel/patches-4.14.x-rt/0059-0001-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0057-0001-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch rename to kernel/patches-4.14.x-rt/0059-0001-tracing-Reverse-the-order-of-trace_types_lock-and-ev.patch diff --git a/kernel/patches-4.14.x-rt/0058-0002-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch b/kernel/patches-4.14.x-rt/0060-0002-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0058-0002-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch rename to kernel/patches-4.14.x-rt/0060-0002-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch index 1c3f8a39c..d94896307 100644 --- a/kernel/patches-4.14.x-rt/0058-0002-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch +++ b/kernel/patches-4.14.x-rt/0060-0002-ring-buffer-Rewrite-trace_recursive_-un-lock-to-be-s.patch @@ -28,7 +28,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c -@@ -2542,61 +2542,29 @@ rb_wakeups(struct ring_buffer *buffer, s +@@ -2540,61 +2540,29 @@ rb_wakeups(struct ring_buffer *buffer, s * The lock and unlock are done within a preempt disable section. * The current_context per_cpu variable can only be modified * by the current task between lock and unlock. But it can @@ -105,7 +105,7 @@ Signed-off-by: Sebastian Andrzej Siewior return 0; } -@@ -2604,7 +2572,9 @@ trace_recursive_lock(struct ring_buffer_ +@@ -2602,7 +2570,9 @@ trace_recursive_lock(struct ring_buffer_ static __always_inline void trace_recursive_unlock(struct ring_buffer_per_cpu *cpu_buffer) { diff --git a/kernel/patches-4.14.x-rt/0059-0003-tracing-Remove-lookups-from-tracing_map-hitcount.patch b/kernel/patches-4.14.x-rt/0061-0003-tracing-Remove-lookups-from-tracing_map-hitcount.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0059-0003-tracing-Remove-lookups-from-tracing_map-hitcount.patch rename to kernel/patches-4.14.x-rt/0061-0003-tracing-Remove-lookups-from-tracing_map-hitcount.patch diff --git a/kernel/patches-4.14.x-rt/0060-0004-tracing-Increase-tracing-map-KEYS_MAX-size.patch b/kernel/patches-4.14.x-rt/0062-0004-tracing-Increase-tracing-map-KEYS_MAX-size.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0060-0004-tracing-Increase-tracing-map-KEYS_MAX-size.patch rename to kernel/patches-4.14.x-rt/0062-0004-tracing-Increase-tracing-map-KEYS_MAX-size.patch diff --git a/kernel/patches-4.14.x-rt/0061-0005-tracing-Make-traceprobe-parsing-code-reusable.patch b/kernel/patches-4.14.x-rt/0063-0005-tracing-Make-traceprobe-parsing-code-reusable.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0061-0005-tracing-Make-traceprobe-parsing-code-reusable.patch rename to kernel/patches-4.14.x-rt/0063-0005-tracing-Make-traceprobe-parsing-code-reusable.patch diff --git a/kernel/patches-4.14.x-rt/0062-0006-tracing-Clean-up-hist_field_flags-enum.patch b/kernel/patches-4.14.x-rt/0064-0006-tracing-Clean-up-hist_field_flags-enum.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0062-0006-tracing-Clean-up-hist_field_flags-enum.patch rename to kernel/patches-4.14.x-rt/0064-0006-tracing-Clean-up-hist_field_flags-enum.patch diff --git a/kernel/patches-4.14.x-rt/0063-0007-tracing-Add-hist_field_name-accessor.patch b/kernel/patches-4.14.x-rt/0065-0007-tracing-Add-hist_field_name-accessor.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0063-0007-tracing-Add-hist_field_name-accessor.patch rename to kernel/patches-4.14.x-rt/0065-0007-tracing-Add-hist_field_name-accessor.patch diff --git a/kernel/patches-4.14.x-rt/0064-0008-tracing-Reimplement-log2.patch b/kernel/patches-4.14.x-rt/0066-0008-tracing-Reimplement-log2.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0064-0008-tracing-Reimplement-log2.patch rename to kernel/patches-4.14.x-rt/0066-0008-tracing-Reimplement-log2.patch diff --git a/kernel/patches-4.14.x-rt/0065-0009-tracing-Move-hist-trigger-Documentation-to-histogram.patch b/kernel/patches-4.14.x-rt/0067-0009-tracing-Move-hist-trigger-Documentation-to-histogram.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0065-0009-tracing-Move-hist-trigger-Documentation-to-histogram.patch rename to kernel/patches-4.14.x-rt/0067-0009-tracing-Move-hist-trigger-Documentation-to-histogram.patch diff --git a/kernel/patches-4.14.x-rt/0066-0010-tracing-Add-Documentation-for-log2-modifier.patch b/kernel/patches-4.14.x-rt/0068-0010-tracing-Add-Documentation-for-log2-modifier.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0066-0010-tracing-Add-Documentation-for-log2-modifier.patch rename to kernel/patches-4.14.x-rt/0068-0010-tracing-Add-Documentation-for-log2-modifier.patch diff --git a/kernel/patches-4.14.x-rt/0067-0011-tracing-Add-support-to-detect-and-avoid-duplicates.patch b/kernel/patches-4.14.x-rt/0069-0011-tracing-Add-support-to-detect-and-avoid-duplicates.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0067-0011-tracing-Add-support-to-detect-and-avoid-duplicates.patch rename to kernel/patches-4.14.x-rt/0069-0011-tracing-Add-support-to-detect-and-avoid-duplicates.patch diff --git a/kernel/patches-4.14.x-rt/0068-0012-tracing-Remove-code-which-merges-duplicates.patch b/kernel/patches-4.14.x-rt/0070-0012-tracing-Remove-code-which-merges-duplicates.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0068-0012-tracing-Remove-code-which-merges-duplicates.patch rename to kernel/patches-4.14.x-rt/0070-0012-tracing-Remove-code-which-merges-duplicates.patch diff --git a/kernel/patches-4.14.x-rt/0069-0013-ring-buffer-Add-interface-for-setting-absolute-time-.patch b/kernel/patches-4.14.x-rt/0071-0013-ring-buffer-Add-interface-for-setting-absolute-time-.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0069-0013-ring-buffer-Add-interface-for-setting-absolute-time-.patch rename to kernel/patches-4.14.x-rt/0071-0013-ring-buffer-Add-interface-for-setting-absolute-time-.patch index 01e87511a..33c176bc8 100644 --- a/kernel/patches-4.14.x-rt/0069-0013-ring-buffer-Add-interface-for-setting-absolute-time-.patch +++ b/kernel/patches-4.14.x-rt/0071-0013-ring-buffer-Add-interface-for-setting-absolute-time-.patch @@ -26,7 +26,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/include/linux/ring_buffer.h +++ b/include/linux/ring_buffer.h -@@ -181,6 +181,8 @@ void ring_buffer_normalize_time_stamp(st +@@ -178,6 +178,8 @@ void ring_buffer_normalize_time_stamp(st int cpu, u64 *ts); void ring_buffer_set_clock(struct ring_buffer *buffer, u64 (*clock)(void)); @@ -37,7 +37,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c -@@ -489,6 +489,7 @@ struct ring_buffer { +@@ -488,6 +488,7 @@ struct ring_buffer { u64 (*clock)(void); struct rb_irq_work irq_work; @@ -45,7 +45,7 @@ Signed-off-by: Sebastian Andrzej Siewior }; struct ring_buffer_iter { -@@ -1383,6 +1384,16 @@ void ring_buffer_set_clock(struct ring_b +@@ -1382,6 +1383,16 @@ void ring_buffer_set_clock(struct ring_b buffer->clock = clock; } diff --git a/kernel/patches-4.14.x-rt/0070-0014-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch b/kernel/patches-4.14.x-rt/0072-0014-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0070-0014-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch rename to kernel/patches-4.14.x-rt/0072-0014-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch index d934b018e..35ffbb369 100644 --- a/kernel/patches-4.14.x-rt/0070-0014-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch +++ b/kernel/patches-4.14.x-rt/0072-0014-ring-buffer-Redefine-the-unimplemented-RINGBUF_TYPE_.patch @@ -33,7 +33,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/include/linux/ring_buffer.h +++ b/include/linux/ring_buffer.h -@@ -37,10 +37,12 @@ struct ring_buffer_event { +@@ -34,10 +34,12 @@ struct ring_buffer_event { * array[0] = time delta (28 .. 59) * size = 8 bytes * @@ -50,7 +50,7 @@ Signed-off-by: Sebastian Andrzej Siewior * * <= @RINGBUF_TYPE_DATA_TYPE_LEN_MAX: * Data record -@@ -57,12 +59,12 @@ enum ring_buffer_type { +@@ -54,12 +56,12 @@ enum ring_buffer_type { RINGBUF_TYPE_DATA_TYPE_LEN_MAX = 28, RINGBUF_TYPE_PADDING, RINGBUF_TYPE_TIME_EXTEND, @@ -66,7 +66,7 @@ Signed-off-by: Sebastian Andrzej Siewior * ring_buffer_discard_commit will remove an event that has not --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c -@@ -42,6 +42,8 @@ int ring_buffer_print_entry_header(struc +@@ -41,6 +41,8 @@ int ring_buffer_print_entry_header(struc RINGBUF_TYPE_PADDING); trace_seq_printf(s, "\ttime_extend : type == %d\n", RINGBUF_TYPE_TIME_EXTEND); @@ -75,7 +75,7 @@ Signed-off-by: Sebastian Andrzej Siewior trace_seq_printf(s, "\tdata max type_len == %d\n", RINGBUF_TYPE_DATA_TYPE_LEN_MAX); -@@ -141,12 +143,15 @@ int ring_buffer_print_entry_header(struc +@@ -140,12 +142,15 @@ int ring_buffer_print_entry_header(struc enum { RB_LEN_TIME_EXTEND = 8, @@ -92,7 +92,7 @@ Signed-off-by: Sebastian Andrzej Siewior static inline int rb_null_event(struct ring_buffer_event *event) { return event->type_len == RINGBUF_TYPE_PADDING && !event->time_delta; -@@ -210,7 +215,7 @@ rb_event_ts_length(struct ring_buffer_ev +@@ -209,7 +214,7 @@ rb_event_ts_length(struct ring_buffer_ev { unsigned len = 0; @@ -101,7 +101,7 @@ Signed-off-by: Sebastian Andrzej Siewior /* time extends include the data event after it */ len = RB_LEN_TIME_EXTEND; event = skip_time_extend(event); -@@ -232,7 +237,7 @@ unsigned ring_buffer_event_length(struct +@@ -231,7 +236,7 @@ unsigned ring_buffer_event_length(struct { unsigned length; @@ -110,7 +110,7 @@ Signed-off-by: Sebastian Andrzej Siewior event = skip_time_extend(event); length = rb_event_length(event); -@@ -249,7 +254,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_event_leng +@@ -248,7 +253,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_event_leng static __always_inline void * rb_event_data(struct ring_buffer_event *event) { @@ -119,7 +119,7 @@ Signed-off-by: Sebastian Andrzej Siewior event = skip_time_extend(event); BUG_ON(event->type_len > RINGBUF_TYPE_DATA_TYPE_LEN_MAX); /* If length is in len field, then array[0] has the data */ -@@ -276,6 +281,27 @@ EXPORT_SYMBOL_GPL(ring_buffer_event_data +@@ -275,6 +280,27 @@ EXPORT_SYMBOL_GPL(ring_buffer_event_data #define TS_MASK ((1ULL << TS_SHIFT) - 1) #define TS_DELTA_TEST (~TS_MASK) @@ -147,7 +147,7 @@ Signed-off-by: Sebastian Andrzej Siewior /* Flag when events were overwritten */ #define RB_MISSED_EVENTS (1 << 31) /* Missed count stored at end */ -@@ -2225,12 +2251,15 @@ rb_move_tail(struct ring_buffer_per_cpu +@@ -2223,12 +2249,15 @@ rb_move_tail(struct ring_buffer_per_cpu /* Slow path, do not inline */ static noinline struct ring_buffer_event * @@ -167,7 +167,7 @@ Signed-off-by: Sebastian Andrzej Siewior event->time_delta = delta & TS_MASK; event->array[0] = delta >> TS_SHIFT; } else { -@@ -2273,7 +2302,9 @@ rb_update_event(struct ring_buffer_per_c +@@ -2271,7 +2300,9 @@ rb_update_event(struct ring_buffer_per_c * add it to the start of the resevered space. */ if (unlikely(info->add_timestamp)) { @@ -178,7 +178,7 @@ Signed-off-by: Sebastian Andrzej Siewior length -= RB_LEN_TIME_EXTEND; delta = 0; } -@@ -2461,7 +2492,7 @@ static __always_inline void rb_end_commi +@@ -2459,7 +2490,7 @@ static __always_inline void rb_end_commi static inline void rb_event_discard(struct ring_buffer_event *event) { @@ -187,7 +187,7 @@ Signed-off-by: Sebastian Andrzej Siewior event = skip_time_extend(event); /* array[0] holds the actual length for the discarded event */ -@@ -2505,10 +2536,11 @@ rb_update_write_stamp(struct ring_buffer +@@ -2503,10 +2534,11 @@ rb_update_write_stamp(struct ring_buffer cpu_buffer->write_stamp = cpu_buffer->commit_page->page->time_stamp; else if (event->type_len == RINGBUF_TYPE_TIME_EXTEND) { @@ -202,7 +202,7 @@ Signed-off-by: Sebastian Andrzej Siewior } else cpu_buffer->write_stamp += event->time_delta; } -@@ -2661,7 +2693,7 @@ static struct ring_buffer_event * +@@ -2659,7 +2691,7 @@ static struct ring_buffer_event * * If this is the first commit on the page, then it has the same * timestamp as the page itself. */ @@ -211,7 +211,7 @@ Signed-off-by: Sebastian Andrzej Siewior info->delta = 0; /* See if we shot pass the end of this buffer page */ -@@ -2739,8 +2771,11 @@ rb_reserve_next_event(struct ring_buffer +@@ -2736,8 +2768,11 @@ rb_reserve_next_event(struct ring_buffer /* make sure this diff is calculated here */ barrier(); @@ -225,7 +225,7 @@ Signed-off-by: Sebastian Andrzej Siewior info.delta = diff; if (unlikely(test_time_stamp(info.delta))) rb_handle_timestamp(cpu_buffer, &info); -@@ -3422,14 +3457,13 @@ rb_update_read_stamp(struct ring_buffer_ +@@ -3419,14 +3454,13 @@ rb_update_read_stamp(struct ring_buffer_ return; case RINGBUF_TYPE_TIME_EXTEND: @@ -243,7 +243,7 @@ Signed-off-by: Sebastian Andrzej Siewior return; case RINGBUF_TYPE_DATA: -@@ -3453,14 +3487,13 @@ rb_update_iter_read_stamp(struct ring_bu +@@ -3450,14 +3484,13 @@ rb_update_iter_read_stamp(struct ring_bu return; case RINGBUF_TYPE_TIME_EXTEND: @@ -261,7 +261,7 @@ Signed-off-by: Sebastian Andrzej Siewior return; case RINGBUF_TYPE_DATA: -@@ -3684,6 +3717,8 @@ rb_buffer_peek(struct ring_buffer_per_cp +@@ -3681,6 +3714,8 @@ rb_buffer_peek(struct ring_buffer_per_cp struct buffer_page *reader; int nr_loops = 0; @@ -270,7 +270,7 @@ Signed-off-by: Sebastian Andrzej Siewior again: /* * We repeat when a time extend is encountered. -@@ -3720,12 +3755,17 @@ rb_buffer_peek(struct ring_buffer_per_cp +@@ -3717,12 +3752,17 @@ rb_buffer_peek(struct ring_buffer_per_cp goto again; case RINGBUF_TYPE_TIME_STAMP: @@ -290,7 +290,7 @@ Signed-off-by: Sebastian Andrzej Siewior *ts = cpu_buffer->read_stamp + event->time_delta; ring_buffer_normalize_time_stamp(cpu_buffer->buffer, cpu_buffer->cpu, ts); -@@ -3750,6 +3790,9 @@ rb_iter_peek(struct ring_buffer_iter *it +@@ -3747,6 +3787,9 @@ rb_iter_peek(struct ring_buffer_iter *it struct ring_buffer_event *event; int nr_loops = 0; @@ -300,7 +300,7 @@ Signed-off-by: Sebastian Andrzej Siewior cpu_buffer = iter->cpu_buffer; buffer = cpu_buffer->buffer; -@@ -3802,12 +3845,17 @@ rb_iter_peek(struct ring_buffer_iter *it +@@ -3799,12 +3842,17 @@ rb_iter_peek(struct ring_buffer_iter *it goto again; case RINGBUF_TYPE_TIME_STAMP: diff --git a/kernel/patches-4.14.x-rt/0071-0015-tracing-Add-timestamp_mode-trace-file.patch b/kernel/patches-4.14.x-rt/0073-0015-tracing-Add-timestamp_mode-trace-file.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0071-0015-tracing-Add-timestamp_mode-trace-file.patch rename to kernel/patches-4.14.x-rt/0073-0015-tracing-Add-timestamp_mode-trace-file.patch diff --git a/kernel/patches-4.14.x-rt/0072-0016-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch b/kernel/patches-4.14.x-rt/0074-0016-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0072-0016-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch rename to kernel/patches-4.14.x-rt/0074-0016-tracing-Give-event-triggers-access-to-ring_buffer_ev.patch diff --git a/kernel/patches-4.14.x-rt/0073-0017-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch b/kernel/patches-4.14.x-rt/0075-0017-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0073-0017-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch rename to kernel/patches-4.14.x-rt/0075-0017-tracing-Add-ring-buffer-event-param-to-hist-field-fu.patch diff --git a/kernel/patches-4.14.x-rt/0074-0018-tracing-Break-out-hist-trigger-assignment-parsing.patch b/kernel/patches-4.14.x-rt/0076-0018-tracing-Break-out-hist-trigger-assignment-parsing.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0074-0018-tracing-Break-out-hist-trigger-assignment-parsing.patch rename to kernel/patches-4.14.x-rt/0076-0018-tracing-Break-out-hist-trigger-assignment-parsing.patch diff --git a/kernel/patches-4.14.x-rt/0075-0019-tracing-Add-hist-trigger-timestamp-support.patch b/kernel/patches-4.14.x-rt/0077-0019-tracing-Add-hist-trigger-timestamp-support.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0075-0019-tracing-Add-hist-trigger-timestamp-support.patch rename to kernel/patches-4.14.x-rt/0077-0019-tracing-Add-hist-trigger-timestamp-support.patch diff --git a/kernel/patches-4.14.x-rt/0076-0020-tracing-Add-per-element-variable-support-to-tracing_.patch b/kernel/patches-4.14.x-rt/0078-0020-tracing-Add-per-element-variable-support-to-tracing_.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0076-0020-tracing-Add-per-element-variable-support-to-tracing_.patch rename to kernel/patches-4.14.x-rt/0078-0020-tracing-Add-per-element-variable-support-to-tracing_.patch diff --git a/kernel/patches-4.14.x-rt/0077-0021-tracing-Add-hist_data-member-to-hist_field.patch b/kernel/patches-4.14.x-rt/0079-0021-tracing-Add-hist_data-member-to-hist_field.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0077-0021-tracing-Add-hist_data-member-to-hist_field.patch rename to kernel/patches-4.14.x-rt/0079-0021-tracing-Add-hist_data-member-to-hist_field.patch diff --git a/kernel/patches-4.14.x-rt/0078-0022-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch b/kernel/patches-4.14.x-rt/0080-0022-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0078-0022-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch rename to kernel/patches-4.14.x-rt/0080-0022-tracing-Add-usecs-modifier-for-hist-trigger-timestam.patch diff --git a/kernel/patches-4.14.x-rt/0079-0023-tracing-Add-variable-support-to-hist-triggers.patch b/kernel/patches-4.14.x-rt/0081-0023-tracing-Add-variable-support-to-hist-triggers.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0079-0023-tracing-Add-variable-support-to-hist-triggers.patch rename to kernel/patches-4.14.x-rt/0081-0023-tracing-Add-variable-support-to-hist-triggers.patch diff --git a/kernel/patches-4.14.x-rt/0080-0024-tracing-Account-for-variables-in-named-trigger-compa.patch b/kernel/patches-4.14.x-rt/0082-0024-tracing-Account-for-variables-in-named-trigger-compa.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0080-0024-tracing-Account-for-variables-in-named-trigger-compa.patch rename to kernel/patches-4.14.x-rt/0082-0024-tracing-Account-for-variables-in-named-trigger-compa.patch diff --git a/kernel/patches-4.14.x-rt/0081-0025-tracing-Move-get_hist_field_flags.patch b/kernel/patches-4.14.x-rt/0083-0025-tracing-Move-get_hist_field_flags.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0081-0025-tracing-Move-get_hist_field_flags.patch rename to kernel/patches-4.14.x-rt/0083-0025-tracing-Move-get_hist_field_flags.patch diff --git a/kernel/patches-4.14.x-rt/0082-0026-tracing-Add-simple-expression-support-to-hist-trigge.patch b/kernel/patches-4.14.x-rt/0084-0026-tracing-Add-simple-expression-support-to-hist-trigge.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0082-0026-tracing-Add-simple-expression-support-to-hist-trigge.patch rename to kernel/patches-4.14.x-rt/0084-0026-tracing-Add-simple-expression-support-to-hist-trigge.patch diff --git a/kernel/patches-4.14.x-rt/0083-0027-tracing-Generalize-per-element-hist-trigger-data.patch b/kernel/patches-4.14.x-rt/0085-0027-tracing-Generalize-per-element-hist-trigger-data.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0083-0027-tracing-Generalize-per-element-hist-trigger-data.patch rename to kernel/patches-4.14.x-rt/0085-0027-tracing-Generalize-per-element-hist-trigger-data.patch diff --git a/kernel/patches-4.14.x-rt/0084-0028-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch b/kernel/patches-4.14.x-rt/0086-0028-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0084-0028-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch rename to kernel/patches-4.14.x-rt/0086-0028-tracing-Pass-tracing_map_elt-to-hist_field-accessor-.patch diff --git a/kernel/patches-4.14.x-rt/0085-0029-tracing-Add-hist_field-type-field.patch b/kernel/patches-4.14.x-rt/0087-0029-tracing-Add-hist_field-type-field.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0085-0029-tracing-Add-hist_field-type-field.patch rename to kernel/patches-4.14.x-rt/0087-0029-tracing-Add-hist_field-type-field.patch diff --git a/kernel/patches-4.14.x-rt/0086-0030-tracing-Add-variable-reference-handling-to-hist-trig.patch b/kernel/patches-4.14.x-rt/0088-0030-tracing-Add-variable-reference-handling-to-hist-trig.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0086-0030-tracing-Add-variable-reference-handling-to-hist-trig.patch rename to kernel/patches-4.14.x-rt/0088-0030-tracing-Add-variable-reference-handling-to-hist-trig.patch diff --git a/kernel/patches-4.14.x-rt/0087-0031-tracing-Add-hist-trigger-action-hook.patch b/kernel/patches-4.14.x-rt/0089-0031-tracing-Add-hist-trigger-action-hook.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0087-0031-tracing-Add-hist-trigger-action-hook.patch rename to kernel/patches-4.14.x-rt/0089-0031-tracing-Add-hist-trigger-action-hook.patch diff --git a/kernel/patches-4.14.x-rt/0088-0032-tracing-Add-support-for-synthetic-events.patch b/kernel/patches-4.14.x-rt/0090-0032-tracing-Add-support-for-synthetic-events.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0088-0032-tracing-Add-support-for-synthetic-events.patch rename to kernel/patches-4.14.x-rt/0090-0032-tracing-Add-support-for-synthetic-events.patch diff --git a/kernel/patches-4.14.x-rt/0089-0033-tracing-Add-support-for-field-variables.patch b/kernel/patches-4.14.x-rt/0091-0033-tracing-Add-support-for-field-variables.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0089-0033-tracing-Add-support-for-field-variables.patch rename to kernel/patches-4.14.x-rt/0091-0033-tracing-Add-support-for-field-variables.patch diff --git a/kernel/patches-4.14.x-rt/0090-0034-tracing-Add-onmatch-hist-trigger-action-support.patch b/kernel/patches-4.14.x-rt/0092-0034-tracing-Add-onmatch-hist-trigger-action-support.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0090-0034-tracing-Add-onmatch-hist-trigger-action-support.patch rename to kernel/patches-4.14.x-rt/0092-0034-tracing-Add-onmatch-hist-trigger-action-support.patch diff --git a/kernel/patches-4.14.x-rt/0091-0035-tracing-Add-onmax-hist-trigger-action-support.patch b/kernel/patches-4.14.x-rt/0093-0035-tracing-Add-onmax-hist-trigger-action-support.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0091-0035-tracing-Add-onmax-hist-trigger-action-support.patch rename to kernel/patches-4.14.x-rt/0093-0035-tracing-Add-onmax-hist-trigger-action-support.patch diff --git a/kernel/patches-4.14.x-rt/0092-0036-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch b/kernel/patches-4.14.x-rt/0094-0036-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0092-0036-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch rename to kernel/patches-4.14.x-rt/0094-0036-tracing-Allow-whitespace-to-surround-hist-trigger-fi.patch diff --git a/kernel/patches-4.14.x-rt/0093-0037-tracing-Add-cpu-field-for-hist-triggers.patch b/kernel/patches-4.14.x-rt/0095-0037-tracing-Add-cpu-field-for-hist-triggers.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0093-0037-tracing-Add-cpu-field-for-hist-triggers.patch rename to kernel/patches-4.14.x-rt/0095-0037-tracing-Add-cpu-field-for-hist-triggers.patch diff --git a/kernel/patches-4.14.x-rt/0094-0038-tracing-Add-hist-trigger-support-for-variable-refere.patch b/kernel/patches-4.14.x-rt/0096-0038-tracing-Add-hist-trigger-support-for-variable-refere.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0094-0038-tracing-Add-hist-trigger-support-for-variable-refere.patch rename to kernel/patches-4.14.x-rt/0096-0038-tracing-Add-hist-trigger-support-for-variable-refere.patch diff --git a/kernel/patches-4.14.x-rt/0095-0039-tracing-Add-last-error-error-facility-for-hist-trigg.patch b/kernel/patches-4.14.x-rt/0097-0039-tracing-Add-last-error-error-facility-for-hist-trigg.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0095-0039-tracing-Add-last-error-error-facility-for-hist-trigg.patch rename to kernel/patches-4.14.x-rt/0097-0039-tracing-Add-last-error-error-facility-for-hist-trigg.patch diff --git a/kernel/patches-4.14.x-rt/0096-0040-tracing-Add-inter-event-hist-trigger-Documentation.patch b/kernel/patches-4.14.x-rt/0098-0040-tracing-Add-inter-event-hist-trigger-Documentation.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0096-0040-tracing-Add-inter-event-hist-trigger-Documentation.patch rename to kernel/patches-4.14.x-rt/0098-0040-tracing-Add-inter-event-hist-trigger-Documentation.patch diff --git a/kernel/patches-4.14.x-rt/0097-0041-tracing-Make-tracing_set_clock-non-static.patch b/kernel/patches-4.14.x-rt/0099-0041-tracing-Make-tracing_set_clock-non-static.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0097-0041-tracing-Make-tracing_set_clock-non-static.patch rename to kernel/patches-4.14.x-rt/0099-0041-tracing-Make-tracing_set_clock-non-static.patch diff --git a/kernel/patches-4.14.x-rt/0098-0042-tracing-Add-a-clock-attribute-for-hist-triggers.patch b/kernel/patches-4.14.x-rt/0100-0042-tracing-Add-a-clock-attribute-for-hist-triggers.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0098-0042-tracing-Add-a-clock-attribute-for-hist-triggers.patch rename to kernel/patches-4.14.x-rt/0100-0042-tracing-Add-a-clock-attribute-for-hist-triggers.patch diff --git a/kernel/patches-4.14.x-rt/0099-0043-ring-buffer-Bring-back-context-level-recursive-check.patch b/kernel/patches-4.14.x-rt/0101-0043-ring-buffer-Bring-back-context-level-recursive-check.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0099-0043-ring-buffer-Bring-back-context-level-recursive-check.patch rename to kernel/patches-4.14.x-rt/0101-0043-ring-buffer-Bring-back-context-level-recursive-check.patch index bceb5eef4..c6313fc9f 100644 --- a/kernel/patches-4.14.x-rt/0099-0043-ring-buffer-Bring-back-context-level-recursive-check.patch +++ b/kernel/patches-4.14.x-rt/0101-0043-ring-buffer-Bring-back-context-level-recursive-check.patch @@ -39,7 +39,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c -@@ -2585,29 +2585,59 @@ rb_wakeups(struct ring_buffer *buffer, s +@@ -2583,29 +2583,59 @@ rb_wakeups(struct ring_buffer *buffer, s * The lock and unlock are done within a preempt disable section. * The current_context per_cpu variable can only be modified * by the current task between lock and unlock. But it can @@ -114,7 +114,7 @@ Signed-off-by: Sebastian Andrzej Siewior return 0; } -@@ -2615,9 +2645,7 @@ trace_recursive_lock(struct ring_buffer_ +@@ -2613,9 +2643,7 @@ trace_recursive_lock(struct ring_buffer_ static __always_inline void trace_recursive_unlock(struct ring_buffer_per_cpu *cpu_buffer) { diff --git a/kernel/patches-4.14.x-rt/0100-0044-ring-buffer-Fix-duplicate-results-in-mapping-context.patch b/kernel/patches-4.14.x-rt/0102-0044-ring-buffer-Fix-duplicate-results-in-mapping-context.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0100-0044-ring-buffer-Fix-duplicate-results-in-mapping-context.patch rename to kernel/patches-4.14.x-rt/0102-0044-ring-buffer-Fix-duplicate-results-in-mapping-context.patch index c9ee7e0e8..dd6beb4cc 100644 --- a/kernel/patches-4.14.x-rt/0100-0044-ring-buffer-Fix-duplicate-results-in-mapping-context.patch +++ b/kernel/patches-4.14.x-rt/0102-0044-ring-buffer-Fix-duplicate-results-in-mapping-context.patch @@ -24,7 +24,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c -@@ -2630,8 +2630,7 @@ trace_recursive_lock(struct ring_buffer_ +@@ -2628,8 +2628,7 @@ trace_recursive_lock(struct ring_buffer_ bit = RB_CTX_NORMAL; else bit = pc & NMI_MASK ? RB_CTX_NMI : diff --git a/kernel/patches-4.14.x-rt/0101-0045-ring-buffer-Add-nesting-for-adding-events-within-eve.patch b/kernel/patches-4.14.x-rt/0103-0045-ring-buffer-Add-nesting-for-adding-events-within-eve.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0101-0045-ring-buffer-Add-nesting-for-adding-events-within-eve.patch rename to kernel/patches-4.14.x-rt/0103-0045-ring-buffer-Add-nesting-for-adding-events-within-eve.patch index d7b349e10..7a8592020 100644 --- a/kernel/patches-4.14.x-rt/0101-0045-ring-buffer-Add-nesting-for-adding-events-within-eve.patch +++ b/kernel/patches-4.14.x-rt/0103-0045-ring-buffer-Add-nesting-for-adding-events-within-eve.patch @@ -25,7 +25,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/include/linux/ring_buffer.h +++ b/include/linux/ring_buffer.h -@@ -120,6 +120,9 @@ int ring_buffer_unlock_commit(struct rin +@@ -117,6 +117,9 @@ int ring_buffer_unlock_commit(struct rin int ring_buffer_write(struct ring_buffer *buffer, unsigned long length, void *data); @@ -37,7 +37,7 @@ Signed-off-by: Sebastian Andrzej Siewior unsigned long *lost_events); --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c -@@ -478,6 +478,7 @@ struct ring_buffer_per_cpu { +@@ -477,6 +477,7 @@ struct ring_buffer_per_cpu { struct buffer_page *reader_page; unsigned long lost_events; unsigned long last_overrun; @@ -45,7 +45,7 @@ Signed-off-by: Sebastian Andrzej Siewior local_t entries_bytes; local_t entries; local_t overrun; -@@ -2632,10 +2633,10 @@ trace_recursive_lock(struct ring_buffer_ +@@ -2630,10 +2631,10 @@ trace_recursive_lock(struct ring_buffer_ bit = pc & NMI_MASK ? RB_CTX_NMI : pc & HARDIRQ_MASK ? RB_CTX_IRQ : RB_CTX_SOFTIRQ; @@ -58,7 +58,7 @@ Signed-off-by: Sebastian Andrzej Siewior cpu_buffer->current_context = val; return 0; -@@ -2644,7 +2645,57 @@ trace_recursive_lock(struct ring_buffer_ +@@ -2642,7 +2643,57 @@ trace_recursive_lock(struct ring_buffer_ static __always_inline void trace_recursive_unlock(struct ring_buffer_per_cpu *cpu_buffer) { diff --git a/kernel/patches-4.14.x-rt/0102-0046-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch b/kernel/patches-4.14.x-rt/0104-0046-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0102-0046-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch rename to kernel/patches-4.14.x-rt/0104-0046-tracing-Use-the-ring-buffer-nesting-to-allow-synthet.patch diff --git a/kernel/patches-4.14.x-rt/0103-0047-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch b/kernel/patches-4.14.x-rt/0105-0047-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0103-0047-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch rename to kernel/patches-4.14.x-rt/0105-0047-tracing-Add-inter-event-blurb-to-HIST_TRIGGERS-confi.patch diff --git a/kernel/patches-4.14.x-rt/0104-0048-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch b/kernel/patches-4.14.x-rt/0106-0048-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0104-0048-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch rename to kernel/patches-4.14.x-rt/0106-0048-selftests-ftrace-Add-inter-event-hist-triggers-testc.patch diff --git a/kernel/patches-4.14.x-rt/0105-block-shorten-interrupt-disabled-regions.patch b/kernel/patches-4.14.x-rt/0107-block-shorten-interrupt-disabled-regions.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0105-block-shorten-interrupt-disabled-regions.patch rename to kernel/patches-4.14.x-rt/0107-block-shorten-interrupt-disabled-regions.patch index 6b275df1b..dac2a6d68 100644 --- a/kernel/patches-4.14.x-rt/0105-block-shorten-interrupt-disabled-regions.patch +++ b/kernel/patches-4.14.x-rt/0107-block-shorten-interrupt-disabled-regions.patch @@ -47,7 +47,7 @@ Link: http://lkml.kernel.org/r/20110622174919.025446432@linutronix.de --- a/block/blk-core.c +++ b/block/blk-core.c -@@ -3300,7 +3300,7 @@ static void queue_unplugged(struct reque +@@ -3305,7 +3305,7 @@ static void queue_unplugged(struct reque blk_run_queue_async(q); else __blk_run_queue(q); @@ -56,7 +56,7 @@ Link: http://lkml.kernel.org/r/20110622174919.025446432@linutronix.de } static void flush_plug_callbacks(struct blk_plug *plug, bool from_schedule) -@@ -3348,7 +3348,6 @@ EXPORT_SYMBOL(blk_check_plugged); +@@ -3353,7 +3353,6 @@ EXPORT_SYMBOL(blk_check_plugged); void blk_flush_plug_list(struct blk_plug *plug, bool from_schedule) { struct request_queue *q; @@ -64,7 +64,7 @@ Link: http://lkml.kernel.org/r/20110622174919.025446432@linutronix.de struct request *rq; LIST_HEAD(list); unsigned int depth; -@@ -3368,11 +3367,6 @@ void blk_flush_plug_list(struct blk_plug +@@ -3373,11 +3372,6 @@ void blk_flush_plug_list(struct blk_plug q = NULL; depth = 0; @@ -76,7 +76,7 @@ Link: http://lkml.kernel.org/r/20110622174919.025446432@linutronix.de while (!list_empty(&list)) { rq = list_entry_rq(list.next); list_del_init(&rq->queuelist); -@@ -3385,7 +3379,7 @@ void blk_flush_plug_list(struct blk_plug +@@ -3390,7 +3384,7 @@ void blk_flush_plug_list(struct blk_plug queue_unplugged(q, depth, from_schedule); q = rq->q; depth = 0; @@ -85,7 +85,7 @@ Link: http://lkml.kernel.org/r/20110622174919.025446432@linutronix.de } /* -@@ -3412,8 +3406,6 @@ void blk_flush_plug_list(struct blk_plug +@@ -3417,8 +3411,6 @@ void blk_flush_plug_list(struct blk_plug */ if (q) queue_unplugged(q, depth, from_schedule); diff --git a/kernel/patches-4.14.x-rt/0106-timekeeping-split-jiffies-lock.patch b/kernel/patches-4.14.x-rt/0108-timekeeping-split-jiffies-lock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0106-timekeeping-split-jiffies-lock.patch rename to kernel/patches-4.14.x-rt/0108-timekeeping-split-jiffies-lock.patch diff --git a/kernel/patches-4.14.x-rt/0107-tracing-account-for-preempt-off-in-preempt_schedule.patch b/kernel/patches-4.14.x-rt/0109-tracing-account-for-preempt-off-in-preempt_schedule.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0107-tracing-account-for-preempt-off-in-preempt_schedule.patch rename to kernel/patches-4.14.x-rt/0109-tracing-account-for-preempt-off-in-preempt_schedule.patch index 36d871271..d52134f1e 100644 --- a/kernel/patches-4.14.x-rt/0107-tracing-account-for-preempt-off-in-preempt_schedule.patch +++ b/kernel/patches-4.14.x-rt/0109-tracing-account-for-preempt-off-in-preempt_schedule.patch @@ -27,7 +27,7 @@ Signed-off-by: Thomas Gleixner --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -3604,7 +3604,16 @@ asmlinkage __visible void __sched notrac +@@ -3605,7 +3605,16 @@ asmlinkage __visible void __sched notrac * an infinite recursion. */ prev_ctx = exception_enter(); diff --git a/kernel/patches-4.14.x-rt/0108-signal-revert-ptrace-preempt-magic.patch b/kernel/patches-4.14.x-rt/0110-signal-revert-ptrace-preempt-magic.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0108-signal-revert-ptrace-preempt-magic.patch rename to kernel/patches-4.14.x-rt/0110-signal-revert-ptrace-preempt-magic.patch index 6554693bb..ea9b8fce1 100644 --- a/kernel/patches-4.14.x-rt/0108-signal-revert-ptrace-preempt-magic.patch +++ b/kernel/patches-4.14.x-rt/0110-signal-revert-ptrace-preempt-magic.patch @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -1876,15 +1876,7 @@ static void ptrace_stop(int exit_code, i +@@ -1875,15 +1875,7 @@ static void ptrace_stop(int exit_code, i if (gstop_done && ptrace_reparented(current)) do_notify_parent_cldstop(current, false, why); diff --git a/kernel/patches-4.14.x-rt/0109-arm-convert-boot-lock-to-raw.patch b/kernel/patches-4.14.x-rt/0111-arm-convert-boot-lock-to-raw.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0109-arm-convert-boot-lock-to-raw.patch rename to kernel/patches-4.14.x-rt/0111-arm-convert-boot-lock-to-raw.patch diff --git a/kernel/patches-4.14.x-rt/0110-arm-kprobe-replace-patch_lock-to-raw-lock.patch b/kernel/patches-4.14.x-rt/0112-arm-kprobe-replace-patch_lock-to-raw-lock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0110-arm-kprobe-replace-patch_lock-to-raw-lock.patch rename to kernel/patches-4.14.x-rt/0112-arm-kprobe-replace-patch_lock-to-raw-lock.patch diff --git a/kernel/patches-4.14.x-rt/0111-posix-timers-no-broadcast.patch b/kernel/patches-4.14.x-rt/0113-posix-timers-no-broadcast.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0111-posix-timers-no-broadcast.patch rename to kernel/patches-4.14.x-rt/0113-posix-timers-no-broadcast.patch diff --git a/kernel/patches-4.14.x-rt/0112-signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch b/kernel/patches-4.14.x-rt/0114-signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0112-signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch rename to kernel/patches-4.14.x-rt/0114-signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch index 355e8ff92..63496d29d 100644 --- a/kernel/patches-4.14.x-rt/0112-signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch +++ b/kernel/patches-4.14.x-rt/0114-signals-allow-rt-tasks-to-cache-one-sigqueue-struct.patch @@ -187,7 +187,7 @@ Signed-off-by: Thomas Gleixner /* We only dequeue private signals from ourselves, we don't let * signalfd steal them */ -@@ -1515,7 +1575,8 @@ EXPORT_SYMBOL(kill_pid); +@@ -1514,7 +1574,8 @@ EXPORT_SYMBOL(kill_pid); */ struct sigqueue *sigqueue_alloc(void) { diff --git a/kernel/patches-4.14.x-rt/0113-drivers-random-reduce-preempt-disabled-region.patch b/kernel/patches-4.14.x-rt/0115-drivers-random-reduce-preempt-disabled-region.patch similarity index 85% rename from kernel/patches-4.14.x-rt/0113-drivers-random-reduce-preempt-disabled-region.patch rename to kernel/patches-4.14.x-rt/0115-drivers-random-reduce-preempt-disabled-region.patch index 6cfd0048e..7429fea26 100644 --- a/kernel/patches-4.14.x-rt/0113-drivers-random-reduce-preempt-disabled-region.patch +++ b/kernel/patches-4.14.x-rt/0115-drivers-random-reduce-preempt-disabled-region.patch @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner --- a/drivers/char/random.c +++ b/drivers/char/random.c -@@ -1017,8 +1017,6 @@ static void add_timer_randomness(struct +@@ -1016,8 +1016,6 @@ static void add_timer_randomness(struct } sample; long delta, delta2, delta3; @@ -22,7 +22,7 @@ Signed-off-by: Thomas Gleixner sample.jiffies = jiffies; sample.cycles = random_get_entropy(); sample.num = num; -@@ -1059,7 +1057,6 @@ static void add_timer_randomness(struct +@@ -1058,7 +1056,6 @@ static void add_timer_randomness(struct */ credit_entropy_bits(r, min_t(int, fls(delta>>1), 11)); } diff --git a/kernel/patches-4.14.x-rt/0114-arm-at91-pit-remove-irq-handler-when-clock-is-unused.patch b/kernel/patches-4.14.x-rt/0116-arm-at91-pit-remove-irq-handler-when-clock-is-unused.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0114-arm-at91-pit-remove-irq-handler-when-clock-is-unused.patch rename to kernel/patches-4.14.x-rt/0116-arm-at91-pit-remove-irq-handler-when-clock-is-unused.patch diff --git a/kernel/patches-4.14.x-rt/0115-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch b/kernel/patches-4.14.x-rt/0117-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0115-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch rename to kernel/patches-4.14.x-rt/0117-clockevents-drivers-timer-atmel-pit-fix-double-free_.patch diff --git a/kernel/patches-4.14.x-rt/0116-clocksource-tclib-allow-higher-clockrates.patch b/kernel/patches-4.14.x-rt/0118-clocksource-tclib-allow-higher-clockrates.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0116-clocksource-tclib-allow-higher-clockrates.patch rename to kernel/patches-4.14.x-rt/0118-clocksource-tclib-allow-higher-clockrates.patch diff --git a/kernel/patches-4.14.x-rt/0117-drivers-net-8139-disable-irq-nosync.patch b/kernel/patches-4.14.x-rt/0119-drivers-net-8139-disable-irq-nosync.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0117-drivers-net-8139-disable-irq-nosync.patch rename to kernel/patches-4.14.x-rt/0119-drivers-net-8139-disable-irq-nosync.patch diff --git a/kernel/patches-4.14.x-rt/0118-suspend-prevernt-might-sleep-splats.patch b/kernel/patches-4.14.x-rt/0120-suspend-prevernt-might-sleep-splats.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0118-suspend-prevernt-might-sleep-splats.patch rename to kernel/patches-4.14.x-rt/0120-suspend-prevernt-might-sleep-splats.patch diff --git a/kernel/patches-4.14.x-rt/0119-net-prevent-abba-deadlock.patch b/kernel/patches-4.14.x-rt/0121-net-prevent-abba-deadlock.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0119-net-prevent-abba-deadlock.patch rename to kernel/patches-4.14.x-rt/0121-net-prevent-abba-deadlock.patch index 9a9ff1042..cf7b77af6 100644 --- a/kernel/patches-4.14.x-rt/0119-net-prevent-abba-deadlock.patch +++ b/kernel/patches-4.14.x-rt/0121-net-prevent-abba-deadlock.patch @@ -95,7 +95,7 @@ Signed-off-by: Thomas Gleixner --- a/net/core/sock.c +++ b/net/core/sock.c -@@ -2759,12 +2759,11 @@ void lock_sock_nested(struct sock *sk, i +@@ -2757,12 +2757,11 @@ void lock_sock_nested(struct sock *sk, i if (sk->sk_lock.owned) __lock_sock(sk); sk->sk_lock.owned = 1; diff --git a/kernel/patches-4.14.x-rt/0120-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch b/kernel/patches-4.14.x-rt/0122-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0120-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch rename to kernel/patches-4.14.x-rt/0122-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch index 136412182..b79ae04b1 100644 --- a/kernel/patches-4.14.x-rt/0120-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch +++ b/kernel/patches-4.14.x-rt/0122-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch @@ -46,12 +46,12 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c -@@ -930,7 +930,7 @@ void dev_deactivate_many(struct list_hea +@@ -933,7 +933,7 @@ void dev_deactivate_many(struct list_hea /* Wait for outstanding qdisc_run calls. */ - list_for_each_entry(dev, head, close_list) + list_for_each_entry(dev, head, close_list) { while (some_qdisc_is_busy(dev)) - yield(); + msleep(1); - } - - void dev_deactivate(struct net_device *dev) + /* The new qdisc is assigned at this point so we can safely + * unwind stale skb lists and qdisc statistics + */ diff --git a/kernel/patches-4.14.x-rt/0121-net_disable_NET_RX_BUSY_POLL.patch b/kernel/patches-4.14.x-rt/0123-net_disable_NET_RX_BUSY_POLL.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0121-net_disable_NET_RX_BUSY_POLL.patch rename to kernel/patches-4.14.x-rt/0123-net_disable_NET_RX_BUSY_POLL.patch diff --git a/kernel/patches-4.14.x-rt/0122-x86-io-apic-migra-no-unmask.patch b/kernel/patches-4.14.x-rt/0124-x86-io-apic-migra-no-unmask.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0122-x86-io-apic-migra-no-unmask.patch rename to kernel/patches-4.14.x-rt/0124-x86-io-apic-migra-no-unmask.patch diff --git a/kernel/patches-4.14.x-rt/0123-rcu-segcblist-include-rcupdate.h.patch b/kernel/patches-4.14.x-rt/0125-rcu-segcblist-include-rcupdate.h.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0123-rcu-segcblist-include-rcupdate.h.patch rename to kernel/patches-4.14.x-rt/0125-rcu-segcblist-include-rcupdate.h.patch diff --git a/kernel/patches-4.14.x-rt/0124-printk-kill.patch b/kernel/patches-4.14.x-rt/0126-printk-kill.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0124-printk-kill.patch rename to kernel/patches-4.14.x-rt/0126-printk-kill.patch diff --git a/kernel/patches-4.14.x-rt/0125-printk-27force_early_printk-27-boot-param-to-help-with-debugging.patch b/kernel/patches-4.14.x-rt/0127-printk-27force_early_printk-27-boot-param-to-help-with-debugging.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0125-printk-27force_early_printk-27-boot-param-to-help-with-debugging.patch rename to kernel/patches-4.14.x-rt/0127-printk-27force_early_printk-27-boot-param-to-help-with-debugging.patch diff --git a/kernel/patches-4.14.x-rt/0126-rt-preempt-base-config.patch b/kernel/patches-4.14.x-rt/0128-rt-preempt-base-config.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0126-rt-preempt-base-config.patch rename to kernel/patches-4.14.x-rt/0128-rt-preempt-base-config.patch diff --git a/kernel/patches-4.14.x-rt/0127-kconfig-disable-a-few-options-rt.patch b/kernel/patches-4.14.x-rt/0129-kconfig-disable-a-few-options-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0127-kconfig-disable-a-few-options-rt.patch rename to kernel/patches-4.14.x-rt/0129-kconfig-disable-a-few-options-rt.patch diff --git a/kernel/patches-4.14.x-rt/0128-kconfig-preempt-rt-full.patch b/kernel/patches-4.14.x-rt/0130-kconfig-preempt-rt-full.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0128-kconfig-preempt-rt-full.patch rename to kernel/patches-4.14.x-rt/0130-kconfig-preempt-rt-full.patch diff --git a/kernel/patches-4.14.x-rt/0129-bug-rt-dependend-variants.patch b/kernel/patches-4.14.x-rt/0131-bug-rt-dependend-variants.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0129-bug-rt-dependend-variants.patch rename to kernel/patches-4.14.x-rt/0131-bug-rt-dependend-variants.patch diff --git a/kernel/patches-4.14.x-rt/0130-iommu-amd--Use-WARN_ON_NORT.patch b/kernel/patches-4.14.x-rt/0132-iommu-amd--Use-WARN_ON_NORT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0130-iommu-amd--Use-WARN_ON_NORT.patch rename to kernel/patches-4.14.x-rt/0132-iommu-amd--Use-WARN_ON_NORT.patch diff --git a/kernel/patches-4.14.x-rt/0131-local-irq-rt-depending-variants.patch b/kernel/patches-4.14.x-rt/0133-local-irq-rt-depending-variants.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0131-local-irq-rt-depending-variants.patch rename to kernel/patches-4.14.x-rt/0133-local-irq-rt-depending-variants.patch diff --git a/kernel/patches-4.14.x-rt/0132-preempt-nort-rt-variants.patch b/kernel/patches-4.14.x-rt/0134-preempt-nort-rt-variants.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0132-preempt-nort-rt-variants.patch rename to kernel/patches-4.14.x-rt/0134-preempt-nort-rt-variants.patch diff --git a/kernel/patches-4.14.x-rt/0133-futex-workaround-migrate_disable-enable-in-different.patch b/kernel/patches-4.14.x-rt/0135-futex-workaround-migrate_disable-enable-in-different.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0133-futex-workaround-migrate_disable-enable-in-different.patch rename to kernel/patches-4.14.x-rt/0135-futex-workaround-migrate_disable-enable-in-different.patch diff --git a/kernel/patches-4.14.x-rt/0134-rt-local-irq-lock.patch b/kernel/patches-4.14.x-rt/0136-rt-local-irq-lock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0134-rt-local-irq-lock.patch rename to kernel/patches-4.14.x-rt/0136-rt-local-irq-lock.patch diff --git a/kernel/patches-4.14.x-rt/0135-ata-disable-interrupts-if-non-rt.patch b/kernel/patches-4.14.x-rt/0137-ata-disable-interrupts-if-non-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0135-ata-disable-interrupts-if-non-rt.patch rename to kernel/patches-4.14.x-rt/0137-ata-disable-interrupts-if-non-rt.patch diff --git a/kernel/patches-4.14.x-rt/0136-ide-use-nort-local-irq-variants.patch b/kernel/patches-4.14.x-rt/0138-ide-use-nort-local-irq-variants.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0136-ide-use-nort-local-irq-variants.patch rename to kernel/patches-4.14.x-rt/0138-ide-use-nort-local-irq-variants.patch diff --git a/kernel/patches-4.14.x-rt/0137-infiniband-mellanox-ib-use-nort-irq.patch b/kernel/patches-4.14.x-rt/0139-infiniband-mellanox-ib-use-nort-irq.patch similarity index 90% rename from kernel/patches-4.14.x-rt/0137-infiniband-mellanox-ib-use-nort-irq.patch rename to kernel/patches-4.14.x-rt/0139-infiniband-mellanox-ib-use-nort-irq.patch index d62a01a35..9f6234127 100644 --- a/kernel/patches-4.14.x-rt/0137-infiniband-mellanox-ib-use-nort-irq.patch +++ b/kernel/patches-4.14.x-rt/0139-infiniband-mellanox-ib-use-nort-irq.patch @@ -20,7 +20,7 @@ Signed-off-by: Thomas Gleixner --- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c -@@ -895,7 +895,7 @@ void ipoib_mcast_restart_task(struct wor +@@ -898,7 +898,7 @@ void ipoib_mcast_restart_task(struct wor ipoib_dbg_mcast(priv, "restarting multicast task\n"); @@ -29,7 +29,7 @@ Signed-off-by: Thomas Gleixner netif_addr_lock(dev); spin_lock(&priv->lock); -@@ -977,7 +977,7 @@ void ipoib_mcast_restart_task(struct wor +@@ -980,7 +980,7 @@ void ipoib_mcast_restart_task(struct wor spin_unlock(&priv->lock); netif_addr_unlock(dev); diff --git a/kernel/patches-4.14.x-rt/0138-inpt-gameport-use-local-irq-nort.patch b/kernel/patches-4.14.x-rt/0140-inpt-gameport-use-local-irq-nort.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0138-inpt-gameport-use-local-irq-nort.patch rename to kernel/patches-4.14.x-rt/0140-inpt-gameport-use-local-irq-nort.patch diff --git a/kernel/patches-4.14.x-rt/0139-user-use-local-irq-nort.patch b/kernel/patches-4.14.x-rt/0141-user-use-local-irq-nort.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0139-user-use-local-irq-nort.patch rename to kernel/patches-4.14.x-rt/0141-user-use-local-irq-nort.patch diff --git a/kernel/patches-4.14.x-rt/0140-usb-use-_nort-in-giveback.patch b/kernel/patches-4.14.x-rt/0142-usb-use-_nort-in-giveback.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0140-usb-use-_nort-in-giveback.patch rename to kernel/patches-4.14.x-rt/0142-usb-use-_nort-in-giveback.patch diff --git a/kernel/patches-4.14.x-rt/0141-mm-scatterlist-dont-disable-irqs-on-RT.patch b/kernel/patches-4.14.x-rt/0143-mm-scatterlist-dont-disable-irqs-on-RT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0141-mm-scatterlist-dont-disable-irqs-on-RT.patch rename to kernel/patches-4.14.x-rt/0143-mm-scatterlist-dont-disable-irqs-on-RT.patch diff --git a/kernel/patches-4.14.x-rt/0142-mm-workingset-do-not-protect-workingset_shadow_nodes.patch b/kernel/patches-4.14.x-rt/0144-mm-workingset-do-not-protect-workingset_shadow_nodes.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0142-mm-workingset-do-not-protect-workingset_shadow_nodes.patch rename to kernel/patches-4.14.x-rt/0144-mm-workingset-do-not-protect-workingset_shadow_nodes.patch diff --git a/kernel/patches-4.14.x-rt/0143-signal-fix-up-rcu-wreckage.patch b/kernel/patches-4.14.x-rt/0145-signal-fix-up-rcu-wreckage.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0143-signal-fix-up-rcu-wreckage.patch rename to kernel/patches-4.14.x-rt/0145-signal-fix-up-rcu-wreckage.patch index 4af8a7a69..2358a49fd 100644 --- a/kernel/patches-4.14.x-rt/0143-signal-fix-up-rcu-wreckage.patch +++ b/kernel/patches-4.14.x-rt/0145-signal-fix-up-rcu-wreckage.patch @@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -1302,12 +1302,12 @@ struct sighand_struct *__lock_task_sigha +@@ -1301,12 +1301,12 @@ struct sighand_struct *__lock_task_sigha * Disable interrupts early to avoid deadlocks. * See rcu_read_unlock() comment header for details. */ @@ -27,7 +27,7 @@ Signed-off-by: Thomas Gleixner break; } /* -@@ -1328,7 +1328,7 @@ struct sighand_struct *__lock_task_sigha +@@ -1327,7 +1327,7 @@ struct sighand_struct *__lock_task_sigha } spin_unlock(&sighand->siglock); rcu_read_unlock(); diff --git a/kernel/patches-4.14.x-rt/0144-oleg-signal-rt-fix.patch b/kernel/patches-4.14.x-rt/0146-oleg-signal-rt-fix.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0144-oleg-signal-rt-fix.patch rename to kernel/patches-4.14.x-rt/0146-oleg-signal-rt-fix.patch index 5ecc92d2d..9aa4e94d7 100644 --- a/kernel/patches-4.14.x-rt/0144-oleg-signal-rt-fix.patch +++ b/kernel/patches-4.14.x-rt/0146-oleg-signal-rt-fix.patch @@ -89,7 +89,7 @@ Signed-off-by: Thomas Gleixner unsigned int sas_ss_flags; --- a/kernel/signal.c +++ b/kernel/signal.c -@@ -1238,8 +1238,8 @@ int do_send_sig_info(int sig, struct sig +@@ -1237,8 +1237,8 @@ int do_send_sig_info(int sig, struct sig * We don't want to have recursive SIGSEGV's etc, for example, * that is why we also clear SIGNAL_UNKILLABLE. */ @@ -100,7 +100,7 @@ Signed-off-by: Thomas Gleixner { unsigned long int flags; int ret, blocked, ignored; -@@ -1268,6 +1268,39 @@ force_sig_info(int sig, struct siginfo * +@@ -1267,6 +1267,39 @@ force_sig_info(int sig, struct siginfo * return ret; } diff --git a/kernel/patches-4.14.x-rt/0145-x86-signal-delay-calling-signals-on-32bit.patch b/kernel/patches-4.14.x-rt/0147-x86-signal-delay-calling-signals-on-32bit.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0145-x86-signal-delay-calling-signals-on-32bit.patch rename to kernel/patches-4.14.x-rt/0147-x86-signal-delay-calling-signals-on-32bit.patch diff --git a/kernel/patches-4.14.x-rt/0146-net-wireless-warn-nort.patch b/kernel/patches-4.14.x-rt/0148-net-wireless-warn-nort.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0146-net-wireless-warn-nort.patch rename to kernel/patches-4.14.x-rt/0148-net-wireless-warn-nort.patch index a035c737e..372babe8e 100644 --- a/kernel/patches-4.14.x-rt/0146-net-wireless-warn-nort.patch +++ b/kernel/patches-4.14.x-rt/0148-net-wireless-warn-nort.patch @@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c -@@ -4250,7 +4250,7 @@ void ieee80211_rx_napi(struct ieee80211_ +@@ -4252,7 +4252,7 @@ void ieee80211_rx_napi(struct ieee80211_ struct ieee80211_supported_band *sband; struct ieee80211_rx_status *status = IEEE80211_SKB_RXCB(skb); diff --git a/kernel/patches-4.14.x-rt/0147-fs-replace-bh_uptodate_lock-for-rt.patch b/kernel/patches-4.14.x-rt/0149-fs-replace-bh_uptodate_lock-for-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0147-fs-replace-bh_uptodate_lock-for-rt.patch rename to kernel/patches-4.14.x-rt/0149-fs-replace-bh_uptodate_lock-for-rt.patch diff --git a/kernel/patches-4.14.x-rt/0148-fs-jbd-replace-bh_state-lock.patch b/kernel/patches-4.14.x-rt/0150-fs-jbd-replace-bh_state-lock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0148-fs-jbd-replace-bh_state-lock.patch rename to kernel/patches-4.14.x-rt/0150-fs-jbd-replace-bh_state-lock.patch diff --git a/kernel/patches-4.14.x-rt/0149-list_bl.h-make-list-head-locking-RT-safe.patch b/kernel/patches-4.14.x-rt/0151-list_bl.h-make-list-head-locking-RT-safe.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0149-list_bl.h-make-list-head-locking-RT-safe.patch rename to kernel/patches-4.14.x-rt/0151-list_bl.h-make-list-head-locking-RT-safe.patch diff --git a/kernel/patches-4.14.x-rt/0150-list_bl-fixup-bogus-lockdep-warning.patch b/kernel/patches-4.14.x-rt/0152-list_bl-fixup-bogus-lockdep-warning.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0150-list_bl-fixup-bogus-lockdep-warning.patch rename to kernel/patches-4.14.x-rt/0152-list_bl-fixup-bogus-lockdep-warning.patch diff --git a/kernel/patches-4.14.x-rt/0151-genirq-disable-irqpoll-on-rt.patch b/kernel/patches-4.14.x-rt/0153-genirq-disable-irqpoll-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0151-genirq-disable-irqpoll-on-rt.patch rename to kernel/patches-4.14.x-rt/0153-genirq-disable-irqpoll-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0152-genirq-force-threading.patch b/kernel/patches-4.14.x-rt/0154-genirq-force-threading.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0152-genirq-force-threading.patch rename to kernel/patches-4.14.x-rt/0154-genirq-force-threading.patch diff --git a/kernel/patches-4.14.x-rt/0153-drivers-net-vortex-fix-locking-issues.patch b/kernel/patches-4.14.x-rt/0155-drivers-net-vortex-fix-locking-issues.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0153-drivers-net-vortex-fix-locking-issues.patch rename to kernel/patches-4.14.x-rt/0155-drivers-net-vortex-fix-locking-issues.patch diff --git a/kernel/patches-4.14.x-rt/0154-delayacct-use-raw_spinlocks.patch b/kernel/patches-4.14.x-rt/0156-delayacct-use-raw_spinlocks.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0154-delayacct-use-raw_spinlocks.patch rename to kernel/patches-4.14.x-rt/0156-delayacct-use-raw_spinlocks.patch diff --git a/kernel/patches-4.14.x-rt/0155-mm-page_alloc-rt-friendly-per-cpu-pages.patch b/kernel/patches-4.14.x-rt/0157-mm-page_alloc-rt-friendly-per-cpu-pages.patch similarity index 82% rename from kernel/patches-4.14.x-rt/0155-mm-page_alloc-rt-friendly-per-cpu-pages.patch rename to kernel/patches-4.14.x-rt/0157-mm-page_alloc-rt-friendly-per-cpu-pages.patch index 08339a8d2..9a1703a6d 100644 --- a/kernel/patches-4.14.x-rt/0155-mm-page_alloc-rt-friendly-per-cpu-pages.patch +++ b/kernel/patches-4.14.x-rt/0157-mm-page_alloc-rt-friendly-per-cpu-pages.patch @@ -17,7 +17,7 @@ Signed-off-by: Thomas Gleixner --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -62,6 +62,7 @@ +@@ -61,6 +61,7 @@ #include #include #include @@ -25,7 +25,7 @@ Signed-off-by: Thomas Gleixner #include #include #include -@@ -287,6 +288,18 @@ EXPORT_SYMBOL(nr_node_ids); +@@ -286,6 +287,18 @@ EXPORT_SYMBOL(nr_node_ids); EXPORT_SYMBOL(nr_online_nodes); #endif @@ -44,7 +44,7 @@ Signed-off-by: Thomas Gleixner int page_group_by_mobility_disabled __read_mostly; #ifdef CONFIG_DEFERRED_STRUCT_PAGE_INIT -@@ -1259,10 +1272,10 @@ static void __free_pages_ok(struct page +@@ -1257,10 +1270,10 @@ static void __free_pages_ok(struct page return; migratetype = get_pfnblock_migratetype(page, pfn); @@ -57,7 +57,7 @@ Signed-off-by: Thomas Gleixner } static void __init __free_pages_boot_core(struct page *page, unsigned int order) -@@ -2382,14 +2395,14 @@ void drain_zone_pages(struct zone *zone, +@@ -2380,14 +2393,14 @@ void drain_zone_pages(struct zone *zone, unsigned long flags; int to_drain, batch; @@ -74,7 +74,7 @@ Signed-off-by: Thomas Gleixner } #endif -@@ -2406,7 +2419,7 @@ static void drain_pages_zone(unsigned in +@@ -2404,7 +2417,7 @@ static void drain_pages_zone(unsigned in struct per_cpu_pageset *pset; struct per_cpu_pages *pcp; @@ -83,7 +83,7 @@ Signed-off-by: Thomas Gleixner pset = per_cpu_ptr(zone->pageset, cpu); pcp = &pset->pcp; -@@ -2414,7 +2427,7 @@ static void drain_pages_zone(unsigned in +@@ -2412,7 +2425,7 @@ static void drain_pages_zone(unsigned in free_pcppages_bulk(zone, pcp->count, pcp); pcp->count = 0; } @@ -92,7 +92,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -2449,6 +2462,7 @@ void drain_local_pages(struct zone *zone +@@ -2447,6 +2460,7 @@ void drain_local_pages(struct zone *zone drain_pages(cpu); } @@ -100,7 +100,7 @@ Signed-off-by: Thomas Gleixner static void drain_local_pages_wq(struct work_struct *work) { /* -@@ -2462,6 +2476,7 @@ static void drain_local_pages_wq(struct +@@ -2460,6 +2474,7 @@ static void drain_local_pages_wq(struct drain_local_pages(NULL); preempt_enable(); } @@ -108,7 +108,7 @@ Signed-off-by: Thomas Gleixner /* * Spill all the per-cpu pages from all CPUs back into the buddy allocator. -@@ -2528,7 +2543,14 @@ void drain_all_pages(struct zone *zone) +@@ -2526,7 +2541,14 @@ void drain_all_pages(struct zone *zone) else cpumask_clear_cpu(cpu, &cpus_with_pcps); } @@ -124,7 +124,7 @@ Signed-off-by: Thomas Gleixner for_each_cpu(cpu, &cpus_with_pcps) { struct work_struct *work = per_cpu_ptr(&pcpu_drain, cpu); INIT_WORK(work, drain_local_pages_wq); -@@ -2536,6 +2558,7 @@ void drain_all_pages(struct zone *zone) +@@ -2534,6 +2556,7 @@ void drain_all_pages(struct zone *zone) } for_each_cpu(cpu, &cpus_with_pcps) flush_work(per_cpu_ptr(&pcpu_drain, cpu)); @@ -132,7 +132,7 @@ Signed-off-by: Thomas Gleixner mutex_unlock(&pcpu_drain_mutex); } -@@ -2612,7 +2635,7 @@ void free_hot_cold_page(struct page *pag +@@ -2610,7 +2633,7 @@ void free_hot_cold_page(struct page *pag migratetype = get_pfnblock_migratetype(page, pfn); set_pcppage_migratetype(page, migratetype); @@ -141,7 +141,7 @@ Signed-off-by: Thomas Gleixner __count_vm_event(PGFREE); /* -@@ -2643,7 +2666,7 @@ void free_hot_cold_page(struct page *pag +@@ -2641,7 +2664,7 @@ void free_hot_cold_page(struct page *pag } out: @@ -150,7 +150,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -2800,7 +2823,7 @@ static struct page *rmqueue_pcplist(stru +@@ -2789,7 +2812,7 @@ static struct page *rmqueue_pcplist(stru struct page *page; unsigned long flags; @@ -159,7 +159,7 @@ Signed-off-by: Thomas Gleixner pcp = &this_cpu_ptr(zone->pageset)->pcp; list = &pcp->lists[migratetype]; page = __rmqueue_pcplist(zone, migratetype, cold, pcp, list); -@@ -2808,7 +2831,7 @@ static struct page *rmqueue_pcplist(stru +@@ -2797,7 +2820,7 @@ static struct page *rmqueue_pcplist(stru __count_zid_vm_events(PGALLOC, page_zonenum(page), 1 << order); zone_statistics(preferred_zone, zone); } @@ -168,7 +168,7 @@ Signed-off-by: Thomas Gleixner return page; } -@@ -2835,7 +2858,7 @@ struct page *rmqueue(struct zone *prefer +@@ -2824,7 +2847,7 @@ struct page *rmqueue(struct zone *prefer * allocate greater than order-1 page units with __GFP_NOFAIL. */ WARN_ON_ONCE((gfp_flags & __GFP_NOFAIL) && (order > 1)); @@ -177,7 +177,7 @@ Signed-off-by: Thomas Gleixner do { page = NULL; -@@ -2855,14 +2878,14 @@ struct page *rmqueue(struct zone *prefer +@@ -2844,14 +2867,14 @@ struct page *rmqueue(struct zone *prefer __count_zid_vm_events(PGALLOC, page_zonenum(page), 1 << order); zone_statistics(preferred_zone, zone); @@ -194,7 +194,7 @@ Signed-off-by: Thomas Gleixner return NULL; } -@@ -7707,7 +7730,7 @@ void zone_pcp_reset(struct zone *zone) +@@ -7693,7 +7716,7 @@ void zone_pcp_reset(struct zone *zone) struct per_cpu_pageset *pset; /* avoid races with drain_pages() */ @@ -203,7 +203,7 @@ Signed-off-by: Thomas Gleixner if (zone->pageset != &boot_pageset) { for_each_online_cpu(cpu) { pset = per_cpu_ptr(zone->pageset, cpu); -@@ -7716,7 +7739,7 @@ void zone_pcp_reset(struct zone *zone) +@@ -7702,7 +7725,7 @@ void zone_pcp_reset(struct zone *zone) free_percpu(zone->pageset); zone->pageset = &boot_pageset; } diff --git a/kernel/patches-4.14.x-rt/0156-mm-page_alloc-reduce-lock-sections-further.patch b/kernel/patches-4.14.x-rt/0158-mm-page_alloc-reduce-lock-sections-further.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0156-mm-page_alloc-reduce-lock-sections-further.patch rename to kernel/patches-4.14.x-rt/0158-mm-page_alloc-reduce-lock-sections-further.patch index 4e6d6920b..e99b0a910 100644 --- a/kernel/patches-4.14.x-rt/0156-mm-page_alloc-reduce-lock-sections-further.patch +++ b/kernel/patches-4.14.x-rt/0158-mm-page_alloc-reduce-lock-sections-further.patch @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -1109,7 +1109,7 @@ static bool bulkfree_pcp_prepare(struct +@@ -1107,7 +1107,7 @@ static bool bulkfree_pcp_prepare(struct #endif /* CONFIG_DEBUG_VM */ /* @@ -22,7 +22,7 @@ Signed-off-by: Thomas Gleixner * Assumes all pages on list are in same zone, and of same order. * count is the number of pages to free. * -@@ -1120,15 +1120,53 @@ static bool bulkfree_pcp_prepare(struct +@@ -1118,15 +1118,53 @@ static bool bulkfree_pcp_prepare(struct * pinned" detection logic. */ static void free_pcppages_bulk(struct zone *zone, int count, @@ -80,7 +80,7 @@ Signed-off-by: Thomas Gleixner while (count) { struct page *page; struct list_head *list; -@@ -1144,7 +1182,7 @@ static void free_pcppages_bulk(struct zo +@@ -1142,7 +1180,7 @@ static void free_pcppages_bulk(struct zo batch_free++; if (++migratetype == MIGRATE_PCPTYPES) migratetype = 0; @@ -89,7 +89,7 @@ Signed-off-by: Thomas Gleixner } while (list_empty(list)); /* This is the only non-empty list. Free them all. */ -@@ -1152,27 +1190,12 @@ static void free_pcppages_bulk(struct zo +@@ -1150,27 +1188,12 @@ static void free_pcppages_bulk(struct zo batch_free = count; do { @@ -118,7 +118,7 @@ Signed-off-by: Thomas Gleixner } static void free_one_page(struct zone *zone, -@@ -1180,13 +1203,15 @@ static void free_one_page(struct zone *z +@@ -1178,13 +1201,15 @@ static void free_one_page(struct zone *z unsigned int order, int migratetype) { @@ -136,7 +136,7 @@ Signed-off-by: Thomas Gleixner } static void __meminit __init_single_page(struct page *page, unsigned long pfn, -@@ -2393,16 +2418,18 @@ static int rmqueue_bulk(struct zone *zon +@@ -2391,16 +2416,18 @@ static int rmqueue_bulk(struct zone *zon void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) { unsigned long flags; @@ -156,7 +156,7 @@ Signed-off-by: Thomas Gleixner } #endif -@@ -2418,16 +2445,21 @@ static void drain_pages_zone(unsigned in +@@ -2416,16 +2443,21 @@ static void drain_pages_zone(unsigned in unsigned long flags; struct per_cpu_pageset *pset; struct per_cpu_pages *pcp; @@ -180,7 +180,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -2661,8 +2693,13 @@ void free_hot_cold_page(struct page *pag +@@ -2659,8 +2691,13 @@ void free_hot_cold_page(struct page *pag pcp->count++; if (pcp->count >= pcp->high) { unsigned long batch = READ_ONCE(pcp->batch); diff --git a/kernel/patches-4.14.x-rt/0157-mm-convert-swap-to-percpu-locked.patch b/kernel/patches-4.14.x-rt/0159-mm-convert-swap-to-percpu-locked.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0157-mm-convert-swap-to-percpu-locked.patch rename to kernel/patches-4.14.x-rt/0159-mm-convert-swap-to-percpu-locked.patch index c1ff7ea1d..eb4d508ea 100644 --- a/kernel/patches-4.14.x-rt/0157-mm-convert-swap-to-percpu-locked.patch +++ b/kernel/patches-4.14.x-rt/0159-mm-convert-swap-to-percpu-locked.patch @@ -44,7 +44,7 @@ Signed-off-by: Thomas Gleixner } --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -6862,8 +6862,9 @@ void __init free_area_init(unsigned long +@@ -6848,8 +6848,9 @@ void __init free_area_init(unsigned long static int page_alloc_cpu_dead(unsigned int cpu) { diff --git a/kernel/patches-4.14.x-rt/0158-mm-perform-lru_add_drain_all-remotely.patch b/kernel/patches-4.14.x-rt/0160-mm-perform-lru_add_drain_all-remotely.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0158-mm-perform-lru_add_drain_all-remotely.patch rename to kernel/patches-4.14.x-rt/0160-mm-perform-lru_add_drain_all-remotely.patch diff --git a/kernel/patches-4.14.x-rt/0159-mm-make-vmstat-rt-aware.patch b/kernel/patches-4.14.x-rt/0161-mm-make-vmstat-rt-aware.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0159-mm-make-vmstat-rt-aware.patch rename to kernel/patches-4.14.x-rt/0161-mm-make-vmstat-rt-aware.patch diff --git a/kernel/patches-4.14.x-rt/0160-re-preempt_rt_full-arm-coredump-fails-for-cpu-3e-3d-4.patch b/kernel/patches-4.14.x-rt/0162-re-preempt_rt_full-arm-coredump-fails-for-cpu-3e-3d-4.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0160-re-preempt_rt_full-arm-coredump-fails-for-cpu-3e-3d-4.patch rename to kernel/patches-4.14.x-rt/0162-re-preempt_rt_full-arm-coredump-fails-for-cpu-3e-3d-4.patch diff --git a/kernel/patches-4.14.x-rt/0161-mm-bounce-local-irq-save-nort.patch b/kernel/patches-4.14.x-rt/0163-mm-bounce-local-irq-save-nort.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0161-mm-bounce-local-irq-save-nort.patch rename to kernel/patches-4.14.x-rt/0163-mm-bounce-local-irq-save-nort.patch diff --git a/kernel/patches-4.14.x-rt/0162-mm-disable-sloub-rt.patch b/kernel/patches-4.14.x-rt/0164-mm-disable-sloub-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0162-mm-disable-sloub-rt.patch rename to kernel/patches-4.14.x-rt/0164-mm-disable-sloub-rt.patch diff --git a/kernel/patches-4.14.x-rt/0163-mm-enable-slub.patch b/kernel/patches-4.14.x-rt/0165-mm-enable-slub.patch similarity index 79% rename from kernel/patches-4.14.x-rt/0163-mm-enable-slub.patch rename to kernel/patches-4.14.x-rt/0165-mm-enable-slub.patch index 12b601abb..9e0505a1f 100644 --- a/kernel/patches-4.14.x-rt/0163-mm-enable-slub.patch +++ b/kernel/patches-4.14.x-rt/0165-mm-enable-slub.patch @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner --- a/mm/slab.h +++ b/mm/slab.h -@@ -454,7 +454,11 @@ static inline void slab_post_alloc_hook( +@@ -451,7 +451,11 @@ static inline void slab_post_alloc_hook( * The slab lists for all objects. */ struct kmem_cache_node { @@ -27,7 +27,7 @@ Signed-off-by: Thomas Gleixner struct list_head slabs_partial; /* partial list first, better asm code */ --- a/mm/slub.c +++ b/mm/slub.c -@@ -1180,7 +1180,7 @@ static noinline int free_debug_processin +@@ -1179,7 +1179,7 @@ static noinline int free_debug_processin unsigned long uninitialized_var(flags); int ret = 0; @@ -36,7 +36,7 @@ Signed-off-by: Thomas Gleixner slab_lock(page); if (s->flags & SLAB_CONSISTENCY_CHECKS) { -@@ -1215,7 +1215,7 @@ static noinline int free_debug_processin +@@ -1214,7 +1214,7 @@ static noinline int free_debug_processin bulk_cnt, cnt); slab_unlock(page); @@ -45,7 +45,7 @@ Signed-off-by: Thomas Gleixner if (!ret) slab_fix(s, "Object at 0x%p not freed", object); return ret; -@@ -1343,6 +1343,12 @@ static inline void dec_slabs_node(struct +@@ -1342,6 +1342,12 @@ static inline void dec_slabs_node(struct #endif /* CONFIG_SLUB_DEBUG */ @@ -58,7 +58,7 @@ Signed-off-by: Thomas Gleixner /* * Hooks for other subsystems that check memory allocations. In a typical * production configuration these hooks all should produce no code at all. -@@ -1569,7 +1575,11 @@ static struct page *allocate_slab(struct +@@ -1564,7 +1570,11 @@ static struct page *allocate_slab(struct flags &= gfp_allowed_mask; @@ -70,7 +70,7 @@ Signed-off-by: Thomas Gleixner local_irq_enable(); flags |= s->allocflags; -@@ -1644,7 +1654,11 @@ static struct page *allocate_slab(struct +@@ -1623,7 +1633,11 @@ static struct page *allocate_slab(struct page->frozen = 1; out: @@ -82,7 +82,7 @@ Signed-off-by: Thomas Gleixner local_irq_disable(); if (!page) return NULL; -@@ -1704,6 +1718,16 @@ static void __free_slab(struct kmem_cach +@@ -1681,6 +1695,16 @@ static void __free_slab(struct kmem_cach __free_pages(page, order); } @@ -99,7 +99,7 @@ Signed-off-by: Thomas Gleixner #define need_reserve_slab_rcu \ (sizeof(((struct page *)NULL)->lru) < sizeof(struct rcu_head)) -@@ -1735,6 +1759,12 @@ static void free_slab(struct kmem_cache +@@ -1712,6 +1736,12 @@ static void free_slab(struct kmem_cache } call_rcu(head, rcu_free_slab); @@ -112,7 +112,7 @@ Signed-off-by: Thomas Gleixner } else __free_slab(s, page); } -@@ -1842,7 +1872,7 @@ static void *get_partial_node(struct kme +@@ -1819,7 +1849,7 @@ static void *get_partial_node(struct kme if (!n || !n->nr_partial) return NULL; @@ -121,7 +121,7 @@ Signed-off-by: Thomas Gleixner list_for_each_entry_safe(page, page2, &n->partial, lru) { void *t; -@@ -1867,7 +1897,7 @@ static void *get_partial_node(struct kme +@@ -1844,7 +1874,7 @@ static void *get_partial_node(struct kme break; } @@ -130,7 +130,7 @@ Signed-off-by: Thomas Gleixner return object; } -@@ -2113,7 +2143,7 @@ static void deactivate_slab(struct kmem_ +@@ -2090,7 +2120,7 @@ static void deactivate_slab(struct kmem_ * that acquire_slab() will see a slab page that * is frozen */ @@ -139,7 +139,7 @@ Signed-off-by: Thomas Gleixner } } else { m = M_FULL; -@@ -2124,7 +2154,7 @@ static void deactivate_slab(struct kmem_ +@@ -2101,7 +2131,7 @@ static void deactivate_slab(struct kmem_ * slabs from diagnostic functions will not see * any frozen slabs. */ @@ -148,7 +148,7 @@ Signed-off-by: Thomas Gleixner } } -@@ -2159,7 +2189,7 @@ static void deactivate_slab(struct kmem_ +@@ -2136,7 +2166,7 @@ static void deactivate_slab(struct kmem_ goto redo; if (lock) @@ -157,7 +157,7 @@ Signed-off-by: Thomas Gleixner if (m == M_FREE) { stat(s, DEACTIVATE_EMPTY); -@@ -2194,10 +2224,10 @@ static void unfreeze_partials(struct kme +@@ -2171,10 +2201,10 @@ static void unfreeze_partials(struct kme n2 = get_node(s, page_to_nid(page)); if (n != n2) { if (n) @@ -170,7 +170,7 @@ Signed-off-by: Thomas Gleixner } do { -@@ -2226,7 +2256,7 @@ static void unfreeze_partials(struct kme +@@ -2203,7 +2233,7 @@ static void unfreeze_partials(struct kme } if (n) @@ -179,7 +179,7 @@ Signed-off-by: Thomas Gleixner while (discard_page) { page = discard_page; -@@ -2265,14 +2295,21 @@ static void put_cpu_partial(struct kmem_ +@@ -2242,14 +2272,21 @@ static void put_cpu_partial(struct kmem_ pobjects = oldpage->pobjects; pages = oldpage->pages; if (drain && pobjects > s->cpu_partial) { @@ -201,7 +201,7 @@ Signed-off-by: Thomas Gleixner oldpage = NULL; pobjects = 0; pages = 0; -@@ -2342,7 +2379,22 @@ static bool has_cpu_slab(int cpu, void * +@@ -2319,7 +2356,22 @@ static bool has_cpu_slab(int cpu, void * static void flush_all(struct kmem_cache *s) { @@ -224,7 +224,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -2397,10 +2449,10 @@ static unsigned long count_partial(struc +@@ -2374,10 +2426,10 @@ static unsigned long count_partial(struc unsigned long x = 0; struct page *page; @@ -237,7 +237,7 @@ Signed-off-by: Thomas Gleixner return x; } #endif /* CONFIG_SLUB_DEBUG || CONFIG_SYSFS */ -@@ -2538,8 +2590,10 @@ static inline void *get_freelist(struct +@@ -2515,8 +2567,10 @@ static inline void *get_freelist(struct * already disabled (which is the case for bulk allocation). */ static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, @@ -249,7 +249,7 @@ Signed-off-by: Thomas Gleixner void *freelist; struct page *page; -@@ -2595,6 +2649,13 @@ static void *___slab_alloc(struct kmem_c +@@ -2572,6 +2626,13 @@ static void *___slab_alloc(struct kmem_c VM_BUG_ON(!c->page->frozen); c->freelist = get_freepointer(s, freelist); c->tid = next_tid(c->tid); @@ -263,7 +263,7 @@ Signed-off-by: Thomas Gleixner return freelist; new_slab: -@@ -2610,7 +2671,7 @@ static void *___slab_alloc(struct kmem_c +@@ -2587,7 +2648,7 @@ static void *___slab_alloc(struct kmem_c if (unlikely(!freelist)) { slab_out_of_memory(s, gfpflags, node); @@ -272,7 +272,7 @@ Signed-off-by: Thomas Gleixner } page = c->page; -@@ -2623,7 +2684,7 @@ static void *___slab_alloc(struct kmem_c +@@ -2600,7 +2661,7 @@ static void *___slab_alloc(struct kmem_c goto new_slab; /* Slab failed checks. Next slab needed */ deactivate_slab(s, page, get_freepointer(s, freelist), c); @@ -281,7 +281,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -2635,6 +2696,7 @@ static void *__slab_alloc(struct kmem_ca +@@ -2612,6 +2673,7 @@ static void *__slab_alloc(struct kmem_ca { void *p; unsigned long flags; @@ -289,7 +289,7 @@ Signed-off-by: Thomas Gleixner local_irq_save(flags); #ifdef CONFIG_PREEMPT -@@ -2646,8 +2708,9 @@ static void *__slab_alloc(struct kmem_ca +@@ -2623,8 +2685,9 @@ static void *__slab_alloc(struct kmem_ca c = this_cpu_ptr(s->cpu_slab); #endif @@ -300,7 +300,7 @@ Signed-off-by: Thomas Gleixner return p; } -@@ -2833,7 +2896,7 @@ static void __slab_free(struct kmem_cach +@@ -2810,7 +2873,7 @@ static void __slab_free(struct kmem_cach do { if (unlikely(n)) { @@ -309,7 +309,7 @@ Signed-off-by: Thomas Gleixner n = NULL; } prior = page->freelist; -@@ -2865,7 +2928,7 @@ static void __slab_free(struct kmem_cach +@@ -2842,7 +2905,7 @@ static void __slab_free(struct kmem_cach * Otherwise the list_lock will synchronize with * other processors updating the list of slabs. */ @@ -318,7 +318,7 @@ Signed-off-by: Thomas Gleixner } } -@@ -2907,7 +2970,7 @@ static void __slab_free(struct kmem_cach +@@ -2884,7 +2947,7 @@ static void __slab_free(struct kmem_cach add_partial(n, page, DEACTIVATE_TO_TAIL); stat(s, FREE_ADD_PARTIAL); } @@ -327,7 +327,7 @@ Signed-off-by: Thomas Gleixner return; slab_empty: -@@ -2922,7 +2985,7 @@ static void __slab_free(struct kmem_cach +@@ -2899,7 +2962,7 @@ static void __slab_free(struct kmem_cach remove_full(s, n, page); } @@ -336,7 +336,7 @@ Signed-off-by: Thomas Gleixner stat(s, FREE_SLAB); discard_slab(s, page); } -@@ -3127,6 +3190,7 @@ int kmem_cache_alloc_bulk(struct kmem_ca +@@ -3104,6 +3167,7 @@ int kmem_cache_alloc_bulk(struct kmem_ca void **p) { struct kmem_cache_cpu *c; @@ -344,7 +344,7 @@ Signed-off-by: Thomas Gleixner int i; /* memcg and kmem_cache debug support */ -@@ -3150,7 +3214,7 @@ int kmem_cache_alloc_bulk(struct kmem_ca +@@ -3127,7 +3191,7 @@ int kmem_cache_alloc_bulk(struct kmem_ca * of re-populating per CPU c->freelist */ p[i] = ___slab_alloc(s, flags, NUMA_NO_NODE, @@ -353,7 +353,7 @@ Signed-off-by: Thomas Gleixner if (unlikely(!p[i])) goto error; -@@ -3162,6 +3226,7 @@ int kmem_cache_alloc_bulk(struct kmem_ca +@@ -3139,6 +3203,7 @@ int kmem_cache_alloc_bulk(struct kmem_ca } c->tid = next_tid(c->tid); local_irq_enable(); @@ -361,7 +361,7 @@ Signed-off-by: Thomas Gleixner /* Clear memory outside IRQ disabled fastpath loop */ if (unlikely(flags & __GFP_ZERO)) { -@@ -3309,7 +3374,7 @@ static void +@@ -3286,7 +3351,7 @@ static void init_kmem_cache_node(struct kmem_cache_node *n) { n->nr_partial = 0; @@ -370,7 +370,7 @@ Signed-off-by: Thomas Gleixner INIT_LIST_HEAD(&n->partial); #ifdef CONFIG_SLUB_DEBUG atomic_long_set(&n->nr_slabs, 0); -@@ -3663,6 +3728,10 @@ static void list_slab_objects(struct kme +@@ -3640,6 +3705,10 @@ static void list_slab_objects(struct kme const char *text) { #ifdef CONFIG_SLUB_DEBUG @@ -381,7 +381,7 @@ Signed-off-by: Thomas Gleixner void *addr = page_address(page); void *p; unsigned long *map = kzalloc(BITS_TO_LONGS(page->objects) * -@@ -3683,6 +3752,7 @@ static void list_slab_objects(struct kme +@@ -3660,6 +3729,7 @@ static void list_slab_objects(struct kme slab_unlock(page); kfree(map); #endif @@ -389,7 +389,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -3696,7 +3766,7 @@ static void free_partial(struct kmem_cac +@@ -3673,7 +3743,7 @@ static void free_partial(struct kmem_cac struct page *page, *h; BUG_ON(irqs_disabled()); @@ -398,7 +398,7 @@ Signed-off-by: Thomas Gleixner list_for_each_entry_safe(page, h, &n->partial, lru) { if (!page->inuse) { remove_partial(n, page); -@@ -3706,7 +3776,7 @@ static void free_partial(struct kmem_cac +@@ -3683,7 +3753,7 @@ static void free_partial(struct kmem_cac "Objects remaining in %s on __kmem_cache_shutdown()"); } } @@ -407,7 +407,7 @@ Signed-off-by: Thomas Gleixner list_for_each_entry_safe(page, h, &discard, lru) discard_slab(s, page); -@@ -3950,7 +4020,7 @@ int __kmem_cache_shrink(struct kmem_cach +@@ -3927,7 +3997,7 @@ int __kmem_cache_shrink(struct kmem_cach for (i = 0; i < SHRINK_PROMOTE_MAX; i++) INIT_LIST_HEAD(promote + i); @@ -416,7 +416,7 @@ Signed-off-by: Thomas Gleixner /* * Build lists of slabs to discard or promote. -@@ -3981,7 +4051,7 @@ int __kmem_cache_shrink(struct kmem_cach +@@ -3958,7 +4028,7 @@ int __kmem_cache_shrink(struct kmem_cach for (i = SHRINK_PROMOTE_MAX - 1; i >= 0; i--) list_splice(promote + i, &n->partial); @@ -425,7 +425,7 @@ Signed-off-by: Thomas Gleixner /* Release empty slabs */ list_for_each_entry_safe(page, t, &discard, lru) -@@ -4194,6 +4264,12 @@ void __init kmem_cache_init(void) +@@ -4171,6 +4241,12 @@ void __init kmem_cache_init(void) { static __initdata struct kmem_cache boot_kmem_cache, boot_kmem_cache_node; @@ -438,7 +438,7 @@ Signed-off-by: Thomas Gleixner if (debug_guardpage_minorder()) slub_max_order = 0; -@@ -4402,7 +4478,7 @@ static int validate_slab_node(struct kme +@@ -4379,7 +4455,7 @@ static int validate_slab_node(struct kme struct page *page; unsigned long flags; @@ -447,7 +447,7 @@ Signed-off-by: Thomas Gleixner list_for_each_entry(page, &n->partial, lru) { validate_slab_slab(s, page, map); -@@ -4424,7 +4500,7 @@ static int validate_slab_node(struct kme +@@ -4401,7 +4477,7 @@ static int validate_slab_node(struct kme s->name, count, atomic_long_read(&n->nr_slabs)); out: @@ -456,7 +456,7 @@ Signed-off-by: Thomas Gleixner return count; } -@@ -4612,12 +4688,12 @@ static int list_locations(struct kmem_ca +@@ -4589,12 +4665,12 @@ static int list_locations(struct kmem_ca if (!atomic_long_read(&n->nr_slabs)) continue; diff --git a/kernel/patches-4.14.x-rt/0164-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch b/kernel/patches-4.14.x-rt/0166-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch similarity index 91% rename from kernel/patches-4.14.x-rt/0164-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch rename to kernel/patches-4.14.x-rt/0166-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch index 1c30f0a30..226f37cf0 100644 --- a/kernel/patches-4.14.x-rt/0164-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch +++ b/kernel/patches-4.14.x-rt/0166-mm-slub-close-possible-memory-leak-in-kmem_cache_all.patch @@ -15,7 +15,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/mm/slub.c +++ b/mm/slub.c -@@ -3241,6 +3241,7 @@ int kmem_cache_alloc_bulk(struct kmem_ca +@@ -3218,6 +3218,7 @@ int kmem_cache_alloc_bulk(struct kmem_ca return i; error: local_irq_enable(); diff --git a/kernel/patches-4.14.x-rt/0165-slub-enable-irqs-for-no-wait.patch b/kernel/patches-4.14.x-rt/0167-slub-enable-irqs-for-no-wait.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0165-slub-enable-irqs-for-no-wait.patch rename to kernel/patches-4.14.x-rt/0167-slub-enable-irqs-for-no-wait.patch index 4336c4fe7..d48c855c4 100644 --- a/kernel/patches-4.14.x-rt/0165-slub-enable-irqs-for-no-wait.patch +++ b/kernel/patches-4.14.x-rt/0167-slub-enable-irqs-for-no-wait.patch @@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner --- a/mm/slub.c +++ b/mm/slub.c -@@ -1572,14 +1572,17 @@ static struct page *allocate_slab(struct +@@ -1567,14 +1567,17 @@ static struct page *allocate_slab(struct void *start, *p; int idx, order; bool shuffle; @@ -32,7 +32,7 @@ Signed-off-by: Thomas Gleixner local_irq_enable(); flags |= s->allocflags; -@@ -1654,11 +1657,7 @@ static struct page *allocate_slab(struct +@@ -1633,11 +1636,7 @@ static struct page *allocate_slab(struct page->frozen = 1; out: diff --git a/kernel/patches-4.14.x-rt/0166-slub-disable-SLUB_CPU_PARTIAL.patch b/kernel/patches-4.14.x-rt/0168-slub-disable-SLUB_CPU_PARTIAL.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0166-slub-disable-SLUB_CPU_PARTIAL.patch rename to kernel/patches-4.14.x-rt/0168-slub-disable-SLUB_CPU_PARTIAL.patch diff --git a/kernel/patches-4.14.x-rt/0167-mm-page-alloc-use-local-lock-on-target-cpu.patch b/kernel/patches-4.14.x-rt/0169-mm-page-alloc-use-local-lock-on-target-cpu.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0167-mm-page-alloc-use-local-lock-on-target-cpu.patch rename to kernel/patches-4.14.x-rt/0169-mm-page-alloc-use-local-lock-on-target-cpu.patch index e5e462b4b..7e3e0389a 100644 --- a/kernel/patches-4.14.x-rt/0167-mm-page-alloc-use-local-lock-on-target-cpu.patch +++ b/kernel/patches-4.14.x-rt/0169-mm-page-alloc-use-local-lock-on-target-cpu.patch @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner --- a/mm/page_alloc.c +++ b/mm/page_alloc.c -@@ -292,9 +292,9 @@ static DEFINE_LOCAL_IRQ_LOCK(pa_lock); +@@ -291,9 +291,9 @@ static DEFINE_LOCAL_IRQ_LOCK(pa_lock); #ifdef CONFIG_PREEMPT_RT_BASE # define cpu_lock_irqsave(cpu, flags) \ diff --git a/kernel/patches-4.14.x-rt/0168-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch b/kernel/patches-4.14.x-rt/0170-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0168-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch rename to kernel/patches-4.14.x-rt/0170-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch diff --git a/kernel/patches-4.14.x-rt/0169-mm-memcontrol-do_not_disable_irq.patch b/kernel/patches-4.14.x-rt/0171-mm-memcontrol-do_not_disable_irq.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0169-mm-memcontrol-do_not_disable_irq.patch rename to kernel/patches-4.14.x-rt/0171-mm-memcontrol-do_not_disable_irq.patch diff --git a/kernel/patches-4.14.x-rt/0170-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch b/kernel/patches-4.14.x-rt/0172-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0170-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch rename to kernel/patches-4.14.x-rt/0172-mm-backing-dev-don-t-disable-IRQs-in-wb_congested_pu.patch diff --git a/kernel/patches-4.14.x-rt/0171-mm_zsmalloc_copy_with_get_cpu_var_and_locking.patch b/kernel/patches-4.14.x-rt/0173-mm_zsmalloc_copy_with_get_cpu_var_and_locking.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0171-mm_zsmalloc_copy_with_get_cpu_var_and_locking.patch rename to kernel/patches-4.14.x-rt/0173-mm_zsmalloc_copy_with_get_cpu_var_and_locking.patch diff --git a/kernel/patches-4.14.x-rt/0172-radix-tree-use-local-locks.patch b/kernel/patches-4.14.x-rt/0174-radix-tree-use-local-locks.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0172-radix-tree-use-local-locks.patch rename to kernel/patches-4.14.x-rt/0174-radix-tree-use-local-locks.patch diff --git a/kernel/patches-4.14.x-rt/0173-panic-disable-random-on-rt.patch b/kernel/patches-4.14.x-rt/0175-panic-disable-random-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0173-panic-disable-random-on-rt.patch rename to kernel/patches-4.14.x-rt/0175-panic-disable-random-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0174-timers-prepare-for-full-preemption.patch b/kernel/patches-4.14.x-rt/0176-timers-prepare-for-full-preemption.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0174-timers-prepare-for-full-preemption.patch rename to kernel/patches-4.14.x-rt/0176-timers-prepare-for-full-preemption.patch index fff75bee9..f6d247e5f 100644 --- a/kernel/patches-4.14.x-rt/0174-timers-prepare-for-full-preemption.patch +++ b/kernel/patches-4.14.x-rt/0176-timers-prepare-for-full-preemption.patch @@ -28,7 +28,7 @@ Signed-off-by: Thomas Gleixner # define del_timer_sync(t) del_timer(t) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -522,11 +522,14 @@ void resched_cpu(int cpu) +@@ -523,11 +523,14 @@ void resched_cpu(int cpu) */ int get_nohz_timer_target(void) { @@ -45,7 +45,7 @@ Signed-off-by: Thomas Gleixner rcu_read_lock(); for_each_domain(cpu, sd) { -@@ -545,6 +548,8 @@ int get_nohz_timer_target(void) +@@ -546,6 +549,8 @@ int get_nohz_timer_target(void) cpu = housekeeping_any_cpu(); unlock: rcu_read_unlock(); @@ -154,7 +154,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -1868,6 +1902,9 @@ static void __init init_timer_cpu(int cp +@@ -1874,6 +1908,9 @@ static void __init init_timer_cpu(int cp base->cpu = cpu; raw_spin_lock_init(&base->lock); base->clk = jiffies; diff --git a/kernel/patches-4.14.x-rt/0175-timer-delay-waking-softirqs-from-the-jiffy-tick.patch b/kernel/patches-4.14.x-rt/0177-timer-delay-waking-softirqs-from-the-jiffy-tick.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0175-timer-delay-waking-softirqs-from-the-jiffy-tick.patch rename to kernel/patches-4.14.x-rt/0177-timer-delay-waking-softirqs-from-the-jiffy-tick.patch diff --git a/kernel/patches-4.14.x-rt/0176-nohz-Prevent-erroneous-tick-stop-invocations.patch b/kernel/patches-4.14.x-rt/0178-nohz-Prevent-erroneous-tick-stop-invocations.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0176-nohz-Prevent-erroneous-tick-stop-invocations.patch rename to kernel/patches-4.14.x-rt/0178-nohz-Prevent-erroneous-tick-stop-invocations.patch diff --git a/kernel/patches-4.14.x-rt/0177-x86-kvm-require-const-tsc-for-rt.patch b/kernel/patches-4.14.x-rt/0179-x86-kvm-require-const-tsc-for-rt.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0177-x86-kvm-require-const-tsc-for-rt.patch rename to kernel/patches-4.14.x-rt/0179-x86-kvm-require-const-tsc-for-rt.patch index fe27b3fed..d22bfee26 100644 --- a/kernel/patches-4.14.x-rt/0177-x86-kvm-require-const-tsc-for-rt.patch +++ b/kernel/patches-4.14.x-rt/0179-x86-kvm-require-const-tsc-for-rt.patch @@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c -@@ -6142,6 +6142,13 @@ int kvm_arch_init(void *opaque) +@@ -6148,6 +6148,13 @@ int kvm_arch_init(void *opaque) goto out; } diff --git a/kernel/patches-4.14.x-rt/0178-wait.h-include-atomic.h.patch b/kernel/patches-4.14.x-rt/0180-wait.h-include-atomic.h.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0178-wait.h-include-atomic.h.patch rename to kernel/patches-4.14.x-rt/0180-wait.h-include-atomic.h.patch diff --git a/kernel/patches-4.14.x-rt/0179-work-simple-Simple-work-queue-implemenation.patch b/kernel/patches-4.14.x-rt/0181-work-simple-Simple-work-queue-implemenation.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0179-work-simple-Simple-work-queue-implemenation.patch rename to kernel/patches-4.14.x-rt/0181-work-simple-Simple-work-queue-implemenation.patch diff --git a/kernel/patches-4.14.x-rt/0180-completion-use-simple-wait-queues.patch b/kernel/patches-4.14.x-rt/0182-completion-use-simple-wait-queues.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0180-completion-use-simple-wait-queues.patch rename to kernel/patches-4.14.x-rt/0182-completion-use-simple-wait-queues.patch index 30a21eacf..b47f83d8b 100644 --- a/kernel/patches-4.14.x-rt/0180-completion-use-simple-wait-queues.patch +++ b/kernel/patches-4.14.x-rt/0182-completion-use-simple-wait-queues.patch @@ -34,7 +34,7 @@ Signed-off-by: Thomas Gleixner break; --- a/drivers/usb/gadget/function/f_fs.c +++ b/drivers/usb/gadget/function/f_fs.c -@@ -1610,7 +1610,7 @@ static void ffs_data_put(struct ffs_data +@@ -1609,7 +1609,7 @@ static void ffs_data_put(struct ffs_data pr_info("%s(): freeing\n", __func__); ffs_data_clear(ffs); BUG_ON(waitqueue_active(&ffs->ev.waitq) || @@ -290,7 +290,7 @@ Signed-off-by: Thomas Gleixner EXPORT_SYMBOL(completion_done); --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6816,7 +6816,10 @@ void migrate_disable(void) +@@ -6817,7 +6817,10 @@ void migrate_disable(void) return; } #ifdef CONFIG_SCHED_DEBUG @@ -302,7 +302,7 @@ Signed-off-by: Thomas Gleixner #endif if (p->migrate_disable) { -@@ -6846,7 +6849,10 @@ void migrate_enable(void) +@@ -6847,7 +6850,10 @@ void migrate_enable(void) } #ifdef CONFIG_SCHED_DEBUG diff --git a/kernel/patches-4.14.x-rt/0181-fs-aio-simple-simple-work.patch b/kernel/patches-4.14.x-rt/0183-fs-aio-simple-simple-work.patch similarity index 64% rename from kernel/patches-4.14.x-rt/0181-fs-aio-simple-simple-work.patch rename to kernel/patches-4.14.x-rt/0183-fs-aio-simple-simple-work.patch index 112840171..671f2032b 100644 --- a/kernel/patches-4.14.x-rt/0181-fs-aio-simple-simple-work.patch +++ b/kernel/patches-4.14.x-rt/0183-fs-aio-simple-simple-work.patch @@ -24,8 +24,8 @@ Reported-By: Mike Galbraith Suggested-by: Benjamin LaHaise Signed-off-by: Sebastian Andrzej Siewior --- - fs/aio.c | 24 +++++++++++++++++------- - 1 file changed, 17 insertions(+), 7 deletions(-) + fs/aio.c | 15 +++++++++++++-- + 1 file changed, 13 insertions(+), 2 deletions(-) --- a/fs/aio.c +++ b/fs/aio.c @@ -37,16 +37,15 @@ Signed-off-by: Sebastian Andrzej Siewior #include #include -@@ -115,7 +116,7 @@ struct kioctx { - struct page **ring_pages; - long nr_pages; +@@ -117,6 +118,7 @@ struct kioctx { -- struct work_struct free_work; -+ struct swork_event free_work; + struct rcu_head free_rcu; + struct work_struct free_work; /* see free_ioctx() */ ++ struct swork_event free_swork; /* see free_ioctx() */ /* * signals when all in-flight requests are done -@@ -258,6 +259,7 @@ static int __init aio_setup(void) +@@ -259,6 +261,7 @@ static int __init aio_setup(void) .mount = aio_mount, .kill_sb = kill_anon_super, }; @@ -54,30 +53,7 @@ Signed-off-by: Sebastian Andrzej Siewior aio_mnt = kern_mount(&aio_fs); if (IS_ERR(aio_mnt)) panic("Failed to create aio fs mount."); -@@ -588,9 +590,9 @@ static int kiocb_cancel(struct aio_kiocb - return cancel(&kiocb->common); - } - --static void free_ioctx(struct work_struct *work) -+static void free_ioctx(struct swork_event *sev) - { -- struct kioctx *ctx = container_of(work, struct kioctx, free_work); -+ struct kioctx *ctx = container_of(sev, struct kioctx, free_work); - - pr_debug("freeing %p\n", ctx); - -@@ -609,8 +611,8 @@ static void free_ioctx_reqs(struct percp - if (ctx->rq_wait && atomic_dec_and_test(&ctx->rq_wait->count)) - complete(&ctx->rq_wait->comp); - -- INIT_WORK(&ctx->free_work, free_ioctx); -- schedule_work(&ctx->free_work); -+ INIT_SWORK(&ctx->free_work, free_ioctx); -+ swork_queue(&ctx->free_work); - } - - /* -@@ -618,9 +620,9 @@ static void free_ioctx_reqs(struct percp +@@ -633,9 +636,9 @@ static void free_ioctx_reqs(struct percp * and ctx->users has dropped to 0, so we know no more kiocbs can be submitted - * now it's safe to cancel any that need to be. */ @@ -85,11 +61,11 @@ Signed-off-by: Sebastian Andrzej Siewior +static void free_ioctx_users_work(struct swork_event *sev) { - struct kioctx *ctx = container_of(ref, struct kioctx, users); -+ struct kioctx *ctx = container_of(sev, struct kioctx, free_work); ++ struct kioctx *ctx = container_of(sev, struct kioctx, free_swork); struct aio_kiocb *req; spin_lock_irq(&ctx->ctx_lock); -@@ -639,6 +641,14 @@ static void free_ioctx_users(struct perc +@@ -654,6 +657,14 @@ static void free_ioctx_users(struct perc percpu_ref_put(&ctx->reqs); } @@ -97,8 +73,8 @@ Signed-off-by: Sebastian Andrzej Siewior +{ + struct kioctx *ctx = container_of(ref, struct kioctx, users); + -+ INIT_SWORK(&ctx->free_work, free_ioctx_users_work); -+ swork_queue(&ctx->free_work); ++ INIT_SWORK(&ctx->free_swork, free_ioctx_users_work); ++ swork_queue(&ctx->free_swork); +} + static int ioctx_add_table(struct kioctx *ctx, struct mm_struct *mm) diff --git a/kernel/patches-4.14.x-rt/0182-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch b/kernel/patches-4.14.x-rt/0184-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0182-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch rename to kernel/patches-4.14.x-rt/0184-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch diff --git a/kernel/patches-4.14.x-rt/0183-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch b/kernel/patches-4.14.x-rt/0185-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0183-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch rename to kernel/patches-4.14.x-rt/0185-time-hrtimer-avoid-schedule_work-with-interrupts-dis.patch diff --git a/kernel/patches-4.14.x-rt/0184-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch b/kernel/patches-4.14.x-rt/0186-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0184-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch rename to kernel/patches-4.14.x-rt/0186-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch index ef075783f..3bc59f798 100644 --- a/kernel/patches-4.14.x-rt/0184-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch +++ b/kernel/patches-4.14.x-rt/0186-hrtimer-consolidate-hrtimer_init-hrtimer_init_sleepe.patch @@ -19,7 +19,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/block/blk-mq.c +++ b/block/blk-mq.c -@@ -2800,10 +2800,9 @@ static bool blk_mq_poll_hybrid_sleep(str +@@ -2804,10 +2804,9 @@ static bool blk_mq_poll_hybrid_sleep(str kt = nsecs; mode = HRTIMER_MODE_REL; diff --git a/kernel/patches-4.14.x-rt/0185-hrtimers-prepare-full-preemption.patch b/kernel/patches-4.14.x-rt/0187-hrtimers-prepare-full-preemption.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0185-hrtimers-prepare-full-preemption.patch rename to kernel/patches-4.14.x-rt/0187-hrtimers-prepare-full-preemption.patch diff --git a/kernel/patches-4.14.x-rt/0186-hrtimer-by-timers-by-default-into-the-softirq-context.patch b/kernel/patches-4.14.x-rt/0188-hrtimer-by-timers-by-default-into-the-softirq-context.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0186-hrtimer-by-timers-by-default-into-the-softirq-context.patch rename to kernel/patches-4.14.x-rt/0188-hrtimer-by-timers-by-default-into-the-softirq-context.patch index e0dc5f346..823746975 100644 --- a/kernel/patches-4.14.x-rt/0186-hrtimer-by-timers-by-default-into-the-softirq-context.patch +++ b/kernel/patches-4.14.x-rt/0188-hrtimer-by-timers-by-default-into-the-softirq-context.patch @@ -26,7 +26,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c -@@ -2098,7 +2098,7 @@ int kvm_create_lapic(struct kvm_vcpu *vc +@@ -2097,7 +2097,7 @@ int kvm_create_lapic(struct kvm_vcpu *vc apic->vcpu = vcpu; hrtimer_init(&apic->lapic_timer.timer, CLOCK_MONOTONIC, @@ -68,7 +68,7 @@ Signed-off-by: Sebastian Andrzej Siewior timer->function = perf_mux_hrtimer_handler; } -@@ -8706,7 +8706,7 @@ static void perf_swevent_init_hrtimer(st +@@ -8709,7 +8709,7 @@ static void perf_swevent_init_hrtimer(st if (!is_sampling_event(event)) return; diff --git a/kernel/patches-4.14.x-rt/0187-hrtimer-Move-schedule_work-call-to-helper-thread.patch b/kernel/patches-4.14.x-rt/0189-hrtimer-Move-schedule_work-call-to-helper-thread.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0187-hrtimer-Move-schedule_work-call-to-helper-thread.patch rename to kernel/patches-4.14.x-rt/0189-hrtimer-Move-schedule_work-call-to-helper-thread.patch diff --git a/kernel/patches-4.14.x-rt/0188-timer-fd-avoid-live-lock.patch b/kernel/patches-4.14.x-rt/0190-timer-fd-avoid-live-lock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0188-timer-fd-avoid-live-lock.patch rename to kernel/patches-4.14.x-rt/0190-timer-fd-avoid-live-lock.patch diff --git a/kernel/patches-4.14.x-rt/0189-posix-timers-thread-posix-cpu-timers-on-rt.patch b/kernel/patches-4.14.x-rt/0191-posix-timers-thread-posix-cpu-timers-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0189-posix-timers-thread-posix-cpu-timers-on-rt.patch rename to kernel/patches-4.14.x-rt/0191-posix-timers-thread-posix-cpu-timers-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0190-sched-delay-put-task.patch b/kernel/patches-4.14.x-rt/0192-sched-delay-put-task.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0190-sched-delay-put-task.patch rename to kernel/patches-4.14.x-rt/0192-sched-delay-put-task.patch diff --git a/kernel/patches-4.14.x-rt/0191-sched-limit-nr-migrate.patch b/kernel/patches-4.14.x-rt/0193-sched-limit-nr-migrate.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0191-sched-limit-nr-migrate.patch rename to kernel/patches-4.14.x-rt/0193-sched-limit-nr-migrate.patch diff --git a/kernel/patches-4.14.x-rt/0192-sched-mmdrop-delayed.patch b/kernel/patches-4.14.x-rt/0194-sched-mmdrop-delayed.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0192-sched-mmdrop-delayed.patch rename to kernel/patches-4.14.x-rt/0194-sched-mmdrop-delayed.patch index 460a73ad1..d6192782e 100644 --- a/kernel/patches-4.14.x-rt/0192-sched-mmdrop-delayed.patch +++ b/kernel/patches-4.14.x-rt/0194-sched-mmdrop-delayed.patch @@ -23,7 +23,7 @@ Signed-off-by: Thomas Gleixner #include #include -@@ -504,6 +505,9 @@ struct mm_struct { +@@ -496,6 +497,9 @@ struct mm_struct { bool tlb_flush_batched; #endif struct uprobes_state uprobes_state; @@ -77,7 +77,7 @@ Signed-off-by: Thomas Gleixner VM_BUG_ON(atomic_read(&mm->mm_users)); --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2695,8 +2695,12 @@ static struct rq *finish_task_switch(str +@@ -2696,8 +2696,12 @@ static struct rq *finish_task_switch(str finish_arch_post_lock_switch(); fire_sched_in_preempt_notifiers(current); @@ -91,7 +91,7 @@ Signed-off-by: Thomas Gleixner if (unlikely(prev_state == TASK_DEAD)) { if (prev->sched_class->task_dead) prev->sched_class->task_dead(prev); -@@ -5433,6 +5437,8 @@ void sched_setnuma(struct task_struct *p +@@ -5434,6 +5438,8 @@ void sched_setnuma(struct task_struct *p #endif /* CONFIG_NUMA_BALANCING */ #ifdef CONFIG_HOTPLUG_CPU @@ -100,7 +100,7 @@ Signed-off-by: Thomas Gleixner /* * Ensure that the idle task is using init_mm right before its CPU goes * offline. -@@ -5447,7 +5453,12 @@ void idle_task_exit(void) +@@ -5448,7 +5454,12 @@ void idle_task_exit(void) switch_mm(mm, &init_mm, current); finish_arch_post_lock_switch(); } @@ -114,7 +114,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -5750,6 +5761,10 @@ int sched_cpu_dying(unsigned int cpu) +@@ -5751,6 +5762,10 @@ int sched_cpu_dying(unsigned int cpu) update_max_interval(); nohz_balance_exit_idle(cpu); hrtick_clear(rq); diff --git a/kernel/patches-4.14.x-rt/0193-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch b/kernel/patches-4.14.x-rt/0195-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0193-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch rename to kernel/patches-4.14.x-rt/0195-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch index 94b0c11ee..be104163a 100644 --- a/kernel/patches-4.14.x-rt/0193-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch +++ b/kernel/patches-4.14.x-rt/0195-kernel-sched-move-stack-kprobe-clean-up-to-__put_tas.patch @@ -42,7 +42,7 @@ Signed-off-by: Sebastian Andrzej Siewior security_task_free(tsk); --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2705,15 +2705,6 @@ static struct rq *finish_task_switch(str +@@ -2706,15 +2706,6 @@ static struct rq *finish_task_switch(str if (prev->sched_class->task_dead) prev->sched_class->task_dead(prev); diff --git a/kernel/patches-4.14.x-rt/0194-sched-rt-mutex-wakeup.patch b/kernel/patches-4.14.x-rt/0196-sched-rt-mutex-wakeup.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0194-sched-rt-mutex-wakeup.patch rename to kernel/patches-4.14.x-rt/0196-sched-rt-mutex-wakeup.patch index 5e5735f43..16e061834 100644 --- a/kernel/patches-4.14.x-rt/0194-sched-rt-mutex-wakeup.patch +++ b/kernel/patches-4.14.x-rt/0196-sched-rt-mutex-wakeup.patch @@ -36,7 +36,7 @@ Signed-off-by: Thomas Gleixner #ifdef CONFIG_SMP --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2015,8 +2015,25 @@ try_to_wake_up(struct task_struct *p, un +@@ -2016,8 +2016,25 @@ try_to_wake_up(struct task_struct *p, un */ raw_spin_lock_irqsave(&p->pi_lock, flags); smp_mb__after_spinlock(); @@ -63,7 +63,7 @@ Signed-off-by: Thomas Gleixner trace_sched_waking(p); -@@ -2180,6 +2197,18 @@ int wake_up_process(struct task_struct * +@@ -2181,6 +2198,18 @@ int wake_up_process(struct task_struct * } EXPORT_SYMBOL(wake_up_process); diff --git a/kernel/patches-4.14.x-rt/0195-sched-Prevent-task-state-corruption-by-spurious-lock.patch b/kernel/patches-4.14.x-rt/0197-sched-Prevent-task-state-corruption-by-spurious-lock.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0195-sched-Prevent-task-state-corruption-by-spurious-lock.patch rename to kernel/patches-4.14.x-rt/0197-sched-Prevent-task-state-corruption-by-spurious-lock.patch index f505d221e..93f554941 100644 --- a/kernel/patches-4.14.x-rt/0195-sched-Prevent-task-state-corruption-by-spurious-lock.patch +++ b/kernel/patches-4.14.x-rt/0197-sched-Prevent-task-state-corruption-by-spurious-lock.patch @@ -66,7 +66,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2206,7 +2206,7 @@ EXPORT_SYMBOL(wake_up_process); +@@ -2207,7 +2207,7 @@ EXPORT_SYMBOL(wake_up_process); */ int wake_up_lock_sleeper(struct task_struct *p) { diff --git a/kernel/patches-4.14.x-rt/0196-sched-Remove-TASK_ALL.patch b/kernel/patches-4.14.x-rt/0198-sched-Remove-TASK_ALL.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0196-sched-Remove-TASK_ALL.patch rename to kernel/patches-4.14.x-rt/0198-sched-Remove-TASK_ALL.patch diff --git a/kernel/patches-4.14.x-rt/0197-sched-might-sleep-do-not-account-rcu-depth.patch b/kernel/patches-4.14.x-rt/0199-sched-might-sleep-do-not-account-rcu-depth.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0197-sched-might-sleep-do-not-account-rcu-depth.patch rename to kernel/patches-4.14.x-rt/0199-sched-might-sleep-do-not-account-rcu-depth.patch index 8d9175cbc..20068ac44 100644 --- a/kernel/patches-4.14.x-rt/0197-sched-might-sleep-do-not-account-rcu-depth.patch +++ b/kernel/patches-4.14.x-rt/0199-sched-might-sleep-do-not-account-rcu-depth.patch @@ -36,7 +36,7 @@ Signed-off-by: Thomas Gleixner /* Internal to kernel */ --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6049,7 +6049,7 @@ void __init sched_init(void) +@@ -6050,7 +6050,7 @@ void __init sched_init(void) #ifdef CONFIG_DEBUG_ATOMIC_SLEEP static inline int preempt_count_equals(int preempt_offset) { diff --git a/kernel/patches-4.14.x-rt/0198-cond-resched-softirq-rt.patch b/kernel/patches-4.14.x-rt/0200-cond-resched-softirq-rt.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0198-cond-resched-softirq-rt.patch rename to kernel/patches-4.14.x-rt/0200-cond-resched-softirq-rt.patch index db2854e25..e617510f3 100644 --- a/kernel/patches-4.14.x-rt/0198-cond-resched-softirq-rt.patch +++ b/kernel/patches-4.14.x-rt/0200-cond-resched-softirq-rt.patch @@ -15,7 +15,7 @@ Signed-off-by: Thomas Gleixner --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -1606,12 +1606,16 @@ extern int __cond_resched_lock(spinlock_ +@@ -1610,12 +1610,16 @@ extern int __cond_resched_lock(spinlock_ __cond_resched_lock(lock); \ }) @@ -34,7 +34,7 @@ Signed-off-by: Thomas Gleixner { --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -4945,6 +4945,7 @@ int __cond_resched_lock(spinlock_t *lock +@@ -4946,6 +4946,7 @@ int __cond_resched_lock(spinlock_t *lock } EXPORT_SYMBOL(__cond_resched_lock); @@ -42,7 +42,7 @@ Signed-off-by: Thomas Gleixner int __sched __cond_resched_softirq(void) { BUG_ON(!in_softirq()); -@@ -4958,6 +4959,7 @@ int __sched __cond_resched_softirq(void) +@@ -4959,6 +4960,7 @@ int __sched __cond_resched_softirq(void) return 0; } EXPORT_SYMBOL(__cond_resched_softirq); diff --git a/kernel/patches-4.14.x-rt/0199-cond-resched-lock-rt-tweak.patch b/kernel/patches-4.14.x-rt/0201-cond-resched-lock-rt-tweak.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0199-cond-resched-lock-rt-tweak.patch rename to kernel/patches-4.14.x-rt/0201-cond-resched-lock-rt-tweak.patch diff --git a/kernel/patches-4.14.x-rt/0200-sched-disable-ttwu-queue.patch b/kernel/patches-4.14.x-rt/0202-sched-disable-ttwu-queue.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0200-sched-disable-ttwu-queue.patch rename to kernel/patches-4.14.x-rt/0202-sched-disable-ttwu-queue.patch diff --git a/kernel/patches-4.14.x-rt/0201-sched-disable-rt-group-sched-on-rt.patch b/kernel/patches-4.14.x-rt/0203-sched-disable-rt-group-sched-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0201-sched-disable-rt-group-sched-on-rt.patch rename to kernel/patches-4.14.x-rt/0203-sched-disable-rt-group-sched-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0202-sched-ttwu-ensure-success-return-is-correct.patch b/kernel/patches-4.14.x-rt/0204-sched-ttwu-ensure-success-return-is-correct.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0202-sched-ttwu-ensure-success-return-is-correct.patch rename to kernel/patches-4.14.x-rt/0204-sched-ttwu-ensure-success-return-is-correct.patch index ba04c81fd..eaf5e7294 100644 --- a/kernel/patches-4.14.x-rt/0202-sched-ttwu-ensure-success-return-is-correct.patch +++ b/kernel/patches-4.14.x-rt/0204-sched-ttwu-ensure-success-return-is-correct.patch @@ -20,7 +20,7 @@ Signed-off-by: Thomas Gleixner --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -2022,8 +2022,10 @@ try_to_wake_up(struct task_struct *p, un +@@ -2023,8 +2023,10 @@ try_to_wake_up(struct task_struct *p, un * if the wakeup condition is true. */ if (!(wake_flags & WF_LOCK_SLEEPER)) { diff --git a/kernel/patches-4.14.x-rt/0203-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch b/kernel/patches-4.14.x-rt/0205-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0203-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch rename to kernel/patches-4.14.x-rt/0205-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch index aaa80817e..fd96248b4 100644 --- a/kernel/patches-4.14.x-rt/0203-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch +++ b/kernel/patches-4.14.x-rt/0205-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch @@ -23,7 +23,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -3387,8 +3387,10 @@ static void __sched notrace __schedule(b +@@ -3388,8 +3388,10 @@ static void __sched notrace __schedule(b * If a worker went to sleep, notify and ask workqueue * whether it wants to wake up a task to maintain * concurrency. diff --git a/kernel/patches-4.14.x-rt/0204-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch b/kernel/patches-4.14.x-rt/0206-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0204-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch rename to kernel/patches-4.14.x-rt/0206-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch index 6dbb90f1f..e5441486d 100644 --- a/kernel/patches-4.14.x-rt/0204-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch +++ b/kernel/patches-4.14.x-rt/0206-rt-Increase-decrease-the-nr-of-migratory-tasks-when-.patch @@ -80,7 +80,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6850,6 +6850,47 @@ const u32 sched_prio_to_wmult[40] = { +@@ -6851,6 +6851,47 @@ const u32 sched_prio_to_wmult[40] = { #if defined(CONFIG_PREEMPT_COUNT) && defined(CONFIG_SMP) @@ -128,7 +128,7 @@ Signed-off-by: Sebastian Andrzej Siewior void migrate_disable(void) { struct task_struct *p = current; -@@ -6873,10 +6914,9 @@ void migrate_disable(void) +@@ -6874,10 +6915,9 @@ void migrate_disable(void) } preempt_disable(); @@ -141,7 +141,7 @@ Signed-off-by: Sebastian Andrzej Siewior preempt_enable(); } -@@ -6908,9 +6948,8 @@ void migrate_enable(void) +@@ -6909,9 +6949,8 @@ void migrate_enable(void) preempt_disable(); diff --git a/kernel/patches-4.14.x-rt/0205-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch b/kernel/patches-4.14.x-rt/0207-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0205-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch rename to kernel/patches-4.14.x-rt/0207-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch diff --git a/kernel/patches-4.14.x-rt/0206-stop-machine-raw-lock.patch b/kernel/patches-4.14.x-rt/0208-stop-machine-raw-lock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0206-stop-machine-raw-lock.patch rename to kernel/patches-4.14.x-rt/0208-stop-machine-raw-lock.patch diff --git a/kernel/patches-4.14.x-rt/0207-hotplug-light-get-online-cpus.patch b/kernel/patches-4.14.x-rt/0209-hotplug-light-get-online-cpus.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0207-hotplug-light-get-online-cpus.patch rename to kernel/patches-4.14.x-rt/0209-hotplug-light-get-online-cpus.patch index bd8b9f91d..c41794c2a 100644 --- a/kernel/patches-4.14.x-rt/0207-hotplug-light-get-online-cpus.patch +++ b/kernel/patches-4.14.x-rt/0209-hotplug-light-get-online-cpus.patch @@ -64,7 +64,7 @@ Signed-off-by: Thomas Gleixner void cpus_read_lock(void) --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -6914,6 +6914,7 @@ void migrate_disable(void) +@@ -6915,6 +6915,7 @@ void migrate_disable(void) } preempt_disable(); @@ -72,7 +72,7 @@ Signed-off-by: Thomas Gleixner migrate_disable_update_cpus_allowed(p); p->migrate_disable = 1; -@@ -6979,12 +6980,15 @@ void migrate_enable(void) +@@ -6980,12 +6981,15 @@ void migrate_enable(void) arg.task = p; arg.dest_cpu = dest_cpu; diff --git a/kernel/patches-4.14.x-rt/0208-ftrace-migrate-disable-tracing.patch b/kernel/patches-4.14.x-rt/0210-ftrace-migrate-disable-tracing.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0208-ftrace-migrate-disable-tracing.patch rename to kernel/patches-4.14.x-rt/0210-ftrace-migrate-disable-tracing.patch diff --git a/kernel/patches-4.14.x-rt/0209-lockdep-no-softirq-accounting-on-rt.patch b/kernel/patches-4.14.x-rt/0211-lockdep-no-softirq-accounting-on-rt.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0209-lockdep-no-softirq-accounting-on-rt.patch rename to kernel/patches-4.14.x-rt/0211-lockdep-no-softirq-accounting-on-rt.patch index c8e0d9646..092ea823a 100644 --- a/kernel/patches-4.14.x-rt/0209-lockdep-no-softirq-accounting-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0211-lockdep-no-softirq-accounting-on-rt.patch @@ -56,7 +56,7 @@ Signed-off-by: Thomas Gleixner #if defined(CONFIG_IRQSOFF_TRACER) || \ --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c -@@ -3917,6 +3917,7 @@ static void check_flags(unsigned long fl +@@ -3914,6 +3914,7 @@ static void check_flags(unsigned long fl } } @@ -64,7 +64,7 @@ Signed-off-by: Thomas Gleixner /* * We dont accurately track softirq state in e.g. * hardirq contexts (such as on 4KSTACKS), so only -@@ -3931,6 +3932,7 @@ static void check_flags(unsigned long fl +@@ -3928,6 +3929,7 @@ static void check_flags(unsigned long fl DEBUG_LOCKS_WARN_ON(!current->softirqs_enabled); } } diff --git a/kernel/patches-4.14.x-rt/0210-lockdep-disable-self-test.patch b/kernel/patches-4.14.x-rt/0212-lockdep-disable-self-test.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0210-lockdep-disable-self-test.patch rename to kernel/patches-4.14.x-rt/0212-lockdep-disable-self-test.patch index 813d2f343..71b2e27ce 100644 --- a/kernel/patches-4.14.x-rt/0210-lockdep-disable-self-test.patch +++ b/kernel/patches-4.14.x-rt/0212-lockdep-disable-self-test.patch @@ -17,7 +17,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug -@@ -1199,7 +1199,7 @@ config DEBUG_ATOMIC_SLEEP +@@ -1197,7 +1197,7 @@ config DEBUG_ATOMIC_SLEEP config DEBUG_LOCKING_API_SELFTESTS bool "Locking API boot-time self-tests" diff --git a/kernel/patches-4.14.x-rt/0211-mutex-no-spin-on-rt.patch b/kernel/patches-4.14.x-rt/0213-mutex-no-spin-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0211-mutex-no-spin-on-rt.patch rename to kernel/patches-4.14.x-rt/0213-mutex-no-spin-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0212-tasklet-rt-prevent-tasklets-from-going-into-infinite-spin-in-rt.patch b/kernel/patches-4.14.x-rt/0214-tasklet-rt-prevent-tasklets-from-going-into-infinite-spin-in-rt.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0212-tasklet-rt-prevent-tasklets-from-going-into-infinite-spin-in-rt.patch rename to kernel/patches-4.14.x-rt/0214-tasklet-rt-prevent-tasklets-from-going-into-infinite-spin-in-rt.patch index 32817a480..96297d22f 100644 --- a/kernel/patches-4.14.x-rt/0212-tasklet-rt-prevent-tasklets-from-going-into-infinite-spin-in-rt.patch +++ b/kernel/patches-4.14.x-rt/0214-tasklet-rt-prevent-tasklets-from-going-into-infinite-spin-in-rt.patch @@ -348,7 +348,7 @@ Signed-off-by: Thomas Gleixner } while (test_bit(TASKLET_STATE_SCHED, &t->state)); } tasklet_unlock_wait(t); -@@ -656,6 +722,23 @@ void __init softirq_init(void) +@@ -605,6 +671,23 @@ void __init softirq_init(void) open_softirq(HI_SOFTIRQ, tasklet_hi_action); } diff --git a/kernel/patches-4.14.x-rt/0213-softirq-preempt-fix-3-re.patch b/kernel/patches-4.14.x-rt/0215-softirq-preempt-fix-3-re.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0213-softirq-preempt-fix-3-re.patch rename to kernel/patches-4.14.x-rt/0215-softirq-preempt-fix-3-re.patch index e9c7dd288..915f2a2e9 100644 --- a/kernel/patches-4.14.x-rt/0213-softirq-preempt-fix-3-re.patch +++ b/kernel/patches-4.14.x-rt/0215-softirq-preempt-fix-3-re.patch @@ -111,7 +111,7 @@ Signed-off-by: Thomas Gleixner } --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -2431,6 +2431,7 @@ static void __netif_reschedule(struct Qd +@@ -2438,6 +2438,7 @@ static void __netif_reschedule(struct Qd sd->output_queue_tailp = &q->next_sched; raise_softirq_irqoff(NET_TX_SOFTIRQ); local_irq_restore(flags); @@ -119,7 +119,7 @@ Signed-off-by: Thomas Gleixner } void __netif_schedule(struct Qdisc *q) -@@ -2493,6 +2494,7 @@ void __dev_kfree_skb_irq(struct sk_buff +@@ -2500,6 +2501,7 @@ void __dev_kfree_skb_irq(struct sk_buff __this_cpu_write(softnet_data.completion_queue, skb); raise_softirq_irqoff(NET_TX_SOFTIRQ); local_irq_restore(flags); @@ -127,7 +127,7 @@ Signed-off-by: Thomas Gleixner } EXPORT_SYMBOL(__dev_kfree_skb_irq); -@@ -3867,6 +3869,7 @@ static int enqueue_to_backlog(struct sk_ +@@ -3874,6 +3876,7 @@ static int enqueue_to_backlog(struct sk_ rps_unlock(sd); local_irq_restore(flags); @@ -135,7 +135,7 @@ Signed-off-by: Thomas Gleixner atomic_long_inc(&skb->dev->rx_dropped); kfree_skb(skb); -@@ -5116,12 +5119,14 @@ static void net_rps_action_and_irq_enabl +@@ -5123,12 +5126,14 @@ static void net_rps_action_and_irq_enabl sd->rps_ipi_list = NULL; local_irq_enable(); @@ -150,7 +150,7 @@ Signed-off-by: Thomas Gleixner } static bool sd_has_rps_ipi_waiting(struct softnet_data *sd) -@@ -5199,6 +5204,7 @@ void __napi_schedule(struct napi_struct +@@ -5206,6 +5211,7 @@ void __napi_schedule(struct napi_struct local_irq_save(flags); ____napi_schedule(this_cpu_ptr(&softnet_data), n); local_irq_restore(flags); @@ -158,7 +158,7 @@ Signed-off-by: Thomas Gleixner } EXPORT_SYMBOL(__napi_schedule); -@@ -8403,6 +8409,7 @@ static int dev_cpu_dead(unsigned int old +@@ -8410,6 +8416,7 @@ static int dev_cpu_dead(unsigned int old raise_softirq_irqoff(NET_TX_SOFTIRQ); local_irq_enable(); diff --git a/kernel/patches-4.14.x-rt/0214-softirq-disable-softirq-stacks-for-rt.patch b/kernel/patches-4.14.x-rt/0216-softirq-disable-softirq-stacks-for-rt.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0214-softirq-disable-softirq-stacks-for-rt.patch rename to kernel/patches-4.14.x-rt/0216-softirq-disable-softirq-stacks-for-rt.patch index 1f3cb6684..d55faa2c4 100644 --- a/kernel/patches-4.14.x-rt/0214-softirq-disable-softirq-stacks-for-rt.patch +++ b/kernel/patches-4.14.x-rt/0216-softirq-disable-softirq-stacks-for-rt.patch @@ -109,7 +109,7 @@ Signed-off-by: Thomas Gleixner void fixup_irqs(void) --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S -@@ -1024,6 +1024,7 @@ EXPORT_SYMBOL(native_load_gs_index) +@@ -988,6 +988,7 @@ EXPORT_SYMBOL(native_load_gs_index) jmp 2b .previous @@ -117,7 +117,7 @@ Signed-off-by: Thomas Gleixner /* Call softirq on interrupt stack. Interrupts are off. */ ENTRY(do_softirq_own_stack) pushq %rbp -@@ -1034,6 +1035,7 @@ ENTRY(do_softirq_own_stack) +@@ -998,6 +999,7 @@ ENTRY(do_softirq_own_stack) leaveq ret ENDPROC(do_softirq_own_stack) diff --git a/kernel/patches-4.14.x-rt/0215-softirq-split-locks.patch b/kernel/patches-4.14.x-rt/0217-softirq-split-locks.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0215-softirq-split-locks.patch rename to kernel/patches-4.14.x-rt/0217-softirq-split-locks.patch index ce81583dc..56c69c7a2 100644 --- a/kernel/patches-4.14.x-rt/0215-softirq-split-locks.patch +++ b/kernel/patches-4.14.x-rt/0217-softirq-split-locks.patch @@ -117,7 +117,7 @@ Signed-off-by: Thomas Gleixner DECLARE_PER_CPU(struct task_struct *, ksoftirqd); -@@ -648,6 +653,12 @@ extern void tasklet_kill_immediate(struc +@@ -633,6 +638,12 @@ extern void tasklet_kill_immediate(struc extern void tasklet_init(struct tasklet_struct *t, void (*func)(unsigned long), unsigned long data); @@ -191,7 +191,7 @@ Signed-off-by: Thomas Gleixner #define PF_EXITPIDONE 0x00000008 /* PI exit done on shut down */ --- a/init/main.c +++ b/init/main.c -@@ -544,6 +544,7 @@ asmlinkage __visible void __init start_k +@@ -543,6 +543,7 @@ asmlinkage __visible void __init start_k setup_command_line(command_line); setup_nr_cpu_ids(); setup_per_cpu_areas(); @@ -762,7 +762,7 @@ Signed-off-by: Thomas Gleixner void open_softirq(int nr, void (*action)(struct softirq_action *)) { softirq_vec[nr].action = action; -@@ -702,23 +1052,7 @@ EXPORT_SYMBOL(tasklet_unlock_wait); +@@ -690,23 +1040,7 @@ EXPORT_SYMBOL(tasklet_unlock_wait); static int ksoftirqd_should_run(unsigned int cpu) { @@ -787,7 +787,7 @@ Signed-off-by: Thomas Gleixner } #ifdef CONFIG_HOTPLUG_CPU -@@ -785,6 +1119,8 @@ static int takeover_tasklets(unsigned in +@@ -773,6 +1107,8 @@ static int takeover_tasklets(unsigned in static struct smp_hotplug_thread softirq_threads = { .store = &ksoftirqd, @@ -816,7 +816,7 @@ Signed-off-by: Thomas Gleixner --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -4073,11 +4073,9 @@ int netif_rx_ni(struct sk_buff *skb) +@@ -4080,11 +4080,9 @@ int netif_rx_ni(struct sk_buff *skb) trace_netif_rx_ni_entry(skb); diff --git a/kernel/patches-4.14.x-rt/0216-kernel-softirq-unlock-with-irqs-on.patch b/kernel/patches-4.14.x-rt/0218-kernel-softirq-unlock-with-irqs-on.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0216-kernel-softirq-unlock-with-irqs-on.patch rename to kernel/patches-4.14.x-rt/0218-kernel-softirq-unlock-with-irqs-on.patch diff --git a/kernel/patches-4.14.x-rt/0217-irq-allow-disabling-of-softirq-processing-in-irq-thread-context.patch b/kernel/patches-4.14.x-rt/0219-irq-allow-disabling-of-softirq-processing-in-irq-thread-context.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0217-irq-allow-disabling-of-softirq-processing-in-irq-thread-context.patch rename to kernel/patches-4.14.x-rt/0219-irq-allow-disabling-of-softirq-processing-in-irq-thread-context.patch diff --git a/kernel/patches-4.14.x-rt/0218-softirq-split-timer-softirqs-out-of-ksoftirqd.patch b/kernel/patches-4.14.x-rt/0220-softirq-split-timer-softirqs-out-of-ksoftirqd.patch similarity index 99% rename from kernel/patches-4.14.x-rt/0218-softirq-split-timer-softirqs-out-of-ksoftirqd.patch rename to kernel/patches-4.14.x-rt/0220-softirq-split-timer-softirqs-out-of-ksoftirqd.patch index 3ecbe79bf..13ccc857e 100644 --- a/kernel/patches-4.14.x-rt/0218-softirq-split-timer-softirqs-out-of-ksoftirqd.patch +++ b/kernel/patches-4.14.x-rt/0220-softirq-split-timer-softirqs-out-of-ksoftirqd.patch @@ -172,7 +172,7 @@ Signed-off-by: Sebastian Andrzej Siewior local_irq_restore(flags); #endif } -@@ -1131,18 +1180,30 @@ static int takeover_tasklets(unsigned in +@@ -1119,18 +1168,30 @@ static int takeover_tasklets(unsigned in static struct smp_hotplug_thread softirq_threads = { .store = &ksoftirqd, .setup = ksoftirqd_set_sched_params, diff --git a/kernel/patches-4.14.x-rt/0219-softirq-wake-the-timer-softirq-if-needed.patch b/kernel/patches-4.14.x-rt/0221-softirq-wake-the-timer-softirq-if-needed.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0219-softirq-wake-the-timer-softirq-if-needed.patch rename to kernel/patches-4.14.x-rt/0221-softirq-wake-the-timer-softirq-if-needed.patch diff --git a/kernel/patches-4.14.x-rt/0220-rtmutex-trylock-is-okay-on-RT.patch b/kernel/patches-4.14.x-rt/0222-rtmutex-trylock-is-okay-on-RT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0220-rtmutex-trylock-is-okay-on-RT.patch rename to kernel/patches-4.14.x-rt/0222-rtmutex-trylock-is-okay-on-RT.patch diff --git a/kernel/patches-4.14.x-rt/0221-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch b/kernel/patches-4.14.x-rt/0223-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0221-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch rename to kernel/patches-4.14.x-rt/0223-fs-nfs-turn-rmdir_sem-into-a-semaphore.patch diff --git a/kernel/patches-4.14.x-rt/0222-rtmutex-futex-prepare-rt.patch b/kernel/patches-4.14.x-rt/0224-rtmutex-futex-prepare-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0222-rtmutex-futex-prepare-rt.patch rename to kernel/patches-4.14.x-rt/0224-rtmutex-futex-prepare-rt.patch diff --git a/kernel/patches-4.14.x-rt/0223-futex-requeue-pi-fix.patch b/kernel/patches-4.14.x-rt/0225-futex-requeue-pi-fix.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0223-futex-requeue-pi-fix.patch rename to kernel/patches-4.14.x-rt/0225-futex-requeue-pi-fix.patch index 5034b3586..824a04310 100644 --- a/kernel/patches-4.14.x-rt/0223-futex-requeue-pi-fix.patch +++ b/kernel/patches-4.14.x-rt/0225-futex-requeue-pi-fix.patch @@ -65,7 +65,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -1742,6 +1743,35 @@ int __rt_mutex_start_proxy_lock(struct r +@@ -1743,6 +1744,35 @@ int __rt_mutex_start_proxy_lock(struct r if (try_to_take_rt_mutex(lock, task, NULL)) return 1; diff --git a/kernel/patches-4.14.x-rt/0224-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch b/kernel/patches-4.14.x-rt/0226-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0224-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch rename to kernel/patches-4.14.x-rt/0226-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch index 3cbe9b669..a149a5a80 100644 --- a/kernel/patches-4.14.x-rt/0224-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch +++ b/kernel/patches-4.14.x-rt/0226-locking-rtmutex-don-t-drop-the-wait_lock-twice.patch @@ -19,7 +19,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/locking/rtmutex.c +++ b/kernel/locking/rtmutex.c -@@ -1765,7 +1765,6 @@ int __rt_mutex_start_proxy_lock(struct r +@@ -1766,7 +1766,6 @@ int __rt_mutex_start_proxy_lock(struct r raw_spin_lock(&task->pi_lock); if (task->pi_blocked_on) { raw_spin_unlock(&task->pi_lock); diff --git a/kernel/patches-4.14.x-rt/0225-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch b/kernel/patches-4.14.x-rt/0227-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0225-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch rename to kernel/patches-4.14.x-rt/0227-futex-Ensure-lock-unlock-symetry-versus-pi_lock-and-.patch diff --git a/kernel/patches-4.14.x-rt/0226-pid.h-include-atomic.h.patch b/kernel/patches-4.14.x-rt/0228-pid.h-include-atomic.h.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0226-pid.h-include-atomic.h.patch rename to kernel/patches-4.14.x-rt/0228-pid.h-include-atomic.h.patch diff --git a/kernel/patches-4.14.x-rt/0227-arm-include-definition-for-cpumask_t.patch b/kernel/patches-4.14.x-rt/0229-arm-include-definition-for-cpumask_t.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0227-arm-include-definition-for-cpumask_t.patch rename to kernel/patches-4.14.x-rt/0229-arm-include-definition-for-cpumask_t.patch diff --git a/kernel/patches-4.14.x-rt/0228-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch b/kernel/patches-4.14.x-rt/0230-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0228-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch rename to kernel/patches-4.14.x-rt/0230-locking-locktorture-Do-NOT-include-rwlock.h-directly.patch diff --git a/kernel/patches-4.14.x-rt/0229-rtmutex-lock-killable.patch b/kernel/patches-4.14.x-rt/0231-rtmutex-lock-killable.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0229-rtmutex-lock-killable.patch rename to kernel/patches-4.14.x-rt/0231-rtmutex-lock-killable.patch diff --git a/kernel/patches-4.14.x-rt/0230-rtmutex-Make-lock_killable-work.patch b/kernel/patches-4.14.x-rt/0232-rtmutex-Make-lock_killable-work.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0230-rtmutex-Make-lock_killable-work.patch rename to kernel/patches-4.14.x-rt/0232-rtmutex-Make-lock_killable-work.patch diff --git a/kernel/patches-4.14.x-rt/0231-spinlock-types-separate-raw.patch b/kernel/patches-4.14.x-rt/0233-spinlock-types-separate-raw.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0231-spinlock-types-separate-raw.patch rename to kernel/patches-4.14.x-rt/0233-spinlock-types-separate-raw.patch diff --git a/kernel/patches-4.14.x-rt/0232-rtmutex-avoid-include-hell.patch b/kernel/patches-4.14.x-rt/0234-rtmutex-avoid-include-hell.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0232-rtmutex-avoid-include-hell.patch rename to kernel/patches-4.14.x-rt/0234-rtmutex-avoid-include-hell.patch diff --git a/kernel/patches-4.14.x-rt/0233-rtmutex_dont_include_rcu.patch b/kernel/patches-4.14.x-rt/0235-rtmutex_dont_include_rcu.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0233-rtmutex_dont_include_rcu.patch rename to kernel/patches-4.14.x-rt/0235-rtmutex_dont_include_rcu.patch diff --git a/kernel/patches-4.14.x-rt/0234-rtmutex-Provide-rt_mutex_slowlock_locked.patch b/kernel/patches-4.14.x-rt/0236-rtmutex-Provide-rt_mutex_slowlock_locked.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0234-rtmutex-Provide-rt_mutex_slowlock_locked.patch rename to kernel/patches-4.14.x-rt/0236-rtmutex-Provide-rt_mutex_slowlock_locked.patch diff --git a/kernel/patches-4.14.x-rt/0235-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch b/kernel/patches-4.14.x-rt/0237-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0235-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch rename to kernel/patches-4.14.x-rt/0237-rtmutex-export-lockdep-less-version-of-rt_mutex-s-lo.patch diff --git a/kernel/patches-4.14.x-rt/0236-rtmutex-add-sleeping-lock-implementation.patch b/kernel/patches-4.14.x-rt/0238-rtmutex-add-sleeping-lock-implementation.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0236-rtmutex-add-sleeping-lock-implementation.patch rename to kernel/patches-4.14.x-rt/0238-rtmutex-add-sleeping-lock-implementation.patch index a06baa2f8..d24489573 100644 --- a/kernel/patches-4.14.x-rt/0236-rtmutex-add-sleeping-lock-implementation.patch +++ b/kernel/patches-4.14.x-rt/0238-rtmutex-add-sleeping-lock-implementation.patch @@ -1003,7 +1003,7 @@ Signed-off-by: Sebastian Andrzej Siewior { lockdep_assert_held(&lock->wait_lock); -@@ -1679,22 +2025,34 @@ bool __sched __rt_mutex_futex_unlock(str +@@ -1679,23 +2025,35 @@ bool __sched __rt_mutex_futex_unlock(str * avoid inversion prior to the wakeup. preempt_disable() * therein pairs with rt_mutex_postunlock(). */ @@ -1028,12 +1028,13 @@ Signed-off-by: Sebastian Andrzej Siewior { DEFINE_WAKE_Q(wake_q); + DEFINE_WAKE_Q(wake_sleeper_q); + unsigned long flags; bool postunlock; - raw_spin_lock_irq(&lock->wait_lock); + raw_spin_lock_irqsave(&lock->wait_lock, flags); - postunlock = __rt_mutex_futex_unlock(lock, &wake_q); + postunlock = __rt_mutex_futex_unlock(lock, &wake_q, &wake_sleeper_q); - raw_spin_unlock_irq(&lock->wait_lock); + raw_spin_unlock_irqrestore(&lock->wait_lock, flags); if (postunlock) - rt_mutex_postunlock(&wake_q); @@ -1041,7 +1042,7 @@ Signed-off-by: Sebastian Andrzej Siewior } /** -@@ -1733,7 +2091,7 @@ void __rt_mutex_init(struct rt_mutex *lo +@@ -1734,7 +2092,7 @@ void __rt_mutex_init(struct rt_mutex *lo if (name && key) debug_rt_mutex_init(lock, name, key); } @@ -1050,7 +1051,7 @@ Signed-off-by: Sebastian Andrzej Siewior /** * rt_mutex_init_proxy_locked - initialize and lock a rt_mutex on behalf of a -@@ -1902,6 +2260,7 @@ int rt_mutex_wait_proxy_lock(struct rt_m +@@ -1903,6 +2261,7 @@ int rt_mutex_wait_proxy_lock(struct rt_m struct hrtimer_sleeper *to, struct rt_mutex_waiter *waiter) { @@ -1058,7 +1059,7 @@ Signed-off-by: Sebastian Andrzej Siewior int ret; raw_spin_lock_irq(&lock->wait_lock); -@@ -1913,6 +2272,24 @@ int rt_mutex_wait_proxy_lock(struct rt_m +@@ -1914,6 +2273,24 @@ int rt_mutex_wait_proxy_lock(struct rt_m * have to fix that up. */ fixup_rt_mutex_waiters(lock); diff --git a/kernel/patches-4.14.x-rt/0237-rtmutex-add-mutex-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0239-rtmutex-add-mutex-implementation-based-on-rtmutex.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0237-rtmutex-add-mutex-implementation-based-on-rtmutex.patch rename to kernel/patches-4.14.x-rt/0239-rtmutex-add-mutex-implementation-based-on-rtmutex.patch diff --git a/kernel/patches-4.14.x-rt/0238-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0240-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0238-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch rename to kernel/patches-4.14.x-rt/0240-rtmutex-add-rwsem-implementation-based-on-rtmutex.patch diff --git a/kernel/patches-4.14.x-rt/0239-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch b/kernel/patches-4.14.x-rt/0241-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0239-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch rename to kernel/patches-4.14.x-rt/0241-rtmutex-add-rwlock-implementation-based-on-rtmutex.patch diff --git a/kernel/patches-4.14.x-rt/0240-rtmutex-wire-up-RT-s-locking.patch b/kernel/patches-4.14.x-rt/0242-rtmutex-wire-up-RT-s-locking.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0240-rtmutex-wire-up-RT-s-locking.patch rename to kernel/patches-4.14.x-rt/0242-rtmutex-wire-up-RT-s-locking.patch diff --git a/kernel/patches-4.14.x-rt/0241-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch b/kernel/patches-4.14.x-rt/0243-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0241-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch rename to kernel/patches-4.14.x-rt/0243-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch index 9aee46801..612a8b8b1 100644 --- a/kernel/patches-4.14.x-rt/0241-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch +++ b/kernel/patches-4.14.x-rt/0243-rtmutex-add-ww_mutex-addon-for-mutex-rt.patch @@ -282,7 +282,7 @@ Signed-off-by: Sebastian Andrzej Siewior rt_mutex_slowlock); if (ret) mutex_release(&lock->dep_map, 1, _RET_IP_); -@@ -2266,7 +2414,7 @@ int rt_mutex_wait_proxy_lock(struct rt_m +@@ -2267,7 +2415,7 @@ int rt_mutex_wait_proxy_lock(struct rt_m raw_spin_lock_irq(&lock->wait_lock); /* sleep on the mutex */ set_current_state(TASK_INTERRUPTIBLE); @@ -291,7 +291,7 @@ Signed-off-by: Sebastian Andrzej Siewior /* * try_to_take_rt_mutex() sets the waiter bit unconditionally. We might * have to fix that up. -@@ -2350,3 +2498,99 @@ bool rt_mutex_cleanup_proxy_lock(struct +@@ -2351,3 +2499,99 @@ bool rt_mutex_cleanup_proxy_lock(struct return cleanup; } diff --git a/kernel/patches-4.14.x-rt/0242-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch b/kernel/patches-4.14.x-rt/0244-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0242-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch rename to kernel/patches-4.14.x-rt/0244-locking-rt-mutex-fix-deadlock-in-device-mapper-block.patch diff --git a/kernel/patches-4.14.x-rt/0243-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch b/kernel/patches-4.14.x-rt/0245-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0243-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch rename to kernel/patches-4.14.x-rt/0245-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch index c295c4008..810fe3837 100644 --- a/kernel/patches-4.14.x-rt/0243-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch +++ b/kernel/patches-4.14.x-rt/0245-locking-rtmutex-re-init-the-wait_lock-in-rt_mutex_in.patch @@ -15,7 +15,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/kernel/locking/rtmutex.c +++ b/kernel/locking/rtmutex.c -@@ -2272,6 +2272,14 @@ void rt_mutex_init_proxy_locked(struct r +@@ -2273,6 +2273,14 @@ void rt_mutex_init_proxy_locked(struct r struct task_struct *proxy_owner) { __rt_mutex_init(lock, NULL, NULL); diff --git a/kernel/patches-4.14.x-rt/0244-ptrace-fix-ptrace-vs-tasklist_lock-race.patch b/kernel/patches-4.14.x-rt/0246-ptrace-fix-ptrace-vs-tasklist_lock-race.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0244-ptrace-fix-ptrace-vs-tasklist_lock-race.patch rename to kernel/patches-4.14.x-rt/0246-ptrace-fix-ptrace-vs-tasklist_lock-race.patch index caa839d20..04f4b2dde 100644 --- a/kernel/patches-4.14.x-rt/0244-ptrace-fix-ptrace-vs-tasklist_lock-race.patch +++ b/kernel/patches-4.14.x-rt/0246-ptrace-fix-ptrace-vs-tasklist_lock-race.patch @@ -43,7 +43,7 @@ Signed-off-by: Sebastian Andrzej Siewior #define task_contributes_to_load(task) ((task->state & TASK_UNINTERRUPTIBLE) != 0 && \ (task->flags & PF_FROZEN) == 0 && \ (task->state & TASK_NOLOAD) == 0) -@@ -1593,6 +1589,51 @@ static inline int test_tsk_need_resched( +@@ -1597,6 +1593,51 @@ static inline int test_tsk_need_resched( return unlikely(test_tsk_thread_flag(tsk,TIF_NEED_RESCHED)); } @@ -115,7 +115,7 @@ Signed-off-by: Sebastian Andrzej Siewior spin_unlock_irq(&task->sighand->siglock); --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -1358,6 +1358,18 @@ int migrate_swap(struct task_struct *cur +@@ -1359,6 +1359,18 @@ int migrate_swap(struct task_struct *cur return ret; } @@ -134,7 +134,7 @@ Signed-off-by: Sebastian Andrzej Siewior /* * wait_task_inactive - wait for a thread to unschedule. * -@@ -1402,7 +1414,7 @@ unsigned long wait_task_inactive(struct +@@ -1403,7 +1415,7 @@ unsigned long wait_task_inactive(struct * is actually now running somewhere else! */ while (task_running(rq, p)) { @@ -143,7 +143,7 @@ Signed-off-by: Sebastian Andrzej Siewior return 0; cpu_relax(); } -@@ -1417,7 +1429,8 @@ unsigned long wait_task_inactive(struct +@@ -1418,7 +1430,8 @@ unsigned long wait_task_inactive(struct running = task_running(rq, p); queued = task_on_rq_queued(p); ncsw = 0; diff --git a/kernel/patches-4.14.x-rt/0245-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch b/kernel/patches-4.14.x-rt/0247-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0245-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch rename to kernel/patches-4.14.x-rt/0247-RCU-we-need-to-skip-that-warning-but-only-on-sleepin.patch diff --git a/kernel/patches-4.14.x-rt/0246-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch b/kernel/patches-4.14.x-rt/0248-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0246-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch rename to kernel/patches-4.14.x-rt/0248-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch index 86486d575..126376ba2 100644 --- a/kernel/patches-4.14.x-rt/0246-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch +++ b/kernel/patches-4.14.x-rt/0248-RCU-skip-the-schedule-in-RCU-section-warning-on-UP-t.patch @@ -68,7 +68,7 @@ Signed-off-by: Sebastian Andrzej Siewior WARN_ON_ONCE(!preempt && t->rcu_read_lock_nesting > 0 && !mg_counter); --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -7019,4 +7019,49 @@ void migrate_enable(void) +@@ -7020,4 +7020,49 @@ void migrate_enable(void) preempt_enable(); } EXPORT_SYMBOL(migrate_enable); diff --git a/kernel/patches-4.14.x-rt/0247-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch b/kernel/patches-4.14.x-rt/0249-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0247-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch rename to kernel/patches-4.14.x-rt/0249-locking-don-t-check-for-__LINUX_SPINLOCK_TYPES_H-on-.patch diff --git a/kernel/patches-4.14.x-rt/0248-peter_zijlstra-frob-rcu.patch b/kernel/patches-4.14.x-rt/0250-peter_zijlstra-frob-rcu.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0248-peter_zijlstra-frob-rcu.patch rename to kernel/patches-4.14.x-rt/0250-peter_zijlstra-frob-rcu.patch diff --git a/kernel/patches-4.14.x-rt/0249-rcu-merge-rcu-bh-into-rcu-preempt-for-rt.patch b/kernel/patches-4.14.x-rt/0251-rcu-merge-rcu-bh-into-rcu-preempt-for-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0249-rcu-merge-rcu-bh-into-rcu-preempt-for-rt.patch rename to kernel/patches-4.14.x-rt/0251-rcu-merge-rcu-bh-into-rcu-preempt-for-rt.patch diff --git a/kernel/patches-4.14.x-rt/0250-patch-to-introduce-rcu-bh-qs-where-safe-from-softirq.patch b/kernel/patches-4.14.x-rt/0252-patch-to-introduce-rcu-bh-qs-where-safe-from-softirq.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0250-patch-to-introduce-rcu-bh-qs-where-safe-from-softirq.patch rename to kernel/patches-4.14.x-rt/0252-patch-to-introduce-rcu-bh-qs-where-safe-from-softirq.patch diff --git a/kernel/patches-4.14.x-rt/0251-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch b/kernel/patches-4.14.x-rt/0253-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0251-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch rename to kernel/patches-4.14.x-rt/0253-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch diff --git a/kernel/patches-4.14.x-rt/0252-drivers-tty-fix-omap-lock-crap.patch b/kernel/patches-4.14.x-rt/0254-drivers-tty-fix-omap-lock-crap.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0252-drivers-tty-fix-omap-lock-crap.patch rename to kernel/patches-4.14.x-rt/0254-drivers-tty-fix-omap-lock-crap.patch diff --git a/kernel/patches-4.14.x-rt/0253-drivers-tty-pl011-irq-disable-madness.patch b/kernel/patches-4.14.x-rt/0255-drivers-tty-pl011-irq-disable-madness.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0253-drivers-tty-pl011-irq-disable-madness.patch rename to kernel/patches-4.14.x-rt/0255-drivers-tty-pl011-irq-disable-madness.patch diff --git a/kernel/patches-4.14.x-rt/0254-rt-serial-warn-fix.patch b/kernel/patches-4.14.x-rt/0256-rt-serial-warn-fix.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0254-rt-serial-warn-fix.patch rename to kernel/patches-4.14.x-rt/0256-rt-serial-warn-fix.patch diff --git a/kernel/patches-4.14.x-rt/0255-tty-serial-8250-don-t-take-the-trylock-during-oops.patch b/kernel/patches-4.14.x-rt/0257-tty-serial-8250-don-t-take-the-trylock-during-oops.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0255-tty-serial-8250-don-t-take-the-trylock-during-oops.patch rename to kernel/patches-4.14.x-rt/0257-tty-serial-8250-don-t-take-the-trylock-during-oops.patch diff --git a/kernel/patches-4.14.x-rt/0256-peterz-percpu-rwsem-rt.patch b/kernel/patches-4.14.x-rt/0258-peterz-percpu-rwsem-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0256-peterz-percpu-rwsem-rt.patch rename to kernel/patches-4.14.x-rt/0258-peterz-percpu-rwsem-rt.patch diff --git a/kernel/patches-4.14.x-rt/0257-fs-namespace-preemption-fix.patch b/kernel/patches-4.14.x-rt/0259-fs-namespace-preemption-fix.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0257-fs-namespace-preemption-fix.patch rename to kernel/patches-4.14.x-rt/0259-fs-namespace-preemption-fix.patch diff --git a/kernel/patches-4.14.x-rt/0258-mm-protect-activate-switch-mm.patch b/kernel/patches-4.14.x-rt/0260-mm-protect-activate-switch-mm.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0258-mm-protect-activate-switch-mm.patch rename to kernel/patches-4.14.x-rt/0260-mm-protect-activate-switch-mm.patch diff --git a/kernel/patches-4.14.x-rt/0259-fs-block-rt-support.patch b/kernel/patches-4.14.x-rt/0261-fs-block-rt-support.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0259-fs-block-rt-support.patch rename to kernel/patches-4.14.x-rt/0261-fs-block-rt-support.patch diff --git a/kernel/patches-4.14.x-rt/0260-fs-ntfs-disable-interrupt-non-rt.patch b/kernel/patches-4.14.x-rt/0262-fs-ntfs-disable-interrupt-non-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0260-fs-ntfs-disable-interrupt-non-rt.patch rename to kernel/patches-4.14.x-rt/0262-fs-ntfs-disable-interrupt-non-rt.patch diff --git a/kernel/patches-4.14.x-rt/0261-fs-jbd2-pull-your-plug-when-waiting-for-space.patch b/kernel/patches-4.14.x-rt/0263-fs-jbd2-pull-your-plug-when-waiting-for-space.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0261-fs-jbd2-pull-your-plug-when-waiting-for-space.patch rename to kernel/patches-4.14.x-rt/0263-fs-jbd2-pull-your-plug-when-waiting-for-space.patch diff --git a/kernel/patches-4.14.x-rt/0262-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch b/kernel/patches-4.14.x-rt/0264-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0262-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch rename to kernel/patches-4.14.x-rt/0264-Revert-fs-jbd2-pull-your-plug-when-waiting-for-space.patch diff --git a/kernel/patches-4.14.x-rt/0263-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch b/kernel/patches-4.14.x-rt/0265-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0263-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch rename to kernel/patches-4.14.x-rt/0265-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch index 423ab2412..f9165c560 100644 --- a/kernel/patches-4.14.x-rt/0263-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch +++ b/kernel/patches-4.14.x-rt/0265-fs-dcache-bringt-back-explicit-INIT_HLIST_BL_HEAD-in.patch @@ -14,7 +14,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/fs/dcache.c +++ b/fs/dcache.c -@@ -3578,6 +3578,8 @@ static int __init set_dhash_entries(char +@@ -3581,6 +3581,8 @@ static int __init set_dhash_entries(char static void __init dcache_init_early(void) { @@ -23,7 +23,7 @@ Signed-off-by: Sebastian Andrzej Siewior /* If hashes are distributed across NUMA nodes, defer * hash allocation until vmalloc space is available. */ -@@ -3594,10 +3596,14 @@ static void __init dcache_init_early(voi +@@ -3597,10 +3599,14 @@ static void __init dcache_init_early(voi &d_hash_mask, 0, 0); @@ -38,7 +38,7 @@ Signed-off-by: Sebastian Andrzej Siewior /* * A constructor could be added for stable state like the lists, * but it is probably not worth it because of the cache nature -@@ -3620,6 +3626,10 @@ static void __init dcache_init(void) +@@ -3623,6 +3629,10 @@ static void __init dcache_init(void) &d_hash_mask, 0, 0); diff --git a/kernel/patches-4.14.x-rt/0264-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch b/kernel/patches-4.14.x-rt/0266-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0264-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch rename to kernel/patches-4.14.x-rt/0266-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch index 68808ecef..b7ecd0e97 100644 --- a/kernel/patches-4.14.x-rt/0264-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch +++ b/kernel/patches-4.14.x-rt/0266-fs-dcache-disable-preemption-on-i_dir_seq-s-write-si.patch @@ -23,7 +23,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/fs/dcache.c +++ b/fs/dcache.c -@@ -2405,9 +2405,10 @@ EXPORT_SYMBOL(d_rehash); +@@ -2410,9 +2410,10 @@ EXPORT_SYMBOL(d_rehash); static inline unsigned start_dir_add(struct inode *dir) { @@ -36,7 +36,7 @@ Signed-off-by: Sebastian Andrzej Siewior return n; cpu_relax(); } -@@ -2415,7 +2416,8 @@ static inline unsigned start_dir_add(str +@@ -2420,7 +2421,8 @@ static inline unsigned start_dir_add(str static inline void end_dir_add(struct inode *dir, unsigned n) { @@ -46,7 +46,7 @@ Signed-off-by: Sebastian Andrzej Siewior } static void d_wait_lookup(struct dentry *dentry) -@@ -2448,7 +2450,7 @@ struct dentry *d_alloc_parallel(struct d +@@ -2453,7 +2455,7 @@ struct dentry *d_alloc_parallel(struct d retry: rcu_read_lock(); @@ -55,7 +55,7 @@ Signed-off-by: Sebastian Andrzej Siewior r_seq = read_seqbegin(&rename_lock); dentry = __d_lookup_rcu(parent, name, &d_seq); if (unlikely(dentry)) { -@@ -2470,7 +2472,7 @@ struct dentry *d_alloc_parallel(struct d +@@ -2475,7 +2477,7 @@ struct dentry *d_alloc_parallel(struct d goto retry; } hlist_bl_lock(b); diff --git a/kernel/patches-4.14.x-rt/0265-x86-mce-timer-hrtimer.patch b/kernel/patches-4.14.x-rt/0267-x86-mce-timer-hrtimer.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0265-x86-mce-timer-hrtimer.patch rename to kernel/patches-4.14.x-rt/0267-x86-mce-timer-hrtimer.patch index 248a77750..126ae26e6 100644 --- a/kernel/patches-4.14.x-rt/0265-x86-mce-timer-hrtimer.patch +++ b/kernel/patches-4.14.x-rt/0267-x86-mce-timer-hrtimer.patch @@ -34,7 +34,7 @@ fold in: #include #include -@@ -1345,7 +1346,7 @@ int memory_failure(unsigned long pfn, in +@@ -1355,7 +1356,7 @@ int memory_failure(unsigned long pfn, in static unsigned long check_interval = INITIAL_CHECK_INTERVAL; static DEFINE_PER_CPU(unsigned long, mce_next_interval); /* in jiffies */ @@ -43,7 +43,7 @@ fold in: static unsigned long mce_adjust_timer_default(unsigned long interval) { -@@ -1354,27 +1355,19 @@ static unsigned long mce_adjust_timer_de +@@ -1364,27 +1365,19 @@ static unsigned long mce_adjust_timer_de static unsigned long (*mce_adjust_timer)(unsigned long interval) = mce_adjust_timer_default; @@ -77,7 +77,7 @@ fold in: iv = __this_cpu_read(mce_next_interval); if (mce_available(this_cpu_ptr(&cpu_info))) { -@@ -1397,7 +1390,11 @@ static void mce_timer_fn(unsigned long d +@@ -1407,7 +1400,11 @@ static void mce_timer_fn(unsigned long d done: __this_cpu_write(mce_next_interval, iv); @@ -90,7 +90,7 @@ fold in: } /* -@@ -1405,7 +1402,7 @@ static void mce_timer_fn(unsigned long d +@@ -1415,7 +1412,7 @@ static void mce_timer_fn(unsigned long d */ void mce_timer_kick(unsigned long interval) { @@ -99,7 +99,7 @@ fold in: unsigned long iv = __this_cpu_read(mce_next_interval); __start_timer(t, interval); -@@ -1420,7 +1417,7 @@ static void mce_timer_delete_all(void) +@@ -1430,7 +1427,7 @@ static void mce_timer_delete_all(void) int cpu; for_each_online_cpu(cpu) @@ -108,7 +108,7 @@ fold in: } /* -@@ -1749,7 +1746,7 @@ static void __mcheck_cpu_clear_vendor(st +@@ -1759,7 +1756,7 @@ static void __mcheck_cpu_clear_vendor(st } } @@ -117,7 +117,7 @@ fold in: { unsigned long iv = check_interval * HZ; -@@ -1762,18 +1759,19 @@ static void mce_start_timer(struct timer +@@ -1772,18 +1769,19 @@ static void mce_start_timer(struct timer static void __mcheck_cpu_setup_timer(void) { @@ -143,7 +143,7 @@ fold in: mce_start_timer(t); } -@@ -2275,7 +2273,7 @@ static int mce_cpu_dead(unsigned int cpu +@@ -2302,7 +2300,7 @@ static int mce_cpu_dead(unsigned int cpu static int mce_cpu_online(unsigned int cpu) { @@ -152,7 +152,7 @@ fold in: int ret; mce_device_create(cpu); -@@ -2292,10 +2290,10 @@ static int mce_cpu_online(unsigned int c +@@ -2319,10 +2317,10 @@ static int mce_cpu_online(unsigned int c static int mce_cpu_pre_down(unsigned int cpu) { diff --git a/kernel/patches-4.14.x-rt/0266-x86-mce-use-swait-queue-for-mce-wakeups.patch b/kernel/patches-4.14.x-rt/0268-x86-mce-use-swait-queue-for-mce-wakeups.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0266-x86-mce-use-swait-queue-for-mce-wakeups.patch rename to kernel/patches-4.14.x-rt/0268-x86-mce-use-swait-queue-for-mce-wakeups.patch diff --git a/kernel/patches-4.14.x-rt/0267-x86-stackprot-no-random-on-rt.patch b/kernel/patches-4.14.x-rt/0269-x86-stackprot-no-random-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0267-x86-stackprot-no-random-on-rt.patch rename to kernel/patches-4.14.x-rt/0269-x86-stackprot-no-random-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0268-x86-use-gen-rwsem-spinlocks-rt.patch b/kernel/patches-4.14.x-rt/0270-x86-use-gen-rwsem-spinlocks-rt.patch similarity index 92% rename from kernel/patches-4.14.x-rt/0268-x86-use-gen-rwsem-spinlocks-rt.patch rename to kernel/patches-4.14.x-rt/0270-x86-use-gen-rwsem-spinlocks-rt.patch index b5e67d112..06a17285b 100644 --- a/kernel/patches-4.14.x-rt/0268-x86-use-gen-rwsem-spinlocks-rt.patch +++ b/kernel/patches-4.14.x-rt/0270-x86-use-gen-rwsem-spinlocks-rt.patch @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig -@@ -256,8 +256,11 @@ config ARCH_MAY_HAVE_PC_FDC +@@ -255,8 +255,11 @@ config ARCH_MAY_HAVE_PC_FDC def_bool y depends on ISA_DMA_API diff --git a/kernel/patches-4.14.x-rt/0269-x86-UV-raw_spinlock-conversion.patch b/kernel/patches-4.14.x-rt/0271-x86-UV-raw_spinlock-conversion.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0269-x86-UV-raw_spinlock-conversion.patch rename to kernel/patches-4.14.x-rt/0271-x86-UV-raw_spinlock-conversion.patch diff --git a/kernel/patches-4.14.x-rt/0270-thermal-Defer-thermal-wakups-to-threads.patch b/kernel/patches-4.14.x-rt/0272-thermal-Defer-thermal-wakups-to-threads.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0270-thermal-Defer-thermal-wakups-to-threads.patch rename to kernel/patches-4.14.x-rt/0272-thermal-Defer-thermal-wakups-to-threads.patch diff --git a/kernel/patches-4.14.x-rt/0271-epoll-use-get-cpu-light.patch b/kernel/patches-4.14.x-rt/0273-epoll-use-get-cpu-light.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0271-epoll-use-get-cpu-light.patch rename to kernel/patches-4.14.x-rt/0273-epoll-use-get-cpu-light.patch diff --git a/kernel/patches-4.14.x-rt/0272-mm-vmalloc-use-get-cpu-light.patch b/kernel/patches-4.14.x-rt/0274-mm-vmalloc-use-get-cpu-light.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0272-mm-vmalloc-use-get-cpu-light.patch rename to kernel/patches-4.14.x-rt/0274-mm-vmalloc-use-get-cpu-light.patch diff --git a/kernel/patches-4.14.x-rt/0273-block-mq-use-cpu_light.patch b/kernel/patches-4.14.x-rt/0275-block-mq-use-cpu_light.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0273-block-mq-use-cpu_light.patch rename to kernel/patches-4.14.x-rt/0275-block-mq-use-cpu_light.patch diff --git a/kernel/patches-4.14.x-rt/0274-block-mq-drop-preempt-disable.patch b/kernel/patches-4.14.x-rt/0276-block-mq-drop-preempt-disable.patch similarity index 86% rename from kernel/patches-4.14.x-rt/0274-block-mq-drop-preempt-disable.patch rename to kernel/patches-4.14.x-rt/0276-block-mq-drop-preempt-disable.patch index 9510f6363..62754f5dc 100644 --- a/kernel/patches-4.14.x-rt/0274-block-mq-drop-preempt-disable.patch +++ b/kernel/patches-4.14.x-rt/0276-block-mq-drop-preempt-disable.patch @@ -13,7 +13,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/block/blk-mq.c +++ b/block/blk-mq.c -@@ -537,7 +537,7 @@ static void __blk_mq_complete_request(st +@@ -539,7 +539,7 @@ static void __blk_mq_complete_request(st return; } @@ -22,7 +22,7 @@ Signed-off-by: Sebastian Andrzej Siewior if (!test_bit(QUEUE_FLAG_SAME_FORCE, &rq->q->queue_flags)) shared = cpus_share_cache(cpu, ctx->cpu); -@@ -549,7 +549,7 @@ static void __blk_mq_complete_request(st +@@ -551,7 +551,7 @@ static void __blk_mq_complete_request(st } else { rq->q->softirq_done_fn(rq); } @@ -31,7 +31,7 @@ Signed-off-by: Sebastian Andrzej Siewior } /** -@@ -1197,14 +1197,14 @@ static void __blk_mq_delay_run_hw_queue( +@@ -1201,14 +1201,14 @@ static void __blk_mq_delay_run_hw_queue( return; if (!async && !(hctx->flags & BLK_MQ_F_BLOCKING)) { diff --git a/kernel/patches-4.14.x-rt/0275-block-mq-don-t-complete-requests-via-IPI.patch b/kernel/patches-4.14.x-rt/0277-block-mq-don-t-complete-requests-via-IPI.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0275-block-mq-don-t-complete-requests-via-IPI.patch rename to kernel/patches-4.14.x-rt/0277-block-mq-don-t-complete-requests-via-IPI.patch index 972154802..9c7c0e350 100644 --- a/kernel/patches-4.14.x-rt/0275-block-mq-don-t-complete-requests-via-IPI.patch +++ b/kernel/patches-4.14.x-rt/0277-block-mq-don-t-complete-requests-via-IPI.patch @@ -27,7 +27,7 @@ Signed-off-by: Sebastian Andrzej Siewior rq->__sector = (sector_t) -1; --- a/block/blk-mq.c +++ b/block/blk-mq.c -@@ -318,6 +318,9 @@ static struct request *blk_mq_rq_ctx_ini +@@ -320,6 +320,9 @@ static struct request *blk_mq_rq_ctx_ini /* tag was already set */ rq->extra_len = 0; @@ -37,7 +37,7 @@ Signed-off-by: Sebastian Andrzej Siewior INIT_LIST_HEAD(&rq->timeout_list); rq->timeout = 0; -@@ -512,12 +515,24 @@ void blk_mq_end_request(struct request * +@@ -514,12 +517,24 @@ void blk_mq_end_request(struct request * } EXPORT_SYMBOL(blk_mq_end_request); @@ -62,7 +62,7 @@ Signed-off-by: Sebastian Andrzej Siewior static void __blk_mq_complete_request(struct request *rq) { -@@ -542,10 +557,18 @@ static void __blk_mq_complete_request(st +@@ -544,10 +559,18 @@ static void __blk_mq_complete_request(st shared = cpus_share_cache(cpu, ctx->cpu); if (cpu != ctx->cpu && !shared && cpu_online(ctx->cpu)) { diff --git a/kernel/patches-4.14.x-rt/0276-md-raid5-percpu-handling-rt-aware.patch b/kernel/patches-4.14.x-rt/0278-md-raid5-percpu-handling-rt-aware.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0276-md-raid5-percpu-handling-rt-aware.patch rename to kernel/patches-4.14.x-rt/0278-md-raid5-percpu-handling-rt-aware.patch diff --git a/kernel/patches-4.14.x-rt/0277-md-raid5-do-not-disable-interrupts.patch b/kernel/patches-4.14.x-rt/0279-md-raid5-do-not-disable-interrupts.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0277-md-raid5-do-not-disable-interrupts.patch rename to kernel/patches-4.14.x-rt/0279-md-raid5-do-not-disable-interrupts.patch diff --git a/kernel/patches-4.14.x-rt/0278-rt-introduce-cpu-chill.patch b/kernel/patches-4.14.x-rt/0280-rt-introduce-cpu-chill.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0278-rt-introduce-cpu-chill.patch rename to kernel/patches-4.14.x-rt/0280-rt-introduce-cpu-chill.patch diff --git a/kernel/patches-4.14.x-rt/0279-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch b/kernel/patches-4.14.x-rt/0281-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0279-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch rename to kernel/patches-4.14.x-rt/0281-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch diff --git a/kernel/patches-4.14.x-rt/0282-kernel-cpu_chill-use-schedule_hrtimeout.patch b/kernel/patches-4.14.x-rt/0282-kernel-cpu_chill-use-schedule_hrtimeout.patch new file mode 100644 index 000000000..893f97972 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0282-kernel-cpu_chill-use-schedule_hrtimeout.patch @@ -0,0 +1,40 @@ +From: Sebastian Andrzej Siewior +Date: Fri, 16 Mar 2018 13:07:59 +0100 +Subject: [PATCH] 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 +do_nanosleep() and sets up the restart block. If restart->nanosleep.type is +not TI_NONE then this results in accessing a stale user pointer from a +previously interrupted syscall and a copy to user based on the stale +pointer or a BUG() when 'type' is not supported in nanosleep_copyout(). + +Instead all this trouble, use schedule_hrtimeout(). + +Cc: stable-rt@vger.kernel.org +Signed-off-by: Sebastian Andrzej Siewior +--- + kernel/time/hrtimer.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +--- a/kernel/time/hrtimer.c ++++ b/kernel/time/hrtimer.c +@@ -1873,14 +1873,13 @@ COMPAT_SYSCALL_DEFINE2(nanosleep, struct + */ + void cpu_chill(void) + { +- struct timespec64 tu = { +- .tv_nsec = NSEC_PER_MSEC, +- }; ++ ktime_t chill_time; + unsigned int freeze_flag = current->flags & PF_NOFREEZE; + ++ chill_time = ktime_set(0, NSEC_PER_MSEC); ++ set_current_state(TASK_UNINTERRUPTIBLE); + current->flags |= PF_NOFREEZE; +- __hrtimer_nanosleep(&tu, HRTIMER_MODE_REL_HARD, CLOCK_MONOTONIC, +- TASK_UNINTERRUPTIBLE); ++ schedule_hrtimeout(&chill_time, HRTIMER_MODE_REL_HARD); + if (!freeze_flag) + current->flags &= ~PF_NOFREEZE; + } diff --git a/kernel/patches-4.14.x-rt/0283-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch b/kernel/patches-4.14.x-rt/0283-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch new file mode 100644 index 000000000..f8c0432bd --- /dev/null +++ b/kernel/patches-4.14.x-rt/0283-Revert-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanos.patch @@ -0,0 +1,74 @@ +From: Sebastian Andrzej Siewior +Date: Fri, 16 Mar 2018 15:04:49 +0100 +Subject: [PATCH] Revert "cpu_chill: Add a UNINTERRUPTIBLE + hrtimer_nanosleep" + +This reverts commit "cpu_chill: Add a UNINTERRUPTIBLE +hrtimer_nanosleep". Since cpu_chill() is now using schedule_hrtimeout() +we can remove that change since we have no users for it. + +Cc: stable-rt@vger.kernel.org +Signed-off-by: Sebastian Andrzej Siewior +--- + kernel/time/hrtimer.c | 21 ++++++--------------- + 1 file changed, 6 insertions(+), 15 deletions(-) + +--- a/kernel/time/hrtimer.c ++++ b/kernel/time/hrtimer.c +@@ -1742,13 +1742,12 @@ int nanosleep_copyout(struct restart_blo + return -ERESTART_RESTARTBLOCK; + } + +-static int __sched do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mode, +- unsigned long state) ++static int __sched do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mode) + { + struct restart_block *restart; + + do { +- set_current_state(state); ++ set_current_state(TASK_INTERRUPTIBLE); + hrtimer_start_expires(&t->timer, mode); + + if (likely(t->task)) +@@ -1786,15 +1785,13 @@ static long __sched hrtimer_nanosleep_re + hrtimer_init_sleeper_on_stack(&t, restart->nanosleep.clockid, + HRTIMER_MODE_ABS, current); + hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); +- /* cpu_chill() does not care about restart state. */ +- ret = do_nanosleep(&t, HRTIMER_MODE_ABS, TASK_INTERRUPTIBLE); ++ ret = do_nanosleep(&t, HRTIMER_MODE_ABS); + destroy_hrtimer_on_stack(&t.timer); + return ret; + } + +-static long __hrtimer_nanosleep(const struct timespec64 *rqtp, +- const enum hrtimer_mode mode, const clockid_t clockid, +- unsigned long state) ++long hrtimer_nanosleep(const struct timespec64 *rqtp, ++ const enum hrtimer_mode mode, const clockid_t clockid) + { + struct restart_block *restart; + struct hrtimer_sleeper t; +@@ -1807,7 +1804,7 @@ static long __hrtimer_nanosleep(const st + + hrtimer_init_sleeper_on_stack(&t, clockid, mode, current); + hrtimer_set_expires_range_ns(&t.timer, timespec64_to_ktime(*rqtp), slack); +- ret = do_nanosleep(&t, mode, state); ++ ret = do_nanosleep(&t, mode); + if (ret != -ERESTART_RESTARTBLOCK) + goto out; + +@@ -1826,12 +1823,6 @@ static long __hrtimer_nanosleep(const st + return ret; + } + +-long hrtimer_nanosleep(const struct timespec64 *rqtp, +- const enum hrtimer_mode mode, const clockid_t clockid) +-{ +- return __hrtimer_nanosleep(rqtp, mode, clockid, TASK_INTERRUPTIBLE); +-} +- + SYSCALL_DEFINE2(nanosleep, struct timespec __user *, rqtp, + struct timespec __user *, rmtp) + { diff --git a/kernel/patches-4.14.x-rt/0280-block-blk-mq-use-swait.patch b/kernel/patches-4.14.x-rt/0284-block-blk-mq-use-swait.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0280-block-blk-mq-use-swait.patch rename to kernel/patches-4.14.x-rt/0284-block-blk-mq-use-swait.patch index b30d752f7..82d25ff49 100644 --- a/kernel/patches-4.14.x-rt/0280-block-blk-mq-use-swait.patch +++ b/kernel/patches-4.14.x-rt/0284-block-blk-mq-use-swait.patch @@ -45,7 +45,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/block/blk-core.c +++ b/block/blk-core.c -@@ -794,7 +794,7 @@ int blk_queue_enter(struct request_queue +@@ -799,7 +799,7 @@ int blk_queue_enter(struct request_queue */ smp_rmb(); @@ -54,7 +54,7 @@ Signed-off-by: Sebastian Andrzej Siewior !atomic_read(&q->mq_freeze_depth) || blk_queue_dying(q)); if (blk_queue_dying(q)) -@@ -814,7 +814,7 @@ static void blk_queue_usage_counter_rele +@@ -819,7 +819,7 @@ static void blk_queue_usage_counter_rele struct request_queue *q = container_of(ref, struct request_queue, q_usage_counter); @@ -63,7 +63,7 @@ Signed-off-by: Sebastian Andrzej Siewior } static void blk_rq_timed_out_timer(unsigned long data) -@@ -890,7 +890,7 @@ struct request_queue *blk_alloc_queue_no +@@ -895,7 +895,7 @@ struct request_queue *blk_alloc_queue_no q->bypass_depth = 1; __set_bit(QUEUE_FLAG_BYPASS, &q->queue_flags); @@ -91,7 +91,7 @@ Signed-off-by: Sebastian Andrzej Siewior percpu_ref_is_zero(&q->q_usage_counter), timeout); } -@@ -180,7 +180,7 @@ void blk_mq_unfreeze_queue(struct reques +@@ -182,7 +182,7 @@ void blk_mq_unfreeze_queue(struct reques WARN_ON_ONCE(freeze_depth < 0); if (!freeze_depth) { percpu_ref_reinit(&q->q_usage_counter); @@ -100,7 +100,7 @@ Signed-off-by: Sebastian Andrzej Siewior } } EXPORT_SYMBOL_GPL(blk_mq_unfreeze_queue); -@@ -261,7 +261,7 @@ void blk_mq_wake_waiters(struct request_ +@@ -263,7 +263,7 @@ void blk_mq_wake_waiters(struct request_ * dying, we need to ensure that processes currently waiting on * the queue are notified as well. */ diff --git a/kernel/patches-4.14.x-rt/0285-Revert-block-blk-mq-Use-swait.patch b/kernel/patches-4.14.x-rt/0285-Revert-block-blk-mq-Use-swait.patch new file mode 100644 index 000000000..ff2c2481f --- /dev/null +++ b/kernel/patches-4.14.x-rt/0285-Revert-block-blk-mq-Use-swait.patch @@ -0,0 +1,92 @@ +From: Sebastian Andrzej Siewior +Date: Tue, 13 Mar 2018 11:31:09 +0100 +Subject: [PATCH] Revert "block: blk-mq: Use swait" + +This reverts commit "block: blk-mq: Use swait". The issue remains but +will be fixed differently. + +Cc: stable-rt@vger.kernel.org +Signed-off-by: Sebastian Andrzej Siewior +--- + block/blk-core.c | 6 +++--- + block/blk-mq.c | 8 ++++---- + include/linux/blkdev.h | 2 +- + 3 files changed, 8 insertions(+), 8 deletions(-) + +--- a/block/blk-core.c ++++ b/block/blk-core.c +@@ -799,7 +799,7 @@ int blk_queue_enter(struct request_queue + */ + smp_rmb(); + +- ret = swait_event_interruptible(q->mq_freeze_wq, ++ ret = wait_event_interruptible(q->mq_freeze_wq, + !atomic_read(&q->mq_freeze_depth) || + blk_queue_dying(q)); + if (blk_queue_dying(q)) +@@ -819,7 +819,7 @@ static void blk_queue_usage_counter_rele + struct request_queue *q = + container_of(ref, struct request_queue, q_usage_counter); + +- swake_up_all(&q->mq_freeze_wq); ++ wake_up_all(&q->mq_freeze_wq); + } + + static void blk_rq_timed_out_timer(unsigned long data) +@@ -895,7 +895,7 @@ struct request_queue *blk_alloc_queue_no + q->bypass_depth = 1; + __set_bit(QUEUE_FLAG_BYPASS, &q->queue_flags); + +- init_swait_queue_head(&q->mq_freeze_wq); ++ init_waitqueue_head(&q->mq_freeze_wq); + + /* + * Init percpu_ref in atomic mode so that it's faster to shutdown. +--- a/block/blk-mq.c ++++ b/block/blk-mq.c +@@ -132,14 +132,14 @@ EXPORT_SYMBOL_GPL(blk_freeze_queue_start + + void blk_mq_freeze_queue_wait(struct request_queue *q) + { +- swait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); ++ wait_event(q->mq_freeze_wq, percpu_ref_is_zero(&q->q_usage_counter)); + } + EXPORT_SYMBOL_GPL(blk_mq_freeze_queue_wait); + + int blk_mq_freeze_queue_wait_timeout(struct request_queue *q, + unsigned long timeout) + { +- return swait_event_timeout(q->mq_freeze_wq, ++ return wait_event_timeout(q->mq_freeze_wq, + percpu_ref_is_zero(&q->q_usage_counter), + timeout); + } +@@ -182,7 +182,7 @@ void blk_mq_unfreeze_queue(struct reques + WARN_ON_ONCE(freeze_depth < 0); + if (!freeze_depth) { + percpu_ref_reinit(&q->q_usage_counter); +- swake_up_all(&q->mq_freeze_wq); ++ wake_up_all(&q->mq_freeze_wq); + } + } + EXPORT_SYMBOL_GPL(blk_mq_unfreeze_queue); +@@ -263,7 +263,7 @@ void blk_mq_wake_waiters(struct request_ + * dying, we need to ensure that processes currently waiting on + * the queue are notified as well. + */ +- swake_up_all(&q->mq_freeze_wq); ++ wake_up_all(&q->mq_freeze_wq); + } + + bool blk_mq_can_queue(struct blk_mq_hw_ctx *hctx) +--- a/include/linux/blkdev.h ++++ b/include/linux/blkdev.h +@@ -598,7 +598,7 @@ struct request_queue { + struct throtl_data *td; + #endif + struct rcu_head rcu_head; +- struct swait_queue_head mq_freeze_wq; ++ wait_queue_head_t mq_freeze_wq; + struct percpu_ref q_usage_counter; + struct list_head all_q_node; + diff --git a/kernel/patches-4.14.x-rt/0286-block-blk-mq-move-blk_queue_usage_counter_release-in.patch b/kernel/patches-4.14.x-rt/0286-block-blk-mq-move-blk_queue_usage_counter_release-in.patch new file mode 100644 index 000000000..fd7dc2702 --- /dev/null +++ b/kernel/patches-4.14.x-rt/0286-block-blk-mq-move-blk_queue_usage_counter_release-in.patch @@ -0,0 +1,112 @@ +From: Sebastian Andrzej Siewior +Date: Tue, 13 Mar 2018 13:49:16 +0100 +Subject: [PATCH] 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 +| in_atomic(): 1, irqs_disabled(): 0, pid: 255, name: kworker/u257:6 +| 5 locks held by kworker/u257:6/255: +| #0: ("events_unbound"){.+.+.+}, at: [] process_one_work+0x171/0x5e0 +| #1: ((&entry->work)){+.+.+.}, at: [] process_one_work+0x171/0x5e0 +| #2: (&shost->scan_mutex){+.+.+.}, at: [] __scsi_add_device+0xa3/0x130 [scsi_mod] +| #3: (&set->tag_list_lock){+.+...}, at: [] blk_mq_init_queue+0x96a/0xa50 +| #4: (rcu_read_lock_sched){......}, at: [] percpu_ref_kill_and_confirm+0x1d/0x120 +| Preemption disabled at:[] blk_mq_freeze_queue_start+0x56/0x70 +| +| CPU: 2 PID: 255 Comm: kworker/u257:6 Not tainted 3.18.7-rt0+ #1 +| Workqueue: events_unbound async_run_entry_fn +| 0000000000000003 ffff8800bc29f998 ffffffff815b3a12 0000000000000000 +| 0000000000000000 ffff8800bc29f9b8 ffffffff8109aa16 ffff8800bc29fa28 +| ffff8800bc5d1bc8 ffff8800bc29f9e8 ffffffff815b8dd4 ffff880000000000 +| Call Trace: +| [] dump_stack+0x4f/0x7c +| [] __might_sleep+0x116/0x190 +| [] rt_spin_lock+0x24/0x60 +| [] __wake_up+0x29/0x60 +| [] blk_mq_usage_counter_release+0x1e/0x20 +| [] percpu_ref_kill_and_confirm+0x106/0x120 +| [] blk_mq_freeze_queue_start+0x56/0x70 +| [] blk_mq_update_tag_set_depth+0x40/0xd0 +| [] blk_mq_init_queue+0x98c/0xa50 +| [] scsi_mq_alloc_queue+0x20/0x60 [scsi_mod] +| [] scsi_alloc_sdev+0x2f5/0x370 [scsi_mod] +| [] scsi_probe_and_add_lun+0x9e4/0xdd0 [scsi_mod] +| [] __scsi_add_device+0x126/0x130 [scsi_mod] +| [] ata_scsi_scan_host+0xaf/0x200 [libata] +| [] async_port_probe+0x46/0x60 [libata] +| [] async_run_entry_fn+0x3b/0xf0 +| [] process_one_work+0x201/0x5e0 + +percpu_ref_kill_and_confirm() invokes blk_mq_usage_counter_release() in +a rcu-sched region. swait based wake queue can't be used due to +wake_up_all() usage and disabled interrupts in !RT configs (as reported +by Corey Minyard). +The wq_has_sleeper() check has been suggested by Peter Zijlstra. + +Cc: stable-rt@vger.kernel.org +Signed-off-by: Sebastian Andrzej Siewior +--- + block/blk-core.c | 14 +++++++++++++- + include/linux/blkdev.h | 2 ++ + 2 files changed, 15 insertions(+), 1 deletion(-) + +--- a/block/blk-core.c ++++ b/block/blk-core.c +@@ -814,12 +814,21 @@ void blk_queue_exit(struct request_queue + percpu_ref_put(&q->q_usage_counter); + } + ++static void blk_queue_usage_counter_release_swork(struct swork_event *sev) ++{ ++ struct request_queue *q = ++ container_of(sev, struct request_queue, mq_pcpu_wake); ++ ++ wake_up_all(&q->mq_freeze_wq); ++} ++ + static void blk_queue_usage_counter_release(struct percpu_ref *ref) + { + struct request_queue *q = + container_of(ref, struct request_queue, q_usage_counter); + +- wake_up_all(&q->mq_freeze_wq); ++ if (wq_has_sleeper(&q->mq_freeze_wq)) ++ swork_queue(&q->mq_pcpu_wake); + } + + static void blk_rq_timed_out_timer(unsigned long data) +@@ -896,6 +905,7 @@ struct request_queue *blk_alloc_queue_no + __set_bit(QUEUE_FLAG_BYPASS, &q->queue_flags); + + init_waitqueue_head(&q->mq_freeze_wq); ++ INIT_SWORK(&q->mq_pcpu_wake, blk_queue_usage_counter_release_swork); + + /* + * Init percpu_ref in atomic mode so that it's faster to shutdown. +@@ -3623,6 +3633,8 @@ int __init blk_dev_init(void) + if (!kblockd_workqueue) + panic("Failed to create kblockd\n"); + ++ BUG_ON(swork_get()); ++ + request_cachep = kmem_cache_create("blkdev_requests", + sizeof(struct request), 0, SLAB_PANIC, NULL); + +--- a/include/linux/blkdev.h ++++ b/include/linux/blkdev.h +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + struct module; + struct scsi_ioctl_command; +@@ -599,6 +600,7 @@ struct request_queue { + #endif + struct rcu_head rcu_head; + wait_queue_head_t mq_freeze_wq; ++ struct swork_event mq_pcpu_wake; + struct percpu_ref q_usage_counter; + struct list_head all_q_node; + diff --git a/kernel/patches-4.14.x-rt/0281-block-use-cpu-chill.patch b/kernel/patches-4.14.x-rt/0287-block-use-cpu-chill.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0281-block-use-cpu-chill.patch rename to kernel/patches-4.14.x-rt/0287-block-use-cpu-chill.patch diff --git a/kernel/patches-4.14.x-rt/0282-fs-dcache-use-cpu-chill-in-trylock-loops.patch b/kernel/patches-4.14.x-rt/0288-fs-dcache-use-cpu-chill-in-trylock-loops.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0282-fs-dcache-use-cpu-chill-in-trylock-loops.patch rename to kernel/patches-4.14.x-rt/0288-fs-dcache-use-cpu-chill-in-trylock-loops.patch index 8f93cfbc8..25edf4989 100644 --- a/kernel/patches-4.14.x-rt/0282-fs-dcache-use-cpu-chill-in-trylock-loops.patch +++ b/kernel/patches-4.14.x-rt/0288-fs-dcache-use-cpu-chill-in-trylock-loops.patch @@ -46,7 +46,7 @@ Signed-off-by: Thomas Gleixner #include #include #include -@@ -784,6 +785,8 @@ static inline bool fast_dput(struct dent +@@ -789,6 +790,8 @@ static inline bool fast_dput(struct dent */ void dput(struct dentry *dentry) { @@ -55,7 +55,7 @@ Signed-off-by: Thomas Gleixner if (unlikely(!dentry)) return; -@@ -820,9 +823,18 @@ void dput(struct dentry *dentry) +@@ -825,9 +828,18 @@ void dput(struct dentry *dentry) return; kill_it: @@ -77,7 +77,7 @@ Signed-off-by: Thomas Gleixner goto repeat; } } -@@ -2360,7 +2372,7 @@ void d_delete(struct dentry * dentry) +@@ -2365,7 +2377,7 @@ void d_delete(struct dentry * dentry) if (dentry->d_lockref.count == 1) { if (!spin_trylock(&inode->i_lock)) { spin_unlock(&dentry->d_lock); diff --git a/kernel/patches-4.14.x-rt/0283-net-use-cpu-chill.patch b/kernel/patches-4.14.x-rt/0289-net-use-cpu-chill.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0283-net-use-cpu-chill.patch rename to kernel/patches-4.14.x-rt/0289-net-use-cpu-chill.patch diff --git a/kernel/patches-4.14.x-rt/0284-fs-dcache-use-swait_queue-instead-of-waitqueue.patch b/kernel/patches-4.14.x-rt/0290-fs-dcache-use-swait_queue-instead-of-waitqueue.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0284-fs-dcache-use-swait_queue-instead-of-waitqueue.patch rename to kernel/patches-4.14.x-rt/0290-fs-dcache-use-swait_queue-instead-of-waitqueue.patch index 3ed590283..9742763a8 100644 --- a/kernel/patches-4.14.x-rt/0284-fs-dcache-use-swait_queue-instead-of-waitqueue.patch +++ b/kernel/patches-4.14.x-rt/0290-fs-dcache-use-swait_queue-instead-of-waitqueue.patch @@ -33,7 +33,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/fs/dcache.c +++ b/fs/dcache.c -@@ -2434,21 +2434,24 @@ static inline void end_dir_add(struct in +@@ -2439,21 +2439,24 @@ static inline void end_dir_add(struct in static void d_wait_lookup(struct dentry *dentry) { @@ -69,7 +69,7 @@ Signed-off-by: Sebastian Andrzej Siewior { unsigned int hash = name->hash; struct hlist_bl_head *b = in_lookup_hash(parent, hash); -@@ -2557,7 +2560,7 @@ void __d_lookup_done(struct dentry *dent +@@ -2562,7 +2565,7 @@ void __d_lookup_done(struct dentry *dent hlist_bl_lock(b); dentry->d_flags &= ~DCACHE_PAR_LOOKUP; __hlist_bl_del(&dentry->d_u.d_in_lookup_hash); @@ -91,7 +91,7 @@ Signed-off-by: Sebastian Andrzej Siewior /* --- a/fs/namei.c +++ b/fs/namei.c -@@ -1628,7 +1628,7 @@ static struct dentry *lookup_slow(const +@@ -1626,7 +1626,7 @@ static struct dentry *lookup_slow(const { struct dentry *dentry = ERR_PTR(-ENOENT), *old; struct inode *inode = dir->d_inode; @@ -100,7 +100,7 @@ Signed-off-by: Sebastian Andrzej Siewior inode_lock_shared(inode); /* Don't go there if it's already dead */ -@@ -3101,7 +3101,7 @@ static int lookup_open(struct nameidata +@@ -3099,7 +3099,7 @@ static int lookup_open(struct nameidata struct dentry *dentry; int error, create_error = 0; umode_t mode = op->mode; diff --git a/kernel/patches-4.14.x-rt/0285-workqueue-use-rcu.patch b/kernel/patches-4.14.x-rt/0291-workqueue-use-rcu.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0285-workqueue-use-rcu.patch rename to kernel/patches-4.14.x-rt/0291-workqueue-use-rcu.patch index ecf8e886a..4615074f5 100644 --- a/kernel/patches-4.14.x-rt/0285-workqueue-use-rcu.patch +++ b/kernel/patches-4.14.x-rt/0291-workqueue-use-rcu.patch @@ -253,7 +253,7 @@ Signed-off-by: Thomas Gleixner } else { /* * We're the sole accessor of @wq at this point. Directly -@@ -4222,7 +4227,8 @@ bool workqueue_congested(int cpu, struct +@@ -4238,7 +4243,8 @@ bool workqueue_congested(int cpu, struct struct pool_workqueue *pwq; bool ret; @@ -263,7 +263,7 @@ Signed-off-by: Thomas Gleixner if (cpu == WORK_CPU_UNBOUND) cpu = smp_processor_id(); -@@ -4233,7 +4239,8 @@ bool workqueue_congested(int cpu, struct +@@ -4249,7 +4255,8 @@ bool workqueue_congested(int cpu, struct pwq = unbound_pwq_by_node(wq, cpu_to_node(cpu)); ret = !list_empty(&pwq->delayed_works); @@ -273,7 +273,7 @@ Signed-off-by: Thomas Gleixner return ret; } -@@ -4259,15 +4266,15 @@ unsigned int work_busy(struct work_struc +@@ -4275,15 +4282,15 @@ unsigned int work_busy(struct work_struc if (work_pending(work)) ret |= WORK_BUSY_PENDING; @@ -293,7 +293,7 @@ Signed-off-by: Thomas Gleixner return ret; } -@@ -4456,7 +4463,7 @@ void show_workqueue_state(void) +@@ -4472,7 +4479,7 @@ void show_workqueue_state(void) unsigned long flags; int pi; @@ -302,7 +302,7 @@ Signed-off-by: Thomas Gleixner pr_info("Showing busy workqueues and worker pools:\n"); -@@ -4521,7 +4528,7 @@ void show_workqueue_state(void) +@@ -4537,7 +4544,7 @@ void show_workqueue_state(void) touch_nmi_watchdog(); } @@ -311,7 +311,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -4882,16 +4889,16 @@ bool freeze_workqueues_busy(void) +@@ -4898,16 +4905,16 @@ bool freeze_workqueues_busy(void) * nr_active is monotonically decreasing. It's safe * to peek without lock. */ @@ -331,7 +331,7 @@ Signed-off-by: Thomas Gleixner } out_unlock: mutex_unlock(&wq_pool_mutex); -@@ -5081,7 +5088,8 @@ static ssize_t wq_pool_ids_show(struct d +@@ -5097,7 +5104,8 @@ static ssize_t wq_pool_ids_show(struct d const char *delim = ""; int node, written = 0; @@ -341,7 +341,7 @@ Signed-off-by: Thomas Gleixner for_each_node(node) { written += scnprintf(buf + written, PAGE_SIZE - written, "%s%d:%d", delim, node, -@@ -5089,7 +5097,8 @@ static ssize_t wq_pool_ids_show(struct d +@@ -5105,7 +5113,8 @@ static ssize_t wq_pool_ids_show(struct d delim = " "; } written += scnprintf(buf + written, PAGE_SIZE - written, "\n"); diff --git a/kernel/patches-4.14.x-rt/0286-workqueue-use-locallock.patch b/kernel/patches-4.14.x-rt/0292-workqueue-use-locallock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0286-workqueue-use-locallock.patch rename to kernel/patches-4.14.x-rt/0292-workqueue-use-locallock.patch diff --git a/kernel/patches-4.14.x-rt/0287-work-queue-work-around-irqsafe-timer-optimization.patch b/kernel/patches-4.14.x-rt/0293-work-queue-work-around-irqsafe-timer-optimization.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0287-work-queue-work-around-irqsafe-timer-optimization.patch rename to kernel/patches-4.14.x-rt/0293-work-queue-work-around-irqsafe-timer-optimization.patch diff --git a/kernel/patches-4.14.x-rt/0288-workqueue-distangle-from-rq-lock.patch b/kernel/patches-4.14.x-rt/0294-workqueue-distangle-from-rq-lock.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0288-workqueue-distangle-from-rq-lock.patch rename to kernel/patches-4.14.x-rt/0294-workqueue-distangle-from-rq-lock.patch index 1a30c9a71..f9790ce06 100644 --- a/kernel/patches-4.14.x-rt/0288-workqueue-distangle-from-rq-lock.patch +++ b/kernel/patches-4.14.x-rt/0294-workqueue-distangle-from-rq-lock.patch @@ -31,7 +31,7 @@ Signed-off-by: Thomas Gleixner --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -1715,10 +1715,6 @@ static inline void ttwu_activate(struct +@@ -1716,10 +1716,6 @@ static inline void ttwu_activate(struct { activate_task(rq, p, en_flags); p->on_rq = TASK_ON_RQ_QUEUED; @@ -42,7 +42,7 @@ Signed-off-by: Thomas Gleixner } /* -@@ -2159,56 +2155,6 @@ try_to_wake_up(struct task_struct *p, un +@@ -2160,56 +2156,6 @@ try_to_wake_up(struct task_struct *p, un } /** @@ -99,7 +99,7 @@ Signed-off-by: Thomas Gleixner * wake_up_process - Wake up a specific process * @p: The process to be woken up. * -@@ -3409,21 +3355,6 @@ static void __sched notrace __schedule(b +@@ -3410,21 +3356,6 @@ static void __sched notrace __schedule(b atomic_inc(&rq->nr_iowait); delayacct_blkio_start(); } @@ -121,7 +121,7 @@ Signed-off-by: Thomas Gleixner } switch_count = &prev->nvcsw; } -@@ -3499,6 +3430,14 @@ static inline void sched_submit_work(str +@@ -3500,6 +3431,14 @@ static inline void sched_submit_work(str { if (!tsk->state || tsk_is_pi_blocked(tsk)) return; @@ -136,7 +136,7 @@ Signed-off-by: Thomas Gleixner /* * If we are going to sleep and we have plugged IO queued, * make sure to submit it to avoid deadlocks. -@@ -3507,6 +3446,12 @@ static inline void sched_submit_work(str +@@ -3508,6 +3447,12 @@ static inline void sched_submit_work(str blk_schedule_flush_plug(tsk); } @@ -149,7 +149,7 @@ Signed-off-by: Thomas Gleixner asmlinkage __visible void __sched schedule(void) { struct task_struct *tsk = current; -@@ -3517,6 +3462,7 @@ asmlinkage __visible void __sched schedu +@@ -3518,6 +3463,7 @@ asmlinkage __visible void __sched schedu __schedule(false); sched_preempt_enable_no_resched(); } while (need_resched()); diff --git a/kernel/patches-4.14.x-rt/0289-percpu_ida-use-locklocks.patch b/kernel/patches-4.14.x-rt/0295-percpu_ida-use-locklocks.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0289-percpu_ida-use-locklocks.patch rename to kernel/patches-4.14.x-rt/0295-percpu_ida-use-locklocks.patch diff --git a/kernel/patches-4.14.x-rt/0290-debugobjects-rt.patch b/kernel/patches-4.14.x-rt/0296-debugobjects-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0290-debugobjects-rt.patch rename to kernel/patches-4.14.x-rt/0296-debugobjects-rt.patch diff --git a/kernel/patches-4.14.x-rt/0291-jump-label-rt.patch b/kernel/patches-4.14.x-rt/0297-jump-label-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0291-jump-label-rt.patch rename to kernel/patches-4.14.x-rt/0297-jump-label-rt.patch diff --git a/kernel/patches-4.14.x-rt/0292-seqlock-prevent-rt-starvation.patch b/kernel/patches-4.14.x-rt/0298-seqlock-prevent-rt-starvation.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0292-seqlock-prevent-rt-starvation.patch rename to kernel/patches-4.14.x-rt/0298-seqlock-prevent-rt-starvation.patch diff --git a/kernel/patches-4.14.x-rt/0293-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch b/kernel/patches-4.14.x-rt/0299-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0293-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch rename to kernel/patches-4.14.x-rt/0299-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch diff --git a/kernel/patches-4.14.x-rt/0294-skbufhead-raw-lock.patch b/kernel/patches-4.14.x-rt/0300-skbufhead-raw-lock.patch similarity index 87% rename from kernel/patches-4.14.x-rt/0294-skbufhead-raw-lock.patch rename to kernel/patches-4.14.x-rt/0300-skbufhead-raw-lock.patch index 99b332e4f..002ada14b 100644 --- a/kernel/patches-4.14.x-rt/0294-skbufhead-raw-lock.patch +++ b/kernel/patches-4.14.x-rt/0300-skbufhead-raw-lock.patch @@ -25,7 +25,7 @@ Signed-off-by: Thomas Gleixner --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h -@@ -288,6 +288,7 @@ struct sk_buff_head { +@@ -287,6 +287,7 @@ struct sk_buff_head { __u32 qlen; spinlock_t lock; @@ -33,7 +33,7 @@ Signed-off-by: Thomas Gleixner }; struct sk_buff; -@@ -1670,6 +1671,12 @@ static inline void skb_queue_head_init(s +@@ -1667,6 +1668,12 @@ static inline void skb_queue_head_init(s __skb_queue_head_init(list); } @@ -65,7 +65,7 @@ Signed-off-by: Thomas Gleixner #endif } -@@ -4593,7 +4593,7 @@ static void flush_backlog(struct work_st +@@ -4600,7 +4600,7 @@ static void flush_backlog(struct work_st skb_queue_walk_safe(&sd->input_pkt_queue, skb, tmp) { if (skb->dev->reg_state == NETREG_UNREGISTERING) { __skb_unlink(skb, &sd->input_pkt_queue); @@ -74,7 +74,7 @@ Signed-off-by: Thomas Gleixner input_queue_head_incr(sd); } } -@@ -4603,11 +4603,14 @@ static void flush_backlog(struct work_st +@@ -4610,11 +4610,14 @@ static void flush_backlog(struct work_st skb_queue_walk_safe(&sd->process_queue, skb, tmp) { if (skb->dev->reg_state == NETREG_UNREGISTERING) { __skb_unlink(skb, &sd->process_queue); @@ -90,7 +90,7 @@ Signed-off-by: Thomas Gleixner } static void flush_all_backlogs(void) -@@ -5154,7 +5157,9 @@ static int process_backlog(struct napi_s +@@ -5161,7 +5164,9 @@ static int process_backlog(struct napi_s while (again) { struct sk_buff *skb; @@ -100,7 +100,7 @@ Signed-off-by: Thomas Gleixner rcu_read_lock(); __netif_receive_skb(skb); rcu_read_unlock(); -@@ -5162,9 +5167,9 @@ static int process_backlog(struct napi_s +@@ -5169,9 +5174,9 @@ static int process_backlog(struct napi_s if (++work >= quota) return work; @@ -111,7 +111,7 @@ Signed-off-by: Thomas Gleixner rps_lock(sd); if (skb_queue_empty(&sd->input_pkt_queue)) { /* -@@ -5604,13 +5609,21 @@ static __latent_entropy void net_rx_acti +@@ -5611,13 +5616,21 @@ static __latent_entropy void net_rx_acti unsigned long time_limit = jiffies + usecs_to_jiffies(netdev_budget_usecs); int budget = netdev_budget; @@ -133,7 +133,7 @@ Signed-off-by: Thomas Gleixner for (;;) { struct napi_struct *n; -@@ -8425,6 +8438,9 @@ static int dev_cpu_dead(unsigned int old +@@ -8432,6 +8445,9 @@ static int dev_cpu_dead(unsigned int old netif_rx_ni(skb); input_queue_head_incr(oldsd); } @@ -143,7 +143,7 @@ Signed-off-by: Thomas Gleixner return 0; } -@@ -8728,8 +8744,9 @@ static int __init net_dev_init(void) +@@ -8735,8 +8751,9 @@ static int __init net_dev_init(void) INIT_WORK(flush, flush_backlog); diff --git a/kernel/patches-4.14.x-rt/0295-net-core-cpuhotplug-drain-input_pkt_queue-lockless.patch b/kernel/patches-4.14.x-rt/0301-net-core-cpuhotplug-drain-input_pkt_queue-lockless.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0295-net-core-cpuhotplug-drain-input_pkt_queue-lockless.patch rename to kernel/patches-4.14.x-rt/0301-net-core-cpuhotplug-drain-input_pkt_queue-lockless.patch index 72f7f344f..2dd51d407 100644 --- a/kernel/patches-4.14.x-rt/0295-net-core-cpuhotplug-drain-input_pkt_queue-lockless.patch +++ b/kernel/patches-4.14.x-rt/0301-net-core-cpuhotplug-drain-input_pkt_queue-lockless.patch @@ -35,7 +35,7 @@ Cc: stable-rt@vger.kernel.org --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -8434,7 +8434,7 @@ static int dev_cpu_dead(unsigned int old +@@ -8441,7 +8441,7 @@ static int dev_cpu_dead(unsigned int old netif_rx_ni(skb); input_queue_head_incr(oldsd); } diff --git a/kernel/patches-4.14.x-rt/0296-net-move-xmit_recursion-to-per-task-variable-on-RT.patch b/kernel/patches-4.14.x-rt/0302-net-move-xmit_recursion-to-per-task-variable-on-RT.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0296-net-move-xmit_recursion-to-per-task-variable-on-RT.patch rename to kernel/patches-4.14.x-rt/0302-net-move-xmit_recursion-to-per-task-variable-on-RT.patch index 2129e041a..6b8f4b814 100644 --- a/kernel/patches-4.14.x-rt/0296-net-move-xmit_recursion-to-per-task-variable-on-RT.patch +++ b/kernel/patches-4.14.x-rt/0302-net-move-xmit_recursion-to-per-task-variable-on-RT.patch @@ -92,7 +92,7 @@ Signed-off-by: Sebastian Andrzej Siewior struct task_struct *oom_reaper_list; --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -3233,8 +3233,10 @@ static void skb_update_prio(struct sk_bu +@@ -3240,8 +3240,10 @@ static void skb_update_prio(struct sk_bu #define skb_update_prio(skb) #endif @@ -103,7 +103,7 @@ Signed-off-by: Sebastian Andrzej Siewior /** * dev_loopback_xmit - loop back @skb -@@ -3475,8 +3477,7 @@ static int __dev_queue_xmit(struct sk_bu +@@ -3482,8 +3484,7 @@ static int __dev_queue_xmit(struct sk_bu int cpu = smp_processor_id(); /* ok because BHs are off */ if (txq->xmit_lock_owner != cpu) { @@ -113,7 +113,7 @@ Signed-off-by: Sebastian Andrzej Siewior goto recursion_alert; skb = validate_xmit_skb(skb, dev); -@@ -3486,9 +3487,9 @@ static int __dev_queue_xmit(struct sk_bu +@@ -3493,9 +3494,9 @@ static int __dev_queue_xmit(struct sk_bu HARD_TX_LOCK(dev, txq, cpu); if (!netif_xmit_stopped(txq)) { diff --git a/kernel/patches-4.14.x-rt/0297-net-use-task_struct-instead-of-CPU-number-as-the-que.patch b/kernel/patches-4.14.x-rt/0303-net-use-task_struct-instead-of-CPU-number-as-the-que.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0297-net-use-task_struct-instead-of-CPU-number-as-the-que.patch rename to kernel/patches-4.14.x-rt/0303-net-use-task_struct-instead-of-CPU-number-as-the-que.patch index 9a6e66df6..d52b8d0dd 100644 --- a/kernel/patches-4.14.x-rt/0297-net-use-task_struct-instead-of-CPU-number-as-the-que.patch +++ b/kernel/patches-4.14.x-rt/0303-net-use-task_struct-instead-of-CPU-number-as-the-que.patch @@ -122,7 +122,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -3476,7 +3476,11 @@ static int __dev_queue_xmit(struct sk_bu +@@ -3483,7 +3483,11 @@ static int __dev_queue_xmit(struct sk_bu if (dev->flags & IFF_UP) { int cpu = smp_processor_id(); /* ok because BHs are off */ @@ -134,7 +134,7 @@ Signed-off-by: Sebastian Andrzej Siewior if (unlikely(xmit_rec_read() > XMIT_RECURSION_LIMIT)) goto recursion_alert; -@@ -7481,7 +7485,7 @@ static void netdev_init_one_queue(struct +@@ -7488,7 +7492,7 @@ static void netdev_init_one_queue(struct /* Initialize queue lock */ spin_lock_init(&queue->_xmit_lock); netdev_set_xmit_lockdep_class(&queue->_xmit_lock, dev->type); diff --git a/kernel/patches-4.14.x-rt/0298-net-provide-a-way-to-delegate-processing-a-softirq-t.patch b/kernel/patches-4.14.x-rt/0304-net-provide-a-way-to-delegate-processing-a-softirq-t.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0298-net-provide-a-way-to-delegate-processing-a-softirq-t.patch rename to kernel/patches-4.14.x-rt/0304-net-provide-a-way-to-delegate-processing-a-softirq-t.patch index c9050d0bd..97f485a4b 100644 --- a/kernel/patches-4.14.x-rt/0298-net-provide-a-way-to-delegate-processing-a-softirq-t.patch +++ b/kernel/patches-4.14.x-rt/0304-net-provide-a-way-to-delegate-processing-a-softirq-t.patch @@ -67,7 +67,7 @@ Signed-off-by: Sebastian Andrzej Siewior void raise_softirq_irqoff(unsigned int nr) --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -5658,7 +5658,7 @@ static __latent_entropy void net_rx_acti +@@ -5665,7 +5665,7 @@ static __latent_entropy void net_rx_acti list_splice_tail(&repoll, &list); list_splice(&list, &sd->poll_list); if (!list_empty(&sd->poll_list)) diff --git a/kernel/patches-4.14.x-rt/0299-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch b/kernel/patches-4.14.x-rt/0305-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch similarity index 94% rename from kernel/patches-4.14.x-rt/0299-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch rename to kernel/patches-4.14.x-rt/0305-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch index a449002d5..09a006075 100644 --- a/kernel/patches-4.14.x-rt/0299-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch +++ b/kernel/patches-4.14.x-rt/0305-net-dev-always-take-qdisc-s-busylock-in-__dev_xmit_s.patch @@ -20,7 +20,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -3170,7 +3170,11 @@ static inline int __dev_xmit_skb(struct +@@ -3177,7 +3177,11 @@ static inline int __dev_xmit_skb(struct * This permits qdisc->running owner to get the lock more * often and dequeue packets faster. */ diff --git a/kernel/patches-4.14.x-rt/0300-net-Qdisc-use-a-seqlock-instead-seqcount.patch b/kernel/patches-4.14.x-rt/0306-net-Qdisc-use-a-seqlock-instead-seqcount.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0300-net-Qdisc-use-a-seqlock-instead-seqcount.patch rename to kernel/patches-4.14.x-rt/0306-net-Qdisc-use-a-seqlock-instead-seqcount.patch index 27645fc30..b16348cc7 100644 --- a/kernel/patches-4.14.x-rt/0300-net-Qdisc-use-a-seqlock-instead-seqcount.patch +++ b/kernel/patches-4.14.x-rt/0306-net-Qdisc-use-a-seqlock-instead-seqcount.patch @@ -156,7 +156,7 @@ Signed-off-by: Sebastian Andrzej Siewior } static inline bool qdisc_may_bulk(const struct Qdisc *qdisc) -@@ -338,7 +353,7 @@ static inline spinlock_t *qdisc_root_sle +@@ -337,7 +352,7 @@ static inline spinlock_t *qdisc_root_sle return qdisc_lock(root); } @@ -176,7 +176,7 @@ Signed-off-by: Sebastian Andrzej Siewior struct gnet_stats_basic_cpu __percpu *cpu_bstats; u8 ewma_log; u8 intvl_log; /* period : (250ms << intvl_log) */ -@@ -128,7 +128,7 @@ int gen_new_estimator(struct gnet_stats_ +@@ -129,7 +129,7 @@ int gen_new_estimator(struct gnet_stats_ struct gnet_stats_basic_cpu __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *stats_lock, @@ -185,7 +185,7 @@ Signed-off-by: Sebastian Andrzej Siewior struct nlattr *opt) { struct gnet_estimator *parm = nla_data(opt); -@@ -217,7 +217,7 @@ int gen_replace_estimator(struct gnet_st +@@ -222,7 +222,7 @@ int gen_replace_estimator(struct gnet_st struct gnet_stats_basic_cpu __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *stats_lock, diff --git a/kernel/patches-4.14.x-rt/0301-net-add-back-the-missing-serialization-in-ip_send_un.patch b/kernel/patches-4.14.x-rt/0307-net-add-back-the-missing-serialization-in-ip_send_un.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0301-net-add-back-the-missing-serialization-in-ip_send_un.patch rename to kernel/patches-4.14.x-rt/0307-net-add-back-the-missing-serialization-in-ip_send_un.patch diff --git a/kernel/patches-4.14.x-rt/0302-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch b/kernel/patches-4.14.x-rt/0308-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0302-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch rename to kernel/patches-4.14.x-rt/0308-net-take-the-tcp_sk_lock-lock-with-BH-disabled.patch diff --git a/kernel/patches-4.14.x-rt/0303-net-add-a-lock-around-icmp_sk.patch b/kernel/patches-4.14.x-rt/0309-net-add-a-lock-around-icmp_sk.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0303-net-add-a-lock-around-icmp_sk.patch rename to kernel/patches-4.14.x-rt/0309-net-add-a-lock-around-icmp_sk.patch diff --git a/kernel/patches-4.14.x-rt/0304-net-use-trylock-in-icmp_sk.patch b/kernel/patches-4.14.x-rt/0310-net-use-trylock-in-icmp_sk.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0304-net-use-trylock-in-icmp_sk.patch rename to kernel/patches-4.14.x-rt/0310-net-use-trylock-in-icmp_sk.patch diff --git a/kernel/patches-4.14.x-rt/0305-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch b/kernel/patches-4.14.x-rt/0311-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch similarity index 95% rename from kernel/patches-4.14.x-rt/0305-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch rename to kernel/patches-4.14.x-rt/0311-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch index a089e5155..f3d1fa684 100644 --- a/kernel/patches-4.14.x-rt/0305-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch +++ b/kernel/patches-4.14.x-rt/0311-net-Have-__napi_schedule_irqoff-disable-interrupts-o.patch @@ -50,7 +50,7 @@ Signed-off-by: Sebastian Andrzej Siewior { --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -5253,6 +5253,7 @@ bool napi_schedule_prep(struct napi_stru +@@ -5260,6 +5260,7 @@ bool napi_schedule_prep(struct napi_stru } EXPORT_SYMBOL(napi_schedule_prep); @@ -58,7 +58,7 @@ Signed-off-by: Sebastian Andrzej Siewior /** * __napi_schedule_irqoff - schedule for receive * @n: entry to schedule -@@ -5264,6 +5265,7 @@ void __napi_schedule_irqoff(struct napi_ +@@ -5271,6 +5272,7 @@ void __napi_schedule_irqoff(struct napi_ ____napi_schedule(this_cpu_ptr(&softnet_data), n); } EXPORT_SYMBOL(__napi_schedule_irqoff); diff --git a/kernel/patches-4.14.x-rt/0306-irqwork-push_most_work_into_softirq_context.patch b/kernel/patches-4.14.x-rt/0312-irqwork-push_most_work_into_softirq_context.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0306-irqwork-push_most_work_into_softirq_context.patch rename to kernel/patches-4.14.x-rt/0312-irqwork-push_most_work_into_softirq_context.patch diff --git a/kernel/patches-4.14.x-rt/0307-irqwork-Move-irq-safe-work-to-irq-context.patch b/kernel/patches-4.14.x-rt/0313-irqwork-Move-irq-safe-work-to-irq-context.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0307-irqwork-Move-irq-safe-work-to-irq-context.patch rename to kernel/patches-4.14.x-rt/0313-irqwork-Move-irq-safe-work-to-irq-context.patch diff --git a/kernel/patches-4.14.x-rt/0308-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch b/kernel/patches-4.14.x-rt/0314-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0308-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch rename to kernel/patches-4.14.x-rt/0314-snd-pcm-fix-snd_pcm_stream_lock-irqs_disabled-splats.patch diff --git a/kernel/patches-4.14.x-rt/0309-printk-rt-aware.patch b/kernel/patches-4.14.x-rt/0315-printk-rt-aware.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0309-printk-rt-aware.patch rename to kernel/patches-4.14.x-rt/0315-printk-rt-aware.patch diff --git a/kernel/patches-4.14.x-rt/0310-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch b/kernel/patches-4.14.x-rt/0316-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0310-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch rename to kernel/patches-4.14.x-rt/0316-kernel-printk-Don-t-try-to-print-from-IRQ-NMI-region.patch diff --git a/kernel/patches-4.14.x-rt/0311-HACK-printk-drop-the-logbuf_lock-more-often.patch b/kernel/patches-4.14.x-rt/0317-HACK-printk-drop-the-logbuf_lock-more-often.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0311-HACK-printk-drop-the-logbuf_lock-more-often.patch rename to kernel/patches-4.14.x-rt/0317-HACK-printk-drop-the-logbuf_lock-more-often.patch diff --git a/kernel/patches-4.14.x-rt/0312-power-use-generic-rwsem-on-rt.patch b/kernel/patches-4.14.x-rt/0318-power-use-generic-rwsem-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0312-power-use-generic-rwsem-on-rt.patch rename to kernel/patches-4.14.x-rt/0318-power-use-generic-rwsem-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0313-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch b/kernel/patches-4.14.x-rt/0319-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0313-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch rename to kernel/patches-4.14.x-rt/0319-powerpc-kvm-Disable-in-kernel-MPIC-emulation-for-PRE.patch diff --git a/kernel/patches-4.14.x-rt/0314-powerpc-ps3-device-init.c-adapt-to-completions-using.patch b/kernel/patches-4.14.x-rt/0320-powerpc-ps3-device-init.c-adapt-to-completions-using.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0314-powerpc-ps3-device-init.c-adapt-to-completions-using.patch rename to kernel/patches-4.14.x-rt/0320-powerpc-ps3-device-init.c-adapt-to-completions-using.patch diff --git a/kernel/patches-4.14.x-rt/0315-arm-at91-tclib-default-to-tclib-timer-for-rt.patch b/kernel/patches-4.14.x-rt/0321-arm-at91-tclib-default-to-tclib-timer-for-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0315-arm-at91-tclib-default-to-tclib-timer-for-rt.patch rename to kernel/patches-4.14.x-rt/0321-arm-at91-tclib-default-to-tclib-timer-for-rt.patch diff --git a/kernel/patches-4.14.x-rt/0316-arm-unwind-use_raw_lock.patch b/kernel/patches-4.14.x-rt/0322-arm-unwind-use_raw_lock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0316-arm-unwind-use_raw_lock.patch rename to kernel/patches-4.14.x-rt/0322-arm-unwind-use_raw_lock.patch diff --git a/kernel/patches-4.14.x-rt/0317-ARM-enable-irq-in-translation-section-permission-fau.patch b/kernel/patches-4.14.x-rt/0323-ARM-enable-irq-in-translation-section-permission-fau.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0317-ARM-enable-irq-in-translation-section-permission-fau.patch rename to kernel/patches-4.14.x-rt/0323-ARM-enable-irq-in-translation-section-permission-fau.patch diff --git a/kernel/patches-4.14.x-rt/0318-genirq-update-irq_set_irqchip_state-documentation.patch b/kernel/patches-4.14.x-rt/0324-genirq-update-irq_set_irqchip_state-documentation.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0318-genirq-update-irq_set_irqchip_state-documentation.patch rename to kernel/patches-4.14.x-rt/0324-genirq-update-irq_set_irqchip_state-documentation.patch diff --git a/kernel/patches-4.14.x-rt/0319-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch b/kernel/patches-4.14.x-rt/0325-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0319-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch rename to kernel/patches-4.14.x-rt/0325-KVM-arm-arm64-downgrade-preempt_disable-d-region-to-.patch diff --git a/kernel/patches-4.14.x-rt/0320-arm64-xen--Make-XEN-depend-on-non-rt.patch b/kernel/patches-4.14.x-rt/0326-arm64-xen--Make-XEN-depend-on-non-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0320-arm64-xen--Make-XEN-depend-on-non-rt.patch rename to kernel/patches-4.14.x-rt/0326-arm64-xen--Make-XEN-depend-on-non-rt.patch diff --git a/kernel/patches-4.14.x-rt/0321-kgb-serial-hackaround.patch b/kernel/patches-4.14.x-rt/0327-kgb-serial-hackaround.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0321-kgb-serial-hackaround.patch rename to kernel/patches-4.14.x-rt/0327-kgb-serial-hackaround.patch diff --git a/kernel/patches-4.14.x-rt/0322-sysfs-realtime-entry.patch b/kernel/patches-4.14.x-rt/0328-sysfs-realtime-entry.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0322-sysfs-realtime-entry.patch rename to kernel/patches-4.14.x-rt/0328-sysfs-realtime-entry.patch diff --git a/kernel/patches-4.14.x-rt/0323-power-disable-highmem-on-rt.patch b/kernel/patches-4.14.x-rt/0329-power-disable-highmem-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0323-power-disable-highmem-on-rt.patch rename to kernel/patches-4.14.x-rt/0329-power-disable-highmem-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0324-mips-disable-highmem-on-rt.patch b/kernel/patches-4.14.x-rt/0330-mips-disable-highmem-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0324-mips-disable-highmem-on-rt.patch rename to kernel/patches-4.14.x-rt/0330-mips-disable-highmem-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0325-mm-rt-kmap-atomic-scheduling.patch b/kernel/patches-4.14.x-rt/0331-mm-rt-kmap-atomic-scheduling.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0325-mm-rt-kmap-atomic-scheduling.patch rename to kernel/patches-4.14.x-rt/0331-mm-rt-kmap-atomic-scheduling.patch diff --git a/kernel/patches-4.14.x-rt/0326-mm--rt--Fix-generic-kmap_atomic-for-RT.patch b/kernel/patches-4.14.x-rt/0332-mm--rt--Fix-generic-kmap_atomic-for-RT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0326-mm--rt--Fix-generic-kmap_atomic-for-RT.patch rename to kernel/patches-4.14.x-rt/0332-mm--rt--Fix-generic-kmap_atomic-for-RT.patch diff --git a/kernel/patches-4.14.x-rt/0327-x86-highmem-add-a-already-used-pte-check.patch b/kernel/patches-4.14.x-rt/0333-x86-highmem-add-a-already-used-pte-check.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0327-x86-highmem-add-a-already-used-pte-check.patch rename to kernel/patches-4.14.x-rt/0333-x86-highmem-add-a-already-used-pte-check.patch diff --git a/kernel/patches-4.14.x-rt/0328-arm-highmem-flush-tlb-on-unmap.patch b/kernel/patches-4.14.x-rt/0334-arm-highmem-flush-tlb-on-unmap.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0328-arm-highmem-flush-tlb-on-unmap.patch rename to kernel/patches-4.14.x-rt/0334-arm-highmem-flush-tlb-on-unmap.patch diff --git a/kernel/patches-4.14.x-rt/0329-arm-enable-highmem-for-rt.patch b/kernel/patches-4.14.x-rt/0335-arm-enable-highmem-for-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0329-arm-enable-highmem-for-rt.patch rename to kernel/patches-4.14.x-rt/0335-arm-enable-highmem-for-rt.patch diff --git a/kernel/patches-4.14.x-rt/0330-scsi-fcoe-rt-aware.patch b/kernel/patches-4.14.x-rt/0336-scsi-fcoe-rt-aware.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0330-scsi-fcoe-rt-aware.patch rename to kernel/patches-4.14.x-rt/0336-scsi-fcoe-rt-aware.patch diff --git a/kernel/patches-4.14.x-rt/0331-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch b/kernel/patches-4.14.x-rt/0337-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0331-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch rename to kernel/patches-4.14.x-rt/0337-sas-ata-isci-dont-t-disable-interrupts-in-qc_issue-h.patch diff --git a/kernel/patches-4.14.x-rt/0332-x86-crypto-reduce-preempt-disabled-regions.patch b/kernel/patches-4.14.x-rt/0338-x86-crypto-reduce-preempt-disabled-regions.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0332-x86-crypto-reduce-preempt-disabled-regions.patch rename to kernel/patches-4.14.x-rt/0338-x86-crypto-reduce-preempt-disabled-regions.patch diff --git a/kernel/patches-4.14.x-rt/0333-crypto-Reduce-preempt-disabled-regions-more-algos.patch b/kernel/patches-4.14.x-rt/0339-crypto-Reduce-preempt-disabled-regions-more-algos.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0333-crypto-Reduce-preempt-disabled-regions-more-algos.patch rename to kernel/patches-4.14.x-rt/0339-crypto-Reduce-preempt-disabled-regions-more-algos.patch diff --git a/kernel/patches-4.14.x-rt/0334-crypto-limit-more-FPU-enabled-sections.patch b/kernel/patches-4.14.x-rt/0340-crypto-limit-more-FPU-enabled-sections.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0334-crypto-limit-more-FPU-enabled-sections.patch rename to kernel/patches-4.14.x-rt/0340-crypto-limit-more-FPU-enabled-sections.patch diff --git a/kernel/patches-4.14.x-rt/0335-arm-disable-NEON-in-kernel-mode.patch b/kernel/patches-4.14.x-rt/0341-arm-disable-NEON-in-kernel-mode.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0335-arm-disable-NEON-in-kernel-mode.patch rename to kernel/patches-4.14.x-rt/0341-arm-disable-NEON-in-kernel-mode.patch diff --git a/kernel/patches-4.14.x-rt/0336-dm-make-rt-aware.patch b/kernel/patches-4.14.x-rt/0342-dm-make-rt-aware.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0336-dm-make-rt-aware.patch rename to kernel/patches-4.14.x-rt/0342-dm-make-rt-aware.patch diff --git a/kernel/patches-4.14.x-rt/0337-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch b/kernel/patches-4.14.x-rt/0343-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0337-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch rename to kernel/patches-4.14.x-rt/0343-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch diff --git a/kernel/patches-4.14.x-rt/0338-cpumask-disable-offstack-on-rt.patch b/kernel/patches-4.14.x-rt/0344-cpumask-disable-offstack-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0338-cpumask-disable-offstack-on-rt.patch rename to kernel/patches-4.14.x-rt/0344-cpumask-disable-offstack-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0339-random-make-it-work-on-rt.patch b/kernel/patches-4.14.x-rt/0345-random-make-it-work-on-rt.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0339-random-make-it-work-on-rt.patch rename to kernel/patches-4.14.x-rt/0345-random-make-it-work-on-rt.patch index 950e102bf..8bcc2bcdf 100644 --- a/kernel/patches-4.14.x-rt/0339-random-make-it-work-on-rt.patch +++ b/kernel/patches-4.14.x-rt/0345-random-make-it-work-on-rt.patch @@ -20,7 +20,7 @@ Signed-off-by: Thomas Gleixner --- a/drivers/char/random.c +++ b/drivers/char/random.c -@@ -1113,28 +1113,27 @@ static __u32 get_reg(struct fast_pool *f +@@ -1112,28 +1112,27 @@ static __u32 get_reg(struct fast_pool *f return *ptr; } diff --git a/kernel/patches-4.14.x-rt/0340-random-avoid-preempt_disable-ed-section.patch b/kernel/patches-4.14.x-rt/0346-random-avoid-preempt_disable-ed-section.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0340-random-avoid-preempt_disable-ed-section.patch rename to kernel/patches-4.14.x-rt/0346-random-avoid-preempt_disable-ed-section.patch index e8599cf4e..5a6ac57fc 100644 --- a/kernel/patches-4.14.x-rt/0340-random-avoid-preempt_disable-ed-section.patch +++ b/kernel/patches-4.14.x-rt/0346-random-avoid-preempt_disable-ed-section.patch @@ -14,7 +14,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/drivers/char/random.c +++ b/drivers/char/random.c -@@ -265,6 +265,7 @@ +@@ -264,6 +264,7 @@ #include #include #include @@ -22,7 +22,7 @@ Signed-off-by: Sebastian Andrzej Siewior #include #include -@@ -2087,6 +2088,7 @@ static rwlock_t batched_entropy_reset_lo +@@ -2086,6 +2087,7 @@ static rwlock_t batched_entropy_reset_lo * at any point prior. */ static DEFINE_PER_CPU(struct batched_entropy, batched_entropy_u64); @@ -30,7 +30,7 @@ Signed-off-by: Sebastian Andrzej Siewior u64 get_random_u64(void) { u64 ret; -@@ -2107,7 +2109,7 @@ u64 get_random_u64(void) +@@ -2106,7 +2108,7 @@ u64 get_random_u64(void) warn_unseeded_randomness(&previous); use_lock = READ_ONCE(crng_init) < 2; @@ -39,7 +39,7 @@ Signed-off-by: Sebastian Andrzej Siewior if (use_lock) read_lock_irqsave(&batched_entropy_reset_lock, flags); if (batch->position % ARRAY_SIZE(batch->entropy_u64) == 0) { -@@ -2117,12 +2119,13 @@ u64 get_random_u64(void) +@@ -2116,12 +2118,13 @@ u64 get_random_u64(void) ret = batch->entropy_u64[batch->position++]; if (use_lock) read_unlock_irqrestore(&batched_entropy_reset_lock, flags); @@ -54,7 +54,7 @@ Signed-off-by: Sebastian Andrzej Siewior u32 get_random_u32(void) { u32 ret; -@@ -2137,7 +2140,7 @@ u32 get_random_u32(void) +@@ -2136,7 +2139,7 @@ u32 get_random_u32(void) warn_unseeded_randomness(&previous); use_lock = READ_ONCE(crng_init) < 2; @@ -63,7 +63,7 @@ Signed-off-by: Sebastian Andrzej Siewior if (use_lock) read_lock_irqsave(&batched_entropy_reset_lock, flags); if (batch->position % ARRAY_SIZE(batch->entropy_u32) == 0) { -@@ -2147,7 +2150,7 @@ u32 get_random_u32(void) +@@ -2146,7 +2149,7 @@ u32 get_random_u32(void) ret = batch->entropy_u32[batch->position++]; if (use_lock) read_unlock_irqrestore(&batched_entropy_reset_lock, flags); diff --git a/kernel/patches-4.14.x-rt/0341-char-random-don-t-print-that-the-init-is-done.patch b/kernel/patches-4.14.x-rt/0347-char-random-don-t-print-that-the-init-is-done.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0341-char-random-don-t-print-that-the-init-is-done.patch rename to kernel/patches-4.14.x-rt/0347-char-random-don-t-print-that-the-init-is-done.patch index 970b88193..483ed2461 100644 --- a/kernel/patches-4.14.x-rt/0341-char-random-don-t-print-that-the-init-is-done.patch +++ b/kernel/patches-4.14.x-rt/0347-char-random-don-t-print-that-the-init-is-done.patch @@ -146,7 +146,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/drivers/char/random.c +++ b/drivers/char/random.c -@@ -809,7 +809,7 @@ static int crng_fast_load(const char *cp +@@ -808,7 +808,7 @@ static int crng_fast_load(const char *cp invalidate_batched_entropy(); crng_init = 1; wake_up_interruptible(&crng_init_wait); @@ -155,7 +155,7 @@ Signed-off-by: Sebastian Andrzej Siewior } return 1; } -@@ -848,7 +848,7 @@ static void crng_reseed(struct crng_stat +@@ -847,7 +847,7 @@ static void crng_reseed(struct crng_stat crng_init = 2; process_random_ready_list(); wake_up_interruptible(&crng_init_wait); diff --git a/kernel/patches-4.14.x-rt/0342-cpu-hotplug--Implement-CPU-pinning.patch b/kernel/patches-4.14.x-rt/0348-cpu-hotplug--Implement-CPU-pinning.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0342-cpu-hotplug--Implement-CPU-pinning.patch rename to kernel/patches-4.14.x-rt/0348-cpu-hotplug--Implement-CPU-pinning.patch diff --git a/kernel/patches-4.14.x-rt/0343-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch b/kernel/patches-4.14.x-rt/0349-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0343-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch rename to kernel/patches-4.14.x-rt/0349-hotplug-duct-tape-RT-rwlock-usage-for-non-RT.patch diff --git a/kernel/patches-4.14.x-rt/0344-scsi-qla2xxx-fix-bug-sleeping-function-called-from-invalid-context.patch b/kernel/patches-4.14.x-rt/0350-scsi-qla2xxx-fix-bug-sleeping-function-called-from-invalid-context.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0344-scsi-qla2xxx-fix-bug-sleeping-function-called-from-invalid-context.patch rename to kernel/patches-4.14.x-rt/0350-scsi-qla2xxx-fix-bug-sleeping-function-called-from-invalid-context.patch diff --git a/kernel/patches-4.14.x-rt/0345-upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch b/kernel/patches-4.14.x-rt/0351-upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch similarity index 93% rename from kernel/patches-4.14.x-rt/0345-upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch rename to kernel/patches-4.14.x-rt/0351-upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch index 82c3af06c..694a72313 100644 --- a/kernel/patches-4.14.x-rt/0345-upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch +++ b/kernel/patches-4.14.x-rt/0351-upstream-net-rt-remove-preemption-disabling-in-netif_rx.patch @@ -37,7 +37,7 @@ Signed-off-by: Thomas Gleixner --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -4031,7 +4031,7 @@ static int netif_rx_internal(struct sk_b +@@ -4038,7 +4038,7 @@ static int netif_rx_internal(struct sk_b struct rps_dev_flow voidflow, *rflow = &voidflow; int cpu; @@ -46,7 +46,7 @@ Signed-off-by: Thomas Gleixner rcu_read_lock(); cpu = get_rps_cpu(skb->dev, skb, &rflow); -@@ -4041,14 +4041,14 @@ static int netif_rx_internal(struct sk_b +@@ -4048,14 +4048,14 @@ static int netif_rx_internal(struct sk_b ret = enqueue_to_backlog(skb, cpu, &rflow->last_qtail); rcu_read_unlock(); diff --git a/kernel/patches-4.14.x-rt/0346-net-another-local-irq-disable-alloc-atomic-headache.patch b/kernel/patches-4.14.x-rt/0352-net-another-local-irq-disable-alloc-atomic-headache.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0346-net-another-local-irq-disable-alloc-atomic-headache.patch rename to kernel/patches-4.14.x-rt/0352-net-another-local-irq-disable-alloc-atomic-headache.patch index 6f1eaf0b7..0e4e345c8 100644 --- a/kernel/patches-4.14.x-rt/0346-net-another-local-irq-disable-alloc-atomic-headache.patch +++ b/kernel/patches-4.14.x-rt/0352-net-another-local-irq-disable-alloc-atomic-headache.patch @@ -11,7 +11,7 @@ Signed-off-by: Thomas Gleixner --- a/net/core/skbuff.c +++ b/net/core/skbuff.c -@@ -64,6 +64,7 @@ +@@ -63,6 +63,7 @@ #include #include #include @@ -19,7 +19,7 @@ Signed-off-by: Thomas Gleixner #include #include -@@ -334,6 +335,7 @@ struct napi_alloc_cache { +@@ -330,6 +331,7 @@ struct napi_alloc_cache { static DEFINE_PER_CPU(struct page_frag_cache, netdev_alloc_cache); static DEFINE_PER_CPU(struct napi_alloc_cache, napi_alloc_cache); @@ -27,7 +27,7 @@ Signed-off-by: Thomas Gleixner static void *__netdev_alloc_frag(unsigned int fragsz, gfp_t gfp_mask) { -@@ -341,10 +343,10 @@ static void *__netdev_alloc_frag(unsigne +@@ -337,10 +339,10 @@ static void *__netdev_alloc_frag(unsigne unsigned long flags; void *data; @@ -40,7 +40,7 @@ Signed-off-by: Thomas Gleixner return data; } -@@ -412,13 +414,13 @@ struct sk_buff *__netdev_alloc_skb(struc +@@ -408,13 +410,13 @@ struct sk_buff *__netdev_alloc_skb(struc if (sk_memalloc_socks()) gfp_mask |= __GFP_MEMALLOC; diff --git a/kernel/patches-4.14.x-rt/0347-net-core-protect-users-of-napi_alloc_cache-against-r.patch b/kernel/patches-4.14.x-rt/0353-net-core-protect-users-of-napi_alloc_cache-against-r.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0347-net-core-protect-users-of-napi_alloc_cache-against-r.patch rename to kernel/patches-4.14.x-rt/0353-net-core-protect-users-of-napi_alloc_cache-against-r.patch index 22997993e..9bb65bdaa 100644 --- a/kernel/patches-4.14.x-rt/0347-net-core-protect-users-of-napi_alloc_cache-against-r.patch +++ b/kernel/patches-4.14.x-rt/0353-net-core-protect-users-of-napi_alloc_cache-against-r.patch @@ -17,7 +17,7 @@ Signed-off-by: Sebastian Andrzej Siewior --- a/net/core/skbuff.c +++ b/net/core/skbuff.c -@@ -336,6 +336,7 @@ struct napi_alloc_cache { +@@ -332,6 +332,7 @@ struct napi_alloc_cache { static DEFINE_PER_CPU(struct page_frag_cache, netdev_alloc_cache); static DEFINE_PER_CPU(struct napi_alloc_cache, napi_alloc_cache); static DEFINE_LOCAL_IRQ_LOCK(netdev_alloc_lock); @@ -25,7 +25,7 @@ Signed-off-by: Sebastian Andrzej Siewior static void *__netdev_alloc_frag(unsigned int fragsz, gfp_t gfp_mask) { -@@ -365,9 +366,13 @@ EXPORT_SYMBOL(netdev_alloc_frag); +@@ -361,9 +362,13 @@ EXPORT_SYMBOL(netdev_alloc_frag); static void *__napi_alloc_frag(unsigned int fragsz, gfp_t gfp_mask) { @@ -41,7 +41,7 @@ Signed-off-by: Sebastian Andrzej Siewior } void *napi_alloc_frag(unsigned int fragsz) -@@ -461,9 +466,10 @@ EXPORT_SYMBOL(__netdev_alloc_skb); +@@ -457,9 +462,10 @@ EXPORT_SYMBOL(__netdev_alloc_skb); struct sk_buff *__napi_alloc_skb(struct napi_struct *napi, unsigned int len, gfp_t gfp_mask) { @@ -53,7 +53,7 @@ Signed-off-by: Sebastian Andrzej Siewior len += NET_SKB_PAD + NET_IP_ALIGN; -@@ -481,7 +487,10 @@ struct sk_buff *__napi_alloc_skb(struct +@@ -477,7 +483,10 @@ struct sk_buff *__napi_alloc_skb(struct if (sk_memalloc_socks()) gfp_mask |= __GFP_MEMALLOC; @@ -64,7 +64,7 @@ Signed-off-by: Sebastian Andrzej Siewior if (unlikely(!data)) return NULL; -@@ -492,7 +501,7 @@ struct sk_buff *__napi_alloc_skb(struct +@@ -488,7 +497,7 @@ struct sk_buff *__napi_alloc_skb(struct } /* use OR instead of assignment to avoid clearing of bits in mask */ @@ -73,7 +73,7 @@ Signed-off-by: Sebastian Andrzej Siewior skb->pfmemalloc = 1; skb->head_frag = 1; -@@ -724,23 +733,26 @@ void __consume_stateless_skb(struct sk_b +@@ -720,23 +729,26 @@ void __consume_stateless_skb(struct sk_b void __kfree_skb_flush(void) { @@ -102,7 +102,7 @@ Signed-off-by: Sebastian Andrzej Siewior /* record skb to CPU local list */ nc->skb_cache[nc->skb_count++] = skb; -@@ -755,6 +767,7 @@ static inline void _kfree_skb_defer(stru +@@ -751,6 +763,7 @@ static inline void _kfree_skb_defer(stru nc->skb_cache); nc->skb_count = 0; } diff --git a/kernel/patches-4.14.x-rt/0348-net-fix-iptable-xt-write-recseq-begin-rt-fallout.patch b/kernel/patches-4.14.x-rt/0354-net-fix-iptable-xt-write-recseq-begin-rt-fallout.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0348-net-fix-iptable-xt-write-recseq-begin-rt-fallout.patch rename to kernel/patches-4.14.x-rt/0354-net-fix-iptable-xt-write-recseq-begin-rt-fallout.patch diff --git a/kernel/patches-4.14.x-rt/0349-net-make-devnet_rename_seq-a-mutex.patch b/kernel/patches-4.14.x-rt/0355-net-make-devnet_rename_seq-a-mutex.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0349-net-make-devnet_rename_seq-a-mutex.patch rename to kernel/patches-4.14.x-rt/0355-net-make-devnet_rename_seq-a-mutex.patch diff --git a/kernel/patches-4.14.x-rt/0350-peterz-srcu-crypto-chain.patch b/kernel/patches-4.14.x-rt/0356-peterz-srcu-crypto-chain.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0350-peterz-srcu-crypto-chain.patch rename to kernel/patches-4.14.x-rt/0356-peterz-srcu-crypto-chain.patch diff --git a/kernel/patches-4.14.x-rt/0351-lockdep-selftest-only-do-hardirq-context-test-for-raw-spinlock.patch b/kernel/patches-4.14.x-rt/0357-lockdep-selftest-only-do-hardirq-context-test-for-raw-spinlock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0351-lockdep-selftest-only-do-hardirq-context-test-for-raw-spinlock.patch rename to kernel/patches-4.14.x-rt/0357-lockdep-selftest-only-do-hardirq-context-test-for-raw-spinlock.patch diff --git a/kernel/patches-4.14.x-rt/0352-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch b/kernel/patches-4.14.x-rt/0358-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0352-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch rename to kernel/patches-4.14.x-rt/0358-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch diff --git a/kernel/patches-4.14.x-rt/0353-srcu-use-cpu_online-instead-custom-check.patch b/kernel/patches-4.14.x-rt/0359-srcu-use-cpu_online-instead-custom-check.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0353-srcu-use-cpu_online-instead-custom-check.patch rename to kernel/patches-4.14.x-rt/0359-srcu-use-cpu_online-instead-custom-check.patch diff --git a/kernel/patches-4.14.x-rt/0354-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch b/kernel/patches-4.14.x-rt/0360-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0354-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch rename to kernel/patches-4.14.x-rt/0360-srcu-Prohibit-call_srcu-use-under-raw-spinlocks.patch diff --git a/kernel/patches-4.14.x-rt/0355-srcu-replace-local_irqsave-with-a-locallock.patch b/kernel/patches-4.14.x-rt/0361-srcu-replace-local_irqsave-with-a-locallock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0355-srcu-replace-local_irqsave-with-a-locallock.patch rename to kernel/patches-4.14.x-rt/0361-srcu-replace-local_irqsave-with-a-locallock.patch diff --git a/kernel/patches-4.14.x-rt/0356-rcu-disable-rcu-fast-no-hz-on-rt.patch b/kernel/patches-4.14.x-rt/0362-rcu-disable-rcu-fast-no-hz-on-rt.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0356-rcu-disable-rcu-fast-no-hz-on-rt.patch rename to kernel/patches-4.14.x-rt/0362-rcu-disable-rcu-fast-no-hz-on-rt.patch diff --git a/kernel/patches-4.14.x-rt/0357-rcu-Eliminate-softirq-processing-from-rcutree.patch b/kernel/patches-4.14.x-rt/0363-rcu-Eliminate-softirq-processing-from-rcutree.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0357-rcu-Eliminate-softirq-processing-from-rcutree.patch rename to kernel/patches-4.14.x-rt/0363-rcu-Eliminate-softirq-processing-from-rcutree.patch diff --git a/kernel/patches-4.14.x-rt/0358-rcu-make-RCU_BOOST-default-on-RT.patch b/kernel/patches-4.14.x-rt/0364-rcu-make-RCU_BOOST-default-on-RT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0358-rcu-make-RCU_BOOST-default-on-RT.patch rename to kernel/patches-4.14.x-rt/0364-rcu-make-RCU_BOOST-default-on-RT.patch diff --git a/kernel/patches-4.14.x-rt/0359-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch b/kernel/patches-4.14.x-rt/0365-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0359-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch rename to kernel/patches-4.14.x-rt/0365-rcu-enable-rcu_normal_after_boot-by-default-for-RT.patch diff --git a/kernel/patches-4.14.x-rt/0360-preempt-lazy-support.patch b/kernel/patches-4.14.x-rt/0366-preempt-lazy-support.patch similarity index 96% rename from kernel/patches-4.14.x-rt/0360-preempt-lazy-support.patch rename to kernel/patches-4.14.x-rt/0366-preempt-lazy-support.patch index da481ac61..ec91b73dd 100644 --- a/kernel/patches-4.14.x-rt/0360-preempt-lazy-support.patch +++ b/kernel/patches-4.14.x-rt/0366-preempt-lazy-support.patch @@ -140,7 +140,7 @@ Signed-off-by: Thomas Gleixner --- a/include/linux/sched.h +++ b/include/linux/sched.h -@@ -1606,6 +1606,44 @@ static inline int test_tsk_need_resched( +@@ -1610,6 +1610,44 @@ static inline int test_tsk_need_resched( return unlikely(test_tsk_thread_flag(tsk,TIF_NEED_RESCHED)); } @@ -187,7 +187,7 @@ Signed-off-by: Thomas Gleixner if (task->state & (__TASK_STOPPED | __TASK_TRACED)) --- a/include/linux/thread_info.h +++ b/include/linux/thread_info.h -@@ -91,7 +91,17 @@ static inline int test_ti_thread_flag(st +@@ -90,7 +90,17 @@ static inline int test_ti_thread_flag(st #define test_thread_flag(flag) \ test_ti_thread_flag(current_thread_info(), flag) @@ -282,7 +282,7 @@ Signed-off-by: Thomas Gleixner void resched_cpu(int cpu) { struct rq *rq = cpu_rq(cpu); -@@ -2444,6 +2486,9 @@ int sched_fork(unsigned long clone_flags +@@ -2445,6 +2487,9 @@ int sched_fork(unsigned long clone_flags p->on_cpu = 0; #endif init_task_preempt_count(p); @@ -292,7 +292,7 @@ Signed-off-by: Thomas Gleixner #ifdef CONFIG_SMP plist_node_init(&p->pushable_tasks, MAX_PRIO); RB_CLEAR_NODE(&p->pushable_dl_tasks); -@@ -3361,6 +3406,7 @@ static void __sched notrace __schedule(b +@@ -3362,6 +3407,7 @@ static void __sched notrace __schedule(b next = pick_next_task(rq, prev, &rf); clear_tsk_need_resched(prev); @@ -300,7 +300,7 @@ Signed-off-by: Thomas Gleixner clear_preempt_need_resched(); if (likely(prev != next)) { -@@ -3551,6 +3597,30 @@ static void __sched notrace preempt_sche +@@ -3552,6 +3598,30 @@ static void __sched notrace preempt_sche } while (need_resched()); } @@ -331,7 +331,7 @@ Signed-off-by: Thomas Gleixner #ifdef CONFIG_PREEMPT /* * this is the entry point to schedule() from in-kernel preemption -@@ -3565,7 +3635,8 @@ asmlinkage __visible void __sched notrac +@@ -3566,7 +3636,8 @@ asmlinkage __visible void __sched notrac */ if (likely(!preemptible())) return; @@ -341,7 +341,7 @@ Signed-off-by: Thomas Gleixner preempt_schedule_common(); } NOKPROBE_SYMBOL(preempt_schedule); -@@ -3592,6 +3663,9 @@ asmlinkage __visible void __sched notrac +@@ -3593,6 +3664,9 @@ asmlinkage __visible void __sched notrac if (likely(!preemptible())) return; @@ -351,7 +351,7 @@ Signed-off-by: Thomas Gleixner do { /* * Because the function tracer can trace preempt_count_sub() -@@ -5331,7 +5405,9 @@ void init_idle(struct task_struct *idle, +@@ -5332,7 +5406,9 @@ void init_idle(struct task_struct *idle, /* Set the preempt count _outside_ the spinlocks! */ init_idle_preempt_count(idle, cpu); @@ -362,7 +362,7 @@ Signed-off-by: Thomas Gleixner /* * The idle tasks have their own, simple scheduling class: */ -@@ -6887,6 +6963,7 @@ void migrate_disable(void) +@@ -6888,6 +6964,7 @@ void migrate_disable(void) } preempt_disable(); @@ -370,7 +370,7 @@ Signed-off-by: Thomas Gleixner pin_current_cpu(); migrate_disable_update_cpus_allowed(p); -@@ -6954,6 +7031,7 @@ void migrate_enable(void) +@@ -6955,6 +7032,7 @@ void migrate_enable(void) arg.dest_cpu = dest_cpu; unpin_current_cpu(); @@ -378,7 +378,7 @@ Signed-off-by: Thomas Gleixner preempt_enable(); stop_one_cpu(task_cpu(p), migration_cpu_stop, &arg); tlb_migrate_finish(p->mm); -@@ -6962,6 +7040,7 @@ void migrate_enable(void) +@@ -6963,6 +7041,7 @@ void migrate_enable(void) } } unpin_current_cpu(); diff --git a/kernel/patches-4.14.x-rt/0361-ftrace-Fix-trace-header-alignment.patch b/kernel/patches-4.14.x-rt/0367-ftrace-Fix-trace-header-alignment.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0361-ftrace-Fix-trace-header-alignment.patch rename to kernel/patches-4.14.x-rt/0367-ftrace-Fix-trace-header-alignment.patch diff --git a/kernel/patches-4.14.x-rt/0362-x86-preempt-lazy.patch b/kernel/patches-4.14.x-rt/0368-x86-preempt-lazy.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0362-x86-preempt-lazy.patch rename to kernel/patches-4.14.x-rt/0368-x86-preempt-lazy.patch index 30c505d5c..93964f4b1 100644 --- a/kernel/patches-4.14.x-rt/0362-x86-preempt-lazy.patch +++ b/kernel/patches-4.14.x-rt/0368-x86-preempt-lazy.patch @@ -17,7 +17,7 @@ Signed-off-by: Thomas Gleixner --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig -@@ -170,6 +170,7 @@ config X86 +@@ -169,6 +169,7 @@ config X86 select HAVE_HARDLOCKUP_DETECTOR_PERF if PERF_EVENTS && HAVE_PERF_EVENTS_NMI select HAVE_PERF_REGS select HAVE_PERF_USER_STACK_DUMP @@ -47,7 +47,7 @@ Signed-off-by: Thomas Gleixner #ifdef ARCH_RT_DELAYS_SIGNAL_SEND --- a/arch/x86/entry/entry_32.S +++ b/arch/x86/entry/entry_32.S -@@ -351,8 +351,25 @@ END(ret_from_exception) +@@ -350,8 +350,25 @@ END(ret_from_exception) ENTRY(resume_kernel) DISABLE_INTERRUPTS(CLBR_ANY) .Lneed_resched: @@ -75,7 +75,7 @@ Signed-off-by: Thomas Gleixner call preempt_schedule_irq --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S -@@ -666,7 +666,23 @@ GLOBAL(swapgs_restore_regs_and_return_to +@@ -633,7 +633,23 @@ GLOBAL(swapgs_restore_regs_and_return_to bt $9, EFLAGS(%rsp) /* were interrupts off? */ jnc 1f 0: cmpl $0, PER_CPU_VAR(__preempt_count) diff --git a/kernel/patches-4.14.x-rt/0363-arm-preempt-lazy-support.patch b/kernel/patches-4.14.x-rt/0369-arm-preempt-lazy-support.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0363-arm-preempt-lazy-support.patch rename to kernel/patches-4.14.x-rt/0369-arm-preempt-lazy-support.patch diff --git a/kernel/patches-4.14.x-rt/0364-powerpc-preempt-lazy-support.patch b/kernel/patches-4.14.x-rt/0370-powerpc-preempt-lazy-support.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0364-powerpc-preempt-lazy-support.patch rename to kernel/patches-4.14.x-rt/0370-powerpc-preempt-lazy-support.patch diff --git a/kernel/patches-4.14.x-rt/0365-arch-arm64-Add-lazy-preempt-support.patch b/kernel/patches-4.14.x-rt/0371-arch-arm64-Add-lazy-preempt-support.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0365-arch-arm64-Add-lazy-preempt-support.patch rename to kernel/patches-4.14.x-rt/0371-arch-arm64-Add-lazy-preempt-support.patch diff --git a/kernel/patches-4.14.x-rt/0366-leds-trigger-disable-CPU-trigger-on-RT.patch b/kernel/patches-4.14.x-rt/0372-leds-trigger-disable-CPU-trigger-on-RT.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0366-leds-trigger-disable-CPU-trigger-on-RT.patch rename to kernel/patches-4.14.x-rt/0372-leds-trigger-disable-CPU-trigger-on-RT.patch diff --git a/kernel/patches-4.14.x-rt/0367-mmci-remove-bogus-irq-save.patch b/kernel/patches-4.14.x-rt/0373-mmci-remove-bogus-irq-save.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0367-mmci-remove-bogus-irq-save.patch rename to kernel/patches-4.14.x-rt/0373-mmci-remove-bogus-irq-save.patch diff --git a/kernel/patches-4.14.x-rt/0368-cpufreq-drop-K8-s-driver-from-beeing-selected.patch b/kernel/patches-4.14.x-rt/0374-cpufreq-drop-K8-s-driver-from-beeing-selected.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0368-cpufreq-drop-K8-s-driver-from-beeing-selected.patch rename to kernel/patches-4.14.x-rt/0374-cpufreq-drop-K8-s-driver-from-beeing-selected.patch diff --git a/kernel/patches-4.14.x-rt/0369-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch b/kernel/patches-4.14.x-rt/0375-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0369-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch rename to kernel/patches-4.14.x-rt/0375-connector-cn_proc-Protect-send_msg-with-a-local-lock.patch diff --git a/kernel/patches-4.14.x-rt/0370-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch b/kernel/patches-4.14.x-rt/0376-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0370-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch rename to kernel/patches-4.14.x-rt/0376-drivers-block-zram-Replace-bit-spinlocks-with-rtmute.patch diff --git a/kernel/patches-4.14.x-rt/0371-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch b/kernel/patches-4.14.x-rt/0377-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0371-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch rename to kernel/patches-4.14.x-rt/0377-drivers-zram-Don-t-disable-preemption-in-zcomp_strea.patch diff --git a/kernel/patches-4.14.x-rt/0372-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch b/kernel/patches-4.14.x-rt/0378-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0372-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch rename to kernel/patches-4.14.x-rt/0378-drivers-zram-fix-zcomp_stream_get-smp_processor_id-u.patch diff --git a/kernel/patches-4.14.x-rt/0373-tpm_tis-fix-stall-after-iowrite-s.patch b/kernel/patches-4.14.x-rt/0379-tpm_tis-fix-stall-after-iowrite-s.patch similarity index 89% rename from kernel/patches-4.14.x-rt/0373-tpm_tis-fix-stall-after-iowrite-s.patch rename to kernel/patches-4.14.x-rt/0379-tpm_tis-fix-stall-after-iowrite-s.patch index 83ff41bdd..8f1ae7443 100644 --- a/kernel/patches-4.14.x-rt/0373-tpm_tis-fix-stall-after-iowrite-s.patch +++ b/kernel/patches-4.14.x-rt/0379-tpm_tis-fix-stall-after-iowrite-s.patch @@ -57,21 +57,21 @@ Signed-off-by: Sebastian Andrzej Siewior static bool interrupts = true; module_param(interrupts, bool, 0444); MODULE_PARM_DESC(interrupts, "Enable interrupts"); -@@ -230,7 +255,7 @@ static int tpm_tcg_write_bytes(struct tp - tpm_platform_begin_xfer(); +@@ -149,7 +174,7 @@ static int tpm_tcg_write_bytes(struct tp + struct tpm_tis_tcg_phy *phy = to_tpm_tis_tcg_phy(data); while (len--) - iowrite8(*value++, phy->iobase + addr); + tpm_tis_iowrite8(*value++, phy->iobase, addr); - tpm_platform_end_xfer(); - -@@ -269,7 +294,7 @@ static int tpm_tcg_write32(struct tpm_ti - - tpm_platform_begin_xfer(); + return 0; + } +@@ -176,7 +201,7 @@ static int tpm_tcg_write32(struct tpm_ti + { + struct tpm_tis_tcg_phy *phy = to_tpm_tis_tcg_phy(data); - iowrite32(value, phy->iobase + addr); + tpm_tis_iowrite32(value, phy->iobase, addr); - tpm_platform_end_xfer(); - + return 0; + } diff --git a/kernel/patches-4.14.x-rt/0374-pci-switchtec-Don-t-use-completion-s-wait-queue.patch b/kernel/patches-4.14.x-rt/0380-pci-switchtec-Don-t-use-completion-s-wait-queue.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0374-pci-switchtec-Don-t-use-completion-s-wait-queue.patch rename to kernel/patches-4.14.x-rt/0380-pci-switchtec-Don-t-use-completion-s-wait-queue.patch diff --git a/kernel/patches-4.14.x-rt/0375-drmradeoni915_Use_preempt_disableenable_rt()_where_recommended.patch b/kernel/patches-4.14.x-rt/0381-drmradeoni915_Use_preempt_disableenable_rt()_where_recommended.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0375-drmradeoni915_Use_preempt_disableenable_rt()_where_recommended.patch rename to kernel/patches-4.14.x-rt/0381-drmradeoni915_Use_preempt_disableenable_rt()_where_recommended.patch diff --git a/kernel/patches-4.14.x-rt/0376-drmi915_Use_local_lockunlock_irq()_in_intel_pipe_update_startend().patch b/kernel/patches-4.14.x-rt/0382-drmi915_Use_local_lockunlock_irq()_in_intel_pipe_update_startend().patch similarity index 100% rename from kernel/patches-4.14.x-rt/0376-drmi915_Use_local_lockunlock_irq()_in_intel_pipe_update_startend().patch rename to kernel/patches-4.14.x-rt/0382-drmi915_Use_local_lockunlock_irq()_in_intel_pipe_update_startend().patch diff --git a/kernel/patches-4.14.x-rt/0377-cgroups-use-simple-wait-in-css_release.patch b/kernel/patches-4.14.x-rt/0383-cgroups-use-simple-wait-in-css_release.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0377-cgroups-use-simple-wait-in-css_release.patch rename to kernel/patches-4.14.x-rt/0383-cgroups-use-simple-wait-in-css_release.patch diff --git a/kernel/patches-4.14.x-rt/0378-cgroups-scheduling-while-atomic-in-cgroup-code.patch b/kernel/patches-4.14.x-rt/0384-cgroups-scheduling-while-atomic-in-cgroup-code.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0378-cgroups-scheduling-while-atomic-in-cgroup-code.patch rename to kernel/patches-4.14.x-rt/0384-cgroups-scheduling-while-atomic-in-cgroup-code.patch diff --git a/kernel/patches-4.14.x-rt/0379-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch b/kernel/patches-4.14.x-rt/0385-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0379-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch rename to kernel/patches-4.14.x-rt/0385-Revert-memcontrol-Prevent-scheduling-while-atomic-in.patch diff --git a/kernel/patches-4.14.x-rt/0380-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch b/kernel/patches-4.14.x-rt/0386-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0380-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch rename to kernel/patches-4.14.x-rt/0386-cpuset-Convert-callback_lock-to-raw_spinlock_t.patch diff --git a/kernel/patches-4.14.x-rt/0381-move_sched_delayed_work_to_helper.patch b/kernel/patches-4.14.x-rt/0387-move_sched_delayed_work_to_helper.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0381-move_sched_delayed_work_to_helper.patch rename to kernel/patches-4.14.x-rt/0387-move_sched_delayed_work_to_helper.patch diff --git a/kernel/patches-4.14.x-rt/0382-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch b/kernel/patches-4.14.x-rt/0388-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch similarity index 88% rename from kernel/patches-4.14.x-rt/0382-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch rename to kernel/patches-4.14.x-rt/0388-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch index 80c01074b..967d8a561 100644 --- a/kernel/patches-4.14.x-rt/0382-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch +++ b/kernel/patches-4.14.x-rt/0388-Revert-rt-ntp-Move-call-to-schedule_delayed_work-to-.patch @@ -20,11 +20,9 @@ Reverting the patch. Cc: stable-rt@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior --- - kernel/time/ntp.c | 26 -------------------------- + kernel/time/ntp.c | 26 -------------------------- 1 file changed, 26 deletions(-) -diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c -index 2c226b90c231..99e03bec68e4 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c @@ -18,7 +18,6 @@ @@ -35,7 +33,7 @@ index 2c226b90c231..99e03bec68e4 100644 #include "ntp_internal.h" #include "timekeeping_internal.h" -@@ -570,35 +569,10 @@ static void sync_cmos_clock(struct work_struct *work) +@@ -570,35 +569,10 @@ static void sync_cmos_clock(struct work_ &sync_cmos_work, timespec64_to_jiffies(&next)); } @@ -71,6 +69,3 @@ index 2c226b90c231..99e03bec68e4 100644 #else void ntp_notify_cmos_timer(void) { } --- -2.16.2 - diff --git a/kernel/patches-4.14.x-rt/0383-md-disable-bcache.patch b/kernel/patches-4.14.x-rt/0389-md-disable-bcache.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0383-md-disable-bcache.patch rename to kernel/patches-4.14.x-rt/0389-md-disable-bcache.patch diff --git a/kernel/patches-4.14.x-rt/0384-apparmor-use-a-locallock-instead-preempt_disable.patch b/kernel/patches-4.14.x-rt/0390-apparmor-use-a-locallock-instead-preempt_disable.patch similarity index 100% rename from kernel/patches-4.14.x-rt/0384-apparmor-use-a-locallock-instead-preempt_disable.patch rename to kernel/patches-4.14.x-rt/0390-apparmor-use-a-locallock-instead-preempt_disable.patch diff --git a/kernel/patches-4.14.x-rt/0385-workqueue-prevent-deadlock-stall.patch b/kernel/patches-4.14.x-rt/0391-workqueue-prevent-deadlock-stall.patch similarity index 98% rename from kernel/patches-4.14.x-rt/0385-workqueue-prevent-deadlock-stall.patch rename to kernel/patches-4.14.x-rt/0391-workqueue-prevent-deadlock-stall.patch index 2553ec792..74d79e9a1 100644 --- a/kernel/patches-4.14.x-rt/0385-workqueue-prevent-deadlock-stall.patch +++ b/kernel/patches-4.14.x-rt/0391-workqueue-prevent-deadlock-stall.patch @@ -43,7 +43,7 @@ Cc: Steven Rostedt --- a/kernel/sched/core.c +++ b/kernel/sched/core.c -@@ -3474,9 +3474,8 @@ void __noreturn do_task_dead(void) +@@ -3475,9 +3475,8 @@ void __noreturn do_task_dead(void) static inline void sched_submit_work(struct task_struct *tsk) { @@ -54,7 +54,7 @@ Cc: Steven Rostedt /* * If a worker went to sleep, notify and ask workqueue whether * it wants to wake up a task to maintain concurrency. -@@ -3484,6 +3483,10 @@ static inline void sched_submit_work(str +@@ -3485,6 +3484,10 @@ static inline void sched_submit_work(str if (tsk->flags & PF_WQ_WORKER) wq_worker_sleeping(tsk); diff --git a/kernel/patches-4.14.x-rt/0386-localversion.patch b/kernel/patches-4.14.x-rt/0392-localversion.patch similarity index 97% rename from kernel/patches-4.14.x-rt/0386-localversion.patch rename to kernel/patches-4.14.x-rt/0392-localversion.patch index 19d7ea050..ad0785c83 100644 --- a/kernel/patches-4.14.x-rt/0386-localversion.patch +++ b/kernel/patches-4.14.x-rt/0392-localversion.patch @@ -10,4 +10,4 @@ Signed-off-by: Thomas Gleixner --- /dev/null +++ b/localversion-rt @@ -0,0 +1 @@ -+-rt19 ++-rt25 From 3defc170ae074353679aa0bddcdfaa60652d31c8 Mon Sep 17 00:00:00 2001 From: Tiejun Chen Date: Thu, 29 Mar 2018 21:23:02 -0700 Subject: [PATCH 2/2] update rt-for-vmware Signed-off-by: Tiejun Chen --- examples/rt-for-vmware.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rt-for-vmware.yml b/examples/rt-for-vmware.yml index 77e82e77e..a3971f266 100644 --- a/examples/rt-for-vmware.yml +++ b/examples/rt-for-vmware.yml @@ -1,5 +1,5 @@ kernel: - image: linuxkit/kernel:4.14.18-rt + image: linuxkit/kernel:4.14.29-rt cmdline: "console=tty0" init: - linuxkit/init:7af4e32f31f04d6c63d457c502d2f69344db7d72