[linux] 02/02: [rt] Update to 3.2.78-rt113
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Fri Apr 1 02:18:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch wheezy
in repository linux.
commit b9f90b7b128bd3a81f6d09b738417e6d02692a06
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Fri Apr 1 03:17:39 2016 +0100
[rt] Update to 3.2.78-rt113
---
debian/changelog | 6 ++
...queue-skip-nr_running-sanity-check-in-wor.patch | 4 +-
...02-x86-Call-idle-notifier-after-irq_enter.patch | 4 +-
...003-slab-lockdep-Annotate-all-slab-caches.patch | 4 +-
...probes-Remove-remove-bogus-preempt_enable.patch | 4 +-
.../0005-x86-hpet-Disable-MSI-on-Lenovo-W510.patch | 4 +-
...-block-Shorten-interrupt-disabled-regions.patch | 4 +-
...istangle-worker-accounting-from-rq-3Elock.patch | 4 +-
...08-mips-enable-interrupts-in-signal.patch.patch | 4 +-
...rm-enable-interrupts-in-signal-code.patch.patch | 4 +-
...erpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch | 4 +-
...p-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch | 4 +-
...owerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch | 4 +-
.../all/rt/0013-powerpc-Allow-irq-threading.patch | 4 +-
...period-timer-ticking-when-throttling-acti.patch | 4 +-
...-sched-Do-not-throttle-due-to-PI-boosting.patch | 4 +-
.../all/rt/0016-time-Remove-bogus-comments.patch | 4 +-
...emove-bogus-locking-in-update_vsyscall_tz.patch | 4 +-
...-x86-vdso-Use-seqcount-instead-of-seqlock.patch | 4 +-
...-vsyscall-Use-seqcount-instead-of-seqlock.patch | 4 +-
.../rt/0020-seqlock-Remove-unused-functions.patch | 4 +-
.../all/rt/0021-seqlock-Use-seqcount.patch | 4 +-
...ct-Move-code-out-of-seqcount-write-sectio.patch | 4 +-
.../all/rt/0023-timekeeping-Split-xtime_lock.patch | 4 +-
...e-Convert-i7300_idle_lock-to-raw-spinlock.patch | 4 +-
...orten-preempt-disabled-section-around-eve.patch | 4 +-
...count-for-preempt-off-in-preempt_schedule.patch | 4 +-
...-signal-revert-ptrace-preempt-magic.patch.patch | 4 +-
...0028-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch | 4 +-
.../rt/0029-arm-Allow-forced-irq-threading.patch | 4 +-
...0-preempt-rt-Convert-arm-boot_lock-to-raw.patch | 4 +-
...31-sched-Create-schedule_preempt_disabled.patch | 6 +-
.../0032-sched-Use-schedule_preempt_disabled.patch | 4 +-
.../all/rt/0033-signals-Do-not-wakeup-self.patch | 4 +-
...34-posix-timers-Prevent-broadcast-signals.patch | 6 +-
...low-rt-tasks-to-cache-one-sigqueue-struct.patch | 8 +-
...ignal-x86-Delay-calling-signals-in-atomic.patch | 8 +-
...-raw-local-irq-variant-for-generic-cmpxch.patch | 4 +-
...ers-random-Reduce-preempt-disabled-region.patch | 4 +-
...T-Remove-irq-handler-when-clock-event-is-.patch | 4 +-
...-TCLIB-Allow-higher-clock-rates-for-clock.patch | 4 +-
...-tulip_remove_one-needs-to-call-pci_disab.patch | 4 +-
...ers-net-Use-disable_irq_nosync-in-8139too.patch | 4 +-
...-ehea-Make-rx-irq-handler-non-threaded-IR.patch | 4 +-
...t-at91_ether-Make-mdio-protection-rt-safe.patch | 4 +-
...t-mark-legitimated-no-resched-sites.patch.patch | 4 +-
...decoupling-the-page-fault-disabling-logic.patch | 8 +-
...l-fault-handlers-to-check-current-pagefau.patch | 4 +-
.../all/rt/0048-mm-pagefault_disabled.patch | 10 +-
.../all/rt/0049-mm-raw_pagefault_disable.patch | 4 +-
.../all/rt/0050-filemap-fix-up.patch.patch | 4 +-
...reempt-count-from-pagefault-disable-enabl.patch | 4 +-
...052-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch | 4 +-
.../0053-suspend-Prevent-might-sleep-splats.patch | 4 +-
...054-OF-Fixup-resursive-locking-code-paths.patch | 4 +-
.../rt/0055-of-convert-devtree-lock.patch.patch | 4 +-
.../rt/0056-list-add-list-last-entry.patch.patch | 4 +-
...7-mm-page-alloc-use-list-last-entry.patch.patch | 4 +-
.../all/rt/0058-mm-slab-move-debug-out.patch.patch | 4 +-
.../all/rt/0059-rwsem-inlcude-fix.patch.patch | 4 +-
.../all/rt/0060-sysctl-include-fix.patch.patch | 4 +-
.../rt/0061-net-flip-lock-dep-thingy.patch.patch | 4 +-
.../rt/0062-softirq-thread-do-softirq.patch.patch | 4 +-
.../all/rt/0063-softirq-split-out-code.patch.patch | 4 +-
...unmask-io_apic-when-interrupt-is-in-progr.patch | 4 +-
.../all/rt/0065-x86-32-fix-signal-crap.patch.patch | 4 +-
...o-not-disable-preemption-in-int3-on-32bit.patch | 4 +-
.../all/rt/0067-rcu-Reduce-lock-section.patch | 4 +-
.../rt/0068-locking-various-init-fixes.patch.patch | 4 +-
.../0069-wait-Provide-__wake_up_all_locked.patch | 4 +-
...ake_up_all_locked-pci_unblock_user_cfg_ac.patch | 4 +-
.../features/all/rt/0071-latency-hist.patch.patch | 14 +--
.../features/all/rt/0072-hwlatdetect.patch.patch | 4 +-
.../features/all/rt/0073-localversion.patch.patch | 4 +-
.../rt/0074-early-printk-consolidate.patch.patch | 4 +-
.../features/all/rt/0075-printk-kill.patch.patch | 4 +-
...e_early_printk-boot-param-to-help-with-de.patch | 4 +-
.../all/rt/0077-rt-preempt-base-config.patch.patch | 4 +-
...UG_ON-WARN_ON-variants-dependend-on-RT-RT.patch | 4 +-
...rt-local_irq_-variants-depending-on-RT-RT.patch | 4 +-
...preempt-Provide-preempt_-_-no-rt-variants.patch | 4 +-
...disable-interrupts-in-ide-code-for-preemp.patch | 6 +-
...-Do-not-disable-interrupts-for-PREEMPT-RT.patch | 4 +-
...Mellanox-IB-driver-patch-use-_nort-primit.patch | 4 +-
...ort-Do-not-disable-interrupts-on-PREEMPT_.patch | 4 +-
...i-Do-not-disable-interrupts-on-PREEMPT_RT.patch | 4 +-
...-disable-interrupts-on-RT-in-kernel-users.patch | 4 +-
...-disable-interrupts-on-RT-in-res_counter..patch | 4 +-
.../0088-usb-Use-local_irq_-_nort-variants.patch | 4 +-
...not-disable-interrupts-in-put_ldisc-on-rt.patch | 4 +-
...90-mm-scatterlist-dont-disable-irqs-on-RT.patch | 4 +-
.../rt/0091-signal-fix-up-rcu-wreckage.patch.patch | 4 +-
.../all/rt/0092-net-wireless-warn-nort.patch.patch | 4 +-
.../0093-mm-Replace-cgroup_page-bit-spinlock.patch | 4 +-
...ffer_head-Replace-bh_uptodate_lock-for-rt.patch | 4 +-
...-Make-state-lock-and-journal-head-lock-rt.patch | 4 +-
.../0096-genirq-Disable-DEBUG_SHIRQ-for-rt.patch | 4 +-
...-genirq-Disable-random-call-on-preempt-rt.patch | 4 +-
.../all/rt/0098-genirq-disable-irqpoll-on-rt.patch | 4 +-
.../all/rt/0099-genirq-force-threading.patch.patch | 4 +-
.../rt/0100-drivers-net-fix-livelock-issues.patch | 4 +-
...101-drivers-net-vortex-fix-locking-issues.patch | 4 +-
.../0102-drivers-net-gianfar-Make-RT-aware.patch | 4 +-
...-mouse-problem-when-copying-large-amounts.patch | 4 +-
.../features/all/rt/0104-local-var.patch.patch | 4 +-
.../all/rt/0105-rt-local-irq-lock.patch.patch | 4 +-
.../all/rt/0106-cpu-rt-variants.patch.patch | 4 +-
.../all/rt/0107-mm-slab-wrap-functions.patch.patch | 4 +-
...x-__do_drain-to-use-the-right-array-cache.patch | 4 +-
.../rt/0109-mm-More-lock-breaks-in-slab.c.patch | 4 +-
...0-mm-page_alloc-rt-friendly-per-cpu-pages.patch | 4 +-
...m-page_alloc-reduce-lock-sections-further.patch | 4 +-
.../all/rt/0112-mm-page-alloc-fix.patch.patch | 4 +-
.../rt/0113-mm-convert-swap-to-percpu-locked.patch | 4 +-
...mm-vmstat-fix-the-irq-lock-asymetry.patch.patch | 4 +-
.../all/rt/0115-mm-make-vmstat-rt-aware.patch | 4 +-
.../0116-mm-shrink-the-page-frame-to-rt-size.patch | 4 +-
...7-ARM-Initialize-ptl-lock-for-vector-page.patch | 4 +-
.../all/rt/0118-mm-Allow-only-slab-on-RT.patch | 4 +-
.../all/rt/0119-radix-tree-rt-aware.patch.patch | 4 +-
.../all/rt/0120-panic-disable-random-on-rt.patch | 4 +-
.../rt/0121-ipc-Make-the-ipc-code-rt-aware.patch | 4 +-
...Add-a-critical-section-to-avoid-a-deadloc.patch | 4 +-
.../all/rt/0123-relay-fix-timer-madness.patch | 4 +-
...4-net-ipv4-route-use-locks-on-up-rt.patch.patch | 4 +-
...rkqueue-avoid-the-lock-in-cpu-dying.patch.patch | 4 +-
.../0126-timers-prepare-for-full-preemption.patch | 4 +-
.../all/rt/0127-timers-preempt-rt-support.patch | 4 +-
.../rt/0128-timers-fix-timer-hotplug-on-rt.patch | 4 +-
...-timers-mov-printk_tick-to-soft-interrupt.patch | 4 +-
...delay-waking-softirqs-from-the-jiffy-tick.patch | 4 +-
...d-the-switch-timers-base-set-to-NULL-tric.patch | 4 +-
...t-call-printk_tick-in-printk_needs_cpu-on.patch | 4 +-
.../rt/0133-hrtimers-prepare-full-preemption.patch | 4 +-
...up-hrtimer-callback-changes-for-preempt-r.patch | 30 +++---
...-t-call-the-timer-handler-from-hrtimer_st.patch | 10 +-
.../0136-hrtimer-fix-reprogram-madness.patch.patch | 12 +--
.../all/rt/0137-timer-fd-Prevent-live-lock.patch | 6 +-
...osix-timers-thread-posix-cpu-timers-on-rt.patch | 8 +-
...s-Shorten-posix_cpu_timers-CPU-kernel-thr.patch | 4 +-
...s-Avoid-wakeups-when-no-timers-are-active.patch | 4 +-
.../all/rt/0141-sched-delay-put-task.patch.patch | 14 ++-
.../all/rt/0142-sched-limit-nr-migrate.patch.patch | 4 +-
.../all/rt/0143-sched-mmdrop-delayed.patch.patch | 15 ++-
.../all/rt/0144-sched-rt-mutex-wakeup.patch.patch | 12 +--
.../rt/0145-sched-prevent-idle-boost.patch.patch | 4 +-
...ight-sleep-do-not-account-rcu-depth.patch.patch | 4 +-
...-out-from-load_balancing-on-rq_lock-conte.patch | 10 +-
.../all/rt/0148-sched-cond-resched.patch.patch | 4 +-
.../rt/0149-cond-resched-softirq-fix.patch.patch | 8 +-
.../0150-sched-no-work-when-pi-blocked.patch.patch | 8 +-
.../rt/0151-cond-resched-lock-rt-tweak.patch.patch | 8 +-
.../rt/0152-sched-disable-ttwu-queue.patch.patch | 4 +-
...sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch | 4 +-
...Return-success-when-only-changing-the-sav.patch | 4 +-
...ne-convert-stop_machine_run-to-PREEMPT_RT.patch | 4 +-
...6-stomp-machine-mark-stomper-thread.patch.patch | 8 +-
.../all/rt/0157-stomp-machine-raw-lock.patch.patch | 4 +-
.../0158-hotplug-Lightweight-get-online-cpus.patch | 4 +-
.../all/rt/0159-hotplug-sync_unplug-No.patch | 4 +-
...read-hotplug_pcp-on-pin_current_cpu-retry.patch | 4 +-
.../all/rt/0161-sched-migrate-disable.patch.patch | 12 +--
.../0162-hotplug-use-migrate-disable.patch.patch | 4 +-
...Call-cpu_unplug_begin-before-DOWN_PREPARE.patch | 4 +-
...0164-ftrace-migrate-disable-tracing.patch.patch | 4 +-
...65-tracing-Show-padding-as-unsigned-short.patch | 4 +-
.../rt/0166-migrate-disable-rt-variant.patch.patch | 4 +-
.../rt/0167-sched-Optimize-migrate_disable.patch | 4 +-
.../rt/0168-sched-Generic-migrate_disable.patch | 10 +-
.../0169-sched-rt-Fix-migrate_enable-thinko.patch | 4 +-
...ach-migrate_disable-about-atomic-contexts.patch | 8 +-
...pone-actual-migration-disalbe-to-schedule.patch | 4 +-
...hed-Do-not-compare-cpu-masks-in-scheduler.patch | 4 +-
...ve-migrate_disable-ignore-bounded-threads.patch | 4 +-
...lear-pf-thread-bound-on-fallback-rq.patch.patch | 4 +-
.../features/all/rt/0175-ftrace-crap.patch.patch | 4 +-
...-Convert-reader_lock-from-raw_spin_lock-i.patch | 4 +-
...177-net-netif_rx_ni-migrate-disable.patch.patch | 4 +-
...tirq-Sanitize-softirq-pending-for-NOHZ-RT.patch | 4 +-
.../features/all/rt/0179-lockdep-rt.patch.patch | 4 +-
.../all/rt/0180-mutex-no-spin-on-rt.patch.patch | 4 +-
.../all/rt/0181-softirq-local-lock.patch.patch | 8 +-
.../0182-softirq-Export-in_serving_softirq.patch | 4 +-
...efine-softirq_count-as-OUL-to-kill-build-.patch | 4 +-
.../all/rt/0184-softirq-Fix-unplug-deadlock.patch | 4 +-
...ftirq-disable-softirq-stacks-for-rt.patch.patch | 4 +-
.../all/rt/0186-softirq-make-fifo.patch.patch | 4 +-
...vent-tasklets-from-going-into-infinite-sp.patch | 4 +-
...w-disabling-of-softirq-processing-in-irq-.patch | 4 +-
.../rt/0189-local-vars-migrate-disable.patch.patch | 4 +-
...raid5-Make-raid5_percpu-handling-RT-aware.patch | 4 +-
.../all/rt/0191-rtmutex-lock-killable.patch.patch | 4 +-
.../rt/0192-rtmutex-futex-prepare-rt.patch.patch | 4 +-
...-bug-on-when-a-requeued-RT-task-times-out.patch | 4 +-
...utex-add-sleeping-spinlocks-support.patch.patch | 4 +-
.../0195-spinlock-types-separate-raw.patch.patch | 4 +-
.../rt/0196-rtmutex-avoid-include-hell.patch.patch | 4 +-
.../all/rt/0197-rt-add-rt-spinlocks.patch.patch | 4 +-
.../rt/0198-rt-add-rt-to-mutex-headers.patch.patch | 4 +-
.../all/rt/0199-rwsem-add-rt-variant.patch.patch | 4 +-
...-Add-the-preempt-rt-lock-replacement-APIs.patch | 4 +-
.../all/rt/0201-rwlocks-Fix-section-mismatch.patch | 4 +-
...e-idle-trylock-in-get-next-timer-irq.patc.patch | 4 +-
...0203-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch | 4 +-
.../all/rt/0204-rcu-Frob-softirq-test.patch | 4 +-
.../0205-rcu-Merge-RCU-bh-into-RCU-preempt.patch | 4 +-
...ro-substitution-for-synchronize_rcu_bh-on.patch | 4 +-
.../all/rt/0207-rcu-more-fallout.patch.patch | 4 +-
...cu-Make-ksoftirqd-do-RCU-quiescent-states.patch | 4 +-
.../0209-rt-rcutree-Move-misplaced-prototype.patch | 4 +-
.../features/all/rt/0210-lglocks-rt.patch.patch | 4 +-
...1-serial-8250-Clean-up-the-locking-for-rt.patch | 4 +-
...-Call-flush_to_ldisc-when-the-irq-is-thre.patch | 4 +-
...0213-drivers-tty-fix-omap-lock-crap.patch.patch | 4 +-
...-rt-Improve-the-serial-console-PASS_LIMIT.patch | 4 +-
.../all/rt/0215-fs-namespace-preemption-fix.patch | 4 +-
.../0216-mm-protect-activate-switch-mm.patch.patch | 4 +-
.../all/rt/0217-fs-block-rt-support.patch.patch | 4 +-
...0218-fs-ntfs-disable-interrupt-only-on-RT.patch | 4 +-
.../rt/0219-x86-Convert-mce-timer-to-hrtimer.patch | 4 +-
...86-stackprotector-Avoid-random-pool-on-rt.patch | 4 +-
...221-x86-Use-generic-rwsem_spinlocks-on-rt.patch | 4 +-
.../0222-workqueue-use-get-cpu-light.patch.patch | 4 +-
.../patches/features/all/rt/0223-epoll.patch.patch | 4 +-
.../features/all/rt/0224-mm-vmalloc.patch.patch | 4 +-
.../all/rt/0225-debugobjects-rt.patch.patch | 4 +-
.../features/all/rt/0226-jump-label-rt.patch.patch | 4 +-
.../all/rt/0227-skbufhead-raw-lock.patch.patch | 4 +-
.../rt/0228-x86-no-perf-irq-work-rt.patch.patch | 4 +-
.../rt/0229-console-make-rt-friendly.patch.patch | 4 +-
...k-Disable-migration-instead-of-preemption.patch | 4 +-
.../rt/0231-power-use-generic-rwsem-on-rt.patch | 4 +-
.../0232-power-disable-highmem-on-rt.patch.patch | 4 +-
.../rt/0233-arm-disable-highmem-on-rt.patch.patch | 4 +-
...-at91-tclib-Default-to-tclib-timer-for-RT.patch | 4 +-
.../rt/0235-mips-disable-highmem-on-rt.patch.patch | 4 +-
...net-Avoid-livelock-in-net_tx_action-on-RT.patch | 4 +-
.../features/all/rt/0237-ping-sysrq.patch.patch | 4 +-
.../0238-kgdb-serial-Short-term-workaround.patch | 4 +-
.../rt/0239-add-sys-kernel-realtime-entry.patch | 4 +-
.../all/rt/0240-mm-rt-kmap_atomic-scheduling.patch | 8 +-
.../rt/0241-ipc-sem-Rework-semaphore-wakeups.patch | 4 +-
...-immediate-Magic-SysRq-output-for-PREEMPT.patch | 22 ++--
...43-x86-kvm-require-const-tsc-for-rt.patch.patch | 6 +-
.../all/rt/0244-scsi-fcoe-rt-aware.patch.patch | 4 +-
...86-crypto-Reduce-preempt-disabled-regions.patch | 4 +-
.../features/all/rt/0246-dm-Make-rt-aware.patch | 4 +-
...sk-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch | 4 +-
.../rt/0248-seqlock-Prevent-rt-starvation.patch | 4 +-
.../all/rt/0249-timer-Fix-hotplug-for-rt.patch | 4 +-
...x-possible-lockup-when-taking-pi_lock-in-.patch | 4 +-
...-rt-Check-for-irqs-disabled-before-grabbi.patch | 4 +-
...x-wait_task_interactive-to-test-rt_spin_l.patch | 4 +-
...ock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch | 4 +-
...ke-hotplug.lock-a-sleeping-spinlock-on-RT.patch | 4 +-
...ck-preemption-after-reenabling-interrupts.patch | 4 +-
.../all/rt/0256-rt-Introduce-cpu_chill.patch | 4 +-
...-fs-dcache-Use-cpu_chill-in-trylock-loops.patch | 4 +-
...58-net-Use-cpu_chill-instead-of-cpu_relax.patch | 4 +-
...59-kconfig-disable-a-few-options-rt.patch.patch | 4 +-
.../rt/0260-kconfig-preempt-rt-full.patch.patch | 4 +-
...rate_disable-enable-and-__rt_mutex_init-n.patch | 4 +-
...x-Use-local_irq_save_nort-in-qla2x00_poll.patch | 4 +-
...T-REmove-preemption-disabling-in-netif_rx.patch | 4 +-
.../0264-mips-remove-smp-reserve-lock.patch.patch | 4 +-
...togramms-Cope-with-backwards-running-loca.patch | 8 +-
...tograms-Adjust-timer-if-already-elapsed-w.patch | 6 +-
...Disable-RT_GROUP_SCHED-in-PREEMPT_RT_FULL.patch | 4 +-
...tograms-Detect-another-yet-overlooked-sha.patch | 4 +-
.../rt/0269-slab-Prevent-local-lock-deadlock.patch | 4 +-
...jbd-pull-your-plug-when-waiting-for-space.patch | 4 +-
...wevent-hrtimer-run-in-irq-instead-of-soft.patch | 4 +-
...272-cpu-rt-Rework-cpu-down-for-PREEMPT_RT.patch | 10 +-
...t-Fix-cpu_hotplug-variable-initialization.patch | 4 +-
...ix-up-leap-second-backport-for-RT-changes.patch | 4 +-
.../all/rt/0275-fix-printk-flush-of-messages.patch | 4 +-
.../all/rt/0276-fix-printk-flush-of-messages.patch | 22 ++--
.../all/rt/0277-random-Make-it-work-on-rt.patch | 7 +-
...t-softirq-local-lock-after-per-cpu-sectio.patch | 4 +-
.../rt/0279-mm-slab-Fix-potential-deadlock.patch | 4 +-
...oc-Use-local_lock_on-instead-of-plain-spi.patch | 4 +-
.../0281-rt-rwsem-rwlock-lockdep-annotations.patch | 4 +-
...sched-Better-debug-output-for-might-sleep.patch | 8 +-
...ne-Use-mutex_trylock-when-called-from-ina.patch | 4 +-
...ix-up-stable-merge-of-slab-init_lock_keys.patch | 4 +-
...imer-Raise-softirq-if-hrtimer-irq-stalled.patch | 10 +-
.../rt/0286-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch | 4 +-
...er-Serialize-xt_write_recseq-sections-on-.patch | 4 +-
...t-sched_reset_on_fork-when-nothing-else-c.patch | 4 +-
...ed-Queue-RT-tasks-to-head-when-prio-drops.patch | 4 +-
...ched-Consider-pi-boosting-in-setscheduler.patch | 10 +-
...ivers-tty-pl011-irq-disable-madness.patch.patch | 4 +-
.../rt/0292-mmci-Remove-bogus-local_irq_save.patch | 4 +-
.../0293-sched-Init-idle-on_rq-in-init_idle.patch | 4 +-
...-sched-Check-for-idle-task-in-might_sleep.patch | 4 +-
...0295-mm-swap-Initialize-local-locks-early.patch | 4 +-
...2-Use-kmap-switch-for-non-highmem-as-well.patch | 8 +-
...vert-acpi_gbl_hardware-lock-back-to-a-raw.patch | 4 +-
...0298-serial-Imx-Fix-recursive-locking-bug.patch | 4 +-
...it-simple-Simple-waitqueue-implementation.patch | 4 +-
.../all/rt/0300-rcutiny-Use-simple-waitqueue.patch | 4 +-
...-typo-of-using-swake_up-instead-of-swait_.patch | 4 +-
...fer-mce-wakeups-to-threads-for-PREEMPT_RT.patch | 4 +-
...-Use-unique-local-lock-name-for-swap_lock.patch | 4 +-
...s_idle_task-to-handle-invalidated-uses-of.patch | 8 +-
...ueue-Only-wake-up-idle-workers-if-not-blo.patch | 4 +-
.../rt/0306-x86-mce-fix-mce-timer-interval.patch | 4 +-
...Set-irq-thread-to-RT-priority-on-creation.patch | 4 +-
...-list_bl.h-make-list-head-locking-RT-safe.patch | 4 +-
...st_bl.h-fix-it-for-for-SMP-DEBUG_SPINLOCK.patch | 4 +-
...imers-prepare-for-full-preemption-improve.patch | 4 +-
...fix-cpu-down-problem-if-kthread-s-cpu-is-.patch | 4 +-
...plug-restore-original-cpu-mask-oncpu-down.patch | 4 +-
...5-drop-trace_i915_gem_ring_dispatch-on-rt.patch | 4 +-
...-call-to-schedule_delayed_work-to-helper-.patch | 4 +-
...tor-Update-hwlat_detector-to-add-outer-lo.patch | 4 +-
...t-trace-Export-trace_clock_local-for-hwla.patch | 4 +-
...tector-Use-trace_clock_local-if-available.patch | 4 +-
...tector-Use-thread-instead-of-stop-machine.patch | 4 +-
...ot-invoke-the-affinity-callback-via-a-wor.patch | 4 +-
...the-irq-thread-policy-without-checking-CA.patch | 4 +-
...tor-Don-t-ignore-threshold-module-paramet.patch | 4 +-
...ol-Don-t-call-schedule_work_on-in-preempt.patch | 4 +-
...preempt_disable-from-drm_calc_vbltimestam.patch | 4 +-
.../0324-cpu_down-move-migrate_enable-back.patch | 4 +-
.../all/rt/0325-swait-Add-a-few-more-users.patch | 4 +-
...rectly-annotate-hardirq-context-in-irq_ex.patch | 4 +-
...-use-a-trylock-for-waiter-lock-in-trylock.patch | 4 +-
...oduce-a-generic-on_each_cpu_mask-function.patch | 4 +-
...-func-to-IPI-cpus-based-on-parameter-func.patch | 4 +-
...send-IPI-to-invalidate-LRU-BH-when-needed.patch | 4 +-
..._bh_qs-disable-irq-while-calling-rcu_pree.patch | 4 +-
...e-cpu_chill-use-hrtimer-instead-of-msleep.patch | 8 +-
...el-hrtimer-be-non-freezeable-in-cpu_chill.patch | 8 +-
.../rt/0334-arm-unwind-use-a-raw_spin_lock.patch | 4 +-
.../0335-Revert-swait-Add-a-few-more-users.patch | 4 +-
...ev_deactivate_many-use-msleep-1-instead-o.patch | 4 +-
...bd2-pull-your-plug-when-waiting-for-space.patch | 4 +-
...l-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch | 18 ++--
...339-net-gianfar-do-not-disable-interrupts.patch | 4 +-
.../rt/0340-rcu-make-RCU_BOOST-default-on-RT.patch | 4 +-
...-histogram-after-hrtimer-Set-expiry-time-.patch | 10 +-
...t-clear-PF_NO_SETAFFINITY-flag-in-select_.patch | 4 +-
...43-workqueue-Prevent-deadlock-stall-on-RT.patch | 4 +-
...-the-miss-of-hrtimer_peek_ahead_timers-in.patch | 8 +-
...-backport-of-Correctly-annotate-hardirq-c.patch | 4 +-
.../0346-gpio-omap-use-raw-locks-for-locking.patch | 4 +-
.../features/all/rt/0347-create-rt-enqueue.patch | 4 +-
...0348-rtmutex-Simplify-rtmutex_slowtrylock.patch | 4 +-
...Simplify-and-document-try_to_take_rtmutex.patch | 4 +-
...need-to-keep-task-ref-for-lock-owner-chec.patch | 4 +-
...51-rtmutex-Clarify-the-boost-deboost-part.patch | 4 +-
.../rt/0352-rtmutex-Document-pi-chain-walk.patch | 4 +-
.../rt/0353-rtmutex-Simplify-remove_waiter.patch | 4 +-
...4-rtmutex-Confine-deadlock-logic-to-futex.patch | 4 +-
...tex-Cleanup-deadlock-detector-debug-logic.patch | 4 +-
...id-pointless-requeueing-in-the-deadlock-d.patch | 4 +-
.../rt/0357-futex-Make-unlock_pi-more-robust.patch | 4 +-
...x-Use-futex_top_waiter-in-lookup_pi_state.patch | 4 +-
...-out-the-waiter-check-from-lookup_pi_stat.patch | 4 +-
...-out-the-first-waiter-attachment-from-loo.patch | 4 +-
...ify-futex_lock_pi_atomic-and-make-it-more.patch | 4 +-
...oid-a-NULL-pointer-dereference-on-deadloc.patch | 4 +-
.../rt/0363-x86-UV-raw_spinlock-conversion.patch | 4 +-
...irq-in-translation-section-permission-fau.patch | 4 +-
...isable-preemption-during-futex_atomic_cmp.patch | 4 +-
...66-scheduling-while-atomic-in-cgroup-code.patch | 4 +-
...rk-simple-Simple-work-queue-implemenation.patch | 4 +-
...ake-svc_xprt_do_enqueue-use-get_cpu_light.patch | 4 +-
...ftest-fix-warnings-due-to-missing-PREEMPT.patch | 4 +-
...rfs-fix-rt-deadlock-on-extent_buffer-lock.patch | 4 +-
...lapic-mark-LAPIC-timer-handler-as-irqsafe.patch | 14 +--
...e-slab-initialization-into-irq-enabled-re.patch | 4 +-
...-xfs-Disable-percpu-SB-on-PREEMPT_RT_FULL.patch | 4 +-
...ex-Handle-non-enqueued-waiters-gracefully.patch | 4 +-
...375-rtmutex-Use-chainwalking-control-enum.patch | 4 +-
...ack-don-t-disable-preemption-during-trace.patch | 4 +-
...nchronize_rcu_expedited-conditional-on-RT.patch | 4 +-
...troduce-the-trace_sched_waking-tracepoint.patch | 26 +----
...e-slowfn-of-rt_mutex_timed_fastlock-use-e.patch | 4 +-
.../rt/0380-latencyhist-disable-jump-labels.patch | 65 ++++++++++++
...ate_disable-do-fastpath-in-atomic-irqs-of.patch | 37 +++++++
.../0382-kernel-softirq-unlock-with-irqs-on.patch | 32 ++++++
...-Comment-out-rcu_bh-ops-on-PREEMPT_RT_FUL.patch | 41 ++++++++
...d-Fix-preempt_disable_ip-recodring-for-pr.patch | 114 +++++++++++++++++++++
...-probe_wakeup_latency_hist_start-prototyp.patch | 38 +++++++
....patch => 0386-Linux-3.2.78-rt113-REBASE.patch} | 10 +-
debian/patches/series-rt | 8 +-
388 files changed, 1234 insertions(+), 931 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3f1e07c..fa82a28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -67,6 +67,12 @@ linux (3.2.79-1) UNRELEASED; urgency=medium
- drm: add a check for x/y in drm_mode_setcrtc
- drm/radeon/combios: add some validation of lvds values
* Revert "libata: Align ata_device's id on a cacheline" to avoid ABI change
+ * [rt] Update to 3.2.78-rt113:
+ - latencyhist: disable jump-labels
+ - kernel: migrate_disable() do fastpath in atomic & irqs-off
+ - kernel: softirq: unlock with irqs on
+ - rcu/torture: Comment out rcu_bh ops on PREEMPT_RT_FULL
+ - kernel: sched: Fix preempt_disable_ip recodring for preempt_disable()
-- Ben Hutchings <ben at decadent.org.uk> Fri, 01 Apr 2016 02:11:16 +0100
diff --git a/debian/patches/features/all/rt/0001-Revert-workqueue-skip-nr_running-sanity-check-in-wor.patch b/debian/patches/features/all/rt/0001-Revert-workqueue-skip-nr_running-sanity-check-in-wor.patch
index 85ad380..8f41013 100644
--- a/debian/patches/features/all/rt/0001-Revert-workqueue-skip-nr_running-sanity-check-in-wor.patch
+++ b/debian/patches/features/all/rt/0001-Revert-workqueue-skip-nr_running-sanity-check-in-wor.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <srostedt at redhat.com>
Date: Wed, 6 Jun 2012 17:07:34 -0400
-Subject: [PATCH 001/380] Revert "workqueue: skip nr_running sanity check in
+Subject: [PATCH 001/386] Revert "workqueue: skip nr_running sanity check in
worker_enter_idle() if trustee is active"
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c09b7c6015547c1e30d68136dd8223b1850b0ea0
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c3ad5229a596252cec5a46e2540ac5232f8611e7
This reverts commit 5d79c6f64a904afc92a329f80abe693e3ae105fe.
diff --git a/debian/patches/features/all/rt/0002-x86-Call-idle-notifier-after-irq_enter.patch b/debian/patches/features/all/rt/0002-x86-Call-idle-notifier-after-irq_enter.patch
index fa0f0a1..1319384 100644
--- a/debian/patches/features/all/rt/0002-x86-Call-idle-notifier-after-irq_enter.patch
+++ b/debian/patches/features/all/rt/0002-x86-Call-idle-notifier-after-irq_enter.patch
@@ -1,7 +1,7 @@
From: Frederic Weisbecker <fweisbec at gmail.com>
Date: Mon, 26 Sep 2011 12:19:11 +0200
-Subject: [PATCH 002/380] x86: Call idle notifier after irq_enter()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=af1bfd960973d7645cf99b69e31c1fa6afbb753c
+Subject: [PATCH 002/386] x86: Call idle notifier after irq_enter()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2799c5901810e642d29afed75dcb5ee6fd2c125e
Interrupts notify the idle exit state before calling irq_enter(). But
the notifier code calls rcu_read_lock() and this is not allowed while
diff --git a/debian/patches/features/all/rt/0003-slab-lockdep-Annotate-all-slab-caches.patch b/debian/patches/features/all/rt/0003-slab-lockdep-Annotate-all-slab-caches.patch
index a99e75c..6d4a49d 100644
--- a/debian/patches/features/all/rt/0003-slab-lockdep-Annotate-all-slab-caches.patch
+++ b/debian/patches/features/all/rt/0003-slab-lockdep-Annotate-all-slab-caches.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Mon, 28 Nov 2011 19:51:51 +0100
-Subject: [PATCH 003/380] slab, lockdep: Annotate all slab caches
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7f209bb0af2c11dd11bad790af23fe4adc11e93f
+Subject: [PATCH 003/386] slab, lockdep: Annotate all slab caches
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=65e37e5e131285f24d999f86686b2140bcf2efb3
Currently we only annotate the kmalloc caches, annotate all of them.
diff --git a/debian/patches/features/all/rt/0004-x86-kprobes-Remove-remove-bogus-preempt_enable.patch b/debian/patches/features/all/rt/0004-x86-kprobes-Remove-remove-bogus-preempt_enable.patch
index c3cd4fc..2d70f2c 100644
--- a/debian/patches/features/all/rt/0004-x86-kprobes-Remove-remove-bogus-preempt_enable.patch
+++ b/debian/patches/features/all/rt/0004-x86-kprobes-Remove-remove-bogus-preempt_enable.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 17 Mar 2011 11:02:15 +0100
-Subject: [PATCH 004/380] x86: kprobes: Remove remove bogus preempt_enable
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b3781af85bb3715a3f0c2ef1a85755f2fbf4cd6a
+Subject: [PATCH 004/386] x86: kprobes: Remove remove bogus preempt_enable
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=72553d71c98f6d583baa675f626a8d9f977c1192
The CONFIG_PREEMPT=n section of setup_singlestep() contains:
diff --git a/debian/patches/features/all/rt/0005-x86-hpet-Disable-MSI-on-Lenovo-W510.patch b/debian/patches/features/all/rt/0005-x86-hpet-Disable-MSI-on-Lenovo-W510.patch
index f0f3d01..78ffa28 100644
--- a/debian/patches/features/all/rt/0005-x86-hpet-Disable-MSI-on-Lenovo-W510.patch
+++ b/debian/patches/features/all/rt/0005-x86-hpet-Disable-MSI-on-Lenovo-W510.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 30 Sep 2011 20:03:37 +0200
-Subject: [PATCH 005/380] x86: hpet: Disable MSI on Lenovo W510
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a0e82595d1f8c9315d52985ea05cd97cd49b319b
+Subject: [PATCH 005/386] x86: hpet: Disable MSI on Lenovo W510
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9e6206b228ebba237e8d5d37a466729bdca6fbd1
MSI based per cpu timers lose interrupts when intel_idle() is enabled
- independent of the c-state. With idle=poll the problem cannot be
diff --git a/debian/patches/features/all/rt/0006-block-Shorten-interrupt-disabled-regions.patch b/debian/patches/features/all/rt/0006-block-Shorten-interrupt-disabled-regions.patch
index 6fd9da7..8f89520 100644
--- a/debian/patches/features/all/rt/0006-block-Shorten-interrupt-disabled-regions.patch
+++ b/debian/patches/features/all/rt/0006-block-Shorten-interrupt-disabled-regions.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 22 Jun 2011 19:47:02 +0200
-Subject: [PATCH 006/380] block: Shorten interrupt disabled regions
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a8403d6b35086a24f57fb73e59e8d3494a69dca3
+Subject: [PATCH 006/386] block: Shorten interrupt disabled regions
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c56c119c689661ea78acf4f6d5b838b53723469a
Moving the blk_sched_flush_plug() call out of the interrupt/preempt
disabled region in the scheduler allows us to replace
diff --git a/debian/patches/features/all/rt/0007-sched-Distangle-worker-accounting-from-rq-3Elock.patch b/debian/patches/features/all/rt/0007-sched-Distangle-worker-accounting-from-rq-3Elock.patch
index 1d381ad..981b1aa 100644
--- a/debian/patches/features/all/rt/0007-sched-Distangle-worker-accounting-from-rq-3Elock.patch
+++ b/debian/patches/features/all/rt/0007-sched-Distangle-worker-accounting-from-rq-3Elock.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 22 Jun 2011 19:47:03 +0200
-Subject: [PATCH 007/380] sched: Distangle worker accounting from rq-%3Elock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ea1031864acd3968b44a7233cc3eddad84175724
+Subject: [PATCH 007/386] sched: Distangle worker accounting from rq-%3Elock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5173ff6aac8ba1ffe2bb2745ad639c941664787f
The worker accounting for cpu bound workers is plugged into the core
scheduler code and the wakeup code. This is not a hard requirement and
diff --git a/debian/patches/features/all/rt/0008-mips-enable-interrupts-in-signal.patch.patch b/debian/patches/features/all/rt/0008-mips-enable-interrupts-in-signal.patch.patch
index e6f3f84..b9ca063 100644
--- a/debian/patches/features/all/rt/0008-mips-enable-interrupts-in-signal.patch.patch
+++ b/debian/patches/features/all/rt/0008-mips-enable-interrupts-in-signal.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 18 Jul 2011 21:32:10 +0200
-Subject: [PATCH 008/380] mips-enable-interrupts-in-signal.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9ce85bb33ac4bc96571fb939c9c23c620d4fb88f
+Subject: [PATCH 008/386] mips-enable-interrupts-in-signal.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e4711788304a01b6f214289671fad84bfbcbc242
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0009-arm-enable-interrupts-in-signal-code.patch.patch b/debian/patches/features/all/rt/0009-arm-enable-interrupts-in-signal-code.patch.patch
index 2c3de89..901688f 100644
--- a/debian/patches/features/all/rt/0009-arm-enable-interrupts-in-signal-code.patch.patch
+++ b/debian/patches/features/all/rt/0009-arm-enable-interrupts-in-signal-code.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 16 Jul 2011 16:27:13 +0200
-Subject: [PATCH 009/380] arm-enable-interrupts-in-signal-code.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c58970da37cf67452125b3f60c335635e444d8b4
+Subject: [PATCH 009/386] arm-enable-interrupts-in-signal-code.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0ee7d7fddce323f929c7c6508910ce74772de8e4
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0010-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch b/debian/patches/features/all/rt/0010-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch
index 050005b..efa7ba6 100644
--- a/debian/patches/features/all/rt/0010-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch
+++ b/debian/patches/features/all/rt/0010-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 16 Jul 2011 12:09:54 +0200
-Subject: [PATCH 010/380] powerpc: 85xx: Mark cascade irq IRQF_NO_THREAD
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b9a7d37f607d46b18ab32bc0bb10ed85d1a10661
+Subject: [PATCH 010/386] powerpc: 85xx: Mark cascade irq IRQF_NO_THREAD
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fe7a792e76492cd550b2ccd4199ac699e5d5a43e
Cascade interrupt must run in hard interrupt context.
diff --git a/debian/patches/features/all/rt/0011-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch b/debian/patches/features/all/rt/0011-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch
index 0b1a366..98f2eda 100644
--- a/debian/patches/features/all/rt/0011-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch
+++ b/debian/patches/features/all/rt/0011-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 5 Oct 2011 14:11:24 +0200
-Subject: [PATCH 011/380] powerpc: wsp: Mark opb cascade handler IRQF_NO_THREAD
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1dbe6e77fba1c17491fea979acc665ecdd9f0d1d
+Subject: [PATCH 011/386] powerpc: wsp: Mark opb cascade handler IRQF_NO_THREAD
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=af36928bc751647fa590ff9b0fd75e9fc8b89256
Cascade handlers must run in hard interrupt context.
diff --git a/debian/patches/features/all/rt/0012-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch b/debian/patches/features/all/rt/0012-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch
index 6abd6a0..b7c1e1e 100644
--- a/debian/patches/features/all/rt/0012-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch
+++ b/debian/patches/features/all/rt/0012-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 5 Oct 2011 14:00:26 +0200
-Subject: [PATCH 012/380] powerpc: Mark IPI interrupts IRQF_NO_THREAD
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c0089def30a0d8fdd00eaac3d4e92fbd43459214
+Subject: [PATCH 012/386] powerpc: Mark IPI interrupts IRQF_NO_THREAD
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d926b473609b3b1fbc83dfa3296cd832519e5d3a
IPI handlers cannot be threaded. Remove the obsolete IRQF_DISABLED
flag (see commit e58aa3d2) while at it.
diff --git a/debian/patches/features/all/rt/0013-powerpc-Allow-irq-threading.patch b/debian/patches/features/all/rt/0013-powerpc-Allow-irq-threading.patch
index 2d104d1..04af303 100644
--- a/debian/patches/features/all/rt/0013-powerpc-Allow-irq-threading.patch
+++ b/debian/patches/features/all/rt/0013-powerpc-Allow-irq-threading.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 16 Jul 2011 13:16:24 +0200
-Subject: [PATCH 013/380] powerpc: Allow irq threading
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0350bd0e965cb11439cee2fc7a29d9ec3b19bd2b
+Subject: [PATCH 013/386] powerpc: Allow irq threading
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2acec3167fe28f55a848883a5535976156255ed0
All interrupts which must be non threaded are marked
IRQF_NO_THREAD. So it's safe to allow force threaded handlers.
diff --git a/debian/patches/features/all/rt/0014-sched-Keep-period-timer-ticking-when-throttling-acti.patch b/debian/patches/features/all/rt/0014-sched-Keep-period-timer-ticking-when-throttling-acti.patch
index 389db20..a84aa8b 100644
--- a/debian/patches/features/all/rt/0014-sched-Keep-period-timer-ticking-when-throttling-acti.patch
+++ b/debian/patches/features/all/rt/0014-sched-Keep-period-timer-ticking-when-throttling-acti.patch
@@ -1,8 +1,8 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Tue, 18 Oct 2011 22:03:48 +0200
-Subject: [PATCH 014/380] sched: Keep period timer ticking when throttling
+Subject: [PATCH 014/386] sched: Keep period timer ticking when throttling
active
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=904aa51f748fb463bb386f9498d79868d4a7013b
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d58af1d447ed6a0711c59c734180a159fca49f2f
When a runqueue is throttled we cannot disable the period timer
because that timer is the only way to undo the throttling.
diff --git a/debian/patches/features/all/rt/0015-sched-Do-not-throttle-due-to-PI-boosting.patch b/debian/patches/features/all/rt/0015-sched-Do-not-throttle-due-to-PI-boosting.patch
index b82dbb8..c959dff 100644
--- a/debian/patches/features/all/rt/0015-sched-Do-not-throttle-due-to-PI-boosting.patch
+++ b/debian/patches/features/all/rt/0015-sched-Do-not-throttle-due-to-PI-boosting.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Tue, 18 Oct 2011 22:03:48 +0200
-Subject: [PATCH 015/380] sched: Do not throttle due to PI boosting
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b490806210530b50fba825eb4c897e0a78379d27
+Subject: [PATCH 015/386] sched: Do not throttle due to PI boosting
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b9a626d9952fee06a81fe4a0c87ae4dc4248f4ff
When a runqueue has rt_runtime_us = 0 then the only way it can
accumulate rt_time is via PI boosting. Though that causes the runqueue
diff --git a/debian/patches/features/all/rt/0016-time-Remove-bogus-comments.patch b/debian/patches/features/all/rt/0016-time-Remove-bogus-comments.patch
index f20998f..a817e2e 100644
--- a/debian/patches/features/all/rt/0016-time-Remove-bogus-comments.patch
+++ b/debian/patches/features/all/rt/0016-time-Remove-bogus-comments.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 28 Feb 2012 19:06:50 +0100
-Subject: [PATCH 016/380] time: Remove bogus comments
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=675dcc262df4887b301272d45f4d89bb8d100f2a
+Subject: [PATCH 016/386] time: Remove bogus comments
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c09ee9e4a0ce27e9625f732072234c8d82282f83
There is no global irq lock which makes a syscall magically SMP
safe. Remove the outdated comment concerning do_settimeofday() as
diff --git a/debian/patches/features/all/rt/0017-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch b/debian/patches/features/all/rt/0017-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch
index c2b5c25..b20e406 100644
--- a/debian/patches/features/all/rt/0017-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch
+++ b/debian/patches/features/all/rt/0017-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 28 Feb 2012 19:10:46 +0100
-Subject: [PATCH 017/380] x86: vdso: Remove bogus locking in
+Subject: [PATCH 017/386] x86: vdso: Remove bogus locking in
update_vsyscall_tz()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=29ecbf4da484981ac9974576c6599a69f9a82edb
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f1a38f0a6f285b20cd61b3758e79c48c13bfc267
Changing the sequence count in update_vsyscall_tz() is completely
pointless.
diff --git a/debian/patches/features/all/rt/0018-x86-vdso-Use-seqcount-instead-of-seqlock.patch b/debian/patches/features/all/rt/0018-x86-vdso-Use-seqcount-instead-of-seqlock.patch
index c9738fa..66b21d0 100644
--- a/debian/patches/features/all/rt/0018-x86-vdso-Use-seqcount-instead-of-seqlock.patch
+++ b/debian/patches/features/all/rt/0018-x86-vdso-Use-seqcount-instead-of-seqlock.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 28 Feb 2012 18:24:07 +0100
-Subject: [PATCH 018/380] x86: vdso: Use seqcount instead of seqlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4262e7e7830a10f5518b34a7746fa023be4f6754
+Subject: [PATCH 018/386] x86: vdso: Use seqcount instead of seqlock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=98bff8c0e99f3c736f81b0582da523bb8e40f59d
The update of the vdso data happens under xtime_lock, so adding a
nested lock is pointless. Just use a seqcount to sync the readers.
diff --git a/debian/patches/features/all/rt/0019-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch b/debian/patches/features/all/rt/0019-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch
index 151a39a..d6a7f06 100644
--- a/debian/patches/features/all/rt/0019-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch
+++ b/debian/patches/features/all/rt/0019-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 28 Feb 2012 18:33:08 +0100
-Subject: [PATCH 019/380] ia64: vsyscall: Use seqcount instead of seqlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=19dc0143a276fa379358e6e0d16dfe3902a17241
+Subject: [PATCH 019/386] ia64: vsyscall: Use seqcount instead of seqlock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=73e5d59154af714680e3c93f60b2374d0c2671aa
The update of the vdso data happens under xtime_lock, so adding a
nested lock is pointless. Just use a seqcount to sync the readers.
diff --git a/debian/patches/features/all/rt/0020-seqlock-Remove-unused-functions.patch b/debian/patches/features/all/rt/0020-seqlock-Remove-unused-functions.patch
index b21f433..649ea7e 100644
--- a/debian/patches/features/all/rt/0020-seqlock-Remove-unused-functions.patch
+++ b/debian/patches/features/all/rt/0020-seqlock-Remove-unused-functions.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 16 Jul 2011 18:38:22 +0200
-Subject: [PATCH 020/380] seqlock: Remove unused functions
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=672bf7a8f94e032dd4d241169f73a87e8cb0f112
+Subject: [PATCH 020/386] seqlock: Remove unused functions
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=aed0c019abbc61e8c20144a111fddc394a8bf19a
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0021-seqlock-Use-seqcount.patch b/debian/patches/features/all/rt/0021-seqlock-Use-seqcount.patch
index b597781..9baa0e6 100644
--- a/debian/patches/features/all/rt/0021-seqlock-Use-seqcount.patch
+++ b/debian/patches/features/all/rt/0021-seqlock-Use-seqcount.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 16 Jul 2011 18:40:26 +0200
-Subject: [PATCH 021/380] seqlock: Use seqcount
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=17de427f29b44271adb62524d00b2f377d65820d
+Subject: [PATCH 021/386] seqlock: Use seqcount
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=62da77d02afaecfe3ca8e055013d1eb81f5c0d74
No point in having different implementations for the same thing.
diff --git a/debian/patches/features/all/rt/0022-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch b/debian/patches/features/all/rt/0022-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch
index 0779ddd..36613b7 100644
--- a/debian/patches/features/all/rt/0022-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch
+++ b/debian/patches/features/all/rt/0022-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch
@@ -1,8 +1,8 @@
From: Al Viro <viro at ZenIV.linux.org.uk>
Date: Thu, 15 Mar 2012 18:39:40 +0000
-Subject: [PATCH 022/380] vfs: fs_struct: Move code out of seqcount write
+Subject: [PATCH 022/386] vfs: fs_struct: Move code out of seqcount write
sections
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=851388c777a3e7aebd1a4ea3ca88d9e0f3977d1f
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3c8c12984e997fc975ddebea2e403850a304fad7
RT cannot disable preemption in the seqcount write sections due to
functions called which take "sleeping" spinlocks.
diff --git a/debian/patches/features/all/rt/0023-timekeeping-Split-xtime_lock.patch b/debian/patches/features/all/rt/0023-timekeeping-Split-xtime_lock.patch
index cb8bad8..8b25f0f 100644
--- a/debian/patches/features/all/rt/0023-timekeeping-Split-xtime_lock.patch
+++ b/debian/patches/features/all/rt/0023-timekeeping-Split-xtime_lock.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 1 Mar 2012 15:14:06 +0100
-Subject: [PATCH 023/380] timekeeping: Split xtime_lock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f528bd78ac7eb30a80af365e481e60b6bb306b93
+Subject: [PATCH 023/386] timekeeping: Split xtime_lock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=80055186d472fd4f361381a9999c7f5d9a3b67d4
xtime_lock is going to be split apart in mainline, so we can shorten
the seqcount protected regions and avoid updating seqcount in some
diff --git a/debian/patches/features/all/rt/0024-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch b/debian/patches/features/all/rt/0024-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch
index 3bd40dd..1844013 100644
--- a/debian/patches/features/all/rt/0024-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch
+++ b/debian/patches/features/all/rt/0024-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch
@@ -1,7 +1,7 @@
From: Mike Galbraith <efault at gmx.de>
Date: Wed, 7 Dec 2011 12:48:42 +0100
-Subject: [PATCH 024/380] intel_idle: Convert i7300_idle_lock to raw spinlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ab0048841ec13018bade04d23d4c468233be6cdd
+Subject: [PATCH 024/386] intel_idle: Convert i7300_idle_lock to raw spinlock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=920ba11becd70cf72f63d75361de69d8981a73b4
24 core Intel box's first exposure to 3.0.12-rt30-rc3 didn't go well.
diff --git a/debian/patches/features/all/rt/0025-mm-memcg-shorten-preempt-disabled-section-around-eve.patch b/debian/patches/features/all/rt/0025-mm-memcg-shorten-preempt-disabled-section-around-eve.patch
index 9a273e7..3e22efb 100644
--- a/debian/patches/features/all/rt/0025-mm-memcg-shorten-preempt-disabled-section-around-eve.patch
+++ b/debian/patches/features/all/rt/0025-mm-memcg-shorten-preempt-disabled-section-around-eve.patch
@@ -1,8 +1,8 @@
From: Johannes Weiner <hannes at cmpxchg.org>
Date: Thu, 17 Nov 2011 07:49:25 +0100
-Subject: [PATCH 025/380] mm: memcg: shorten preempt-disabled section around
+Subject: [PATCH 025/386] mm: memcg: shorten preempt-disabled section around
event checks
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b475aaae8f8cbae0d36796460ead2cc451a5f346
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ed645a0ec7382ce80ac795c97808c66d7157bc25
Only the ratelimit checks themselves have to run with preemption
disabled, the resulting actions - checking for usage thresholds,
diff --git a/debian/patches/features/all/rt/0026-tracing-Account-for-preempt-off-in-preempt_schedule.patch b/debian/patches/features/all/rt/0026-tracing-Account-for-preempt-off-in-preempt_schedule.patch
index 055b96a..0155942 100644
--- a/debian/patches/features/all/rt/0026-tracing-Account-for-preempt-off-in-preempt_schedule.patch
+++ b/debian/patches/features/all/rt/0026-tracing-Account-for-preempt-off-in-preempt_schedule.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Thu, 29 Sep 2011 12:24:30 -0500
-Subject: [PATCH 026/380] tracing: Account for preempt off in
+Subject: [PATCH 026/386] tracing: Account for preempt off in
preempt_schedule()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=45982756ce35da901b5ae64537b9c5c0664d48eb
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c34e051cc01d8b7081ac9f775e1585174f5e9fcc
The preempt_schedule() uses the preempt_disable_notrace() version
because it can cause infinite recursion by the function tracer as
diff --git a/debian/patches/features/all/rt/0027-signal-revert-ptrace-preempt-magic.patch.patch b/debian/patches/features/all/rt/0027-signal-revert-ptrace-preempt-magic.patch.patch
index 3a6a04a..2913e3e 100644
--- a/debian/patches/features/all/rt/0027-signal-revert-ptrace-preempt-magic.patch.patch
+++ b/debian/patches/features/all/rt/0027-signal-revert-ptrace-preempt-magic.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 21 Sep 2011 19:57:12 +0200
-Subject: [PATCH 027/380] signal-revert-ptrace-preempt-magic.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8afa133f7a98fd4746f3b4ed68fcc844eb0cf797
+Subject: [PATCH 027/386] signal-revert-ptrace-preempt-magic.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=25e71da5b64da03c82f6705f378f3e7478f943a2
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0028-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch b/debian/patches/features/all/rt/0028-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch
index c3896e0..e0f33b5 100644
--- a/debian/patches/features/all/rt/0028-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch
+++ b/debian/patches/features/all/rt/0028-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 16 Mar 2011 14:45:31 +0100
-Subject: [PATCH 028/380] arm: Mark pmu interupt IRQF_NO_THREAD
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=986ca7b49fd614894dec9b77abe0974996b9d98a
+Subject: [PATCH 028/386] arm: Mark pmu interupt IRQF_NO_THREAD
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e90104d89dc4fac4bc5b0e2445c03614e54b7f87
PMU interrupt must not be threaded. Remove IRQF_DISABLED while at it
as we run all handlers with interrupts disabled anyway.
diff --git a/debian/patches/features/all/rt/0029-arm-Allow-forced-irq-threading.patch b/debian/patches/features/all/rt/0029-arm-Allow-forced-irq-threading.patch
index ca7dd34..8358b1e 100644
--- a/debian/patches/features/all/rt/0029-arm-Allow-forced-irq-threading.patch
+++ b/debian/patches/features/all/rt/0029-arm-Allow-forced-irq-threading.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 16 Jul 2011 13:15:20 +0200
-Subject: [PATCH 029/380] arm: Allow forced irq threading
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4134e745ae18fd5a1bd19c3658102f9dd011cdf9
+Subject: [PATCH 029/386] arm: Allow forced irq threading
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=17bfcacbe79ba242a459533661f0fe9ec5c2a9c1
All timer interrupts and the perf interrupt are marked NO_THREAD, so
its safe to allow forced interrupt threading.
diff --git a/debian/patches/features/all/rt/0030-preempt-rt-Convert-arm-boot_lock-to-raw.patch b/debian/patches/features/all/rt/0030-preempt-rt-Convert-arm-boot_lock-to-raw.patch
index e04d0dd..cb34d72 100644
--- a/debian/patches/features/all/rt/0030-preempt-rt-Convert-arm-boot_lock-to-raw.patch
+++ b/debian/patches/features/all/rt/0030-preempt-rt-Convert-arm-boot_lock-to-raw.patch
@@ -1,7 +1,7 @@
From: Frank Rowand <frank.rowand at am.sony.com>
Date: Mon, 19 Sep 2011 14:51:14 -0700
-Subject: [PATCH 030/380] preempt-rt: Convert arm boot_lock to raw
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0ea76c439c8ac131242544e72fd0ae8cd2cf98d2
+Subject: [PATCH 030/386] preempt-rt: Convert arm boot_lock to raw
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5193c781abd7b8d30c8bc94b60f24f33a57dedb0
The arm boot_lock is used by the secondary processor startup code. The locking
task is the idle thread, which has idle->sched_class == &idle_sched_class.
diff --git a/debian/patches/features/all/rt/0031-sched-Create-schedule_preempt_disabled.patch b/debian/patches/features/all/rt/0031-sched-Create-schedule_preempt_disabled.patch
index ba8b3c0..30ffbd5 100644
--- a/debian/patches/features/all/rt/0031-sched-Create-schedule_preempt_disabled.patch
+++ b/debian/patches/features/all/rt/0031-sched-Create-schedule_preempt_disabled.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 21 Mar 2011 12:09:35 +0100
-Subject: [PATCH 031/380] sched: Create schedule_preempt_disabled()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0f6ec43e29cc26724ce6d393762f368257c3b54e
+Subject: [PATCH 031/386] sched: Create schedule_preempt_disabled()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bed644f87719313e0e9a36c71ebb499ffd6a0090
Get rid of the ever repeating:
@@ -16,7 +16,7 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
2 files changed, 13 insertions(+)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 9b9ac291f66e..f631b4482fd2 100644
+index fb76ee7dbd9d..c72e75350e89 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -360,6 +360,7 @@ extern signed long schedule_timeout_interruptible(signed long timeout);
diff --git a/debian/patches/features/all/rt/0032-sched-Use-schedule_preempt_disabled.patch b/debian/patches/features/all/rt/0032-sched-Use-schedule_preempt_disabled.patch
index 0573c1e..21d6fcb 100644
--- a/debian/patches/features/all/rt/0032-sched-Use-schedule_preempt_disabled.patch
+++ b/debian/patches/features/all/rt/0032-sched-Use-schedule_preempt_disabled.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 21 Mar 2011 12:33:18 +0100
-Subject: [PATCH 032/380] sched: Use schedule_preempt_disabled()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=750bb052362978c46235d31515e2ed906e8cd574
+Subject: [PATCH 032/386] sched: Use schedule_preempt_disabled()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=08a95dac2b3f95c2dd66417dd683fe3c3582a2cc
Coccinelle based conversion.
diff --git a/debian/patches/features/all/rt/0033-signals-Do-not-wakeup-self.patch b/debian/patches/features/all/rt/0033-signals-Do-not-wakeup-self.patch
index e9c10b9..6e64afb 100644
--- a/debian/patches/features/all/rt/0033-signals-Do-not-wakeup-self.patch
+++ b/debian/patches/features/all/rt/0033-signals-Do-not-wakeup-self.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 3 Jul 2009 08:44:44 -0500
-Subject: [PATCH 033/380] signals: Do not wakeup self
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=856233c9f1ca1860c9b7cfa5747e2ba12377a6bb
+Subject: [PATCH 033/386] signals: Do not wakeup self
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2ccdd6bf6f08483e9a8fe004ea26a08b1a97824d
Signals which are delivered by current to current can do without
waking up current :)
diff --git a/debian/patches/features/all/rt/0034-posix-timers-Prevent-broadcast-signals.patch b/debian/patches/features/all/rt/0034-posix-timers-Prevent-broadcast-signals.patch
index dcab30c..15b0333 100644
--- a/debian/patches/features/all/rt/0034-posix-timers-Prevent-broadcast-signals.patch
+++ b/debian/patches/features/all/rt/0034-posix-timers-Prevent-broadcast-signals.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 3 Jul 2009 08:29:20 -0500
-Subject: [PATCH 034/380] posix-timers: Prevent broadcast signals
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0434ed7a41fca9c257ee84417f4bde8cfb17a537
+Subject: [PATCH 034/386] posix-timers: Prevent broadcast signals
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a01248f8f9a6a51cd46845e1f84aa2985cf0038e
Posix timers should not send broadcast signals and kernel only
signals. Prevent it.
@@ -12,7 +12,7 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c
-index 02824a5c2693..81ad8aa9e98f 100644
+index 67661832ac2b..687c0ac3d663 100644
--- a/kernel/posix-timers.c
+++ b/kernel/posix-timers.c
@@ -439,6 +439,7 @@ static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
diff --git a/debian/patches/features/all/rt/0035-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch b/debian/patches/features/all/rt/0035-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch
index 6d66167..667537e 100644
--- a/debian/patches/features/all/rt/0035-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch
+++ b/debian/patches/features/all/rt/0035-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 3 Jul 2009 08:44:56 -0500
-Subject: [PATCH 035/380] signals: Allow rt tasks to cache one sigqueue struct
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8d9aee7ece958e7b0e007b0347bc82f17b46d711
+Subject: [PATCH 035/386] signals: Allow rt tasks to cache one sigqueue struct
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=75b9fee1f9079c9e2d3f58e2fc6583901e8f755d
To avoid allocation allow rt tasks to cache one sigqueue struct in
task struct.
@@ -16,10 +16,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
5 files changed, 83 insertions(+), 5 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index f631b4482fd2..038ec7dd460e 100644
+index c72e75350e89..7c6e59299fbd 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1396,6 +1396,7 @@ struct task_struct {
+@@ -1398,6 +1398,7 @@ struct task_struct {
/* signal handlers */
struct signal_struct *signal;
struct sighand_struct *sighand;
diff --git a/debian/patches/features/all/rt/0036-signal-x86-Delay-calling-signals-in-atomic.patch b/debian/patches/features/all/rt/0036-signal-x86-Delay-calling-signals-in-atomic.patch
index ce95cb5..d467bb5 100644
--- a/debian/patches/features/all/rt/0036-signal-x86-Delay-calling-signals-in-atomic.patch
+++ b/debian/patches/features/all/rt/0036-signal-x86-Delay-calling-signals-in-atomic.patch
@@ -1,7 +1,7 @@
From: Oleg Nesterov <oleg at redhat.com>
Date: Tue, 10 Apr 2012 14:33:53 -0400
-Subject: [PATCH 036/380] signal/x86: Delay calling signals in atomic
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4d3cff2f19a93ba8436c4efb73898994a7ceaa14
+Subject: [PATCH 036/386] signal/x86: Delay calling signals in atomic
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9464765a202aba0d9e64a23c71edbcdc074b31fe
On x86_64 we must disable preemption before we enable interrupts
for stack faults, int3 and debugging, because the current task is using
@@ -81,10 +81,10 @@ index 54ddaeb221c1..12c4d53e09a1 100644
if (thread_info_flags & _TIF_SIGPENDING)
do_signal(regs);
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 038ec7dd460e..37330104a0f1 100644
+index 7c6e59299fbd..498c3aceca7a 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1401,6 +1401,10 @@ struct task_struct {
+@@ -1403,6 +1403,10 @@ struct task_struct {
sigset_t blocked, real_blocked;
sigset_t saved_sigmask; /* restored if set_restore_sigmask() was used */
struct sigpending pending;
diff --git a/debian/patches/features/all/rt/0037-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch b/debian/patches/features/all/rt/0037-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch
index 4d9296b..f0ab889 100644
--- a/debian/patches/features/all/rt/0037-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch
+++ b/debian/patches/features/all/rt/0037-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch
@@ -1,8 +1,8 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:30 -0500
-Subject: [PATCH 037/380] generic: Use raw local irq variant for generic
+Subject: [PATCH 037/386] generic: Use raw local irq variant for generic
cmpxchg
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5385d0aab826cee384b32ff502277fed742d36ca
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7146568d0a0fb8bf0e2ba3a92547ce28a92ae82a
No point in tracing those.
diff --git a/debian/patches/features/all/rt/0038-drivers-random-Reduce-preempt-disabled-region.patch b/debian/patches/features/all/rt/0038-drivers-random-Reduce-preempt-disabled-region.patch
index bcc61ff..c139e10 100644
--- a/debian/patches/features/all/rt/0038-drivers-random-Reduce-preempt-disabled-region.patch
+++ b/debian/patches/features/all/rt/0038-drivers-random-Reduce-preempt-disabled-region.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:30 -0500
-Subject: [PATCH 038/380] drivers: random: Reduce preempt disabled region
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e15df52f5e501906634ffd7105e7358a7e3d9a4c
+Subject: [PATCH 038/386] drivers: random: Reduce preempt disabled region
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=70627ba6e68ec03fec7b3be8e3cc3c77a36d35c6
No need to keep preemption disabled across the whole function.
diff --git a/debian/patches/features/all/rt/0039-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch b/debian/patches/features/all/rt/0039-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch
index 67d9b4b..29b28d5 100644
--- a/debian/patches/features/all/rt/0039-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch
+++ b/debian/patches/features/all/rt/0039-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch
@@ -1,8 +1,8 @@
From: Benedikt Spranger <b.spranger at linutronix.de>
Date: Sat, 6 Mar 2010 17:47:10 +0100
-Subject: [PATCH 039/380] ARM: AT91: PIT: Remove irq handler when clock event
+Subject: [PATCH 039/386] ARM: AT91: PIT: Remove irq handler when clock event
is unused
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8970cb34d4b6b020f59da8166d3dd9ad74dedee4
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=eb91968fe1cbc19acb1b65290e0381d8b879de20
Setup and remove the interrupt handler in clock event mode selection.
This avoids calling the (shared) interrupt handler when the device is
diff --git a/debian/patches/features/all/rt/0040-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch b/debian/patches/features/all/rt/0040-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch
index 6ca0bbb..d422b7d 100644
--- a/debian/patches/features/all/rt/0040-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch
+++ b/debian/patches/features/all/rt/0040-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch
@@ -1,8 +1,8 @@
From: Benedikt Spranger <b.spranger at linutronix.de>
Date: Mon, 8 Mar 2010 18:57:04 +0100
-Subject: [PATCH 040/380] clocksource: TCLIB: Allow higher clock rates for
+Subject: [PATCH 040/386] clocksource: TCLIB: Allow higher clock rates for
clock events
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c3059b58c83e5ab78288dded308821cf8254a55f
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5b8059339a142035365dc1b4c851cb3f60f897f4
As default the TCLIB uses the 32KiHz base clock rate for clock events.
Add a compile time selection to allow higher clock resulution.
diff --git a/debian/patches/features/all/rt/0041-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch b/debian/patches/features/all/rt/0041-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch
index 3aa2b7f..ee8dc8a 100644
--- a/debian/patches/features/all/rt/0041-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch
+++ b/debian/patches/features/all/rt/0041-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch
@@ -1,8 +1,8 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:18 -0500
-Subject: [PATCH 041/380] drivers/net: tulip_remove_one needs to call
+Subject: [PATCH 041/386] drivers/net: tulip_remove_one needs to call
pci_disable_device()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=096a357e734011a780cbc93fe82df3c9761b6e31
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f51ff7fa043e23f1ec898d9681312b64897dae46
Otherwise the device is not completely shut down.
diff --git a/debian/patches/features/all/rt/0042-drivers-net-Use-disable_irq_nosync-in-8139too.patch b/debian/patches/features/all/rt/0042-drivers-net-Use-disable_irq_nosync-in-8139too.patch
index 4e3cd40..f8fe3a6 100644
--- a/debian/patches/features/all/rt/0042-drivers-net-Use-disable_irq_nosync-in-8139too.patch
+++ b/debian/patches/features/all/rt/0042-drivers-net-Use-disable_irq_nosync-in-8139too.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:24 -0500
-Subject: [PATCH 042/380] drivers/net: Use disable_irq_nosync() in 8139too
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9446702d289e176a344dd69a41b531014bcff525
+Subject: [PATCH 042/386] drivers/net: Use disable_irq_nosync() in 8139too
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8b828759a1c510bde5e9490c489923ab25fda099
Use disable_irq_nosync() instead of disable_irq() as this might be
called in atomic context with netpoll.
diff --git a/debian/patches/features/all/rt/0043-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch b/debian/patches/features/all/rt/0043-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch
index a92fe56..0a4f9dc 100644
--- a/debian/patches/features/all/rt/0043-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch
+++ b/debian/patches/features/all/rt/0043-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch
@@ -1,8 +1,8 @@
From: Darren Hart <dvhltc at us.ibm.com>
Date: Tue, 18 May 2010 14:33:07 -0700
-Subject: [PATCH 043/380] drivers: net: ehea: Make rx irq handler non-threaded
+Subject: [PATCH 043/386] drivers: net: ehea: Make rx irq handler non-threaded
(IRQF_NO_THREAD)
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c1c3a95f3302eb5bfddbbf7d88f8ed442beeab1f
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1c037a004acee60234077d1e888539670f8066f7
The underlying hardware is edge triggered but presented by XICS as level
triggered. The edge triggered interrupts are not reissued after masking. This
diff --git a/debian/patches/features/all/rt/0044-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch b/debian/patches/features/all/rt/0044-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch
index 0ae34f9..97e756f 100644
--- a/debian/patches/features/all/rt/0044-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch
+++ b/debian/patches/features/all/rt/0044-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 17 Nov 2009 12:02:43 +0100
-Subject: [PATCH 044/380] drivers: net: at91_ether: Make mdio protection -rt
+Subject: [PATCH 044/386] drivers: net: at91_ether: Make mdio protection -rt
safe
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7cc1056ef5781a63071f6376ec22ad9faa0cd749
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a5e8003125dea3b2a4deb937fa49e82b39563a56
Neither the phy interrupt nor the timer callback which updates the
link status in absense of a phy interrupt are taking lp->lock which
diff --git a/debian/patches/features/all/rt/0045-preempt-mark-legitimated-no-resched-sites.patch.patch b/debian/patches/features/all/rt/0045-preempt-mark-legitimated-no-resched-sites.patch.patch
index 350447f..32b5df2 100644
--- a/debian/patches/features/all/rt/0045-preempt-mark-legitimated-no-resched-sites.patch.patch
+++ b/debian/patches/features/all/rt/0045-preempt-mark-legitimated-no-resched-sites.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 21 Mar 2011 13:32:17 +0100
-Subject: [PATCH 045/380] preempt-mark-legitimated-no-resched-sites.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c9f1f4eaaeed80eaa8c6d714ef6b87cb770b9686
+Subject: [PATCH 045/386] preempt-mark-legitimated-no-resched-sites.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4cdb4ce4ab3b81d7093bea22882eacb884ab0e93
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0046-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch b/debian/patches/features/all/rt/0046-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch
index c3be7f1..076baad 100644
--- a/debian/patches/features/all/rt/0046-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch
+++ b/debian/patches/features/all/rt/0046-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:37 -0500
-Subject: [PATCH 046/380] mm: Prepare decoupling the page fault disabling logic
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b123afded4e515b6534dd4a962bbf9a863ed1b0e
+Subject: [PATCH 046/386] mm: Prepare decoupling the page fault disabling logic
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e8a4324fcfa723718299160075e5387085864e88
Add a pagefault_disabled variable to task_struct to allow decoupling
the pagefault-disabled logic from the preempt count.
@@ -16,10 +16,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
4 files changed, 34 insertions(+), 30 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 37330104a0f1..7fad3e1ad2e0 100644
+index 498c3aceca7a..022722281ae1 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1444,6 +1444,7 @@ struct task_struct {
+@@ -1446,6 +1446,7 @@ struct task_struct {
/* mutex deadlock detection */
struct mutex_waiter *blocked_on;
#endif
diff --git a/debian/patches/features/all/rt/0047-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch b/debian/patches/features/all/rt/0047-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch
index 2a34912..027249b 100644
--- a/debian/patches/features/all/rt/0047-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch
+++ b/debian/patches/features/all/rt/0047-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 17 Mar 2011 11:32:28 +0100
-Subject: [PATCH 047/380] mm: Fixup all fault handlers to check
+Subject: [PATCH 047/386] mm: Fixup all fault handlers to check
current->pagefault_disable
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=445d8ca8aedbbabed056492bc71eb8782e9541b0
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6b9cec47cb1b54794d59c44c3271835ab479b838
Necessary for decoupling pagefault disable from preempt count.
diff --git a/debian/patches/features/all/rt/0048-mm-pagefault_disabled.patch b/debian/patches/features/all/rt/0048-mm-pagefault_disabled.patch
index 84397d4..5b3e17f 100644
--- a/debian/patches/features/all/rt/0048-mm-pagefault_disabled.patch
+++ b/debian/patches/features/all/rt/0048-mm-pagefault_disabled.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Thu, 11 Aug 2011 15:31:31 +0200
-Subject: [PATCH 048/380] mm: pagefault_disabled()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=89c772c5288d8d3354b07208b06931381dc9574e
+Subject: [PATCH 048/386] mm: pagefault_disabled()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3b0436524d887b718d6a4741b59f1256436f9970
Wrap the test for pagefault_disabled() into a helper, this allows us
to remove the need for current->pagefault_disabled on !-rt kernels.
@@ -336,7 +336,7 @@ index 1ab0754a3872..e1cdf65dfc75 100644
return;
}
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 7fad3e1ad2e0..c2a038d52568 100644
+index 022722281ae1..ca021b011a18 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -91,6 +91,7 @@ struct sched_param {
@@ -347,7 +347,7 @@ index 7fad3e1ad2e0..c2a038d52568 100644
#include <asm/processor.h>
-@@ -1444,7 +1445,9 @@ struct task_struct {
+@@ -1446,7 +1447,9 @@ struct task_struct {
/* mutex deadlock detection */
struct mutex_waiter *blocked_on;
#endif
@@ -357,7 +357,7 @@ index 7fad3e1ad2e0..c2a038d52568 100644
#ifdef CONFIG_TRACE_IRQFLAGS
unsigned int irq_events;
unsigned long hardirq_enable_ip;
-@@ -1593,6 +1596,17 @@ struct task_struct {
+@@ -1595,6 +1598,17 @@ struct task_struct {
/* Future-safe accessor for struct task_struct's cpus_allowed. */
#define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
diff --git a/debian/patches/features/all/rt/0049-mm-raw_pagefault_disable.patch b/debian/patches/features/all/rt/0049-mm-raw_pagefault_disable.patch
index 01e3121..ccf1fc2 100644
--- a/debian/patches/features/all/rt/0049-mm-raw_pagefault_disable.patch
+++ b/debian/patches/features/all/rt/0049-mm-raw_pagefault_disable.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Fri, 5 Aug 2011 17:16:58 +0200
-Subject: [PATCH 049/380] mm: raw_pagefault_disable
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5240e9dc9548192fd2b8e0d8a16803ac06c2c6cb
+Subject: [PATCH 049/386] mm: raw_pagefault_disable
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3ff8758e89f6af8124b8e0c69e63177e84c1c048
Adding migrate_disable() to pagefault_disable() to preserve the
per-cpu thing for kmap_atomic might not have been the best of choices.
diff --git a/debian/patches/features/all/rt/0050-filemap-fix-up.patch.patch b/debian/patches/features/all/rt/0050-filemap-fix-up.patch.patch
index 5d38d4b..34eaad1 100644
--- a/debian/patches/features/all/rt/0050-filemap-fix-up.patch.patch
+++ b/debian/patches/features/all/rt/0050-filemap-fix-up.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 17 Jun 2011 18:56:24 +0200
-Subject: [PATCH 050/380] filemap-fix-up.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=61396848342d45c8d4a32f93e2a1695d9d99aa6e
+Subject: [PATCH 050/386] filemap-fix-up.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e0649e199c865ac8427c38cea3d51d5358d2a0ed
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Wrecked-off-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
diff --git a/debian/patches/features/all/rt/0051-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch b/debian/patches/features/all/rt/0051-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch
index 3478960..97b3390 100644
--- a/debian/patches/features/all/rt/0051-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch
+++ b/debian/patches/features/all/rt/0051-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 25 Jul 2009 22:06:27 +0200
-Subject: [PATCH 051/380] mm: Remove preempt count from pagefault
+Subject: [PATCH 051/386] mm: Remove preempt count from pagefault
disable/enable
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d85db801235fb9f868700daf378b4b05f773506d
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=df21652981d616dc780eca4116cea483ffd8f8f1
Now that all users are cleaned up, we can remove the preemption count.
diff --git a/debian/patches/features/all/rt/0052-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch b/debian/patches/features/all/rt/0052-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch
index b63ac8a..782b256 100644
--- a/debian/patches/features/all/rt/0052-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch
+++ b/debian/patches/features/all/rt/0052-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:25 -0500
-Subject: [PATCH 052/380] x86: highmem: Replace BUG_ON by WARN_ON
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=884de610f9ed1cb4d42e4f13451f18f7be7b6d64
+Subject: [PATCH 052/386] x86: highmem: Replace BUG_ON by WARN_ON
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a8826a4347581770bdbb75062910325b70fa9b7e
The machine might survive that problem and be at least in a state
which allows us to get more information about the problem.
diff --git a/debian/patches/features/all/rt/0053-suspend-Prevent-might-sleep-splats.patch b/debian/patches/features/all/rt/0053-suspend-Prevent-might-sleep-splats.patch
index 763b6ab..edd8ece 100644
--- a/debian/patches/features/all/rt/0053-suspend-Prevent-might-sleep-splats.patch
+++ b/debian/patches/features/all/rt/0053-suspend-Prevent-might-sleep-splats.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 15 Jul 2010 10:29:00 +0200
-Subject: [PATCH 053/380] suspend: Prevent might sleep splats
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6132ebca84bef435c215b51bfaa9be9861f9ac5d
+Subject: [PATCH 053/386] suspend: Prevent might sleep splats
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f5a3c2c49e366ce109e96036d9ba6bd7220c76c5
timekeeping suspend/resume calls read_persistant_clock() which takes
rtc_lock. That results in might sleep warnings because at that point
diff --git a/debian/patches/features/all/rt/0054-OF-Fixup-resursive-locking-code-paths.patch b/debian/patches/features/all/rt/0054-OF-Fixup-resursive-locking-code-paths.patch
index 3421833..c20c4d0 100644
--- a/debian/patches/features/all/rt/0054-OF-Fixup-resursive-locking-code-paths.patch
+++ b/debian/patches/features/all/rt/0054-OF-Fixup-resursive-locking-code-paths.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 13 Aug 2009 09:04:10 +0200
-Subject: [PATCH 054/380] OF: Fixup resursive locking code paths
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=77d1e91e14c23b28472a71fea540a46b0cc8b4a9
+Subject: [PATCH 054/386] OF: Fixup resursive locking code paths
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3357947c73c905835dda0356ed7d9d6b01600743
There is no real reason to use a rwlock for devtree_lock. It even
could be a mutex, but unfortunately it's locked from cpu hotplug
diff --git a/debian/patches/features/all/rt/0055-of-convert-devtree-lock.patch.patch b/debian/patches/features/all/rt/0055-of-convert-devtree-lock.patch.patch
index 7bd9b32..765fd24 100644
--- a/debian/patches/features/all/rt/0055-of-convert-devtree-lock.patch.patch
+++ b/debian/patches/features/all/rt/0055-of-convert-devtree-lock.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 21 Mar 2011 14:35:34 +0100
-Subject: [PATCH 055/380] of-convert-devtree-lock.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a7969c7e19589b82b64c0fb7df22f28281374bf3
+Subject: [PATCH 055/386] of-convert-devtree-lock.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b4e9cce53fcafb89b1851e7249d7a440d4af9c3b
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0056-list-add-list-last-entry.patch.patch b/debian/patches/features/all/rt/0056-list-add-list-last-entry.patch.patch
index b58b221..1771c3d 100644
--- a/debian/patches/features/all/rt/0056-list-add-list-last-entry.patch.patch
+++ b/debian/patches/features/all/rt/0056-list-add-list-last-entry.patch.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Tue, 21 Jun 2011 11:22:36 +0200
-Subject: [PATCH 056/380] list-add-list-last-entry.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7c172a25ce5eb0afa6a851dea3f7b300f3681d2c
+Subject: [PATCH 056/386] list-add-list-last-entry.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4e97c744b7f505be9f64d8a036f47a3921293f8e
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0057-mm-page-alloc-use-list-last-entry.patch.patch b/debian/patches/features/all/rt/0057-mm-page-alloc-use-list-last-entry.patch.patch
index 08bdea4..1c36b1b 100644
--- a/debian/patches/features/all/rt/0057-mm-page-alloc-use-list-last-entry.patch.patch
+++ b/debian/patches/features/all/rt/0057-mm-page-alloc-use-list-last-entry.patch.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Tue, 21 Jun 2011 11:24:35 +0200
-Subject: [PATCH 057/380] mm-page-alloc-use-list-last-entry.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=79fcc9d3578a54765a57f1ff2df4701b0f573d44
+Subject: [PATCH 057/386] mm-page-alloc-use-list-last-entry.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=697021b782872f676306e6ed5f8cca754bf29550
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0058-mm-slab-move-debug-out.patch.patch b/debian/patches/features/all/rt/0058-mm-slab-move-debug-out.patch.patch
index c3ed3de..a5bae6a 100644
--- a/debian/patches/features/all/rt/0058-mm-slab-move-debug-out.patch.patch
+++ b/debian/patches/features/all/rt/0058-mm-slab-move-debug-out.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 20 Jun 2011 10:42:04 +0200
-Subject: [PATCH 058/380] mm-slab-move-debug-out.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=05432b5be392634ce8204d56d748f0f9f5f120bc
+Subject: [PATCH 058/386] mm-slab-move-debug-out.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3a10bf293f4d142de3c24f5eac84f90519aa078a
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0059-rwsem-inlcude-fix.patch.patch b/debian/patches/features/all/rt/0059-rwsem-inlcude-fix.patch.patch
index 5e621af..dc33cee 100644
--- a/debian/patches/features/all/rt/0059-rwsem-inlcude-fix.patch.patch
+++ b/debian/patches/features/all/rt/0059-rwsem-inlcude-fix.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 15 Jul 2011 21:24:27 +0200
-Subject: [PATCH 059/380] rwsem-inlcude-fix.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b38b50bbe79fb74e7924a3519e894e2bae1fab6f
+Subject: [PATCH 059/386] rwsem-inlcude-fix.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7dc402092f4bf291fd8c12f0b62c102682de04b8
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0060-sysctl-include-fix.patch.patch b/debian/patches/features/all/rt/0060-sysctl-include-fix.patch.patch
index 9ad6e7e..a46da9d 100644
--- a/debian/patches/features/all/rt/0060-sysctl-include-fix.patch.patch
+++ b/debian/patches/features/all/rt/0060-sysctl-include-fix.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 14 Nov 2011 10:52:34 +0100
-Subject: [PATCH 060/380] sysctl-include-fix.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f8aae87d574628ec45ac1cc037248f982dbc3937
+Subject: [PATCH 060/386] sysctl-include-fix.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bff749a4de8f547aceb29f0928e1d1e8769d2a7b
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0061-net-flip-lock-dep-thingy.patch.patch b/debian/patches/features/all/rt/0061-net-flip-lock-dep-thingy.patch.patch
index f9270f6..79d238a 100644
--- a/debian/patches/features/all/rt/0061-net-flip-lock-dep-thingy.patch.patch
+++ b/debian/patches/features/all/rt/0061-net-flip-lock-dep-thingy.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 28 Jun 2011 10:59:58 +0200
-Subject: [PATCH 061/380] net-flip-lock-dep-thingy.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1118ddb763861ec41d964e93959a5ea89ee53cf4
+Subject: [PATCH 061/386] net-flip-lock-dep-thingy.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7eabb90ddf98e8b009acc7f6e99744765eca6ebc
=======================================================
[ INFO: possible circular locking dependency detected ]
diff --git a/debian/patches/features/all/rt/0062-softirq-thread-do-softirq.patch.patch b/debian/patches/features/all/rt/0062-softirq-thread-do-softirq.patch.patch
index fcb3856..f1c2ec2 100644
--- a/debian/patches/features/all/rt/0062-softirq-thread-do-softirq.patch.patch
+++ b/debian/patches/features/all/rt/0062-softirq-thread-do-softirq.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 28 Jun 2011 15:44:15 +0200
-Subject: [PATCH 062/380] softirq-thread-do-softirq.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e0eabf5c16a680d4df783f89e35f3aedd13c5674
+Subject: [PATCH 062/386] softirq-thread-do-softirq.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8974e3057f422456bdf6b266e11bd26316d1ae0f
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0063-softirq-split-out-code.patch.patch b/debian/patches/features/all/rt/0063-softirq-split-out-code.patch.patch
index c1d4a7d..a543a4a 100644
--- a/debian/patches/features/all/rt/0063-softirq-split-out-code.patch.patch
+++ b/debian/patches/features/all/rt/0063-softirq-split-out-code.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 28 Jun 2011 15:46:49 +0200
-Subject: [PATCH 063/380] softirq-split-out-code.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=de409f77420f4553570186815971a9265801a1f8
+Subject: [PATCH 063/386] softirq-split-out-code.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=38b9ee37f59a4c549fefdb8515e2b4bafa872189
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0064-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch b/debian/patches/features/all/rt/0064-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch
index 1c36996..0ca6f4a 100644
--- a/debian/patches/features/all/rt/0064-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch
+++ b/debian/patches/features/all/rt/0064-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch
@@ -1,8 +1,8 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:27 -0500
-Subject: [PATCH 064/380] x86: Do not unmask io_apic when interrupt is in
+Subject: [PATCH 064/386] x86: Do not unmask io_apic when interrupt is in
progress
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0d44eadd8ba229ef58aaa835686f21958efead16
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=eef02a7688220dfc9b6570033743ecde35a0120a
With threaded interrupts we might see an interrupt in progress on
migration. Do not unmask it when this is the case.
diff --git a/debian/patches/features/all/rt/0065-x86-32-fix-signal-crap.patch.patch b/debian/patches/features/all/rt/0065-x86-32-fix-signal-crap.patch.patch
index 21239db..ab02cc7 100644
--- a/debian/patches/features/all/rt/0065-x86-32-fix-signal-crap.patch.patch
+++ b/debian/patches/features/all/rt/0065-x86-32-fix-signal-crap.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 18 Jul 2011 15:59:38 +0200
-Subject: [PATCH 065/380] x86-32-fix-signal-crap.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b72172d61ecad65ef8089c15b68c8b6d879b53cf
+Subject: [PATCH 065/386] x86-32-fix-signal-crap.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=45c4e7fa08b1842c2ed706090fadabe019617777
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0066-x86-Do-not-disable-preemption-in-int3-on-32bit.patch b/debian/patches/features/all/rt/0066-x86-Do-not-disable-preemption-in-int3-on-32bit.patch
index 0f8b114..4ce7594 100644
--- a/debian/patches/features/all/rt/0066-x86-Do-not-disable-preemption-in-int3-on-32bit.patch
+++ b/debian/patches/features/all/rt/0066-x86-Do-not-disable-preemption-in-int3-on-32bit.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Tue, 10 Apr 2012 14:33:57 -0400
-Subject: [PATCH 066/380] x86: Do not disable preemption in int3 on 32bit
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=214ef34d59bb191beabc1c81614a9c38b560e915
+Subject: [PATCH 066/386] x86: Do not disable preemption in int3 on 32bit
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6a10ec5f8809197a5443667f1c20ffe85f480f5c
Preemption must be disabled before enabling interrupts in do_trap
on x86_64 because the stack in use for int3 and debug is a per CPU
diff --git a/debian/patches/features/all/rt/0067-rcu-Reduce-lock-section.patch b/debian/patches/features/all/rt/0067-rcu-Reduce-lock-section.patch
index 0c0aba9..01e72f6 100644
--- a/debian/patches/features/all/rt/0067-rcu-Reduce-lock-section.patch
+++ b/debian/patches/features/all/rt/0067-rcu-Reduce-lock-section.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 24 Jun 2011 22:23:02 +0200
-Subject: [PATCH 067/380] rcu: Reduce lock section
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e0eac81df8e8eb70739d4b6af097055a33c2f0b9
+Subject: [PATCH 067/386] rcu: Reduce lock section
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4cef935c67437493ca8a860cddd2a702764ca17f
So the waitqueue wakeup is outside the raw locked section.
diff --git a/debian/patches/features/all/rt/0068-locking-various-init-fixes.patch.patch b/debian/patches/features/all/rt/0068-locking-various-init-fixes.patch.patch
index 97c292e..ee4dd35 100644
--- a/debian/patches/features/all/rt/0068-locking-various-init-fixes.patch.patch
+++ b/debian/patches/features/all/rt/0068-locking-various-init-fixes.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 21:25:03 +0200
-Subject: [PATCH 068/380] locking-various-init-fixes.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=912209674e8a4e65cb695973a465ae2cdc6e95d3
+Subject: [PATCH 068/386] locking-various-init-fixes.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7c1becf2600a5f5c1aa5c38257363f50bbe3e18e
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0069-wait-Provide-__wake_up_all_locked.patch b/debian/patches/features/all/rt/0069-wait-Provide-__wake_up_all_locked.patch
index 5d0c995..58cbc61 100644
--- a/debian/patches/features/all/rt/0069-wait-Provide-__wake_up_all_locked.patch
+++ b/debian/patches/features/all/rt/0069-wait-Provide-__wake_up_all_locked.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 1 Dec 2011 00:04:00 +0100
-Subject: [PATCH 069/380] wait: Provide __wake_up_all_locked
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=49e67affd70e2ca044566b69298288be3cfb14e2
+Subject: [PATCH 069/386] wait: Provide __wake_up_all_locked
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2abf7dbca697966b1eedccdcb7c86b6b36415478
For code which protects the waitqueue itself with another lock it
makes no sense to acquire the waitqueue lock for wakeup all. Provide
diff --git a/debian/patches/features/all/rt/0070-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch b/debian/patches/features/all/rt/0070-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch
index e0d1ea6..e1cfeba 100644
--- a/debian/patches/features/all/rt/0070-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch
+++ b/debian/patches/features/all/rt/0070-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 1 Dec 2011 00:07:16 +0100
-Subject: [PATCH 070/380] pci: Use __wake_up_all_locked
+Subject: [PATCH 070/386] pci: Use __wake_up_all_locked
pci_unblock_user_cfg_access()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9b3882f6c26a30e92093d86cd336511188364869
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=02a4b60cde5dfba706b69a7c8a49d68ed24b31fe
The waitqueue is protected by the pci_lock, so we can just avoid to
lock the waitqueue lock itself. That prevents the
diff --git a/debian/patches/features/all/rt/0071-latency-hist.patch.patch b/debian/patches/features/all/rt/0071-latency-hist.patch.patch
index 7e65ced..5216aa2 100644
--- a/debian/patches/features/all/rt/0071-latency-hist.patch.patch
+++ b/debian/patches/features/all/rt/0071-latency-hist.patch.patch
@@ -1,7 +1,7 @@
From: Carsten Emde <C.Emde at osadl.org>
Date: Tue, 19 Jul 2011 14:03:41 +0100
-Subject: [PATCH 071/380] latency-hist.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7a567d80acdcc88f51baf79a4a0d73d5e75b0f75
+Subject: [PATCH 071/386] latency-hist.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a1cffc5ecf5e4f0b8cc9e7f1754eb938fc80cd88
This patch provides a recording mechanism to store data of potential
sources of system latencies. The recordings separately determine the
@@ -221,10 +221,10 @@ index 000000000000..6f2aeabf7faa
+
+These data are also reset when the wakeup histogram is reset.
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index c2a038d52568..6044cecea4ba 100644
+index ca021b011a18..dd33f4421159 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1579,6 +1579,12 @@ struct task_struct {
+@@ -1581,6 +1581,12 @@ struct task_struct {
unsigned long trace;
/* bitmask and counter of trace recursion */
unsigned long trace_recursion;
@@ -349,7 +349,7 @@ index 000000000000..d6b5d77c57aa
+#endif /* _LATENCY_HIST_H */
+
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
-index d9ce3d484231..fa8c09b7eb92 100644
+index 6918c031363e..a2374e6b255a 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -49,6 +49,7 @@
@@ -360,7 +360,7 @@ index d9ce3d484231..fa8c09b7eb92 100644
/*
* The timer bases:
-@@ -1279,6 +1280,8 @@ static void __run_hrtimer(struct hrtimer *timer, ktime_t *now)
+@@ -1301,6 +1302,8 @@ static void __run_hrtimer(struct hrtimer *timer, ktime_t *now)
#ifdef CONFIG_HIGH_RES_TIMERS
@@ -369,7 +369,7 @@ index d9ce3d484231..fa8c09b7eb92 100644
/*
* High resolution timer interrupt
* Called with interrupts disabled
-@@ -1322,6 +1325,14 @@ retry:
+@@ -1344,6 +1347,14 @@ retry:
timer = container_of(node, struct hrtimer, node);
diff --git a/debian/patches/features/all/rt/0072-hwlatdetect.patch.patch b/debian/patches/features/all/rt/0072-hwlatdetect.patch.patch
index 1ae0282..183aaeb 100644
--- a/debian/patches/features/all/rt/0072-hwlatdetect.patch.patch
+++ b/debian/patches/features/all/rt/0072-hwlatdetect.patch.patch
@@ -1,7 +1,7 @@
From: Carsten Emde <C.Emde at osadl.org>
Date: Tue, 19 Jul 2011 13:53:12 +0100
-Subject: [PATCH 072/380] hwlatdetect.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1c84a5d938f022229dd7b4b0e5200e2f81cb9561
+Subject: [PATCH 072/386] hwlatdetect.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b139e267379073bd3a3cdeed0d5bb17dca15d7ec
Jon Masters developed this wonderful SMI detector. For details please
consult Documentation/hwlat_detector.txt. It could be ported to Linux
diff --git a/debian/patches/features/all/rt/0073-localversion.patch.patch b/debian/patches/features/all/rt/0073-localversion.patch.patch
index bf5441e..187ec54 100644
--- a/debian/patches/features/all/rt/0073-localversion.patch.patch
+++ b/debian/patches/features/all/rt/0073-localversion.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 8 Jul 2011 20:25:16 +0200
-Subject: [PATCH 073/380] localversion.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=82bb0815d028d6c09bf79f0bb9dfd014fe6c660c
+Subject: [PATCH 073/386] localversion.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5673c001304306c2596c267519631200fa150ce3
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
diff --git a/debian/patches/features/all/rt/0074-early-printk-consolidate.patch.patch b/debian/patches/features/all/rt/0074-early-printk-consolidate.patch.patch
index 37d7a53..2a50e3f 100644
--- a/debian/patches/features/all/rt/0074-early-printk-consolidate.patch.patch
+++ b/debian/patches/features/all/rt/0074-early-printk-consolidate.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 23 Jul 2011 11:04:08 +0200
-Subject: [PATCH 074/380] early-printk-consolidate.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2d37d1b4ec629c61a6bd4f9c2378903bf72d1f31
+Subject: [PATCH 074/386] early-printk-consolidate.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=357edab7f1862a82801d717e3243a67e249e759b
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0075-printk-kill.patch.patch b/debian/patches/features/all/rt/0075-printk-kill.patch.patch
index ed8998c..957244f 100644
--- a/debian/patches/features/all/rt/0075-printk-kill.patch.patch
+++ b/debian/patches/features/all/rt/0075-printk-kill.patch.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 22 Jul 2011 17:58:40 +0200
-Subject: [PATCH 075/380] printk-kill.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8e31e0d6f2c32ac446110604223969b7b1714006
+Subject: [PATCH 075/386] printk-kill.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d5067a6b3491c4187383a7e758120a3dd1ea75a6
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0076-printk-force_early_printk-boot-param-to-help-with-de.patch b/debian/patches/features/all/rt/0076-printk-force_early_printk-boot-param-to-help-with-de.patch
index 97d754f..9248992 100644
--- a/debian/patches/features/all/rt/0076-printk-force_early_printk-boot-param-to-help-with-de.patch
+++ b/debian/patches/features/all/rt/0076-printk-force_early_printk-boot-param-to-help-with-de.patch
@@ -1,8 +1,8 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Fri, 2 Sep 2011 14:29:33 +0200
-Subject: [PATCH 076/380] printk: 'force_early_printk' boot param to help with
+Subject: [PATCH 076/386] printk: 'force_early_printk' boot param to help with
debugging
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c753be7b1794d9fd5f456b2dac158cddc5c0113c
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f88aae24950e9aa08670a86cc2214a3c10ed915c
Gives me an option to screw printk and actually see what the machine
says.
diff --git a/debian/patches/features/all/rt/0077-rt-preempt-base-config.patch.patch b/debian/patches/features/all/rt/0077-rt-preempt-base-config.patch.patch
index 65d849c..d318083 100644
--- a/debian/patches/features/all/rt/0077-rt-preempt-base-config.patch.patch
+++ b/debian/patches/features/all/rt/0077-rt-preempt-base-config.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 17 Jun 2011 12:39:57 +0200
-Subject: [PATCH 077/380] rt-preempt-base-config.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a306eaefb3620c0176e569232cdf5d6e9103a042
+Subject: [PATCH 077/386] rt-preempt-base-config.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=046e2f79ae448ec5ef70b260b3e3dedb43811b64
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0078-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch b/debian/patches/features/all/rt/0078-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch
index c912641..9ef8cac 100644
--- a/debian/patches/features/all/rt/0078-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch
+++ b/debian/patches/features/all/rt/0078-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:58 -0500
-Subject: [PATCH 078/380] bug: BUG_ON/WARN_ON variants dependend on RT/!RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=940fe468ffd418c2698d58f8dce4d8ef2ead07ea
+Subject: [PATCH 078/386] bug: BUG_ON/WARN_ON variants dependend on RT/!RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=662dbcead2f64aa7e891480f995241f6ac44f64d
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
diff --git a/debian/patches/features/all/rt/0079-rt-local_irq_-variants-depending-on-RT-RT.patch b/debian/patches/features/all/rt/0079-rt-local_irq_-variants-depending-on-RT-RT.patch
index e5d858d..524fb35 100644
--- a/debian/patches/features/all/rt/0079-rt-local_irq_-variants-depending-on-RT-RT.patch
+++ b/debian/patches/features/all/rt/0079-rt-local_irq_-variants-depending-on-RT-RT.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 21 Jul 2009 22:34:14 +0200
-Subject: [PATCH 079/380] rt: local_irq_* variants depending on RT/!RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c560bff51f89465874dedd836908b672cbfcdf38
+Subject: [PATCH 079/386] rt: local_irq_* variants depending on RT/!RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0fed86188c6bffddd1ae5d853e7225a5fbb4a31d
Add local_irq_*_(no)rt variant which are mainly used to break
interrupt disabled sections on PREEMPT_RT or to explicitely disable
diff --git a/debian/patches/features/all/rt/0080-preempt-Provide-preempt_-_-no-rt-variants.patch b/debian/patches/features/all/rt/0080-preempt-Provide-preempt_-_-no-rt-variants.patch
index ccbffd3..27e81ba 100644
--- a/debian/patches/features/all/rt/0080-preempt-Provide-preempt_-_-no-rt-variants.patch
+++ b/debian/patches/features/all/rt/0080-preempt-Provide-preempt_-_-no-rt-variants.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 24 Jul 2009 12:38:56 +0200
-Subject: [PATCH 080/380] preempt: Provide preempt_*_(no)rt variants
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=993a55736f919bf02d9f80918a658bbe60ef0c75
+Subject: [PATCH 080/386] preempt: Provide preempt_*_(no)rt variants
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5d39dbff569b08a9cff9e528ae5af213244dd489
RT needs a few preempt_disable/enable points which are not necessary
otherwise. Implement variants to avoid #ifdeffery.
diff --git a/debian/patches/features/all/rt/0081-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch b/debian/patches/features/all/rt/0081-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch
index 1575ab0..71cbe37 100644
--- a/debian/patches/features/all/rt/0081-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch
+++ b/debian/patches/features/all/rt/0081-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <srostedt at redhat.com>
Date: Fri, 3 Jul 2009 08:44:29 -0500
-Subject: [PATCH 081/380] ata: Do not disable interrupts in ide code for
+Subject: [PATCH 081/386] ata: Do not disable interrupts in ide code for
preempt-rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9df08bc53de6023a1078d508f914abec6a922b39
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e1e54a3d113d8b192c96473ce49f94862c831d1d
Use the local_irq_*_nort variants.
@@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
-index 22edc9271a3a..e73dc2d6ae88 100644
+index cb290af1525b..40f88ab7690d 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -678,9 +678,9 @@ unsigned int ata_sff_data_xfer_noirq(struct ata_device *dev, unsigned char *buf,
diff --git a/debian/patches/features/all/rt/0082-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch b/debian/patches/features/all/rt/0082-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch
index 5ec0858..bb17fa4 100644
--- a/debian/patches/features/all/rt/0082-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch
+++ b/debian/patches/features/all/rt/0082-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:16 -0500
-Subject: [PATCH 082/380] ide: Do not disable interrupts for PREEMPT-RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d4cf54294d139a6580192fadc242a9b282702dd7
+Subject: [PATCH 082/386] ide: Do not disable interrupts for PREEMPT-RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a093287f17198d013f484cd9f9913c62d2b00aae
Use the local_irq_*_nort variants.
diff --git a/debian/patches/features/all/rt/0083-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch b/debian/patches/features/all/rt/0083-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch
index b8a34b2..26a240a 100644
--- a/debian/patches/features/all/rt/0083-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch
+++ b/debian/patches/features/all/rt/0083-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch
@@ -1,8 +1,8 @@
From: Sven-Thorsten Dietrich <sdietrich at novell.com>
Date: Fri, 3 Jul 2009 08:30:35 -0500
-Subject: [PATCH 083/380] infiniband: Mellanox IB driver patch use _nort()
+Subject: [PATCH 083/386] infiniband: Mellanox IB driver patch use _nort()
primitives
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=96e6bcf85dc3c4c8b98de0a4a96c73d228d553eb
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=efece67bb93a0bf269d6520b844a4f20f3bc6036
Fixes in_atomic stack-dump, when Mellanox module is loaded into the RT
Kernel.
diff --git a/debian/patches/features/all/rt/0084-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch b/debian/patches/features/all/rt/0084-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch
index 2117f2a..c9a3b21 100644
--- a/debian/patches/features/all/rt/0084-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch
+++ b/debian/patches/features/all/rt/0084-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch
@@ -1,8 +1,8 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:16 -0500
-Subject: [PATCH 084/380] input: gameport: Do not disable interrupts on
+Subject: [PATCH 084/386] input: gameport: Do not disable interrupts on
PREEMPT_RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9019dca27d6331a115087584ca21bd086e79d1ff
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4d83c7fa3e13cbdb5a2a144fea45fa00104a0be8
Use the _nort() primitives.
diff --git a/debian/patches/features/all/rt/0085-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch b/debian/patches/features/all/rt/0085-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch
index 0fe6761..3f1dab1 100644
--- a/debian/patches/features/all/rt/0085-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch
+++ b/debian/patches/features/all/rt/0085-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 21 Jul 2009 22:54:51 +0200
-Subject: [PATCH 085/380] acpi: Do not disable interrupts on PREEMPT_RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=89ec8b696932812a172bbeafbf8f41748d1c979c
+Subject: [PATCH 085/386] acpi: Do not disable interrupts on PREEMPT_RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=279d6cecf77373d2cfce3705898090dee28a6665
Use the local_irq_*_nort() variants.
diff --git a/debian/patches/features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch b/debian/patches/features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch
index b26f12b..facca41 100644
--- a/debian/patches/features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch
+++ b/debian/patches/features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 21 Jul 2009 23:06:05 +0200
-Subject: [PATCH 086/380] core: Do not disable interrupts on RT in
+Subject: [PATCH 086/386] core: Do not disable interrupts on RT in
kernel/users.c
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d5226e1c035d9c064f45e067c4281bcae01f2504
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8182f9aadfaec4ef0066ed2952d6e53dbc3a72d5
Use the local_irq_*_nort variants to reduce latencies in RT. The code
is serialized by the locks. No need to disable interrupts.
diff --git a/debian/patches/features/all/rt/0087-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch b/debian/patches/features/all/rt/0087-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch
index 6edc923..17929e5 100644
--- a/debian/patches/features/all/rt/0087-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch
+++ b/debian/patches/features/all/rt/0087-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch
@@ -1,8 +1,8 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:44:33 -0500
-Subject: [PATCH 087/380] core: Do not disable interrupts on RT in
+Subject: [PATCH 087/386] core: Do not disable interrupts on RT in
res_counter.c
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bc05d1920d2258aa6ad9b2d310cdf32999f86984
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4fc7a517562c386963eacc858e1274787b83db06
Frederic Weisbecker reported this warning:
diff --git a/debian/patches/features/all/rt/0088-usb-Use-local_irq_-_nort-variants.patch b/debian/patches/features/all/rt/0088-usb-Use-local_irq_-_nort-variants.patch
index 0f4198a..a9f8a43 100644
--- a/debian/patches/features/all/rt/0088-usb-Use-local_irq_-_nort-variants.patch
+++ b/debian/patches/features/all/rt/0088-usb-Use-local_irq_-_nort-variants.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <srostedt at redhat.com>
Date: Fri, 3 Jul 2009 08:44:26 -0500
-Subject: [PATCH 088/380] usb: Use local_irq_*_nort() variants
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7e50b6b9fbad4c39758c0a568cee0c42720b110d
+Subject: [PATCH 088/386] usb: Use local_irq_*_nort() variants
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=51aa0bc5f09b8a5a96e7f8a57921e3e831c91552
[ tglx: Now that irqf_disabled is dead we should kill that ]
diff --git a/debian/patches/features/all/rt/0089-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch b/debian/patches/features/all/rt/0089-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch
index 7b5b6f1..dbf401f 100644
--- a/debian/patches/features/all/rt/0089-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch
+++ b/debian/patches/features/all/rt/0089-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 17 Aug 2009 19:49:19 +0200
-Subject: [PATCH 089/380] tty: Do not disable interrupts in put_ldisc on -rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4063bc1de4acd4b4385bd5e244631b8fae363418
+Subject: [PATCH 089/386] tty: Do not disable interrupts in put_ldisc on -rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3c0df3bc65fe3379156e1d84a5c0580ba4c0ebef
Fixes the following on PREEMPT_RT:
diff --git a/debian/patches/features/all/rt/0090-mm-scatterlist-dont-disable-irqs-on-RT.patch b/debian/patches/features/all/rt/0090-mm-scatterlist-dont-disable-irqs-on-RT.patch
index 4f4ef99..55d5f79 100644
--- a/debian/patches/features/all/rt/0090-mm-scatterlist-dont-disable-irqs-on-RT.patch
+++ b/debian/patches/features/all/rt/0090-mm-scatterlist-dont-disable-irqs-on-RT.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 3 Jul 2009 08:44:34 -0500
-Subject: [PATCH 090/380] mm: scatterlist dont disable irqs on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9dc1e0e8bc6ee5d5fa49df8027c574c4920643b7
+Subject: [PATCH 090/386] mm: scatterlist dont disable irqs on RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e6d144d8b855d99370ca4b91c74e0db97fa286d1
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0091-signal-fix-up-rcu-wreckage.patch.patch b/debian/patches/features/all/rt/0091-signal-fix-up-rcu-wreckage.patch.patch
index 9c99572..e321eee 100644
--- a/debian/patches/features/all/rt/0091-signal-fix-up-rcu-wreckage.patch.patch
+++ b/debian/patches/features/all/rt/0091-signal-fix-up-rcu-wreckage.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 22 Jul 2011 08:07:08 +0200
-Subject: [PATCH 091/380] signal-fix-up-rcu-wreckage.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e6215b453fca9a0370a70a3e1877e9c56c51f78b
+Subject: [PATCH 091/386] signal-fix-up-rcu-wreckage.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ae48c2d89ee15964696ffb2ab81ab4ecfc8032fe
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0092-net-wireless-warn-nort.patch.patch b/debian/patches/features/all/rt/0092-net-wireless-warn-nort.patch.patch
index 876990f..4f3dbca 100644
--- a/debian/patches/features/all/rt/0092-net-wireless-warn-nort.patch.patch
+++ b/debian/patches/features/all/rt/0092-net-wireless-warn-nort.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 21 Jul 2011 21:05:33 +0200
-Subject: [PATCH 092/380] net-wireless-warn-nort.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a7b985de83e609935e8e9f261e71a324e5b90628
+Subject: [PATCH 092/386] net-wireless-warn-nort.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8f31d486c51a0413eb22f3e903abdb16b88db1ad
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0093-mm-Replace-cgroup_page-bit-spinlock.patch b/debian/patches/features/all/rt/0093-mm-Replace-cgroup_page-bit-spinlock.patch
index e0d8a82..324dbd6 100644
--- a/debian/patches/features/all/rt/0093-mm-Replace-cgroup_page-bit-spinlock.patch
+++ b/debian/patches/features/all/rt/0093-mm-Replace-cgroup_page-bit-spinlock.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 19 Aug 2009 09:56:42 +0200
-Subject: [PATCH 093/380] mm: Replace cgroup_page bit spinlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=83ad4e785be485d3cc4586d708022008f6272703
+Subject: [PATCH 093/386] mm: Replace cgroup_page bit spinlock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e71763e4661580d602bf6756ad01035c404dc3e7
Bit spinlocks are not working on RT. Replace them.
diff --git a/debian/patches/features/all/rt/0094-buffer_head-Replace-bh_uptodate_lock-for-rt.patch b/debian/patches/features/all/rt/0094-buffer_head-Replace-bh_uptodate_lock-for-rt.patch
index 88daec8..8d3dfe9 100644
--- a/debian/patches/features/all/rt/0094-buffer_head-Replace-bh_uptodate_lock-for-rt.patch
+++ b/debian/patches/features/all/rt/0094-buffer_head-Replace-bh_uptodate_lock-for-rt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 18 Mar 2011 09:18:52 +0100
-Subject: [PATCH 094/380] buffer_head: Replace bh_uptodate_lock for -rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5f12801fbe97bf8a21af8aaa649c3494c0a6425d
+Subject: [PATCH 094/386] buffer_head: Replace bh_uptodate_lock for -rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e67163f13d59d8cec5a1690e652c2e1c591ef5b6
Wrap the bit_spin_lock calls into a separate inline and add the RT
replacements with a real spinlock.
diff --git a/debian/patches/features/all/rt/0095-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch b/debian/patches/features/all/rt/0095-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch
index 7dce72f..e380a09 100644
--- a/debian/patches/features/all/rt/0095-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch
+++ b/debian/patches/features/all/rt/0095-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 18 Mar 2011 10:11:25 +0100
-Subject: [PATCH 095/380] fs: jbd/jbd2: Make state lock and journal head lock
+Subject: [PATCH 095/386] fs: jbd/jbd2: Make state lock and journal head lock
rt safe
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=332b8a9f5631567b506e13e1494f8cced4b5636c
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ca0ed87bb8003ecf2091a31f2e5138b30808017c
bit_spin_locks break under RT.
diff --git a/debian/patches/features/all/rt/0096-genirq-Disable-DEBUG_SHIRQ-for-rt.patch b/debian/patches/features/all/rt/0096-genirq-Disable-DEBUG_SHIRQ-for-rt.patch
index 507808c..ee0e9d6 100644
--- a/debian/patches/features/all/rt/0096-genirq-Disable-DEBUG_SHIRQ-for-rt.patch
+++ b/debian/patches/features/all/rt/0096-genirq-Disable-DEBUG_SHIRQ-for-rt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 18 Mar 2011 10:22:04 +0100
-Subject: [PATCH 096/380] genirq: Disable DEBUG_SHIRQ for rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c176b50d4cd33cbd4db7801b1cbca50bdad2725e
+Subject: [PATCH 096/386] genirq: Disable DEBUG_SHIRQ for rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=21c1487e03b50dd2b751cf7ffc44323ddc597a35
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0097-genirq-Disable-random-call-on-preempt-rt.patch b/debian/patches/features/all/rt/0097-genirq-Disable-random-call-on-preempt-rt.patch
index 557d5de..4d7f6c5 100644
--- a/debian/patches/features/all/rt/0097-genirq-Disable-random-call-on-preempt-rt.patch
+++ b/debian/patches/features/all/rt/0097-genirq-Disable-random-call-on-preempt-rt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 21 Jul 2009 16:07:37 +0200
-Subject: [PATCH 097/380] genirq: Disable random call on preempt-rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f6635e3ad7163a14cce04bef2eb5b68a8e6cd698
+Subject: [PATCH 097/386] genirq: Disable random call on preempt-rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=08ab99c48858f6f3a62c1f68af0541c6a40c78e4
The random call introduces high latencies and is almost
unused. Disable it for -rt.
diff --git a/debian/patches/features/all/rt/0098-genirq-disable-irqpoll-on-rt.patch b/debian/patches/features/all/rt/0098-genirq-disable-irqpoll-on-rt.patch
index e05ccb7..c10d2e8 100644
--- a/debian/patches/features/all/rt/0098-genirq-disable-irqpoll-on-rt.patch
+++ b/debian/patches/features/all/rt/0098-genirq-disable-irqpoll-on-rt.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:57 -0500
-Subject: [PATCH 098/380] genirq: disable irqpoll on -rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7c91c6c15de6af8a9d16e8ee0b7ee975f136649e
+Subject: [PATCH 098/386] genirq: disable irqpoll on -rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a00037a016b084fa298247c8fbe65ea2c079c1ad
Creates long latencies for no value
diff --git a/debian/patches/features/all/rt/0099-genirq-force-threading.patch.patch b/debian/patches/features/all/rt/0099-genirq-force-threading.patch.patch
index 9396612..8a83267 100644
--- a/debian/patches/features/all/rt/0099-genirq-force-threading.patch.patch
+++ b/debian/patches/features/all/rt/0099-genirq-force-threading.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 3 Apr 2011 11:57:29 +0200
-Subject: [PATCH 099/380] genirq-force-threading.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a823ec2ae37226430352f9d5362be895f0c030af
+Subject: [PATCH 099/386] genirq-force-threading.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6f047b8c89562e523432b3f529d8973019cebfa5
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0100-drivers-net-fix-livelock-issues.patch b/debian/patches/features/all/rt/0100-drivers-net-fix-livelock-issues.patch
index 7517edd..185a6f4 100644
--- a/debian/patches/features/all/rt/0100-drivers-net-fix-livelock-issues.patch
+++ b/debian/patches/features/all/rt/0100-drivers-net-fix-livelock-issues.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 20 Jun 2009 11:36:54 +0200
-Subject: [PATCH 100/380] drivers/net: fix livelock issues
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=198fd7b69dbf096ded17ae68609233f7377d582c
+Subject: [PATCH 100/386] drivers/net: fix livelock issues
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=16df209b77792c83cdaf3ba032d7a0426982a5d4
Preempt-RT runs into a live lock issue with the NETDEV_TX_LOCKED micro
optimization. The reason is that the softirq thread is rescheduling
diff --git a/debian/patches/features/all/rt/0101-drivers-net-vortex-fix-locking-issues.patch b/debian/patches/features/all/rt/0101-drivers-net-vortex-fix-locking-issues.patch
index 14eddcd..abb3b41 100644
--- a/debian/patches/features/all/rt/0101-drivers-net-vortex-fix-locking-issues.patch
+++ b/debian/patches/features/all/rt/0101-drivers-net-vortex-fix-locking-issues.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Fri, 3 Jul 2009 08:30:00 -0500
-Subject: [PATCH 101/380] drivers/net: vortex fix locking issues
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fbfc80b33de8e0057b1188c9ed893290c4d684fb
+Subject: [PATCH 101/386] drivers/net: vortex fix locking issues
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e9c1d9e84954c0f734b7a9f5e256733466a652bc
Argh, cut and paste wasn't enough...
diff --git a/debian/patches/features/all/rt/0102-drivers-net-gianfar-Make-RT-aware.patch b/debian/patches/features/all/rt/0102-drivers-net-gianfar-Make-RT-aware.patch
index 3e20733..5333e7c 100644
--- a/debian/patches/features/all/rt/0102-drivers-net-gianfar-Make-RT-aware.patch
+++ b/debian/patches/features/all/rt/0102-drivers-net-gianfar-Make-RT-aware.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 1 Apr 2010 20:20:57 +0200
-Subject: [PATCH 102/380] drivers: net: gianfar: Make RT aware
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1d20c0d4f615cfee0fa1ddca2a52cbcac051596a
+Subject: [PATCH 102/386] drivers: net: gianfar: Make RT aware
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=466d834d804c03692fa1cfa638cb3709b1625a65
The adjust_link() disables interrupts before taking the queue
locks. On RT those locks are converted to "sleeping" locks and
diff --git a/debian/patches/features/all/rt/0103-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch b/debian/patches/features/all/rt/0103-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch
index e4a1f63..53dc1f3 100644
--- a/debian/patches/features/all/rt/0103-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch
+++ b/debian/patches/features/all/rt/0103-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch
@@ -1,8 +1,8 @@
From: Wu Zhangjin <wuzj at lemote.com>
Date: Mon, 4 Jan 2010 11:33:02 +0800
-Subject: [PATCH 103/380] USB: Fix the mouse problem when copying large amounts
+Subject: [PATCH 103/386] USB: Fix the mouse problem when copying large amounts
of data
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=904e3ddac83d90cbeb38b9057ac394de332e178e
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b5001fdb265e59490cd3514053bb762e7d64226a
When copying large amounts of data between the USB storage devices and
the hard disk, the USB mouse will not work, this patch fixes it.
diff --git a/debian/patches/features/all/rt/0104-local-var.patch.patch b/debian/patches/features/all/rt/0104-local-var.patch.patch
index 8975493..f2d60d1 100644
--- a/debian/patches/features/all/rt/0104-local-var.patch.patch
+++ b/debian/patches/features/all/rt/0104-local-var.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 24 Jun 2011 18:40:37 +0200
-Subject: [PATCH 104/380] local-var.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=df68a1eea24a6424bb7e74455a1d781e35afbdb6
+Subject: [PATCH 104/386] local-var.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b1b6275b814213b781b3d8c37d7cff6d2c10fb26
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0105-rt-local-irq-lock.patch.patch b/debian/patches/features/all/rt/0105-rt-local-irq-lock.patch.patch
index ee29943..96480f5 100644
--- a/debian/patches/features/all/rt/0105-rt-local-irq-lock.patch.patch
+++ b/debian/patches/features/all/rt/0105-rt-local-irq-lock.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 20 Jun 2011 09:03:47 +0200
-Subject: [PATCH 105/380] rt-local-irq-lock.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b56610c5ab6574d4bb21093528721cb373dba63b
+Subject: [PATCH 105/386] rt-local-irq-lock.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c1cadffd60d0596845afd610331fb716494a8d31
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0106-cpu-rt-variants.patch.patch b/debian/patches/features/all/rt/0106-cpu-rt-variants.patch.patch
index df45adb..99aea04 100644
--- a/debian/patches/features/all/rt/0106-cpu-rt-variants.patch.patch
+++ b/debian/patches/features/all/rt/0106-cpu-rt-variants.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 17 Jun 2011 15:42:38 +0200
-Subject: [PATCH 106/380] cpu-rt-variants.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4d617e4bcca44824bf93373a4630e478cd62de1a
+Subject: [PATCH 106/386] cpu-rt-variants.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5f3259ce93ef1e6ec8c1a24fbce57e44c76c7c90
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0107-mm-slab-wrap-functions.patch.patch b/debian/patches/features/all/rt/0107-mm-slab-wrap-functions.patch.patch
index 82c3411..c406d75 100644
--- a/debian/patches/features/all/rt/0107-mm-slab-wrap-functions.patch.patch
+++ b/debian/patches/features/all/rt/0107-mm-slab-wrap-functions.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 18 Jun 2011 19:44:43 +0200
-Subject: [PATCH 107/380] mm-slab-wrap-functions.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b90dec6f83659ff5243926191a4f7c97941ff508
+Subject: [PATCH 107/386] mm-slab-wrap-functions.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=44bede29752011c26895e39b4ca9369d350066ac
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0108-slab-Fix-__do_drain-to-use-the-right-array-cache.patch b/debian/patches/features/all/rt/0108-slab-Fix-__do_drain-to-use-the-right-array-cache.patch
index 73c8ade..bfe91fc 100644
--- a/debian/patches/features/all/rt/0108-slab-Fix-__do_drain-to-use-the-right-array-cache.patch
+++ b/debian/patches/features/all/rt/0108-slab-Fix-__do_drain-to-use-the-right-array-cache.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Tue, 11 Oct 2011 23:56:23 -0400
-Subject: [PATCH 108/380] slab: Fix __do_drain to use the right array cache
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4c3353df7bbf0672e5707b9230cbb4ac3249cdeb
+Subject: [PATCH 108/386] slab: Fix __do_drain to use the right array cache
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0d3e9c3749b70419c5da23e5aee428f5f3bf3161
The array cache in __do_drain() was using the cpu_cache_get() function
which uses smp_processor_id() to get the proper array. On mainline, this
diff --git a/debian/patches/features/all/rt/0109-mm-More-lock-breaks-in-slab.c.patch b/debian/patches/features/all/rt/0109-mm-More-lock-breaks-in-slab.c.patch
index fafaf8b..275944b 100644
--- a/debian/patches/features/all/rt/0109-mm-More-lock-breaks-in-slab.c.patch
+++ b/debian/patches/features/all/rt/0109-mm-More-lock-breaks-in-slab.c.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Fri, 3 Jul 2009 08:44:43 -0500
-Subject: [PATCH 109/380] mm: More lock breaks in slab.c
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fb779be250fc94951acc5984ded69459961a55b2
+Subject: [PATCH 109/386] mm: More lock breaks in slab.c
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=11a8829fa3c8f39d7f806b26798698dd6f5f6c8c
Handle __free_pages outside of the locked regions. This reduces the
lock contention on the percpu slab locks in -rt significantly.
diff --git a/debian/patches/features/all/rt/0110-mm-page_alloc-rt-friendly-per-cpu-pages.patch b/debian/patches/features/all/rt/0110-mm-page_alloc-rt-friendly-per-cpu-pages.patch
index d21771a..8a8dc26 100644
--- a/debian/patches/features/all/rt/0110-mm-page_alloc-rt-friendly-per-cpu-pages.patch
+++ b/debian/patches/features/all/rt/0110-mm-page_alloc-rt-friendly-per-cpu-pages.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:37 -0500
-Subject: [PATCH 110/380] mm: page_alloc: rt-friendly per-cpu pages
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=193eaca01f91cd950ec96013267d4a7fa847ad02
+Subject: [PATCH 110/386] mm: page_alloc: rt-friendly per-cpu pages
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d7d9ee583536e75ccf29ddf614b5f748338fb6a3
rt-friendly per-cpu pages: convert the irqs-off per-cpu locking
method into a preemptible, explicit-per-cpu-locks method.
diff --git a/debian/patches/features/all/rt/0111-mm-page_alloc-reduce-lock-sections-further.patch b/debian/patches/features/all/rt/0111-mm-page_alloc-reduce-lock-sections-further.patch
index 1cfbb71..ad0ecfc 100644
--- a/debian/patches/features/all/rt/0111-mm-page_alloc-reduce-lock-sections-further.patch
+++ b/debian/patches/features/all/rt/0111-mm-page_alloc-reduce-lock-sections-further.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Fri, 3 Jul 2009 08:44:37 -0500
-Subject: [PATCH 111/380] mm: page_alloc reduce lock sections further
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=82ab17df8c9620faf600c22e975f0b6dadefa4ed
+Subject: [PATCH 111/386] mm: page_alloc reduce lock sections further
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3c5b2006e268a4cb64f63c2ba5ff916cef56f091
Split out the pages which are to be freed into a separate list and
call free_pages_bulk() outside of the percpu page allocator locks.
diff --git a/debian/patches/features/all/rt/0112-mm-page-alloc-fix.patch.patch b/debian/patches/features/all/rt/0112-mm-page-alloc-fix.patch.patch
index 7cb97f3..bd05c87 100644
--- a/debian/patches/features/all/rt/0112-mm-page-alloc-fix.patch.patch
+++ b/debian/patches/features/all/rt/0112-mm-page-alloc-fix.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 21 Jul 2011 16:47:49 +0200
-Subject: [PATCH 112/380] mm-page-alloc-fix.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6db6385409bdffd9750bb2989ae8c415ff0ef748
+Subject: [PATCH 112/386] mm-page-alloc-fix.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5df6071653c509e7178bac14fc7aa0c52437fc29
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0113-mm-convert-swap-to-percpu-locked.patch b/debian/patches/features/all/rt/0113-mm-convert-swap-to-percpu-locked.patch
index 6006ed5..8571d6e 100644
--- a/debian/patches/features/all/rt/0113-mm-convert-swap-to-percpu-locked.patch
+++ b/debian/patches/features/all/rt/0113-mm-convert-swap-to-percpu-locked.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:51 -0500
-Subject: [PATCH 113/380] mm: convert swap to percpu locked
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=364dea01e2525815d6e8791d9878beb891c984ac
+Subject: [PATCH 113/386] mm: convert swap to percpu locked
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=42ef1e713d8f5aeee67a62f49d168d9492875850
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
diff --git a/debian/patches/features/all/rt/0114-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch b/debian/patches/features/all/rt/0114-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch
index 54dd975..cf285fa 100644
--- a/debian/patches/features/all/rt/0114-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch
+++ b/debian/patches/features/all/rt/0114-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 22 Jun 2011 20:47:08 +0200
-Subject: [PATCH 114/380] mm-vmstat-fix-the-irq-lock-asymetry.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b3799751a59cc0d4f065a0d77c6ee0d794427f5f
+Subject: [PATCH 114/386] mm-vmstat-fix-the-irq-lock-asymetry.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a097da24a9e6255da76a56010c9e6bc0571754e5
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0115-mm-make-vmstat-rt-aware.patch b/debian/patches/features/all/rt/0115-mm-make-vmstat-rt-aware.patch
index 8ce15c9..9d6e6d8 100644
--- a/debian/patches/features/all/rt/0115-mm-make-vmstat-rt-aware.patch
+++ b/debian/patches/features/all/rt/0115-mm-make-vmstat-rt-aware.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:13 -0500
-Subject: [PATCH 115/380] mm: make vmstat -rt aware
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=006e7f1c7ef721aca5c066622c3b2de639f36be6
+Subject: [PATCH 115/386] mm: make vmstat -rt aware
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1b29cea27f090edc59be30a9795b1086cdda636f
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
diff --git a/debian/patches/features/all/rt/0116-mm-shrink-the-page-frame-to-rt-size.patch b/debian/patches/features/all/rt/0116-mm-shrink-the-page-frame-to-rt-size.patch
index 1c8c568..e81c041 100644
--- a/debian/patches/features/all/rt/0116-mm-shrink-the-page-frame-to-rt-size.patch
+++ b/debian/patches/features/all/rt/0116-mm-shrink-the-page-frame-to-rt-size.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Fri, 3 Jul 2009 08:44:54 -0500
-Subject: [PATCH 116/380] mm: shrink the page frame to !-rt size
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b05bf7cce006f1765300f739ff4b4536bfb014bb
+Subject: [PATCH 116/386] mm: shrink the page frame to !-rt size
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4ea470c4bcf8523b4426da0a637ab8f83879a7a2
He below is a boot-tested hack to shrink the page frame size back to
normal.
diff --git a/debian/patches/features/all/rt/0117-ARM-Initialize-ptl-lock-for-vector-page.patch b/debian/patches/features/all/rt/0117-ARM-Initialize-ptl-lock-for-vector-page.patch
index 511c61b..195e9ab 100644
--- a/debian/patches/features/all/rt/0117-ARM-Initialize-ptl-lock-for-vector-page.patch
+++ b/debian/patches/features/all/rt/0117-ARM-Initialize-ptl-lock-for-vector-page.patch
@@ -1,7 +1,7 @@
From: Frank Rowand <frank.rowand at am.sony.com>
Date: Sat, 1 Oct 2011 18:58:13 -0700
-Subject: [PATCH 117/380] ARM: Initialize ptl->lock for vector page
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9cbe8f1eae3e6ac355d24cc8bef77789b63a55ee
+Subject: [PATCH 117/386] ARM: Initialize ptl->lock for vector page
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=cc31da30639538041597500b531e40f6048a66e1
Without this patch, ARM can not use SPLIT_PTLOCK_CPUS if
PREEMPT_RT_FULL=y because vectors_user_mapping() creates a
diff --git a/debian/patches/features/all/rt/0118-mm-Allow-only-slab-on-RT.patch b/debian/patches/features/all/rt/0118-mm-Allow-only-slab-on-RT.patch
index 7107191..b55c6cd 100644
--- a/debian/patches/features/all/rt/0118-mm-Allow-only-slab-on-RT.patch
+++ b/debian/patches/features/all/rt/0118-mm-Allow-only-slab-on-RT.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:44:03 -0500
-Subject: [PATCH 118/380] mm: Allow only slab on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5c312457ffb103545ee8952c44150180fe170500
+Subject: [PATCH 118/386] mm: Allow only slab on RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=64ecead5307af186e0fdafd796974e4b5e2ba69d
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
diff --git a/debian/patches/features/all/rt/0119-radix-tree-rt-aware.patch.patch b/debian/patches/features/all/rt/0119-radix-tree-rt-aware.patch.patch
index 454b69d..55ff5c3 100644
--- a/debian/patches/features/all/rt/0119-radix-tree-rt-aware.patch.patch
+++ b/debian/patches/features/all/rt/0119-radix-tree-rt-aware.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 21:33:18 +0200
-Subject: [PATCH 119/380] radix-tree-rt-aware.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=17b4d4bacf0903ec4a0f6a6b39fbb79701eb22ed
+Subject: [PATCH 119/386] radix-tree-rt-aware.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2f864f22ff78a4f4296d30db353de6cab0612b82
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0120-panic-disable-random-on-rt.patch b/debian/patches/features/all/rt/0120-panic-disable-random-on-rt.patch
index b5d0723..dbc8085 100644
--- a/debian/patches/features/all/rt/0120-panic-disable-random-on-rt.patch
+++ b/debian/patches/features/all/rt/0120-panic-disable-random-on-rt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 10 Apr 2012 14:34:04 -0400
-Subject: [PATCH 120/380] panic-disable-random-on-rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=21049b76f39742d103e7bd703221553ed03f099c
+Subject: [PATCH 120/386] panic-disable-random-on-rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=873594a3c3fae59eb937515ab734220a3ded1453
---
kernel/panic.c | 2 ++
diff --git a/debian/patches/features/all/rt/0121-ipc-Make-the-ipc-code-rt-aware.patch b/debian/patches/features/all/rt/0121-ipc-Make-the-ipc-code-rt-aware.patch
index 907030d..44743a0 100644
--- a/debian/patches/features/all/rt/0121-ipc-Make-the-ipc-code-rt-aware.patch
+++ b/debian/patches/features/all/rt/0121-ipc-Make-the-ipc-code-rt-aware.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:12 -0500
-Subject: [PATCH 121/380] ipc: Make the ipc code -rt aware
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c7b4a6d3d08e7cfe3ff6fc8949ab8a47be4c2cc9
+Subject: [PATCH 121/386] ipc: Make the ipc code -rt aware
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6cb41c0f4a104b3777260423d323b7c63964120f
RT serializes the code with the (rt)spinlock but keeps preemption
enabled. Some parts of the code need to be atomic nevertheless.
diff --git a/debian/patches/features/all/rt/0122-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch b/debian/patches/features/all/rt/0122-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch
index 8260c4b..84d5981 100644
--- a/debian/patches/features/all/rt/0122-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch
+++ b/debian/patches/features/all/rt/0122-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch
@@ -1,8 +1,8 @@
From: KOBAYASHI Yoshitake <yoshitake.kobayashi at toshiba.co.jp>
Date: Sat, 23 Jul 2011 11:57:36 +0900
-Subject: [PATCH 122/380] ipc/mqueue: Add a critical section to avoid a
+Subject: [PATCH 122/386] ipc/mqueue: Add a critical section to avoid a
deadlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=cb8f16b69e51f8e849103889d0edca9ed044fd0b
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c86b2bbe09dac6d8531a3011d31b66ffb2eaefbf
(Repost for v3.0-rt1 and changed the distination addreses)
I have tested the following patch on v3.0-rt1 with PREEMPT_RT_FULL.
diff --git a/debian/patches/features/all/rt/0123-relay-fix-timer-madness.patch b/debian/patches/features/all/rt/0123-relay-fix-timer-madness.patch
index 1e6a788..f8a8581 100644
--- a/debian/patches/features/all/rt/0123-relay-fix-timer-madness.patch
+++ b/debian/patches/features/all/rt/0123-relay-fix-timer-madness.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:44:07 -0500
-Subject: [PATCH 123/380] relay: fix timer madness
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=cd73b0cf3d5285d060fa8eae66cb406b60eded6b
+Subject: [PATCH 123/386] relay: fix timer madness
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=40bcc2050fdb486eee67931715f706f6dc12be4b
remove timer calls (!!!) from deep within the tracing infrastructure.
This was totally bogus code that can cause lockups and worse. Poll
diff --git a/debian/patches/features/all/rt/0124-net-ipv4-route-use-locks-on-up-rt.patch.patch b/debian/patches/features/all/rt/0124-net-ipv4-route-use-locks-on-up-rt.patch.patch
index 2975bce..df12ac5 100644
--- a/debian/patches/features/all/rt/0124-net-ipv4-route-use-locks-on-up-rt.patch.patch
+++ b/debian/patches/features/all/rt/0124-net-ipv4-route-use-locks-on-up-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 15 Jul 2011 16:24:45 +0200
-Subject: [PATCH 124/380] net-ipv4-route-use-locks-on-up-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f189fb2afdc4e74caf5151b9c568cafd3394f4f6
+Subject: [PATCH 124/386] net-ipv4-route-use-locks-on-up-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4e89e86106ae50267cd9b017154efb49477a0338
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0125-workqueue-avoid-the-lock-in-cpu-dying.patch.patch b/debian/patches/features/all/rt/0125-workqueue-avoid-the-lock-in-cpu-dying.patch.patch
index 42cdf2d..6b9ab11 100644
--- a/debian/patches/features/all/rt/0125-workqueue-avoid-the-lock-in-cpu-dying.patch.patch
+++ b/debian/patches/features/all/rt/0125-workqueue-avoid-the-lock-in-cpu-dying.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 24 Jun 2011 20:39:24 +0200
-Subject: [PATCH 125/380] workqueue-avoid-the-lock-in-cpu-dying.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6e88b103dbb36a27944b84f284d0391158f39b66
+Subject: [PATCH 125/386] workqueue-avoid-the-lock-in-cpu-dying.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=acad071a4bc03b2d241a2f77842ca50915797ad7
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0126-timers-prepare-for-full-preemption.patch b/debian/patches/features/all/rt/0126-timers-prepare-for-full-preemption.patch
index 671a3b5..995d882 100644
--- a/debian/patches/features/all/rt/0126-timers-prepare-for-full-preemption.patch
+++ b/debian/patches/features/all/rt/0126-timers-prepare-for-full-preemption.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:34 -0500
-Subject: [PATCH 126/380] timers: prepare for full preemption
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4ea6aca6b15f353e29b0393e065a4ea979803d8b
+Subject: [PATCH 126/386] timers: prepare for full preemption
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=95ff13b2e8e6e440cb12d57c54a9a08ddd252e2d
When softirqs can be preempted we need to make sure that cancelling
the timer from the active thread can not deadlock vs. a running timer
diff --git a/debian/patches/features/all/rt/0127-timers-preempt-rt-support.patch b/debian/patches/features/all/rt/0127-timers-preempt-rt-support.patch
index e3614ea..f99a4ce 100644
--- a/debian/patches/features/all/rt/0127-timers-preempt-rt-support.patch
+++ b/debian/patches/features/all/rt/0127-timers-preempt-rt-support.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:20 -0500
-Subject: [PATCH 127/380] timers: preempt-rt support
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d592f2a0e8d94cba040d1bd362b890cf672d4635
+Subject: [PATCH 127/386] timers: preempt-rt support
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=688fc4a4925ce154cb1cc697679af580b05a416f
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
diff --git a/debian/patches/features/all/rt/0128-timers-fix-timer-hotplug-on-rt.patch b/debian/patches/features/all/rt/0128-timers-fix-timer-hotplug-on-rt.patch
index 8cfb26d..a8568fc 100644
--- a/debian/patches/features/all/rt/0128-timers-fix-timer-hotplug-on-rt.patch
+++ b/debian/patches/features/all/rt/0128-timers-fix-timer-hotplug-on-rt.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:32 -0500
-Subject: [PATCH 128/380] timers: fix timer hotplug on -rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=38dda39f7e5c1465687388ad4135c1411f1bed58
+Subject: [PATCH 128/386] timers: fix timer hotplug on -rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6bb4b95bd4f742161fb945a77ae077452541dff2
Here we are in the CPU_DEAD notifier, and we must not sleep nor
enable interrupts.
diff --git a/debian/patches/features/all/rt/0129-timers-mov-printk_tick-to-soft-interrupt.patch b/debian/patches/features/all/rt/0129-timers-mov-printk_tick-to-soft-interrupt.patch
index c086414..bd95c1b 100644
--- a/debian/patches/features/all/rt/0129-timers-mov-printk_tick-to-soft-interrupt.patch
+++ b/debian/patches/features/all/rt/0129-timers-mov-printk_tick-to-soft-interrupt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 3 Jul 2009 08:44:30 -0500
-Subject: [PATCH 129/380] timers: mov printk_tick to soft interrupt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c95aebb23b86940db0553aa12eea1fc4781b24f0
+Subject: [PATCH 129/386] timers: mov printk_tick to soft interrupt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a2241c80d740e8115130e8f9cb035696784b7c17
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
diff --git a/debian/patches/features/all/rt/0130-timer-delay-waking-softirqs-from-the-jiffy-tick.patch b/debian/patches/features/all/rt/0130-timer-delay-waking-softirqs-from-the-jiffy-tick.patch
index c8d4b2b..f2ff089 100644
--- a/debian/patches/features/all/rt/0130-timer-delay-waking-softirqs-from-the-jiffy-tick.patch
+++ b/debian/patches/features/all/rt/0130-timer-delay-waking-softirqs-from-the-jiffy-tick.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Fri, 21 Aug 2009 11:56:45 +0200
-Subject: [PATCH 130/380] timer: delay waking softirqs from the jiffy tick
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=dc4ffc261f7a25d0e27779582e054efb34a52a05
+Subject: [PATCH 130/386] timer: delay waking softirqs from the jiffy tick
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=73351026fd5a2ad588204a8c2ea6e73b78edaf7f
People were complaining about broken balancing with the recent -rt
series.
diff --git a/debian/patches/features/all/rt/0131-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch b/debian/patches/features/all/rt/0131-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch
index 6a5224c..e456588 100644
--- a/debian/patches/features/all/rt/0131-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch
+++ b/debian/patches/features/all/rt/0131-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 21 Jul 2011 15:23:39 +0200
-Subject: [PATCH 131/380] timers: Avoid the switch timers base set to NULL
+Subject: [PATCH 131/386] timers: Avoid the switch timers base set to NULL
trick on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=127c24e8e85cfe63cf61369c3c0efa05d617a0c1
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f129b7d3dd2d76259a0192721a2a4aa16744efa1
On RT that code is preemptible, so we cannot assign NULL to timers
base as a preempter would spin forever in lock_timer_base().
diff --git a/debian/patches/features/all/rt/0132-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch b/debian/patches/features/all/rt/0132-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch
index 0e88045..a4f25c8 100644
--- a/debian/patches/features/all/rt/0132-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch
+++ b/debian/patches/features/all/rt/0132-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch
@@ -1,8 +1,8 @@
From: Yong Zhang <yong.zhang0 at gmail.com>
Date: Sun, 16 Oct 2011 18:56:45 +0800
-Subject: [PATCH 132/380] printk: Don't call printk_tick in printk_needs_cpu()
+Subject: [PATCH 132/386] printk: Don't call printk_tick in printk_needs_cpu()
on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=afcb6925ca007880aef0e89717713dfd2bb86892
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ced58cd81acbc0b2648b37cfae92a7027e829391
printk_tick() can't be called in atomic context when RT is enabled,
otherwise below warning will show:
diff --git a/debian/patches/features/all/rt/0133-hrtimers-prepare-full-preemption.patch b/debian/patches/features/all/rt/0133-hrtimers-prepare-full-preemption.patch
index 7e2922f..9efb4a1 100644
--- a/debian/patches/features/all/rt/0133-hrtimers-prepare-full-preemption.patch
+++ b/debian/patches/features/all/rt/0133-hrtimers-prepare-full-preemption.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:29:34 -0500
-Subject: [PATCH 133/380] hrtimers: prepare full preemption
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2ed6c0f78ae6c5bef9b1dbb259964c50d638976a
+Subject: [PATCH 133/386] hrtimers: prepare full preemption
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c0cb01cae56e19196c2604bae114f18cef22db04
Make cancellation of a running callback in softirq context safe
against preemption.
diff --git a/debian/patches/features/all/rt/0134-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch b/debian/patches/features/all/rt/0134-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch
index 343dcfc..cbe0b85 100644
--- a/debian/patches/features/all/rt/0134-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch
+++ b/debian/patches/features/all/rt/0134-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 3 Jul 2009 08:44:31 -0500
-Subject: [PATCH 134/380] hrtimer: fixup hrtimer callback changes for
+Subject: [PATCH 134/386] hrtimer: fixup hrtimer callback changes for
preempt-rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=dc8990fddef846033d9088b925f915cfd9613fb0
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=88e8cf8ce73395aa08b068097964c18753c7dcc8
In preempt-rt we can not call the callbacks which take sleeping locks
from the timer interrupt context.
@@ -12,7 +12,7 @@ delivery problem for real.
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
-[bwh: Adjust context to apply after hrtimer change in 3.2.78]
+[bwh: Adjust context to apply after Debian's ABI fix to struct hrtimer]
---
include/linux/hrtimer.h | 3 +
kernel/hrtimer.c | 197 +++++++++++++++++++++++++++++++++++++++++------
@@ -130,7 +130,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
if (wakeup) {
/*
* We need to drop cpu_base->lock to avoid a
-@@ -1231,6 +1264,7 @@ static void __hrtimer_init(struct hrtime
+@@ -1236,6 +1269,7 @@ static void __hrtimer_init(struct hrtime
base = hrtimer_clockid_to_base(clock_id);
timer->base = &cpu_base->clock_base[base];
@@ -138,7 +138,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
timerqueue_init(&timer->node);
#ifdef CONFIG_TIMER_STATS
-@@ -1326,10 +1360,118 @@ static void __run_hrtimer(struct hrtimer
+@@ -1331,10 +1365,118 @@ static void __run_hrtimer(struct hrtimer
timer->state &= ~HRTIMER_STATE_CALLBACK;
}
@@ -259,7 +259,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
/*
* High resolution timer interrupt
* Called with interrupts disabled
-@@ -1338,7 +1480,7 @@ void hrtimer_interrupt(struct clock_even
+@@ -1343,7 +1485,7 @@ void hrtimer_interrupt(struct clock_even
{
struct hrtimer_cpu_base *cpu_base = &__get_cpu_var(hrtimer_bases);
ktime_t expires_next, now, entry_time, delta;
@@ -268,7 +268,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
BUG_ON(!cpu_base->hres_active);
cpu_base->nr_events++;
-@@ -1406,7 +1548,10 @@ retry:
+@@ -1411,7 +1553,10 @@ retry:
break;
}
@@ -280,7 +280,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
}
}
-@@ -1421,6 +1566,10 @@ retry:
+@@ -1426,6 +1571,10 @@ retry:
if (expires_next.tv64 == KTIME_MAX ||
!tick_program_event(expires_next, 0)) {
cpu_base->hang_detected = 0;
@@ -291,7 +291,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
return;
}
-@@ -1501,6 +1650,12 @@ void hrtimer_peek_ahead_timers(void)
+@@ -1506,6 +1655,12 @@ void hrtimer_peek_ahead_timers(void)
local_irq_restore(flags);
}
@@ -304,7 +304,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
static void run_hrtimer_softirq(struct softirq_action *h)
{
struct hrtimer_cpu_base *cpu_base = &__get_cpu_var(hrtimer_bases);
-@@ -1510,15 +1665,9 @@ static void run_hrtimer_softirq(struct s
+@@ -1515,15 +1670,9 @@ static void run_hrtimer_softirq(struct s
clock_was_set();
}
@@ -321,7 +321,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
/*
* Called from timer softirq every jiffy, expire hrtimers:
*
-@@ -1551,7 +1700,7 @@ void hrtimer_run_queues(void)
+@@ -1556,7 +1705,7 @@ void hrtimer_run_queues(void)
struct timerqueue_node *node;
struct hrtimer_cpu_base *cpu_base = &__get_cpu_var(hrtimer_bases);
struct hrtimer_clock_base *base;
@@ -330,7 +330,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
if (hrtimer_hres_active())
return;
-@@ -1576,12 +1725,16 @@ void hrtimer_run_queues(void)
+@@ -1581,12 +1730,16 @@ void hrtimer_run_queues(void)
hrtimer_get_expires_tv64(timer))
break;
@@ -349,7 +349,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
}
/*
-@@ -1603,6 +1756,7 @@ static enum hrtimer_restart hrtimer_wake
+@@ -1608,6 +1761,7 @@ static enum hrtimer_restart hrtimer_wake
void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, struct task_struct *task)
{
sl->timer.function = hrtimer_wakeup;
@@ -357,7 +357,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
sl->task = task;
}
EXPORT_SYMBOL_GPL(hrtimer_init_sleeper);
-@@ -1739,6 +1893,7 @@ static void __cpuinit init_hrtimers_cpu(
+@@ -1744,6 +1898,7 @@ static void __cpuinit init_hrtimers_cpu(
for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++) {
cpu_base->clock_base[i].cpu_base = cpu_base;
timerqueue_init_head(&cpu_base->clock_base[i].active);
@@ -365,7 +365,7 @@ Signed-off-by: Ingo Molnar <mingo at elte.hu>
}
hrtimer_init_hres(cpu_base);
-@@ -1857,9 +2012,7 @@ void __init hrtimers_init(void)
+@@ -1862,9 +2017,7 @@ void __init hrtimers_init(void)
hrtimer_cpu_notify(&hrtimers_nb, (unsigned long)CPU_UP_PREPARE,
(void *)(long)smp_processor_id());
register_cpu_notifier(&hrtimers_nb);
diff --git a/debian/patches/features/all/rt/0135-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch b/debian/patches/features/all/rt/0135-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch
index b245b6f..d7377a2 100644
--- a/debian/patches/features/all/rt/0135-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch
+++ b/debian/patches/features/all/rt/0135-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch
@@ -1,8 +1,8 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Fri, 12 Aug 2011 17:39:54 +0200
-Subject: [PATCH 135/380] hrtimer: Don't call the timer handler from
+Subject: [PATCH 135/386] hrtimer: Don't call the timer handler from
hrtimer_start
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3df39c981220732b425f86ccd63c9519c586dc1c
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2321771ea35d21744934bd06c031633c9070fc8a
[<ffffffff812de4a9>] __delay+0xf/0x11
[<ffffffff812e36e9>] do_raw_spin_lock+0xd2/0x13c
@@ -33,10 +33,10 @@ Signed-off-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
1 file changed, 22 insertions(+), 24 deletions(-)
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
-index 9261107f5171..a536f6422be6 100644
+index da61f5fd2bb8..174a1da6fdc3 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
-@@ -1051,30 +1051,19 @@ int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
+@@ -1058,30 +1058,19 @@ int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
*
* XXX send_remote_softirq() ?
*/
@@ -78,7 +78,7 @@ index 9261107f5171..a536f6422be6 100644
/*
* We need to drop cpu_base->lock to avoid a
* lock ordering issue vs. rq->lock.
-@@ -1083,9 +1072,18 @@ again:
+@@ -1090,9 +1079,18 @@ again:
raise_softirq_irqoff(HRTIMER_SOFTIRQ);
local_irq_restore(flags);
return ret;
diff --git a/debian/patches/features/all/rt/0136-hrtimer-fix-reprogram-madness.patch.patch b/debian/patches/features/all/rt/0136-hrtimer-fix-reprogram-madness.patch.patch
index c3b47d3..bfb781c 100644
--- a/debian/patches/features/all/rt/0136-hrtimer-fix-reprogram-madness.patch.patch
+++ b/debian/patches/features/all/rt/0136-hrtimer-fix-reprogram-madness.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 14 Sep 2011 14:48:43 +0200
-Subject: [PATCH 136/380] hrtimer-fix-reprogram-madness.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=cf84cdb8d80d1b09f5a066319767392224609a8e
+Subject: [PATCH 136/386] hrtimer-fix-reprogram-madness.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f542415f112af3525edf4828cd8943d9b19b4d73
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -9,10 +9,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
-index a536f6422be6..04f1acd5b61a 100644
+index 174a1da6fdc3..542d86e8c0d7 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
-@@ -1358,7 +1358,11 @@ static void hrtimer_rt_reprogram(int restart, struct hrtimer *timer,
+@@ -1380,7 +1380,11 @@ static void hrtimer_rt_reprogram(int restart, struct hrtimer *timer,
if (!enqueue_hrtimer(timer, base))
return;
@@ -25,7 +25,7 @@ index a536f6422be6..04f1acd5b61a 100644
goto requeue;
} else if (hrtimer_active(timer)) {
-@@ -1367,6 +1371,7 @@ static void hrtimer_rt_reprogram(int restart, struct hrtimer *timer,
+@@ -1389,6 +1393,7 @@ static void hrtimer_rt_reprogram(int restart, struct hrtimer *timer,
* the event device.
*/
if (&timer->node == base->active.next &&
@@ -33,7 +33,7 @@ index a536f6422be6..04f1acd5b61a 100644
hrtimer_reprogram(timer, base))
goto requeue;
}
-@@ -1379,6 +1384,7 @@ requeue:
+@@ -1401,6 +1406,7 @@ requeue:
*/
__remove_hrtimer(timer, base, timer->state, 0);
list_add_tail(&timer->cb_entry, &base->expired);
diff --git a/debian/patches/features/all/rt/0137-timer-fd-Prevent-live-lock.patch b/debian/patches/features/all/rt/0137-timer-fd-Prevent-live-lock.patch
index 462a4c8..3d0bf29 100644
--- a/debian/patches/features/all/rt/0137-timer-fd-Prevent-live-lock.patch
+++ b/debian/patches/features/all/rt/0137-timer-fd-Prevent-live-lock.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 25 Jan 2012 11:08:40 +0100
-Subject: [PATCH 137/380] timer-fd: Prevent live lock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d9d5e65bb6010b3a4a49cc7df034111300b0d74c
+Subject: [PATCH 137/386] timer-fd: Prevent live lock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0ab82fb2a4d56172d79f34711155c9ec7685ba5e
If hrtimer_try_to_cancel() requires a retry, then depending on the
priority setting te retry loop might prevent timer callback completion
@@ -16,7 +16,7 @@ Cc: stable-rt at vger.kernel.org
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/timerfd.c b/fs/timerfd.c
-index dffeb3795af1..57f0e4e86f0a 100644
+index 113208c3a874..513929a6efe1 100644
--- a/fs/timerfd.c
+++ b/fs/timerfd.c
@@ -313,7 +313,7 @@ SYSCALL_DEFINE4(timerfd_settime, int, ufd, int, flags,
diff --git a/debian/patches/features/all/rt/0138-posix-timers-thread-posix-cpu-timers-on-rt.patch b/debian/patches/features/all/rt/0138-posix-timers-thread-posix-cpu-timers-on-rt.patch
index 6dc6d42..fcebf5d 100644
--- a/debian/patches/features/all/rt/0138-posix-timers-thread-posix-cpu-timers-on-rt.patch
+++ b/debian/patches/features/all/rt/0138-posix-timers-thread-posix-cpu-timers-on-rt.patch
@@ -1,7 +1,7 @@
From: John Stultz <johnstul at us.ibm.com>
Date: Fri, 3 Jul 2009 08:29:58 -0500
-Subject: [PATCH 138/380] posix-timers: thread posix-cpu-timers on -rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1805562116cb694e9cdb42390edad89189aa5574
+Subject: [PATCH 138/386] posix-timers: thread posix-cpu-timers on -rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d3b1d174b123574e3b3bda26f320f5db2d687b71
posix-cpu-timer code takes non -rt safe locks in hard irq
context. Move it to a thread.
@@ -44,10 +44,10 @@ index cdde2b379c8d..3202e80e5796 100644
[PIDTYPE_PID] = INIT_PID_LINK(PIDTYPE_PID), \
[PIDTYPE_PGID] = INIT_PID_LINK(PIDTYPE_PGID), \
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 6044cecea4ba..caba177eae22 100644
+index dd33f4421159..727b94195a2b 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1364,6 +1364,9 @@ struct task_struct {
+@@ -1366,6 +1366,9 @@ struct task_struct {
struct task_cputime cputime_expires;
struct list_head cpu_timers[3];
diff --git a/debian/patches/features/all/rt/0139-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch b/debian/patches/features/all/rt/0139-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch
index 98640fa..6263346 100644
--- a/debian/patches/features/all/rt/0139-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch
+++ b/debian/patches/features/all/rt/0139-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch
@@ -1,8 +1,8 @@
From: Arnaldo Carvalho de Melo <acme at redhat.com>
Date: Fri, 3 Jul 2009 08:30:00 -0500
-Subject: [PATCH 139/380] posix-timers: Shorten posix_cpu_timers/<CPU> kernel
+Subject: [PATCH 139/386] posix-timers: Shorten posix_cpu_timers/<CPU> kernel
thread names
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5ed61d6f6ca64375a388cab36b94c29c401d10bc
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=93453fa509eefe4d05be2d41b8c0180728ae2fa4
Shorten the softirq kernel thread names because they always overflow the
limited comm length, appearing as "posix_cpu_timer" CPU# times.
diff --git a/debian/patches/features/all/rt/0140-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch b/debian/patches/features/all/rt/0140-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch
index 8c94cf1..029152e 100644
--- a/debian/patches/features/all/rt/0140-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch
+++ b/debian/patches/features/all/rt/0140-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 3 Jul 2009 08:44:44 -0500
-Subject: [PATCH 140/380] posix-timers: Avoid wakeups when no timers are active
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=81a6ccfa1b7820dfb87bc16adcf11c9d86e81f56
+Subject: [PATCH 140/386] posix-timers: Avoid wakeups when no timers are active
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=465520493e7bf14f866367a0411076a3d94ab86d
Waking the thread even when no timers are scheduled is useless.
diff --git a/debian/patches/features/all/rt/0141-sched-delay-put-task.patch.patch b/debian/patches/features/all/rt/0141-sched-delay-put-task.patch.patch
index 9fc4a57..0bd3e1f 100644
--- a/debian/patches/features/all/rt/0141-sched-delay-put-task.patch.patch
+++ b/debian/patches/features/all/rt/0141-sched-delay-put-task.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 31 May 2011 16:59:16 +0200
-Subject: [PATCH 141/380] sched-delay-put-task.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=92d4e936170305838b263fe6b4e6e3f54f3b001b
+Subject: [PATCH 141/386] sched-delay-put-task.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e25030a5dd3805ef387a116a317fa57e1416f57a
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -11,7 +11,7 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1602,6 +1602,9 @@ struct task_struct {
+@@ -1607,6 +1607,9 @@ struct task_struct {
#ifndef __GENKSYMS__
unsigned long rt_watchdog_stamp;
#endif
@@ -21,7 +21,7 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
};
/* Future-safe accessor for struct task_struct's cpus_allowed. */
-@@ -1802,6 +1805,15 @@ extern struct pid *cad_pid;
+@@ -1809,6 +1812,15 @@ extern struct pid *cad_pid;
extern void free_task(struct task_struct *tsk);
#define get_task_struct(tsk) do { atomic_inc(&(tsk)->usage); } while(0)
@@ -37,7 +37,7 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
extern void __put_task_struct(struct task_struct *t);
static inline void put_task_struct(struct task_struct *t)
-@@ -1809,6 +1821,7 @@ static inline void put_task_struct(struct task_struct *t)
+@@ -1816,6 +1828,7 @@ static inline void put_task_struct(struc
if (atomic_dec_and_test(&t->usage))
__put_task_struct(t);
}
@@ -45,11 +45,9 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
extern void task_times(struct task_struct *p, cputime_t *ut, cputime_t *st);
extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *st);
-diff --git a/kernel/fork.c b/kernel/fork.c
-index 84115e74de17..8b739b021c35 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
-@@ -198,7 +198,18 @@ void __put_task_struct(struct task_struct *tsk)
+@@ -198,7 +198,18 @@ void __put_task_struct(struct task_struc
if (!profile_handoff_task(tsk))
free_task(tsk);
}
diff --git a/debian/patches/features/all/rt/0142-sched-limit-nr-migrate.patch.patch b/debian/patches/features/all/rt/0142-sched-limit-nr-migrate.patch.patch
index 63c83da..ecff7f5 100644
--- a/debian/patches/features/all/rt/0142-sched-limit-nr-migrate.patch.patch
+++ b/debian/patches/features/all/rt/0142-sched-limit-nr-migrate.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 6 Jun 2011 12:12:51 +0200
-Subject: [PATCH 142/380] sched-limit-nr-migrate.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=875d97982f3849a6e0e4074afc11732daa4bad30
+Subject: [PATCH 142/386] sched-limit-nr-migrate.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e00df37a0d094f4b3f52358058fc31d96c3f0441
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0143-sched-mmdrop-delayed.patch.patch b/debian/patches/features/all/rt/0143-sched-mmdrop-delayed.patch.patch
index 45b09e9..2586e2f 100644
--- a/debian/patches/features/all/rt/0143-sched-mmdrop-delayed.patch.patch
+++ b/debian/patches/features/all/rt/0143-sched-mmdrop-delayed.patch.patch
@@ -1,13 +1,12 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 6 Jun 2011 12:20:33 +0200
-Subject: [PATCH 143/380] sched-mmdrop-delayed.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=56d6be032eb8fc05810274954bab0b4b80972cfa
+Subject: [PATCH 143/386] sched-mmdrop-delayed.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1a7ef02552e96d39c0a29bc5fcb7155d481c7bf9
Needs thread context (pgd_lock) -> ifdeffed. workqueues wont work with
RT
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
-[bwh: Adjust context to apply after Debian ABI fix]
---
include/linux/mm_types.h | 4 ++++
include/linux/sched.h | 12 ++++++++++++
@@ -25,16 +24,16 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
#include <asm/page.h>
#include <asm/mmu.h>
-@@ -393,6 +394,9 @@ struct mm_struct {
- #ifdef CONFIG_CPUMASK_OFFSTACK
- struct cpumask cpumask_allocation;
+@@ -397,6 +398,9 @@ struct mm_struct {
+ #ifndef __GENKSYMS__
+ unsigned long mmap_legacy_base; /* base of mmap area in bottom-up allocations */
#endif
+#ifdef CONFIG_PREEMPT_RT_BASE
+ struct rcu_head delayed_drop;
+#endif
+ };
- #ifndef __GENKSYMS__
- unsigned long mmap_legacy_base; /* base of mmap area in bottom-up allocations */
+ static inline void mm_init_cpumask(struct mm_struct *mm)
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2310,12 +2310,24 @@ extern struct mm_struct * mm_alloc(void)
diff --git a/debian/patches/features/all/rt/0144-sched-rt-mutex-wakeup.patch.patch b/debian/patches/features/all/rt/0144-sched-rt-mutex-wakeup.patch.patch
index c1d8e6b..bebb81c 100644
--- a/debian/patches/features/all/rt/0144-sched-rt-mutex-wakeup.patch.patch
+++ b/debian/patches/features/all/rt/0144-sched-rt-mutex-wakeup.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 25 Jun 2011 09:21:04 +0200
-Subject: [PATCH 144/380] sched-rt-mutex-wakeup.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e723a858409d4670c2c58274138637a2bee9c96b
+Subject: [PATCH 144/386] sched-rt-mutex-wakeup.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=dd87491b539aeb5416b18a86412e439c177e6e0a
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -10,10 +10,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
2 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 8ad79a98b090..937e7e8c6ec6 100644
+index 3ef79bf56219..d00f0d865787 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1077,6 +1077,7 @@ struct sched_domain;
+@@ -1079,6 +1079,7 @@ struct sched_domain;
#define WF_SYNC 0x01 /* waker goes to sleep after wakup */
#define WF_FORK 0x02 /* child wakeup after fork */
#define WF_MIGRATED 0x04 /* internal use, task got migrated */
@@ -21,7 +21,7 @@ index 8ad79a98b090..937e7e8c6ec6 100644
#define ENQUEUE_WAKEUP 1
#define ENQUEUE_HEAD 2
-@@ -1227,6 +1228,7 @@ enum perf_event_task_context {
+@@ -1229,6 +1230,7 @@ enum perf_event_task_context {
struct task_struct {
volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */
@@ -29,7 +29,7 @@ index 8ad79a98b090..937e7e8c6ec6 100644
void *stack;
atomic_t usage;
unsigned int flags; /* per process flags, defined below */
-@@ -2213,6 +2215,7 @@ extern void xtime_update(unsigned long ticks);
+@@ -2215,6 +2217,7 @@ extern void xtime_update(unsigned long ticks);
extern int wake_up_state(struct task_struct *tsk, unsigned int state);
extern int wake_up_process(struct task_struct *tsk);
diff --git a/debian/patches/features/all/rt/0145-sched-prevent-idle-boost.patch.patch b/debian/patches/features/all/rt/0145-sched-prevent-idle-boost.patch.patch
index f2651fc..b74b339 100644
--- a/debian/patches/features/all/rt/0145-sched-prevent-idle-boost.patch.patch
+++ b/debian/patches/features/all/rt/0145-sched-prevent-idle-boost.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 6 Jun 2011 20:07:38 +0200
-Subject: [PATCH 145/380] sched-prevent-idle-boost.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9845b2cbc40c161a772719419cc7301f1156c2ae
+Subject: [PATCH 145/386] sched-prevent-idle-boost.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=30af4e1feb79ba356ac5a4f5599cbc55205b3aa2
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0146-sched-might-sleep-do-not-account-rcu-depth.patch.patch b/debian/patches/features/all/rt/0146-sched-might-sleep-do-not-account-rcu-depth.patch.patch
index eab3844..00330af 100644
--- a/debian/patches/features/all/rt/0146-sched-might-sleep-do-not-account-rcu-depth.patch.patch
+++ b/debian/patches/features/all/rt/0146-sched-might-sleep-do-not-account-rcu-depth.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 7 Jun 2011 09:19:06 +0200
-Subject: [PATCH 146/380] sched-might-sleep-do-not-account-rcu-depth.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d58513be196ec0ca426f4453e5d0f46f6fb47b67
+Subject: [PATCH 146/386] sched-might-sleep-do-not-account-rcu-depth.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a413f1da8d95ceef48adb3c8fe51d474de4a218c
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0147-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch b/debian/patches/features/all/rt/0147-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch
index 3dd6541..5dddb6b 100644
--- a/debian/patches/features/all/rt/0147-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch
+++ b/debian/patches/features/all/rt/0147-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch
@@ -1,8 +1,8 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Tue, 16 Mar 2010 14:31:44 -0700
-Subject: [PATCH 147/380] sched: Break out from load_balancing on rq_lock
+Subject: [PATCH 147/386] sched: Break out from load_balancing on rq_lock
contention
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b664fb931305b488dccd49e76b5912d8d1a429c4
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f7414ee1a77e35ff3ac857f3558be66045865418
Also limit NEW_IDLE pull
@@ -13,10 +13,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
1 file changed, 18 insertions(+)
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
-index 4c6dae17cd1e..ffbc0792468a 100644
+index 98e103988aad..1c18fe84eabc 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
-@@ -2901,6 +2901,10 @@ balance_tasks(struct rq *this_rq, int this_cpu, struct rq *busiest,
+@@ -2910,6 +2910,10 @@ balance_tasks(struct rq *this_rq, int this_cpu, struct rq *busiest,
*/
if (idle == CPU_NEWLY_IDLE)
break;
@@ -27,7 +27,7 @@ index 4c6dae17cd1e..ffbc0792468a 100644
#endif
/*
-@@ -3041,6 +3045,20 @@ load_balance_fair(struct rq *this_rq, int this_cpu, struct rq *busiest,
+@@ -3050,6 +3054,20 @@ load_balance_fair(struct rq *this_rq, int this_cpu, struct rq *busiest,
rem_load_move -= moved_load;
if (rem_load_move < 0)
break;
diff --git a/debian/patches/features/all/rt/0148-sched-cond-resched.patch.patch b/debian/patches/features/all/rt/0148-sched-cond-resched.patch.patch
index 4f93f83..b9a4df5 100644
--- a/debian/patches/features/all/rt/0148-sched-cond-resched.patch.patch
+++ b/debian/patches/features/all/rt/0148-sched-cond-resched.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 7 Jun 2011 11:25:03 +0200
-Subject: [PATCH 148/380] sched-cond-resched.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5ab7fe14afd0a3eb6b69882c76dc51df1a6839f5
+Subject: [PATCH 148/386] sched-cond-resched.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=141295309b0efe166ea57d1b799a4fdd421ec6c1
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0149-cond-resched-softirq-fix.patch.patch b/debian/patches/features/all/rt/0149-cond-resched-softirq-fix.patch.patch
index 1320fd0..f16bd7f 100644
--- a/debian/patches/features/all/rt/0149-cond-resched-softirq-fix.patch.patch
+++ b/debian/patches/features/all/rt/0149-cond-resched-softirq-fix.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 14 Jul 2011 09:56:44 +0200
-Subject: [PATCH 149/380] cond-resched-softirq-fix.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=067ac491f919429c3ba83a2582b185055a6dcc55
+Subject: [PATCH 149/386] cond-resched-softirq-fix.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=af8b4177d2f5e812abfbad3301a88a73324fbb71
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -10,10 +10,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
2 files changed, 6 insertions(+)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 937e7e8c6ec6..d2137636737d 100644
+index d00f0d865787..f973ee827dbd 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -2637,12 +2637,16 @@ extern int __cond_resched_lock(spinlock_t *lock);
+@@ -2639,12 +2639,16 @@ extern int __cond_resched_lock(spinlock_t *lock);
__cond_resched_lock(lock); \
})
diff --git a/debian/patches/features/all/rt/0150-sched-no-work-when-pi-blocked.patch.patch b/debian/patches/features/all/rt/0150-sched-no-work-when-pi-blocked.patch.patch
index 48627a0..bd53ee0 100644
--- a/debian/patches/features/all/rt/0150-sched-no-work-when-pi-blocked.patch.patch
+++ b/debian/patches/features/all/rt/0150-sched-no-work-when-pi-blocked.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 20:46:52 +0200
-Subject: [PATCH 150/380] sched-no-work-when-pi-blocked.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f702406211293fa6160f45e75780d14e1efebfc2
+Subject: [PATCH 150/386] sched-no-work-when-pi-blocked.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fb1c763092bfcb1fa2a847735453021c1034958e
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -10,10 +10,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index d2137636737d..1f8aea57b5c5 100644
+index f973ee827dbd..1610a6b26272 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -2130,12 +2130,20 @@ extern unsigned int sysctl_sched_cfs_bandwidth_slice;
+@@ -2132,12 +2132,20 @@ extern unsigned int sysctl_sched_cfs_bandwidth_slice;
extern int rt_mutex_getprio(struct task_struct *p);
extern void rt_mutex_setprio(struct task_struct *p, int prio);
extern void rt_mutex_adjust_pi(struct task_struct *p);
diff --git a/debian/patches/features/all/rt/0151-cond-resched-lock-rt-tweak.patch.patch b/debian/patches/features/all/rt/0151-cond-resched-lock-rt-tweak.patch.patch
index 990d5bc..148e73a 100644
--- a/debian/patches/features/all/rt/0151-cond-resched-lock-rt-tweak.patch.patch
+++ b/debian/patches/features/all/rt/0151-cond-resched-lock-rt-tweak.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 22:51:33 +0200
-Subject: [PATCH 151/380] cond-resched-lock-rt-tweak.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=17d05817b5c6889221746661b4c5a4f93f0bf502
+Subject: [PATCH 151/386] cond-resched-lock-rt-tweak.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=462630cf29eb98542c52e2e330f6d9a37912633c
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -9,10 +9,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 1f8aea57b5c5..db19d77dc60a 100644
+index 1610a6b26272..b8e9b8a27bed 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -2634,7 +2634,7 @@ extern int _cond_resched(void);
+@@ -2636,7 +2636,7 @@ extern int _cond_resched(void);
extern int __cond_resched_lock(spinlock_t *lock);
diff --git a/debian/patches/features/all/rt/0152-sched-disable-ttwu-queue.patch.patch b/debian/patches/features/all/rt/0152-sched-disable-ttwu-queue.patch.patch
index 767b8aa..53d5a3e 100644
--- a/debian/patches/features/all/rt/0152-sched-disable-ttwu-queue.patch.patch
+++ b/debian/patches/features/all/rt/0152-sched-disable-ttwu-queue.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 13 Sep 2011 16:42:35 +0200
-Subject: [PATCH 152/380] sched-disable-ttwu-queue.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=110d749d43ed5b59292747dc20a6663041d2e55b
+Subject: [PATCH 152/386] sched-disable-ttwu-queue.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=42f101148cfee811d801e8a9057b7e7b63c4d053
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0153-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch b/debian/patches/features/all/rt/0153-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch
index 7283551..de14986 100644
--- a/debian/patches/features/all/rt/0153-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch
+++ b/debian/patches/features/all/rt/0153-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 18 Jul 2011 17:03:52 +0200
-Subject: [PATCH 153/380] sched: Disable CONFIG_RT_GROUP_SCHED on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4d74527f90e6fb6b44046ce67f7e11cc0b9dae82
+Subject: [PATCH 153/386] sched: Disable CONFIG_RT_GROUP_SCHED on RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2d1b7f2d359592f573797183be5a1425c134fc2e
Carsten reported problems when running:
diff --git a/debian/patches/features/all/rt/0154-sched-ttwu-Return-success-when-only-changing-the-sav.patch b/debian/patches/features/all/rt/0154-sched-ttwu-Return-success-when-only-changing-the-sav.patch
index 64d1dcd..d4320bd 100644
--- a/debian/patches/features/all/rt/0154-sched-ttwu-Return-success-when-only-changing-the-sav.patch
+++ b/debian/patches/features/all/rt/0154-sched-ttwu-Return-success-when-only-changing-the-sav.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 13 Dec 2011 21:42:19 +0100
-Subject: [PATCH 154/380] sched: ttwu: Return success when only changing the
+Subject: [PATCH 154/386] sched: ttwu: Return success when only changing the
saved_state value
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=287386a13a008049313c46d2bf6c37dc3bf08441
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c39b0eae2ffe121a4c00a28329439b912ac350b9
When a task blocks on a rt lock, it saves the current state in
p->saved_state, so a lock related wake up will not destroy the
diff --git a/debian/patches/features/all/rt/0155-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch b/debian/patches/features/all/rt/0155-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch
index 880304b..4a53b0b 100644
--- a/debian/patches/features/all/rt/0155-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch
+++ b/debian/patches/features/all/rt/0155-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch
@@ -1,8 +1,8 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:27 -0500
-Subject: [PATCH 155/380] stop_machine: convert stop_machine_run() to
+Subject: [PATCH 155/386] stop_machine: convert stop_machine_run() to
PREEMPT_RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7952d692f8417e29f07e050781cfc0529511bbf9
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=757244b1c04085d15aa81c2872fb7fca8f100449
Instead of playing with non-preemption, introduce explicit
startup serialization. This is more robust and cleaner as
diff --git a/debian/patches/features/all/rt/0156-stomp-machine-mark-stomper-thread.patch.patch b/debian/patches/features/all/rt/0156-stomp-machine-mark-stomper-thread.patch.patch
index fe518bd..d67667d 100644
--- a/debian/patches/features/all/rt/0156-stomp-machine-mark-stomper-thread.patch.patch
+++ b/debian/patches/features/all/rt/0156-stomp-machine-mark-stomper-thread.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 19:53:19 +0200
-Subject: [PATCH 156/380] stomp-machine-mark-stomper-thread.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ad2bc5a255f6f140da0af3434198c6a87874ffe0
+Subject: [PATCH 156/386] stomp-machine-mark-stomper-thread.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4939fa5273de080925e9845dfa92f60faec0f2fb
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -10,10 +10,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
2 files changed, 2 insertions(+)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index db19d77dc60a..f099ea5d3da0 100644
+index b8e9b8a27bed..31da7a833b6f 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1849,6 +1849,7 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *
+@@ -1851,6 +1851,7 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *
#define PF_FROZEN 0x00010000 /* frozen for system suspend */
#define PF_FSTRANS 0x00020000 /* inside a filesystem transaction */
#define PF_KSWAPD 0x00040000 /* I am kswapd */
diff --git a/debian/patches/features/all/rt/0157-stomp-machine-raw-lock.patch.patch b/debian/patches/features/all/rt/0157-stomp-machine-raw-lock.patch.patch
index b0e26f3..b2af3d5 100644
--- a/debian/patches/features/all/rt/0157-stomp-machine-raw-lock.patch.patch
+++ b/debian/patches/features/all/rt/0157-stomp-machine-raw-lock.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 29 Jun 2011 11:01:51 +0200
-Subject: [PATCH 157/380] stomp-machine-raw-lock.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4e5af5ef7a8e38b11c0039bd18de3b11c649a071
+Subject: [PATCH 157/386] stomp-machine-raw-lock.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c4622b2122f57cbf40346afadc930dca4623c51a
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0158-hotplug-Lightweight-get-online-cpus.patch b/debian/patches/features/all/rt/0158-hotplug-Lightweight-get-online-cpus.patch
index 57c2bb9..089f8eb 100644
--- a/debian/patches/features/all/rt/0158-hotplug-Lightweight-get-online-cpus.patch
+++ b/debian/patches/features/all/rt/0158-hotplug-Lightweight-get-online-cpus.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 15 Jun 2011 12:36:06 +0200
-Subject: [PATCH 158/380] hotplug: Lightweight get online cpus
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=192a19a3c0c400dbb7b87e26877f7bd13a9f1e72
+Subject: [PATCH 158/386] hotplug: Lightweight get online cpus
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5f43f77944cfa1c393473bbeb9ad3c83dcce3a3e
get_online_cpus() is a heavy weight function which involves a global
mutex. migrate_disable() wants a simpler construct which prevents only
diff --git a/debian/patches/features/all/rt/0159-hotplug-sync_unplug-No.patch b/debian/patches/features/all/rt/0159-hotplug-sync_unplug-No.patch
index 9a9463c..e949fc3 100644
--- a/debian/patches/features/all/rt/0159-hotplug-sync_unplug-No.patch
+++ b/debian/patches/features/all/rt/0159-hotplug-sync_unplug-No.patch
@@ -1,7 +1,7 @@
From: Yong Zhang <yong.zhang0 at gmail.com>
Date: Sun, 16 Oct 2011 18:56:43 +0800
-Subject: [PATCH 159/380] hotplug: sync_unplug: No " " in task name
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=59d991dd8983216eafe1265beff1f8762f21b957
+Subject: [PATCH 159/386] hotplug: sync_unplug: No " " in task name
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2b1ab5674e07f05252577c7d0e63174b99923a44
Otherwise the output will look a little odd.
diff --git a/debian/patches/features/all/rt/0160-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch b/debian/patches/features/all/rt/0160-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch
index 3569e3d..412c306 100644
--- a/debian/patches/features/all/rt/0160-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch
+++ b/debian/patches/features/all/rt/0160-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch
@@ -1,8 +1,8 @@
From: Yong Zhang <yong.zhang0 at gmail.com>
Date: Thu, 28 Jul 2011 11:16:00 +0800
-Subject: [PATCH 160/380] hotplug: Reread hotplug_pcp on pin_current_cpu()
+Subject: [PATCH 160/386] hotplug: Reread hotplug_pcp on pin_current_cpu()
retry
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6db78721aa5fc7a26994aaf22e50eafec0fac169
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=444aa7280c8b63902e6979440be2fc4f1d151658
When retry happens, it's likely that the task has been migrated to
another cpu (except unplug failed), but it still derefernces the
diff --git a/debian/patches/features/all/rt/0161-sched-migrate-disable.patch.patch b/debian/patches/features/all/rt/0161-sched-migrate-disable.patch.patch
index 6ffc7d7..cc438c6 100644
--- a/debian/patches/features/all/rt/0161-sched-migrate-disable.patch.patch
+++ b/debian/patches/features/all/rt/0161-sched-migrate-disable.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 16 Jun 2011 13:26:08 +0200
-Subject: [PATCH 161/380] sched-migrate-disable.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fae1a96c1eb3e688e524eef07ca0673c2b87dbb7
+Subject: [PATCH 161/386] sched-migrate-disable.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e977c9136531f8ceecd8ad2e6521629e07026768
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -32,10 +32,10 @@ index d58f1585fef8..8547d22a2cad 100644
# define preempt_disable_rt() preempt_disable()
# define preempt_enable_rt() preempt_enable()
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index f099ea5d3da0..e5974645d9a3 100644
+index 31da7a833b6f..2e8a0626b0ea 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1268,6 +1268,7 @@ struct task_struct {
+@@ -1270,6 +1270,7 @@ struct task_struct {
#endif
unsigned int policy;
@@ -43,7 +43,7 @@ index f099ea5d3da0..e5974645d9a3 100644
cpumask_t cpus_allowed;
#ifdef CONFIG_PREEMPT_RCU
-@@ -1607,9 +1608,6 @@ struct task_struct {
+@@ -1609,9 +1610,6 @@ struct task_struct {
#endif
};
@@ -53,7 +53,7 @@ index f099ea5d3da0..e5974645d9a3 100644
#ifdef CONFIG_PREEMPT_RT_FULL
static inline bool cur_pf_disabled(void) { return current->pagefault_disabled; }
#else
-@@ -2727,6 +2725,15 @@ static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)
+@@ -2729,6 +2727,15 @@ static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)
#endif /* CONFIG_SMP */
diff --git a/debian/patches/features/all/rt/0162-hotplug-use-migrate-disable.patch.patch b/debian/patches/features/all/rt/0162-hotplug-use-migrate-disable.patch.patch
index d30419e..925755d 100644
--- a/debian/patches/features/all/rt/0162-hotplug-use-migrate-disable.patch.patch
+++ b/debian/patches/features/all/rt/0162-hotplug-use-migrate-disable.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 19:35:29 +0200
-Subject: [PATCH 162/380] hotplug-use-migrate-disable.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f1ed2427aaa2117255893b562d183a3a76fb1d7f
+Subject: [PATCH 162/386] hotplug-use-migrate-disable.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f7c0f002617e307921153892f12e12791c8c17fc
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0163-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch b/debian/patches/features/all/rt/0163-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch
index ba96d5e..c6a7767 100644
--- a/debian/patches/features/all/rt/0163-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch
+++ b/debian/patches/features/all/rt/0163-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch
@@ -1,7 +1,7 @@
From: Yong Zhang <yong.zhang0 at gmail.com>
Date: Sun, 16 Oct 2011 18:56:44 +0800
-Subject: [PATCH 163/380] hotplug: Call cpu_unplug_begin() before DOWN_PREPARE
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7a7e4fb4ef5b5b4e79023e26bd7dfd750bcada85
+Subject: [PATCH 163/386] hotplug: Call cpu_unplug_begin() before DOWN_PREPARE
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=12464f09875e9c393c031647de0d784615fd60cc
cpu_unplug_begin() should be called before CPU_DOWN_PREPARE, because
at CPU_DOWN_PREPARE cpu_active is cleared and sched_domain is
diff --git a/debian/patches/features/all/rt/0164-ftrace-migrate-disable-tracing.patch.patch b/debian/patches/features/all/rt/0164-ftrace-migrate-disable-tracing.patch.patch
index 31c86f2..0688cda 100644
--- a/debian/patches/features/all/rt/0164-ftrace-migrate-disable-tracing.patch.patch
+++ b/debian/patches/features/all/rt/0164-ftrace-migrate-disable-tracing.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 21:56:42 +0200
-Subject: [PATCH 164/380] ftrace-migrate-disable-tracing.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ecb5b1629d8558998d2de1fb6debbcda11eba5f5
+Subject: [PATCH 164/386] ftrace-migrate-disable-tracing.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c3f3f5442c144b225d654239f3f373f5de4e46ed
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0165-tracing-Show-padding-as-unsigned-short.patch b/debian/patches/features/all/rt/0165-tracing-Show-padding-as-unsigned-short.patch
index 74f9d0c..9a936c4 100644
--- a/debian/patches/features/all/rt/0165-tracing-Show-padding-as-unsigned-short.patch
+++ b/debian/patches/features/all/rt/0165-tracing-Show-padding-as-unsigned-short.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Wed, 16 Nov 2011 13:19:35 -0500
-Subject: [PATCH 165/380] tracing: Show padding as unsigned short
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=080016587be1808aa5e68a0c91b452695dc256a5
+Subject: [PATCH 165/386] tracing: Show padding as unsigned short
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=593a7cd5bdece75925ba2f0bd43928ea2dd282f8
RT added two bytes to trace migrate disable counting to the trace events
and used two bytes of the padding to make the change. The structures and
diff --git a/debian/patches/features/all/rt/0166-migrate-disable-rt-variant.patch.patch b/debian/patches/features/all/rt/0166-migrate-disable-rt-variant.patch.patch
index c2835bb..6177abb 100644
--- a/debian/patches/features/all/rt/0166-migrate-disable-rt-variant.patch.patch
+++ b/debian/patches/features/all/rt/0166-migrate-disable-rt-variant.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 19:48:20 +0200
-Subject: [PATCH 166/380] migrate-disable-rt-variant.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=81ac09c058012ed6508d7adaa93e185b9d87dd20
+Subject: [PATCH 166/386] migrate-disable-rt-variant.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=51fa319cf9f8ad1e48fd91b3bf766bc6ca7fc663
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0167-sched-Optimize-migrate_disable.patch b/debian/patches/features/all/rt/0167-sched-Optimize-migrate_disable.patch
index dc628b6..44d6838 100644
--- a/debian/patches/features/all/rt/0167-sched-Optimize-migrate_disable.patch
+++ b/debian/patches/features/all/rt/0167-sched-Optimize-migrate_disable.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Thu, 11 Aug 2011 15:03:35 +0200
-Subject: [PATCH 167/380] sched: Optimize migrate_disable
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6bb2f9ae65be28504a33d4c428a784be1d6f58c4
+Subject: [PATCH 167/386] sched: Optimize migrate_disable
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4434b90c584325729ce79f11c3a9a4c779993427
Change from task_rq_lock() to raw_spin_lock(&rq->lock) to avoid a few
atomic ops. See comment on why it should be safe.
diff --git a/debian/patches/features/all/rt/0168-sched-Generic-migrate_disable.patch b/debian/patches/features/all/rt/0168-sched-Generic-migrate_disable.patch
index 9a67c2e..44e6ecc 100644
--- a/debian/patches/features/all/rt/0168-sched-Generic-migrate_disable.patch
+++ b/debian/patches/features/all/rt/0168-sched-Generic-migrate_disable.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Thu, 11 Aug 2011 15:14:58 +0200
-Subject: [PATCH 168/380] sched: Generic migrate_disable
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fd9d489d25f875c58ce5e9f2c57b1d347aa4e742
+Subject: [PATCH 168/386] sched: Generic migrate_disable
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=049a3566a050a7d1e463dd8ed53041286e99aa00
Make migrate_disable() be a preempt_disable() for !rt kernels. This
allows generic code to use it but still enforces that these code
@@ -65,10 +65,10 @@ index 5db13ef45e51..49bd6c709830 100644
#ifdef CONFIG_PREEMPT_NOTIFIERS
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index e5974645d9a3..5181eff75ef0 100644
+index 2e8a0626b0ea..29daecf9f4bc 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1268,7 +1268,9 @@ struct task_struct {
+@@ -1270,7 +1270,9 @@ struct task_struct {
#endif
unsigned int policy;
@@ -78,7 +78,7 @@ index e5974645d9a3..5181eff75ef0 100644
cpumask_t cpus_allowed;
#ifdef CONFIG_PREEMPT_RCU
-@@ -2725,11 +2727,22 @@ static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)
+@@ -2727,11 +2729,22 @@ static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)
#endif /* CONFIG_SMP */
diff --git a/debian/patches/features/all/rt/0169-sched-rt-Fix-migrate_enable-thinko.patch b/debian/patches/features/all/rt/0169-sched-rt-Fix-migrate_enable-thinko.patch
index 6153203..4223e48 100644
--- a/debian/patches/features/all/rt/0169-sched-rt-Fix-migrate_enable-thinko.patch
+++ b/debian/patches/features/all/rt/0169-sched-rt-Fix-migrate_enable-thinko.patch
@@ -1,7 +1,7 @@
From: Mike Galbraith <efault at gmx.de>
Date: Tue, 23 Aug 2011 16:12:43 +0200
-Subject: [PATCH 169/380] sched, rt: Fix migrate_enable() thinko
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=69a5f7b088e71db6689cbf38dcb42255ec965b5d
+Subject: [PATCH 169/386] sched, rt: Fix migrate_enable() thinko
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=63405cb7c5cd9956dc2c5272ed6b5e05c27c92b0
Assigning mask = tsk_cpus_allowed(p) after p->migrate_disable = 0 ensures
that we won't see a mask change.. no push/pull, we stack tasks on one CPU.
diff --git a/debian/patches/features/all/rt/0170-sched-teach-migrate_disable-about-atomic-contexts.patch b/debian/patches/features/all/rt/0170-sched-teach-migrate_disable-about-atomic-contexts.patch
index 252ff9c..4055348 100644
--- a/debian/patches/features/all/rt/0170-sched-teach-migrate_disable-about-atomic-contexts.patch
+++ b/debian/patches/features/all/rt/0170-sched-teach-migrate_disable-about-atomic-contexts.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Fri, 2 Sep 2011 14:29:27 +0200
-Subject: [PATCH 170/380] sched: teach migrate_disable about atomic contexts
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=00906e2dfa6a10415d12d5c6ca6d02837cd4ed5b
+Subject: [PATCH 170/386] sched: teach migrate_disable about atomic contexts
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5df75d4782b4c2eba66178802b322bec18725217
<NMI> [<ffffffff812dafd8>] spin_bug+0x94/0xa8
[<ffffffff812db07f>] do_raw_spin_lock+0x43/0xea
@@ -35,10 +35,10 @@ Link: http://lkml.kernel.org/n/tip-wbot4vsmwhi8vmbf83hsclk6@git.kernel.org
2 files changed, 24 insertions(+)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 5181eff75ef0..674530730522 100644
+index 29daecf9f4bc..19b37a2d1733 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1270,6 +1270,9 @@ struct task_struct {
+@@ -1272,6 +1272,9 @@ struct task_struct {
unsigned int policy;
#ifdef CONFIG_PREEMPT_RT_FULL
int migrate_disable;
diff --git a/debian/patches/features/all/rt/0171-sched-Postpone-actual-migration-disalbe-to-schedule.patch b/debian/patches/features/all/rt/0171-sched-Postpone-actual-migration-disalbe-to-schedule.patch
index 25ab6cb..33e7049 100644
--- a/debian/patches/features/all/rt/0171-sched-Postpone-actual-migration-disalbe-to-schedule.patch
+++ b/debian/patches/features/all/rt/0171-sched-Postpone-actual-migration-disalbe-to-schedule.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Tue, 27 Sep 2011 08:40:23 -0400
-Subject: [PATCH 171/380] sched: Postpone actual migration disalbe to schedule
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=aff608c40217448bcd5e8ee5bc17e1acdd811628
+Subject: [PATCH 171/386] sched: Postpone actual migration disalbe to schedule
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3eddc3110a7a2aedaa52020a14bc72f6f1df8295
The migrate_disable() can cause a bit of a overhead to the RT kernel,
as changing the affinity is expensive to do at every lock encountered.
diff --git a/debian/patches/features/all/rt/0172-sched-Do-not-compare-cpu-masks-in-scheduler.patch b/debian/patches/features/all/rt/0172-sched-Do-not-compare-cpu-masks-in-scheduler.patch
index d7b89cd..624262f 100644
--- a/debian/patches/features/all/rt/0172-sched-Do-not-compare-cpu-masks-in-scheduler.patch
+++ b/debian/patches/features/all/rt/0172-sched-Do-not-compare-cpu-masks-in-scheduler.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Tue, 27 Sep 2011 08:40:24 -0400
-Subject: [PATCH 172/380] sched: Do not compare cpu masks in scheduler
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=492fc72c43ce9f8f165821f604d5c7ced75bc684
+Subject: [PATCH 172/386] sched: Do not compare cpu masks in scheduler
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=aaa2652ae3b5ef364ad517c367806e178c5e16c9
Signed-off-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Cc: Peter Zijlstra <peterz at infradead.org>
diff --git a/debian/patches/features/all/rt/0173-sched-Have-migrate_disable-ignore-bounded-threads.patch b/debian/patches/features/all/rt/0173-sched-Have-migrate_disable-ignore-bounded-threads.patch
index 91b1948..fa4fb27 100644
--- a/debian/patches/features/all/rt/0173-sched-Have-migrate_disable-ignore-bounded-threads.patch
+++ b/debian/patches/features/all/rt/0173-sched-Have-migrate_disable-ignore-bounded-threads.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Tue, 27 Sep 2011 08:40:25 -0400
-Subject: [PATCH 173/380] sched: Have migrate_disable ignore bounded threads
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c6250342d9df64af6ca7f016d410a08b8c4c2479
+Subject: [PATCH 173/386] sched: Have migrate_disable ignore bounded threads
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6dbcd3b60b0d349b5273f765d32bb6f69bfa8df3
Signed-off-by: Peter Zijlstra <a.p.zijlstra at chello.nl>
Cc: Peter Zijlstra <peterz at infradead.org>
diff --git a/debian/patches/features/all/rt/0174-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch b/debian/patches/features/all/rt/0174-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch
index 8fb5592..50937fc 100644
--- a/debian/patches/features/all/rt/0174-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch
+++ b/debian/patches/features/all/rt/0174-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 4 Nov 2011 20:48:36 +0100
-Subject: [PATCH 174/380] sched-clear-pf-thread-bound-on-fallback-rq.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1b80ee18c0019b5ec118e8911df342bd3dd88c66
+Subject: [PATCH 174/386] sched-clear-pf-thread-bound-on-fallback-rq.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9c8856866429cdd2cbe3b650dc06bbef2cb5da1c
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0175-ftrace-crap.patch.patch b/debian/patches/features/all/rt/0175-ftrace-crap.patch.patch
index 3d5e088..1a0914e 100644
--- a/debian/patches/features/all/rt/0175-ftrace-crap.patch.patch
+++ b/debian/patches/features/all/rt/0175-ftrace-crap.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 9 Sep 2011 16:55:53 +0200
-Subject: [PATCH 175/380] ftrace-crap.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=097e63f09bda9864ca16e6e17d6b5ba7310001b4
+Subject: [PATCH 175/386] ftrace-crap.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0890082de69532facccffb99a9bc1339fd3381f8
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0176-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch b/debian/patches/features/all/rt/0176-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch
index cef7725..3a163af 100644
--- a/debian/patches/features/all/rt/0176-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch
+++ b/debian/patches/features/all/rt/0176-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Tue, 27 Sep 2011 13:56:50 -0400
-Subject: [PATCH 176/380] ring-buffer: Convert reader_lock from raw_spin_lock
+Subject: [PATCH 176/386] ring-buffer: Convert reader_lock from raw_spin_lock
into spin_lock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c016e6cd4eab6c0d54752a6e7c5f86b5da98456b
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8a08a096e2fb38c8c8a9e0a50d6774b02ce3b338
The reader_lock is mostly taken in normal context with interrupts enabled.
But because ftrace_dump() can happen anywhere, it is used as a spin lock
diff --git a/debian/patches/features/all/rt/0177-net-netif_rx_ni-migrate-disable.patch.patch b/debian/patches/features/all/rt/0177-net-netif_rx_ni-migrate-disable.patch.patch
index 11e20a3..c249f33 100644
--- a/debian/patches/features/all/rt/0177-net-netif_rx_ni-migrate-disable.patch.patch
+++ b/debian/patches/features/all/rt/0177-net-netif_rx_ni-migrate-disable.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 16:29:27 +0200
-Subject: [PATCH 177/380] net-netif_rx_ni-migrate-disable.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0c57260878a250aa093523f9feb80f4bd54f607f
+Subject: [PATCH 177/386] net-netif_rx_ni-migrate-disable.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6c37deb7f390a4ac887f73ee729c114de1587b73
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0178-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch b/debian/patches/features/all/rt/0178-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch
index 32ce014..9e926f4 100644
--- a/debian/patches/features/all/rt/0178-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch
+++ b/debian/patches/features/all/rt/0178-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 3 Jul 2009 13:16:38 -0500
-Subject: [PATCH 178/380] softirq: Sanitize softirq pending for NOHZ/RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=319f78339e28939fb093cbbeae3408d90849a3ba
+Subject: [PATCH 178/386] softirq: Sanitize softirq pending for NOHZ/RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2b5ce4c5eaf60dd3f701b38cb9ffc390298ce615
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0179-lockdep-rt.patch.patch b/debian/patches/features/all/rt/0179-lockdep-rt.patch.patch
index abadf88..ab120df 100644
--- a/debian/patches/features/all/rt/0179-lockdep-rt.patch.patch
+++ b/debian/patches/features/all/rt/0179-lockdep-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 18:51:23 +0200
-Subject: [PATCH 179/380] lockdep-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4537fab73cadb3b10baf61880aca8e7c57e3bfac
+Subject: [PATCH 179/386] lockdep-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=75863facc9a9e87bdc5313b4ae0fe54677dbe65e
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0180-mutex-no-spin-on-rt.patch.patch b/debian/patches/features/all/rt/0180-mutex-no-spin-on-rt.patch.patch
index aa9dca9..bf8d133 100644
--- a/debian/patches/features/all/rt/0180-mutex-no-spin-on-rt.patch.patch
+++ b/debian/patches/features/all/rt/0180-mutex-no-spin-on-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 21:51:45 +0200
-Subject: [PATCH 180/380] mutex-no-spin-on-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8ad20898703cafa9f198797e343f0f0e7da22166
+Subject: [PATCH 180/386] mutex-no-spin-on-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bef54aa38af35f24928a84faf4e28b8ec303fba0
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0181-softirq-local-lock.patch.patch b/debian/patches/features/all/rt/0181-softirq-local-lock.patch.patch
index 785da19..32880f3 100644
--- a/debian/patches/features/all/rt/0181-softirq-local-lock.patch.patch
+++ b/debian/patches/features/all/rt/0181-softirq-local-lock.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 28 Jun 2011 15:57:18 +0200
-Subject: [PATCH 181/380] softirq-local-lock.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=28cb48254db61cc73f725fc1597453df9d9b5350
+Subject: [PATCH 181/386] softirq-local-lock.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=59895f12c5bcda7d31c9e01d3e022880b7d075e3
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -87,10 +87,10 @@ index 74e28d96480a..20d8dcc02bd3 100644
* Autoprobing for irqs:
*
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 674530730522..ca78d234639e 100644
+index 19b37a2d1733..251dd728c300 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1610,6 +1610,7 @@ struct task_struct {
+@@ -1612,6 +1612,7 @@ struct task_struct {
#endif
#ifdef CONFIG_PREEMPT_RT_BASE
struct rcu_head put_rcu;
diff --git a/debian/patches/features/all/rt/0182-softirq-Export-in_serving_softirq.patch b/debian/patches/features/all/rt/0182-softirq-Export-in_serving_softirq.patch
index 4cda75e..fe2ecff 100644
--- a/debian/patches/features/all/rt/0182-softirq-Export-in_serving_softirq.patch
+++ b/debian/patches/features/all/rt/0182-softirq-Export-in_serving_softirq.patch
@@ -1,7 +1,7 @@
From: John Kacur <jkacur at redhat.com>
Date: Mon, 14 Nov 2011 02:44:43 +0100
-Subject: [PATCH 182/380] softirq: Export in_serving_softirq()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6c17aa9968151ba135c50467753d1a1c8f82a516
+Subject: [PATCH 182/386] softirq: Export in_serving_softirq()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=489fa6db171265af53dcd83ae708669d34ec1898
ERROR: "in_serving_softirq" [net/sched/cls_cgroup.ko] undefined!
diff --git a/debian/patches/features/all/rt/0183-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch b/debian/patches/features/all/rt/0183-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch
index f1d6c59..9b38a97 100644
--- a/debian/patches/features/all/rt/0183-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch
+++ b/debian/patches/features/all/rt/0183-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch
@@ -1,11 +1,11 @@
From: Yong Zhang <yong.zhang0 at gmail.com>
Date: Thu, 13 Oct 2011 17:19:09 +0800
-Subject: [PATCH 183/380] hardirq.h: Define softirq_count() as OUL to kill
+Subject: [PATCH 183/386] hardirq.h: Define softirq_count() as OUL to kill
build warning
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5e1fd05a9a76e9977bdb4d26a8c34799dfeaa01d
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9c9e155048279972c6a9a1ceef4359a46fcc150c
kernel/lockdep.c: In function ‘print_bad_irq_dependency’:
kernel/lockdep.c:1476:3: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 7 has type ‘unsigned int’
diff --git a/debian/patches/features/all/rt/0184-softirq-Fix-unplug-deadlock.patch b/debian/patches/features/all/rt/0184-softirq-Fix-unplug-deadlock.patch
index 24d25ce..16dc202 100644
--- a/debian/patches/features/all/rt/0184-softirq-Fix-unplug-deadlock.patch
+++ b/debian/patches/features/all/rt/0184-softirq-Fix-unplug-deadlock.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Fri, 30 Sep 2011 15:52:14 +0200
-Subject: [PATCH 184/380] softirq: Fix unplug deadlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2c9a9a7f04a71c9ba28f0d057170f4466c7e4e31
+Subject: [PATCH 184/386] softirq: Fix unplug deadlock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a65b198cc60df736fd28b1d5ed249cdc584e2631
If ksoftirqd gets woken during hot-unplug, __thread_do_softirq() will
call pin_current_cpu() which will block on the held cpu_hotplug.lock.
diff --git a/debian/patches/features/all/rt/0185-softirq-disable-softirq-stacks-for-rt.patch.patch b/debian/patches/features/all/rt/0185-softirq-disable-softirq-stacks-for-rt.patch.patch
index 926981f..8013713 100644
--- a/debian/patches/features/all/rt/0185-softirq-disable-softirq-stacks-for-rt.patch.patch
+++ b/debian/patches/features/all/rt/0185-softirq-disable-softirq-stacks-for-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 18 Jul 2011 13:59:17 +0200
-Subject: [PATCH 185/380] softirq-disable-softirq-stacks-for-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e7162cb2375d9aad9acebd88131d1915111aa959
+Subject: [PATCH 185/386] softirq-disable-softirq-stacks-for-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=95b6ad3198ecc4583c48cc6b706462499481bae2
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0186-softirq-make-fifo.patch.patch b/debian/patches/features/all/rt/0186-softirq-make-fifo.patch.patch
index 4f5739b..e2a61cc 100644
--- a/debian/patches/features/all/rt/0186-softirq-make-fifo.patch.patch
+++ b/debian/patches/features/all/rt/0186-softirq-make-fifo.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 21 Jul 2011 21:06:43 +0200
-Subject: [PATCH 186/380] softirq-make-fifo.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fc1414815e3423607ee97d0dceabd8e0b9c5fd22
+Subject: [PATCH 186/386] softirq-make-fifo.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e90ef387636d757dfe573f22a34287653835a9b5
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0187-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch b/debian/patches/features/all/rt/0187-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch
index a1916e5..cf3f042 100644
--- a/debian/patches/features/all/rt/0187-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch
+++ b/debian/patches/features/all/rt/0187-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch
@@ -1,8 +1,8 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Tue, 29 Nov 2011 20:18:22 -0500
-Subject: [PATCH 187/380] tasklet: Prevent tasklets from going into infinite
+Subject: [PATCH 187/386] tasklet: Prevent tasklets from going into infinite
spin in RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3ff00670edc8136b0a4e01c17060edeb9c0e54f9
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=29d098f9a6c0315500ac5654f40d937554148431
When CONFIG_PREEMPT_RT_FULL is enabled, tasklets run as threads,
and spinlocks turn are mutexes. But this can cause issues with
diff --git a/debian/patches/features/all/rt/0188-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch b/debian/patches/features/all/rt/0188-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch
index b9fb34b..5fa0199 100644
--- a/debian/patches/features/all/rt/0188-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch
+++ b/debian/patches/features/all/rt/0188-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 31 Jan 2012 13:01:27 +0100
-Subject: [PATCH 188/380] genirq: Allow disabling of softirq processing in irq
+Subject: [PATCH 188/386] genirq: Allow disabling of softirq processing in irq
thread context
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5db0d9b464d1606a991022ed122ad2e283f96e41
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=85019438eec3c7e21a061128eee3e065018daf13
The processing of softirqs in irq thread context is a performance gain
for the non-rt workloads of a system, but it's counterproductive for
diff --git a/debian/patches/features/all/rt/0189-local-vars-migrate-disable.patch.patch b/debian/patches/features/all/rt/0189-local-vars-migrate-disable.patch.patch
index dd9ea0c..d3e3960 100644
--- a/debian/patches/features/all/rt/0189-local-vars-migrate-disable.patch.patch
+++ b/debian/patches/features/all/rt/0189-local-vars-migrate-disable.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 28 Jun 2011 20:42:16 +0200
-Subject: [PATCH 189/380] local-vars-migrate-disable.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d4467d49df6b5939e62afe63135295598b9b828e
+Subject: [PATCH 189/386] local-vars-migrate-disable.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=969109c2bb77375b41eb14859c6f8eeed97e679d
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0190-md-raid5-Make-raid5_percpu-handling-RT-aware.patch b/debian/patches/features/all/rt/0190-md-raid5-Make-raid5_percpu-handling-RT-aware.patch
index 1fbb53f..d93ac88 100644
--- a/debian/patches/features/all/rt/0190-md-raid5-Make-raid5_percpu-handling-RT-aware.patch
+++ b/debian/patches/features/all/rt/0190-md-raid5-Make-raid5_percpu-handling-RT-aware.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 6 Apr 2010 16:51:31 +0200
-Subject: [PATCH 190/380] md: raid5: Make raid5_percpu handling RT aware
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=de7ae399320591c7ed66d39f5641c96cbbffbb6f
+Subject: [PATCH 190/386] md: raid5: Make raid5_percpu handling RT aware
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=18b7e3a4b62c98254e40b6482171cf9748c74aca
__raid_run_ops() disables preemption with get_cpu() around the access
to the raid5_percpu variables. That causes scheduling while atomic
diff --git a/debian/patches/features/all/rt/0191-rtmutex-lock-killable.patch.patch b/debian/patches/features/all/rt/0191-rtmutex-lock-killable.patch.patch
index 48e7dc6..675d9fb 100644
--- a/debian/patches/features/all/rt/0191-rtmutex-lock-killable.patch.patch
+++ b/debian/patches/features/all/rt/0191-rtmutex-lock-killable.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 9 Jun 2011 11:43:52 +0200
-Subject: [PATCH 191/380] rtmutex-lock-killable.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=33826bf53b8e5017805d02b04872976898756384
+Subject: [PATCH 191/386] rtmutex-lock-killable.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=462f62d5c79f18b6b6d5bc67ab1a5e68a93c4930
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0192-rtmutex-futex-prepare-rt.patch.patch b/debian/patches/features/all/rt/0192-rtmutex-futex-prepare-rt.patch.patch
index 2aa9f5a..2849440 100644
--- a/debian/patches/features/all/rt/0192-rtmutex-futex-prepare-rt.patch.patch
+++ b/debian/patches/features/all/rt/0192-rtmutex-futex-prepare-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 10 Jun 2011 11:04:15 +0200
-Subject: [PATCH 192/380] rtmutex-futex-prepare-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a3e3e174a40f581801e5792cffeafd712d1c07b9
+Subject: [PATCH 192/386] rtmutex-futex-prepare-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c69832adc329e4bb301d84ee7c020f069f3bc361
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0193-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch b/debian/patches/features/all/rt/0193-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch
index f7540e6..822ae8c 100644
--- a/debian/patches/features/all/rt/0193-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch
+++ b/debian/patches/features/all/rt/0193-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Tue, 10 Apr 2012 14:34:13 -0400
-Subject: [PATCH 193/380] futex: Fix bug on when a requeued RT task times out
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5c6b63c574acecf53c91010115eb0d33659ee025
+Subject: [PATCH 193/386] futex: Fix bug on when a requeued RT task times out
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fe83f95727d518b159f67d46bd0e06ebf8fed98c
Requeue with timeout causes a bug with PREEMPT_RT_FULL.
diff --git a/debian/patches/features/all/rt/0194-rt-mutex-add-sleeping-spinlocks-support.patch.patch b/debian/patches/features/all/rt/0194-rt-mutex-add-sleeping-spinlocks-support.patch.patch
index ff5256d..62bdebb 100644
--- a/debian/patches/features/all/rt/0194-rt-mutex-add-sleeping-spinlocks-support.patch.patch
+++ b/debian/patches/features/all/rt/0194-rt-mutex-add-sleeping-spinlocks-support.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 10 Jun 2011 11:21:25 +0200
-Subject: [PATCH 194/380] rt-mutex-add-sleeping-spinlocks-support.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=92ad57b4ae144524c794e2b21a406245eb9d77c9
+Subject: [PATCH 194/386] rt-mutex-add-sleeping-spinlocks-support.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f8967c70a2e0923e5defb3b8c8e38dde26623abf
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0195-spinlock-types-separate-raw.patch.patch b/debian/patches/features/all/rt/0195-spinlock-types-separate-raw.patch.patch
index f903d16..e2ee6b8 100644
--- a/debian/patches/features/all/rt/0195-spinlock-types-separate-raw.patch.patch
+++ b/debian/patches/features/all/rt/0195-spinlock-types-separate-raw.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 29 Jun 2011 19:34:01 +0200
-Subject: [PATCH 195/380] spinlock-types-separate-raw.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5e66a0d6e2692f1d3bbf6aa3d98433c11ce09e5c
+Subject: [PATCH 195/386] spinlock-types-separate-raw.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=733ee7ff7ef76eaf61b7ff2a3c8b0a181cf1a726
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0196-rtmutex-avoid-include-hell.patch.patch b/debian/patches/features/all/rt/0196-rtmutex-avoid-include-hell.patch.patch
index 7ba1def..a3fe724 100644
--- a/debian/patches/features/all/rt/0196-rtmutex-avoid-include-hell.patch.patch
+++ b/debian/patches/features/all/rt/0196-rtmutex-avoid-include-hell.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 29 Jun 2011 20:06:39 +0200
-Subject: [PATCH 196/380] rtmutex-avoid-include-hell.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c7a2b2b03ab5499d8960f8db1d514434dbe301d9
+Subject: [PATCH 196/386] rtmutex-avoid-include-hell.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=75cbaa509c8d7eb5d0ded58bccb8269fb29dde15
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0197-rt-add-rt-spinlocks.patch.patch b/debian/patches/features/all/rt/0197-rt-add-rt-spinlocks.patch.patch
index a87ca5e..f7dca13 100644
--- a/debian/patches/features/all/rt/0197-rt-add-rt-spinlocks.patch.patch
+++ b/debian/patches/features/all/rt/0197-rt-add-rt-spinlocks.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 29 Jun 2011 19:43:35 +0200
-Subject: [PATCH 197/380] rt-add-rt-spinlocks.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=adb587bb570873e549702e3b1acd7e60e3f39a08
+Subject: [PATCH 197/386] rt-add-rt-spinlocks.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c766ee50031f280612083ad54da97dce897c5c13
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0198-rt-add-rt-to-mutex-headers.patch.patch b/debian/patches/features/all/rt/0198-rt-add-rt-to-mutex-headers.patch.patch
index 1039a5f..101fbaf 100644
--- a/debian/patches/features/all/rt/0198-rt-add-rt-to-mutex-headers.patch.patch
+++ b/debian/patches/features/all/rt/0198-rt-add-rt-to-mutex-headers.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 29 Jun 2011 20:56:22 +0200
-Subject: [PATCH 198/380] rt-add-rt-to-mutex-headers.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b649b9e2644edb2676788ba9478271b46d35c92b
+Subject: [PATCH 198/386] rt-add-rt-to-mutex-headers.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8c879da0f54861c029666c3d9179170867af6f4c
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0199-rwsem-add-rt-variant.patch.patch b/debian/patches/features/all/rt/0199-rwsem-add-rt-variant.patch.patch
index 42d78ee..b0bd000 100644
--- a/debian/patches/features/all/rt/0199-rwsem-add-rt-variant.patch.patch
+++ b/debian/patches/features/all/rt/0199-rwsem-add-rt-variant.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 29 Jun 2011 21:02:53 +0200
-Subject: [PATCH 199/380] rwsem-add-rt-variant.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7d9c22e8995dcdd3a4a109c6dcbf2db96cf09c61
+Subject: [PATCH 199/386] rwsem-add-rt-variant.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=dffc197d736c7601c9ae749974e8b6ca3f0fb924
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0200-rt-Add-the-preempt-rt-lock-replacement-APIs.patch b/debian/patches/features/all/rt/0200-rt-Add-the-preempt-rt-lock-replacement-APIs.patch
index 7daf3e4..65e6640 100644
--- a/debian/patches/features/all/rt/0200-rt-Add-the-preempt-rt-lock-replacement-APIs.patch
+++ b/debian/patches/features/all/rt/0200-rt-Add-the-preempt-rt-lock-replacement-APIs.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 26 Jul 2009 19:39:56 +0200
-Subject: [PATCH 200/380] rt: Add the preempt-rt lock replacement APIs
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6c5872ff70a9780ba9db21d3bde6855ca86f8e5c
+Subject: [PATCH 200/386] rt: Add the preempt-rt lock replacement APIs
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0a1d01b46cc4e3b634d9ea84bc5153a853d6f99c
Map spinlocks, rwlocks, rw_semaphores and semaphores to the rt_mutex
based locking functions for preempt-rt.
diff --git a/debian/patches/features/all/rt/0201-rwlocks-Fix-section-mismatch.patch b/debian/patches/features/all/rt/0201-rwlocks-Fix-section-mismatch.patch
index 187bb5d..eda3822 100644
--- a/debian/patches/features/all/rt/0201-rwlocks-Fix-section-mismatch.patch
+++ b/debian/patches/features/all/rt/0201-rwlocks-Fix-section-mismatch.patch
@@ -1,10 +1,10 @@
From: John Kacur <jkacur at redhat.com>
Date: Mon, 19 Sep 2011 11:09:27 +0200
-Subject: [PATCH 201/380] rwlocks: Fix section mismatch
+Subject: [PATCH 201/386] rwlocks: Fix section mismatch
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b57ae2dcd2362b1111a8eacbfdad507d58153349
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=00b9d5b34c84457a3e8ee86eb142a7e390af88e1
This fixes the following build error for the preempt-rt kernel.
diff --git a/debian/patches/features/all/rt/0202-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch b/debian/patches/features/all/rt/0202-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch
index 953c62a..ea7382f 100644
--- a/debian/patches/features/all/rt/0202-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch
+++ b/debian/patches/features/all/rt/0202-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 22:08:38 +0200
-Subject: [PATCH 202/380] timer-handle-idle-trylock-in-get-next-timer-irq.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5ea1151639e04f35e8665b61fe59cb9cc11e315b
+Subject: [PATCH 202/386] timer-handle-idle-trylock-in-get-next-timer-irq.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fe09241eecf7846709407de4f88d778096130256
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0203-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch b/debian/patches/features/all/rt/0203-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch
index b6a5482..df380da 100644
--- a/debian/patches/features/all/rt/0203-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch
+++ b/debian/patches/features/all/rt/0203-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:30 -0500
-Subject: [PATCH 203/380] RCU: Force PREEMPT_RCU for PREEMPT-RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=526390bb1c247591f262eaf80119a334d250f9e9
+Subject: [PATCH 203/386] RCU: Force PREEMPT_RCU for PREEMPT-RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3b95f32a218b608732ef296087019f47fb1dec81
PREEMPT_RT relies on PREEMPT_RCU - only allow RCU to be configured
interactively in the !PREEMPT_RT case.
diff --git a/debian/patches/features/all/rt/0204-rcu-Frob-softirq-test.patch b/debian/patches/features/all/rt/0204-rcu-Frob-softirq-test.patch
index 5a68a75..39e0048 100644
--- a/debian/patches/features/all/rt/0204-rcu-Frob-softirq-test.patch
+++ b/debian/patches/features/all/rt/0204-rcu-Frob-softirq-test.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Sat, 13 Aug 2011 00:23:17 +0200
-Subject: [PATCH 204/380] rcu: Frob softirq test
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5a37101808c24be8fafc1ae8247fbed00d79c0ee
+Subject: [PATCH 204/386] rcu: Frob softirq test
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a213bfad43a6686e4a91e3c8504cefd846be5b04
With RT_FULL we get the below wreckage:
diff --git a/debian/patches/features/all/rt/0205-rcu-Merge-RCU-bh-into-RCU-preempt.patch b/debian/patches/features/all/rt/0205-rcu-Merge-RCU-bh-into-RCU-preempt.patch
index 34e1e1d..6d50040 100644
--- a/debian/patches/features/all/rt/0205-rcu-Merge-RCU-bh-into-RCU-preempt.patch
+++ b/debian/patches/features/all/rt/0205-rcu-Merge-RCU-bh-into-RCU-preempt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 5 Oct 2011 11:59:38 -0700
-Subject: [PATCH 205/380] rcu: Merge RCU-bh into RCU-preempt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=69b6c701a3116fe7d985fd9aef6c161ef1cdb9a3
+Subject: [PATCH 205/386] rcu: Merge RCU-bh into RCU-preempt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b9573cedbfc551f1164b0c026b9a31e64310c0a4
The Linux kernel has long RCU-bh read-side critical sections that
intolerably increase scheduling latency under mainline's RCU-bh rules,
diff --git a/debian/patches/features/all/rt/0206-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch b/debian/patches/features/all/rt/0206-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch
index 14a6255..e43ca23 100644
--- a/debian/patches/features/all/rt/0206-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch
+++ b/debian/patches/features/all/rt/0206-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch
@@ -1,11 +1,11 @@
From: John Kacur <jkacur at redhat.com>
Date: Mon, 14 Nov 2011 02:44:42 +0100
-Subject: [PATCH 206/380] rcu: Fix macro substitution for synchronize_rcu_bh()
+Subject: [PATCH 206/386] rcu: Fix macro substitution for synchronize_rcu_bh()
on RT
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9846166957d5b41eda2c455dafdb4d55cb204a25
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=257df2834aec8474039223149e6e752baf9b32f1
kernel/rcutorture.c:492: error: ‘synchronize_rcu_bh’ undeclared here (not in a function)
diff --git a/debian/patches/features/all/rt/0207-rcu-more-fallout.patch.patch b/debian/patches/features/all/rt/0207-rcu-more-fallout.patch.patch
index e8c362c..3b36c29 100644
--- a/debian/patches/features/all/rt/0207-rcu-more-fallout.patch.patch
+++ b/debian/patches/features/all/rt/0207-rcu-more-fallout.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 14 Nov 2011 10:57:54 +0100
-Subject: [PATCH 207/380] rcu-more-fallout.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6276569d7608e6cb1daa1e17dfa480427c14e1e4
+Subject: [PATCH 207/386] rcu-more-fallout.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c0f6ab91321fd9a4f8033f4185f720ff51c0e840
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0208-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch b/debian/patches/features/all/rt/0208-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch
index 402fbaf..0a9f002 100644
--- a/debian/patches/features/all/rt/0208-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch
+++ b/debian/patches/features/all/rt/0208-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch
@@ -1,7 +1,7 @@
From: "Paul E. McKenney" <paulmck at linux.vnet.ibm.com>
Date: Wed, 5 Oct 2011 11:45:18 -0700
-Subject: [PATCH 208/380] rcu: Make ksoftirqd do RCU quiescent states
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=eed31114e1d7d4eca336a75a9642bd3ba061aa2b
+Subject: [PATCH 208/386] rcu: Make ksoftirqd do RCU quiescent states
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5f83731a6fea14b08d0022cb58c91abf36c087e0
Implementing RCU-bh in terms of RCU-preempt makes the system vulnerable
to network-based denial-of-service attacks. This patch therefore
diff --git a/debian/patches/features/all/rt/0209-rt-rcutree-Move-misplaced-prototype.patch b/debian/patches/features/all/rt/0209-rt-rcutree-Move-misplaced-prototype.patch
index 7f420bb..6a07845 100644
--- a/debian/patches/features/all/rt/0209-rt-rcutree-Move-misplaced-prototype.patch
+++ b/debian/patches/features/all/rt/0209-rt-rcutree-Move-misplaced-prototype.patch
@@ -1,10 +1,10 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Wed, 14 Dec 2011 12:51:28 +0100
-Subject: [PATCH 209/380] rt/rcutree: Move misplaced prototype
+Subject: [PATCH 209/386] rt/rcutree: Move misplaced prototype
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=17739b60bb564675582581b75d49e27a3705dc5f
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ce02882add2cae2da0329b9b8f13bc9357bdd031
Fix this warning on x86 defconfig:
diff --git a/debian/patches/features/all/rt/0210-lglocks-rt.patch.patch b/debian/patches/features/all/rt/0210-lglocks-rt.patch.patch
index 132677d..541ec01 100644
--- a/debian/patches/features/all/rt/0210-lglocks-rt.patch.patch
+++ b/debian/patches/features/all/rt/0210-lglocks-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 15 Jun 2011 11:02:21 +0200
-Subject: [PATCH 210/380] lglocks-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7fb595779e20630d6c042d8f72790df877800712
+Subject: [PATCH 210/386] lglocks-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=aaf6c3f7f0cefd45d920905708b52a633de1e296
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0211-serial-8250-Clean-up-the-locking-for-rt.patch b/debian/patches/features/all/rt/0211-serial-8250-Clean-up-the-locking-for-rt.patch
index f5a7fa4..d94c51f 100644
--- a/debian/patches/features/all/rt/0211-serial-8250-Clean-up-the-locking-for-rt.patch
+++ b/debian/patches/features/all/rt/0211-serial-8250-Clean-up-the-locking-for-rt.patch
@@ -1,7 +1,7 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:01 -0500
-Subject: [PATCH 211/380] serial: 8250: Clean up the locking for -rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3c2e59af3d4bb898bf61cb6e6197d044f7bf60c8
+Subject: [PATCH 211/386] serial: 8250: Clean up the locking for -rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9c4cb91cea31109f60182b8fce3b8c7e32338365
Signed-off-by: Ingo Molnar <mingo at elte.hu>
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
diff --git a/debian/patches/features/all/rt/0212-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch b/debian/patches/features/all/rt/0212-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch
index 9925eeb..3cbf899 100644
--- a/debian/patches/features/all/rt/0212-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch
+++ b/debian/patches/features/all/rt/0212-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch
@@ -1,8 +1,8 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Fri, 3 Jul 2009 08:30:01 -0500
-Subject: [PATCH 212/380] serial: 8250: Call flush_to_ldisc when the irq is
+Subject: [PATCH 212/386] serial: 8250: Call flush_to_ldisc when the irq is
threaded
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f1e7dfa8fe26618996ebe937e469a4596a8a3729
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=89d5ebf4f4259a434d4644d756fb10e1caef6df1
Signed-off-by: Ingo Molnar <mingo at elte.hu>
---
diff --git a/debian/patches/features/all/rt/0213-drivers-tty-fix-omap-lock-crap.patch.patch b/debian/patches/features/all/rt/0213-drivers-tty-fix-omap-lock-crap.patch.patch
index d71bd57..ce66c4e 100644
--- a/debian/patches/features/all/rt/0213-drivers-tty-fix-omap-lock-crap.patch.patch
+++ b/debian/patches/features/all/rt/0213-drivers-tty-fix-omap-lock-crap.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 28 Jul 2011 13:32:57 +0200
-Subject: [PATCH 213/380] drivers-tty-fix-omap-lock-crap.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d88ee11efc0f0fd20f6a7fd1c3d3002ecb8bcfa9
+Subject: [PATCH 213/386] drivers-tty-fix-omap-lock-crap.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=00fd66150c3d5afb6d68dd93a1272f594876e328
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0214-rt-Improve-the-serial-console-PASS_LIMIT.patch b/debian/patches/features/all/rt/0214-rt-Improve-the-serial-console-PASS_LIMIT.patch
index aae90a8..bbea178 100644
--- a/debian/patches/features/all/rt/0214-rt-Improve-the-serial-console-PASS_LIMIT.patch
+++ b/debian/patches/features/all/rt/0214-rt-Improve-the-serial-console-PASS_LIMIT.patch
@@ -1,10 +1,10 @@
From: Ingo Molnar <mingo at elte.hu>
Date: Wed, 14 Dec 2011 13:05:54 +0100
-Subject: [PATCH 214/380] rt: Improve the serial console PASS_LIMIT
+Subject: [PATCH 214/386] rt: Improve the serial console PASS_LIMIT
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=62aee08a49668e6183ee1d68e19626c627935a7a
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fbf88d90a7d85b8c9722f85aa8a79dc67854cb54
Beyond the warning:
diff --git a/debian/patches/features/all/rt/0215-fs-namespace-preemption-fix.patch b/debian/patches/features/all/rt/0215-fs-namespace-preemption-fix.patch
index e105a23..31b0be0 100644
--- a/debian/patches/features/all/rt/0215-fs-namespace-preemption-fix.patch
+++ b/debian/patches/features/all/rt/0215-fs-namespace-preemption-fix.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 19 Jul 2009 08:44:27 -0500
-Subject: [PATCH 215/380] fs: namespace preemption fix
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=847bc19a9ead98ac43d90c71e3a8ebee8e714068
+Subject: [PATCH 215/386] fs: namespace preemption fix
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f1f94318942745e2fb4f03529d6d23f53fb8b854
On RT we cannot loop with preemption disabled here as
mnt_make_readonly() might have been preempted. We can safely enable
diff --git a/debian/patches/features/all/rt/0216-mm-protect-activate-switch-mm.patch.patch b/debian/patches/features/all/rt/0216-mm-protect-activate-switch-mm.patch.patch
index 852325d..e26421d 100644
--- a/debian/patches/features/all/rt/0216-mm-protect-activate-switch-mm.patch.patch
+++ b/debian/patches/features/all/rt/0216-mm-protect-activate-switch-mm.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 4 Jul 2011 09:48:40 +0200
-Subject: [PATCH 216/380] mm-protect-activate-switch-mm.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2d6b04a4b5c6a0a8c339614f5652b4131fa479fb
+Subject: [PATCH 216/386] mm-protect-activate-switch-mm.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6cf036a536c5e00dc47b3b455a8d0bdee21a4295
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0217-fs-block-rt-support.patch.patch b/debian/patches/features/all/rt/0217-fs-block-rt-support.patch.patch
index 2882ee2..44dcadf 100644
--- a/debian/patches/features/all/rt/0217-fs-block-rt-support.patch.patch
+++ b/debian/patches/features/all/rt/0217-fs-block-rt-support.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 14 Jun 2011 17:05:09 +0200
-Subject: [PATCH 217/380] fs-block-rt-support.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bd79d035663bc781270d21d124af157e12937fc2
+Subject: [PATCH 217/386] fs-block-rt-support.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e9b2fc127e90373a6882fe57b210236af5dadfe1
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0218-fs-ntfs-disable-interrupt-only-on-RT.patch b/debian/patches/features/all/rt/0218-fs-ntfs-disable-interrupt-only-on-RT.patch
index a6e0239..e5a6318 100644
--- a/debian/patches/features/all/rt/0218-fs-ntfs-disable-interrupt-only-on-RT.patch
+++ b/debian/patches/features/all/rt/0218-fs-ntfs-disable-interrupt-only-on-RT.patch
@@ -1,7 +1,7 @@
From: Mike Galbraith <efault at gmx.de>
Date: Fri, 3 Jul 2009 08:44:12 -0500
-Subject: [PATCH 218/380] fs: ntfs: disable interrupt only on !RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=53a516f2c12e2468074c0f0761d9710e0694bc7f
+Subject: [PATCH 218/386] fs: ntfs: disable interrupt only on !RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=926441b8741bb8e76ff86e34eb5add27957c94ad
On Sat, 2007-10-27 at 11:44 +0200, Ingo Molnar wrote:
> * Nick Piggin <nickpiggin at yahoo.com.au> wrote:
diff --git a/debian/patches/features/all/rt/0219-x86-Convert-mce-timer-to-hrtimer.patch b/debian/patches/features/all/rt/0219-x86-Convert-mce-timer-to-hrtimer.patch
index 9867ca6..d1996e9 100644
--- a/debian/patches/features/all/rt/0219-x86-Convert-mce-timer-to-hrtimer.patch
+++ b/debian/patches/features/all/rt/0219-x86-Convert-mce-timer-to-hrtimer.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 13 Dec 2010 16:33:39 +0100
-Subject: [PATCH 219/380] x86: Convert mce timer to hrtimer
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=18937f5b70028f7e2e9042aee00c8f783e53d9d1
+Subject: [PATCH 219/386] x86: Convert mce timer to hrtimer
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5ee1f46cd89ae855f945712e1c9bf7f0680a3663
mce_timer is started in atomic contexts of cpu bringup. This results
in might_sleep() warnings on RT. Convert mce_timer to a hrtimer to
diff --git a/debian/patches/features/all/rt/0220-x86-stackprotector-Avoid-random-pool-on-rt.patch b/debian/patches/features/all/rt/0220-x86-stackprotector-Avoid-random-pool-on-rt.patch
index f96b71f..10db233 100644
--- a/debian/patches/features/all/rt/0220-x86-stackprotector-Avoid-random-pool-on-rt.patch
+++ b/debian/patches/features/all/rt/0220-x86-stackprotector-Avoid-random-pool-on-rt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 16 Dec 2010 14:25:18 +0100
-Subject: [PATCH 220/380] x86: stackprotector: Avoid random pool on rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c22385adad3744a26be38a6a79e3a8f1389bbb07
+Subject: [PATCH 220/386] x86: stackprotector: Avoid random pool on rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=aa2f5004c7b661d2dee1aba106b9b7106512c58a
CPU bringup calls into the random pool to initialize the stack
canary. During boot that works nicely even on RT as the might sleep
diff --git a/debian/patches/features/all/rt/0221-x86-Use-generic-rwsem_spinlocks-on-rt.patch b/debian/patches/features/all/rt/0221-x86-Use-generic-rwsem_spinlocks-on-rt.patch
index 90995a7..df425ec 100644
--- a/debian/patches/features/all/rt/0221-x86-Use-generic-rwsem_spinlocks-on-rt.patch
+++ b/debian/patches/features/all/rt/0221-x86-Use-generic-rwsem_spinlocks-on-rt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 26 Jul 2009 02:21:32 +0200
-Subject: [PATCH 221/380] x86: Use generic rwsem_spinlocks on -rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2e7fef42c34b658ca91b71f440089a792f95b0e3
+Subject: [PATCH 221/386] x86: Use generic rwsem_spinlocks on -rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9b755e2e80b35ced9f72b061ab1d97c97853cce9
Simplifies the separation of anon_rw_semaphores and rw_semaphores for
-rt.
diff --git a/debian/patches/features/all/rt/0222-workqueue-use-get-cpu-light.patch.patch b/debian/patches/features/all/rt/0222-workqueue-use-get-cpu-light.patch.patch
index 28bade3..bf2d4d2 100644
--- a/debian/patches/features/all/rt/0222-workqueue-use-get-cpu-light.patch.patch
+++ b/debian/patches/features/all/rt/0222-workqueue-use-get-cpu-light.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 21:42:26 +0200
-Subject: [PATCH 222/380] workqueue-use-get-cpu-light.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f8a1b04d81cdd7114ac738270f841ac890c8d999
+Subject: [PATCH 222/386] workqueue-use-get-cpu-light.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2c07b18e55ae5e810300b02b3d80300761f9ab37
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0223-epoll.patch.patch b/debian/patches/features/all/rt/0223-epoll.patch.patch
index 4e53798..fb2ce54 100644
--- a/debian/patches/features/all/rt/0223-epoll.patch.patch
+++ b/debian/patches/features/all/rt/0223-epoll.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 8 Jul 2011 16:35:35 +0200
-Subject: [PATCH 223/380] epoll.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=cce606bf292ad0747a772e9760ca570da225b9c8
+Subject: [PATCH 223/386] epoll.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ef8c9abe2359eb81b166c45dca097a82f9b2f4ea
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0224-mm-vmalloc.patch.patch b/debian/patches/features/all/rt/0224-mm-vmalloc.patch.patch
index 468f22d..65c9d72 100644
--- a/debian/patches/features/all/rt/0224-mm-vmalloc.patch.patch
+++ b/debian/patches/features/all/rt/0224-mm-vmalloc.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 12 Jul 2011 11:39:36 +0200
-Subject: [PATCH 224/380] mm-vmalloc.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=49c6cf2672014b3a605601f6491350a878469bb1
+Subject: [PATCH 224/386] mm-vmalloc.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0f695c316b3c37b40052e83af0931ad7979eff29
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0225-debugobjects-rt.patch.patch b/debian/patches/features/all/rt/0225-debugobjects-rt.patch.patch
index d0859d5..24b5944 100644
--- a/debian/patches/features/all/rt/0225-debugobjects-rt.patch.patch
+++ b/debian/patches/features/all/rt/0225-debugobjects-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 21:41:35 +0200
-Subject: [PATCH 225/380] debugobjects-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=028970a4f7363dff422a4f162a793746a0c61b38
+Subject: [PATCH 225/386] debugobjects-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fb868fcf1b23c21f99c27319e07eabe6bfad37fe
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0226-jump-label-rt.patch.patch b/debian/patches/features/all/rt/0226-jump-label-rt.patch.patch
index 3cc26d0..1b860e2 100644
--- a/debian/patches/features/all/rt/0226-jump-label-rt.patch.patch
+++ b/debian/patches/features/all/rt/0226-jump-label-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 13 Jul 2011 11:03:16 +0200
-Subject: [PATCH 226/380] jump-label-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bd80f981e99f87c8195bf960e4666224f066b35e
+Subject: [PATCH 226/386] jump-label-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8fa0857bc67f9609616b0de794fb72d4fa8aa1c2
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0227-skbufhead-raw-lock.patch.patch b/debian/patches/features/all/rt/0227-skbufhead-raw-lock.patch.patch
index a01f4c3..ec89e72 100644
--- a/debian/patches/features/all/rt/0227-skbufhead-raw-lock.patch.patch
+++ b/debian/patches/features/all/rt/0227-skbufhead-raw-lock.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 12 Jul 2011 15:38:34 +0200
-Subject: [PATCH 227/380] skbufhead-raw-lock.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=695b8ff037a8fd5c2a43c8334eee057129462339
+Subject: [PATCH 227/386] skbufhead-raw-lock.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=330847392f20b9b64fde44da9f6a4af66d3f08ce
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0228-x86-no-perf-irq-work-rt.patch.patch b/debian/patches/features/all/rt/0228-x86-no-perf-irq-work-rt.patch.patch
index 2564453..fc044a9 100644
--- a/debian/patches/features/all/rt/0228-x86-no-perf-irq-work-rt.patch.patch
+++ b/debian/patches/features/all/rt/0228-x86-no-perf-irq-work-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 13 Jul 2011 14:05:05 +0200
-Subject: [PATCH 228/380] x86-no-perf-irq-work-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3e5f43c9314184c79a374bd423aa86db8dda47b3
+Subject: [PATCH 228/386] x86-no-perf-irq-work-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1b191c47961bf7c7a189cf31f8355da9b3db85fb
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0229-console-make-rt-friendly.patch.patch b/debian/patches/features/all/rt/0229-console-make-rt-friendly.patch.patch
index fd82f05..b3650c1 100644
--- a/debian/patches/features/all/rt/0229-console-make-rt-friendly.patch.patch
+++ b/debian/patches/features/all/rt/0229-console-make-rt-friendly.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 17 Jul 2011 22:43:07 +0200
-Subject: [PATCH 229/380] console-make-rt-friendly.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b9c82d370c7399ed710cb3ecf5805221de9b52cf
+Subject: [PATCH 229/386] console-make-rt-friendly.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=72080a62cfde86a1a85a102e3cc4af8705705ae7
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0230-printk-Disable-migration-instead-of-preemption.patch b/debian/patches/features/all/rt/0230-printk-Disable-migration-instead-of-preemption.patch
index ee93388..3584396 100644
--- a/debian/patches/features/all/rt/0230-printk-Disable-migration-instead-of-preemption.patch
+++ b/debian/patches/features/all/rt/0230-printk-Disable-migration-instead-of-preemption.patch
@@ -1,7 +1,7 @@
From: Richard Weinberger <rw at linutronix.de>
Date: Mon, 12 Dec 2011 14:35:56 +0100
-Subject: [PATCH 230/380] printk: Disable migration instead of preemption
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1633254455bae7e7c120b33ad928eee9e0e34e1d
+Subject: [PATCH 230/386] printk: Disable migration instead of preemption
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5425a41ba02ea76bd46d4e1cf589691f4b156cd4
There is no need do disable preemption in vprintk(), disable_migrate()
is sufficient. This fixes the following bug in -rt:
diff --git a/debian/patches/features/all/rt/0231-power-use-generic-rwsem-on-rt.patch b/debian/patches/features/all/rt/0231-power-use-generic-rwsem-on-rt.patch
index 84b89cf..b435067 100644
--- a/debian/patches/features/all/rt/0231-power-use-generic-rwsem-on-rt.patch
+++ b/debian/patches/features/all/rt/0231-power-use-generic-rwsem-on-rt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 10 Apr 2012 14:34:18 -0400
-Subject: [PATCH 231/380] power-use-generic-rwsem-on-rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ff1603fdf4be0f5d9c5909cd2a5a62f70a6df2de
+Subject: [PATCH 231/386] power-use-generic-rwsem-on-rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0c85a907f05d0c25089c4dd6a0fd3bc32b4ba31d
---
arch/powerpc/Kconfig | 3 ++-
diff --git a/debian/patches/features/all/rt/0232-power-disable-highmem-on-rt.patch.patch b/debian/patches/features/all/rt/0232-power-disable-highmem-on-rt.patch.patch
index 2cfc58c..3c45bb7 100644
--- a/debian/patches/features/all/rt/0232-power-disable-highmem-on-rt.patch.patch
+++ b/debian/patches/features/all/rt/0232-power-disable-highmem-on-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 18 Jul 2011 17:08:34 +0200
-Subject: [PATCH 232/380] power-disable-highmem-on-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e570beb426b60b7d862618a5f3ac0db716123b96
+Subject: [PATCH 232/386] power-disable-highmem-on-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9aee7f3807d3c28d55063f40ad349294f8ec7f7f
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0233-arm-disable-highmem-on-rt.patch.patch b/debian/patches/features/all/rt/0233-arm-disable-highmem-on-rt.patch.patch
index 15672eb..c10627b 100644
--- a/debian/patches/features/all/rt/0233-arm-disable-highmem-on-rt.patch.patch
+++ b/debian/patches/features/all/rt/0233-arm-disable-highmem-on-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 18 Jul 2011 17:09:28 +0200
-Subject: [PATCH 233/380] arm-disable-highmem-on-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=30730e44e7f92b2e0c4ae6de7cffbfd04713afb0
+Subject: [PATCH 233/386] arm-disable-highmem-on-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1d1dd228f8eb368f32c4ebda842fd22df58c1c29
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0234-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch b/debian/patches/features/all/rt/0234-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch
index 44f63cf..f555d90 100644
--- a/debian/patches/features/all/rt/0234-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch
+++ b/debian/patches/features/all/rt/0234-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 1 May 2010 18:29:35 +0200
-Subject: [PATCH 234/380] ARM: at91: tclib: Default to tclib timer for RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8974c9732d1c26f771d9170adb1a093a7f00fc04
+Subject: [PATCH 234/386] ARM: at91: tclib: Default to tclib timer for RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4a47ad5691f0731bff05513706e4a6406aed95c7
RT is not too happy about the shared timer interrupt in AT91
devices. Default to tclib timer for RT.
diff --git a/debian/patches/features/all/rt/0235-mips-disable-highmem-on-rt.patch.patch b/debian/patches/features/all/rt/0235-mips-disable-highmem-on-rt.patch.patch
index b81c32a..e5aef23 100644
--- a/debian/patches/features/all/rt/0235-mips-disable-highmem-on-rt.patch.patch
+++ b/debian/patches/features/all/rt/0235-mips-disable-highmem-on-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 18 Jul 2011 17:10:12 +0200
-Subject: [PATCH 235/380] mips-disable-highmem-on-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=382f096cdb9a3885ae2666bd54d769a1dc8c6c1a
+Subject: [PATCH 235/386] mips-disable-highmem-on-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=994c6223affebbda74f2457dfda2b164ecd28fe1
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0236-net-Avoid-livelock-in-net_tx_action-on-RT.patch b/debian/patches/features/all/rt/0236-net-Avoid-livelock-in-net_tx_action-on-RT.patch
index fb4e7ee..1268bd9 100644
--- a/debian/patches/features/all/rt/0236-net-Avoid-livelock-in-net_tx_action-on-RT.patch
+++ b/debian/patches/features/all/rt/0236-net-Avoid-livelock-in-net_tx_action-on-RT.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <srostedt at redhat.com>
Date: Thu, 6 Oct 2011 10:48:39 -0400
-Subject: [PATCH 236/380] net: Avoid livelock in net_tx_action() on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c63643de31c49072bdb22e1929030062d00d3d23
+Subject: [PATCH 236/386] net: Avoid livelock in net_tx_action() on RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=456803f32e57359230df75b90d1b6dd32e0746d0
qdisc_lock is taken w/o disabling interrupts or bottom halfs. So code
holding a qdisc_lock() can be interrupted and softirqs can run on the
diff --git a/debian/patches/features/all/rt/0237-ping-sysrq.patch.patch b/debian/patches/features/all/rt/0237-ping-sysrq.patch.patch
index 08980ae..08765a8 100644
--- a/debian/patches/features/all/rt/0237-ping-sysrq.patch.patch
+++ b/debian/patches/features/all/rt/0237-ping-sysrq.patch.patch
@@ -1,7 +1,7 @@
From: Carsten Emde <C.Emde at osadl.org>
Date: Tue, 19 Jul 2011 13:51:17 +0100
-Subject: [PATCH 237/380] ping-sysrq.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=449e0b44287b5b9d1d794de7f015bd1a5a151266
+Subject: [PATCH 237/386] ping-sysrq.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8525e90c359d069b3b4ee62753ad1f8f3163342a
There are (probably rare) situations when a system crashed and the system
console becomes unresponsive but the network icmp layer still is alive.
diff --git a/debian/patches/features/all/rt/0238-kgdb-serial-Short-term-workaround.patch b/debian/patches/features/all/rt/0238-kgdb-serial-Short-term-workaround.patch
index fdab2bb..44ce7c5 100644
--- a/debian/patches/features/all/rt/0238-kgdb-serial-Short-term-workaround.patch
+++ b/debian/patches/features/all/rt/0238-kgdb-serial-Short-term-workaround.patch
@@ -1,7 +1,7 @@
From: Jason Wessel <jason.wessel at windriver.com>
Date: Thu, 28 Jul 2011 12:42:23 -0500
-Subject: [PATCH 238/380] kgdb/serial: Short term workaround
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d3f5917f8de929f9555b917e280bbdb34be0da89
+Subject: [PATCH 238/386] kgdb/serial: Short term workaround
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c3bbffea126d28738cb9a7008f6f7caccda0486e
On 07/27/2011 04:37 PM, Thomas Gleixner wrote:
> - KGDB (not yet disabled) is reportedly unusable on -rt right now due
diff --git a/debian/patches/features/all/rt/0239-add-sys-kernel-realtime-entry.patch b/debian/patches/features/all/rt/0239-add-sys-kernel-realtime-entry.patch
index c841826..bc91fdb 100644
--- a/debian/patches/features/all/rt/0239-add-sys-kernel-realtime-entry.patch
+++ b/debian/patches/features/all/rt/0239-add-sys-kernel-realtime-entry.patch
@@ -1,7 +1,7 @@
From: Clark Williams <williams at redhat.com>
Date: Sat, 30 Jul 2011 21:55:53 -0500
-Subject: [PATCH 239/380] add /sys/kernel/realtime entry
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=70fa548289205cf88d755cc8d626b3326416f1e7
+Subject: [PATCH 239/386] add /sys/kernel/realtime entry
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9754be9a13082a25c7b12a68947e2e62f9a88de5
Add a /sys/kernel entry to indicate that the kernel is a
realtime kernel.
diff --git a/debian/patches/features/all/rt/0240-mm-rt-kmap_atomic-scheduling.patch b/debian/patches/features/all/rt/0240-mm-rt-kmap_atomic-scheduling.patch
index 28424ee..f43a0e3 100644
--- a/debian/patches/features/all/rt/0240-mm-rt-kmap_atomic-scheduling.patch
+++ b/debian/patches/features/all/rt/0240-mm-rt-kmap_atomic-scheduling.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Thu, 28 Jul 2011 10:43:51 +0200
-Subject: [PATCH 240/380] mm, rt: kmap_atomic scheduling
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b28704540c430f489f0f18f7d3e9544402167a0b
+Subject: [PATCH 240/386] mm, rt: kmap_atomic scheduling
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=67181e57da1c2feb00348b5c6355690d5120c918
In fact, with migrate_disable() existing one could play games with
kmap_atomic. You could save/restore the kmap_atomic slots on context
@@ -76,7 +76,7 @@ index ada175e33206..20f15731ec90 100644
* Leave lazy mode, flushing any hypercalls made here.
* This must be done before restoring TLS segments so
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index ca78d234639e..88bff9be15b9 100644
+index 251dd728c300..37b912790bcd 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -63,6 +63,7 @@ struct sched_param {
@@ -87,7 +87,7 @@ index ca78d234639e..88bff9be15b9 100644
#include <asm/system.h>
#include <asm/page.h>
#include <asm/ptrace.h>
-@@ -1612,6 +1613,10 @@ struct task_struct {
+@@ -1614,6 +1615,10 @@ struct task_struct {
struct rcu_head put_rcu;
int softirq_nestcnt;
#endif
diff --git a/debian/patches/features/all/rt/0241-ipc-sem-Rework-semaphore-wakeups.patch b/debian/patches/features/all/rt/0241-ipc-sem-Rework-semaphore-wakeups.patch
index 5c06374..22b2461 100644
--- a/debian/patches/features/all/rt/0241-ipc-sem-Rework-semaphore-wakeups.patch
+++ b/debian/patches/features/all/rt/0241-ipc-sem-Rework-semaphore-wakeups.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <a.p.zijlstra at chello.nl>
Date: Tue, 13 Sep 2011 15:09:40 +0200
-Subject: [PATCH 241/380] ipc/sem: Rework semaphore wakeups
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4924b4cbcac3533ece3971c7f455d0d9b24a9dcf
+Subject: [PATCH 241/386] ipc/sem: Rework semaphore wakeups
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4cec04452418fea88a0bdd488106e9ebfcf1e83e
Current sysv sems have a weird ass wakeup scheme that involves keeping
preemption disabled over a potential O(n^2) loop and busy waiting on
diff --git a/debian/patches/features/all/rt/0242-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch b/debian/patches/features/all/rt/0242-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch
index 61f66ba..470a5a9 100644
--- a/debian/patches/features/all/rt/0242-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch
+++ b/debian/patches/features/all/rt/0242-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch
@@ -1,8 +1,8 @@
From: Frank Rowand <frank.rowand at am.sony.com>
Date: Fri, 23 Sep 2011 13:43:12 -0700
-Subject: [PATCH 242/380] sysrq: Allow immediate Magic SysRq output for
+Subject: [PATCH 242/386] sysrq: Allow immediate Magic SysRq output for
PREEMPT_RT_FULL
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=80b7e42c063f19c644a0fb6b1bede040c9d6cf75
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e00ceac3c9ea26fd852579e8635f65240dd31c2f
Add a CONFIG option to allow the output from Magic SysRq to be output
immediately, even if this causes large latencies.
@@ -29,11 +29,9 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
lib/Kconfig.debug | 22 ++++++++++++++++++++++
5 files changed, 54 insertions(+), 3 deletions(-)
-diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
-index b418947b7107..a8b05594e468 100644
--- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c
+++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
-@@ -1226,7 +1226,7 @@ static void cpm_uart_console_write(struct console *co, const char *s,
+@@ -1226,7 +1226,7 @@ static void cpm_uart_console_write(struc
{
struct uart_cpm_port *pinfo = &cpm_uart_ports[co->index];
unsigned long flags;
@@ -42,11 +40,9 @@ index b418947b7107..a8b05594e468 100644
if (unlikely(nolock)) {
local_irq_save(flags);
-diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
-index 43db715f1502..5219738ffd11 100644
--- a/drivers/tty/sysrq.c
+++ b/drivers/tty/sysrq.c
-@@ -492,6 +492,23 @@ static void __sysrq_put_key_op(int key, struct sysrq_key_op *op_p)
+@@ -492,6 +492,23 @@ static void __sysrq_put_key_op(int key,
sysrq_key_table[i] = op_p;
}
@@ -70,7 +66,7 @@ index 43db715f1502..5219738ffd11 100644
void __handle_sysrq(int key, bool check_mask)
{
struct sysrq_key_op *op_p;
-@@ -500,6 +517,9 @@ void __handle_sysrq(int key, bool check_mask)
+@@ -500,6 +517,9 @@ void __handle_sysrq(int key, bool check_
unsigned long flags;
spin_lock_irqsave(&sysrq_key_table_lock, flags);
@@ -80,7 +76,7 @@ index 43db715f1502..5219738ffd11 100644
/*
* Raise the apparent loglevel to maximum so that the sysrq header
* is shown to provide the user with positive feedback. We do not
-@@ -541,6 +561,9 @@ void __handle_sysrq(int key, bool check_mask)
+@@ -541,6 +561,9 @@ void __handle_sysrq(int key, bool check_
printk("\n");
console_loglevel = orig_log_level;
}
@@ -90,8 +86,6 @@ index 43db715f1502..5219738ffd11 100644
spin_unlock_irqrestore(&sysrq_key_table_lock, flags);
}
-diff --git a/include/linux/sysrq.h b/include/linux/sysrq.h
-index 7faf933cced7..d224c0bae8df 100644
--- a/include/linux/sysrq.h
+++ b/include/linux/sysrq.h
@@ -38,6 +38,11 @@ struct sysrq_key_op {
@@ -106,8 +100,6 @@ index 7faf933cced7..d224c0bae8df 100644
#ifdef CONFIG_MAGIC_SYSRQ
/* Generic SysRq interface -- you may call it from any device driver, supplying
-diff --git a/kernel/printk.c b/kernel/printk.c
-index da6d0071131e..ef68cefaf9d1 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -21,6 +21,7 @@
@@ -118,7 +110,7 @@ index da6d0071131e..ef68cefaf9d1 100644
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/nmi.h>
-@@ -845,8 +846,8 @@ static int console_trylock_for_printk(unsigned int cpu, unsigned long flags)
+@@ -848,8 +849,8 @@ static int console_trylock_for_printk(un
{
int retval = 0, wake = 0;
#ifdef CONFIG_PREEMPT_RT_FULL
diff --git a/debian/patches/features/all/rt/0243-x86-kvm-require-const-tsc-for-rt.patch.patch b/debian/patches/features/all/rt/0243-x86-kvm-require-const-tsc-for-rt.patch.patch
index c531b02..de01197 100644
--- a/debian/patches/features/all/rt/0243-x86-kvm-require-const-tsc-for-rt.patch.patch
+++ b/debian/patches/features/all/rt/0243-x86-kvm-require-const-tsc-for-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 6 Nov 2011 12:26:18 +0100
-Subject: [PATCH 243/380] x86-kvm-require-const-tsc-for-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9f96a0dff187c70cb62a4875303f95f752d0736c
+Subject: [PATCH 243/386] x86-kvm-require-const-tsc-for-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=dba1d389749980613d250d37c26da2de9b9ecb1a
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
@@ -9,7 +9,7 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
1 file changed, 7 insertions(+)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
-index d47d1537afc4..51fab2aadfee 100644
+index 09dab5bc4995..982cbd4b2e5a 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -5252,6 +5252,13 @@ int kvm_arch_init(void *opaque)
diff --git a/debian/patches/features/all/rt/0244-scsi-fcoe-rt-aware.patch.patch b/debian/patches/features/all/rt/0244-scsi-fcoe-rt-aware.patch.patch
index b879dc1..b64c497 100644
--- a/debian/patches/features/all/rt/0244-scsi-fcoe-rt-aware.patch.patch
+++ b/debian/patches/features/all/rt/0244-scsi-fcoe-rt-aware.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 12 Nov 2011 14:00:48 +0100
-Subject: [PATCH 244/380] scsi-fcoe-rt-aware.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=957fd03212f68b2ca51732eb1a129bd375a6797b
+Subject: [PATCH 244/386] scsi-fcoe-rt-aware.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e755440d17a88cc93640c6eb891f015b6653ae39
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0245-x86-crypto-Reduce-preempt-disabled-regions.patch b/debian/patches/features/all/rt/0245-x86-crypto-Reduce-preempt-disabled-regions.patch
index fa5d1a9..0a9861c 100644
--- a/debian/patches/features/all/rt/0245-x86-crypto-Reduce-preempt-disabled-regions.patch
+++ b/debian/patches/features/all/rt/0245-x86-crypto-Reduce-preempt-disabled-regions.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Mon, 14 Nov 2011 18:19:27 +0100
-Subject: [PATCH 245/380] x86: crypto: Reduce preempt disabled regions
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6772092fa3dc7ca7c77c67aaab18cadd91b10828
+Subject: [PATCH 245/386] x86: crypto: Reduce preempt disabled regions
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a9bdfe5adfcca456ba01a07b32da28d84e86aecf
Restrict the preempt disabled regions to the actual floating point
operations and enable preemption for the administrative actions.
diff --git a/debian/patches/features/all/rt/0246-dm-Make-rt-aware.patch b/debian/patches/features/all/rt/0246-dm-Make-rt-aware.patch
index 4b3f301..a40fddd 100644
--- a/debian/patches/features/all/rt/0246-dm-Make-rt-aware.patch
+++ b/debian/patches/features/all/rt/0246-dm-Make-rt-aware.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 14 Nov 2011 23:06:09 +0100
-Subject: [PATCH 246/380] dm: Make rt aware
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b8d32286ae88866b49afd32a7a4088925300b5c8
+Subject: [PATCH 246/386] dm: Make rt aware
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4ec30397c0fab0b6c3cc7229827e223d33b438e0
Use the BUG_ON_NORT variant for the irq_disabled() checks. RT has
interrupts legitimately enabled here as we cant deadlock against the
diff --git a/debian/patches/features/all/rt/0247-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch b/debian/patches/features/all/rt/0247-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch
index 15f77c5..db5dc40 100644
--- a/debian/patches/features/all/rt/0247-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch
+++ b/debian/patches/features/all/rt/0247-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 14 Dec 2011 01:03:49 +0100
-Subject: [PATCH 247/380] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bd4b74930547ef35b1f0c995c682c996717960a4
+Subject: [PATCH 247/386] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7f56f29128a06b16766c333c028874e0e63f4732
We can't deal with the cpumask allocations which happen in atomic
context (see arch/x86/kernel/apic/io_apic.c) on RT right now.
diff --git a/debian/patches/features/all/rt/0248-seqlock-Prevent-rt-starvation.patch b/debian/patches/features/all/rt/0248-seqlock-Prevent-rt-starvation.patch
index 6291d5b..bf10b00 100644
--- a/debian/patches/features/all/rt/0248-seqlock-Prevent-rt-starvation.patch
+++ b/debian/patches/features/all/rt/0248-seqlock-Prevent-rt-starvation.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 22 Feb 2012 12:03:30 +0100
-Subject: [PATCH 248/380] seqlock: Prevent rt starvation
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=56d99a2ac8e7ec598e5a036ffbfbeced8882716e
+Subject: [PATCH 248/386] seqlock: Prevent rt starvation
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3492456089f3c5dc0fdb2750eeed68e3c27288f6
If a low prio writer gets preempted while holding the seqlock write
locked, a high prio reader spins forever on RT.
diff --git a/debian/patches/features/all/rt/0249-timer-Fix-hotplug-for-rt.patch b/debian/patches/features/all/rt/0249-timer-Fix-hotplug-for-rt.patch
index ae10935..c52c43e 100644
--- a/debian/patches/features/all/rt/0249-timer-Fix-hotplug-for-rt.patch
+++ b/debian/patches/features/all/rt/0249-timer-Fix-hotplug-for-rt.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Thu, 1 Mar 2012 13:55:28 -0500
-Subject: [PATCH 249/380] timer: Fix hotplug for -rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f33ed8592ee5c31eb56112f3a25b5ea1fe34ba91
+Subject: [PATCH 249/386] timer: Fix hotplug for -rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a47e7a8f82d1681f29e19b52243718e7862b2127
Revert the RT patch:
Author: Ingo Molnar <mingo at elte.hu>
diff --git a/debian/patches/features/all/rt/0250-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch b/debian/patches/features/all/rt/0250-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch
index 2523d4d..d7e90f0 100644
--- a/debian/patches/features/all/rt/0250-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch
+++ b/debian/patches/features/all/rt/0250-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Thu, 1 Mar 2012 13:55:29 -0500
-Subject: [PATCH 250/380] futex/rt: Fix possible lockup when taking pi_lock in
+Subject: [PATCH 250/386] futex/rt: Fix possible lockup when taking pi_lock in
proxy handler
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d1473c24231ba432893503cce1800ae9a5093fb7
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=851656494f63413a6d19c359ffbf353eb2864b7c
When taking the pi_lock, we must disable interrupts because the
pi_lock can also be taken in an interrupt handler.
diff --git a/debian/patches/features/all/rt/0251-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch b/debian/patches/features/all/rt/0251-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch
index 139c66e..7889993 100644
--- a/debian/patches/features/all/rt/0251-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch
+++ b/debian/patches/features/all/rt/0251-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Thu, 1 Mar 2012 13:55:32 -0500
-Subject: [PATCH 251/380] ring-buffer/rt: Check for irqs disabled before
+Subject: [PATCH 251/386] ring-buffer/rt: Check for irqs disabled before
grabbing reader lock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=06f16f75fcac31bc83412d471f08dd2c588730c6
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8cf70e9c5ded27acfc1e8c11ef1b97de96a8c60d
In RT the reader lock is a mutex and we can not grab it when preemption is
disabled. The in_atomic() check that is there does not check if irqs are
diff --git a/debian/patches/features/all/rt/0252-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch b/debian/patches/features/all/rt/0252-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch
index 66ecdfa..e11841c 100644
--- a/debian/patches/features/all/rt/0252-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch
+++ b/debian/patches/features/all/rt/0252-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Thu, 1 Mar 2012 13:55:33 -0500
-Subject: [PATCH 252/380] sched/rt: Fix wait_task_interactive() to test
+Subject: [PATCH 252/386] sched/rt: Fix wait_task_interactive() to test
rt_spin_lock state
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=79499d4307b2ebe1b537e769324cfca687403912
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f658852c7110cdf81c2cfb0b260b1b27a6c99b72
The wait_task_interactive() will have a task sleep waiting for another
task to have a certain state. But it ignores the rt_spin_locks state
diff --git a/debian/patches/features/all/rt/0253-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch b/debian/patches/features/all/rt/0253-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch
index 31d9e79..90a578f 100644
--- a/debian/patches/features/all/rt/0253-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch
+++ b/debian/patches/features/all/rt/0253-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Thu, 1 Mar 2012 13:55:30 -0500
-Subject: [PATCH 253/380] lglock/rt: Use non-rt for_each_cpu() in -rt code
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b8a6908efa7fbbb0eedc01684bfcddd4a16ead63
+Subject: [PATCH 253/386] lglock/rt: Use non-rt for_each_cpu() in -rt code
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=803e4a873feb2f325051f5a7400d91fcd7050ed1
Currently the RT version of the lglocks() does a for_each_online_cpu()
in the name##_global_lock_online() functions. Non-rt uses its own
diff --git a/debian/patches/features/all/rt/0254-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch b/debian/patches/features/all/rt/0254-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch
index 8392511..0ca152a 100644
--- a/debian/patches/features/all/rt/0254-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch
+++ b/debian/patches/features/all/rt/0254-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Fri, 2 Mar 2012 10:36:57 -0500
-Subject: [PATCH 254/380] cpu: Make hotplug.lock a "sleeping" spinlock on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=01d44bf28660f57d1de6370a0b7acf50e43b38cf
+Subject: [PATCH 254/386] cpu: Make hotplug.lock a "sleeping" spinlock on RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f046f142f35267c8e73ec19c8d702a65ba945e9e
Tasks can block on hotplug.lock in pin_current_cpu(), but their state
might be != RUNNING. So the mutex wakeup will set the state
diff --git a/debian/patches/features/all/rt/0255-softirq-Check-preemption-after-reenabling-interrupts.patch b/debian/patches/features/all/rt/0255-softirq-Check-preemption-after-reenabling-interrupts.patch
index aa6513d..e20529f 100644
--- a/debian/patches/features/all/rt/0255-softirq-Check-preemption-after-reenabling-interrupts.patch
+++ b/debian/patches/features/all/rt/0255-softirq-Check-preemption-after-reenabling-interrupts.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 13 Nov 2011 17:17:09 +0100
-Subject: [PATCH 255/380] softirq: Check preemption after reenabling interrupts
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=49dc6dac1d27afdbf9f3e2232cb5bd28e76448ee
+Subject: [PATCH 255/386] softirq: Check preemption after reenabling interrupts
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=93f818b25ecaa3680ddc2b052d9e7fc8d59f432b
raise_softirq_irqoff() disables interrupts and wakes the softirq
daemon, but after reenabling interrupts there is no preemption check,
diff --git a/debian/patches/features/all/rt/0256-rt-Introduce-cpu_chill.patch b/debian/patches/features/all/rt/0256-rt-Introduce-cpu_chill.patch
index 687cbc5..9f8d405 100644
--- a/debian/patches/features/all/rt/0256-rt-Introduce-cpu_chill.patch
+++ b/debian/patches/features/all/rt/0256-rt-Introduce-cpu_chill.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 7 Mar 2012 20:51:03 +0100
-Subject: [PATCH 256/380] rt: Introduce cpu_chill()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fc2da4bd26d1941a86d8b1c72d03e6996d851202
+Subject: [PATCH 256/386] rt: Introduce cpu_chill()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=55b3d0a8bdb93aa75b171b06536d4c3e3deeb284
Retry loops on RT might loop forever when the modifying side was
preempted. Add cpu_chill() to replace cpu_relax(). cpu_chill()
diff --git a/debian/patches/features/all/rt/0257-fs-dcache-Use-cpu_chill-in-trylock-loops.patch b/debian/patches/features/all/rt/0257-fs-dcache-Use-cpu_chill-in-trylock-loops.patch
index 96ee98f..e36adc9 100644
--- a/debian/patches/features/all/rt/0257-fs-dcache-Use-cpu_chill-in-trylock-loops.patch
+++ b/debian/patches/features/all/rt/0257-fs-dcache-Use-cpu_chill-in-trylock-loops.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 7 Mar 2012 21:00:34 +0100
-Subject: [PATCH 257/380] fs: dcache: Use cpu_chill() in trylock loops
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2145af4ab5566c8f010382558fd52f79f2ba4e7d
+Subject: [PATCH 257/386] fs: dcache: Use cpu_chill() in trylock loops
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=cf20347150b7e80efddf5b8ec2110283fa533527
Retry loops on RT might loop forever when the modifying side was
preempted. Use cpu_chill() instead of cpu_relax() to let the system
diff --git a/debian/patches/features/all/rt/0258-net-Use-cpu_chill-instead-of-cpu_relax.patch b/debian/patches/features/all/rt/0258-net-Use-cpu_chill-instead-of-cpu_relax.patch
index aa4807c..29c1b5c 100644
--- a/debian/patches/features/all/rt/0258-net-Use-cpu_chill-instead-of-cpu_relax.patch
+++ b/debian/patches/features/all/rt/0258-net-Use-cpu_chill-instead-of-cpu_relax.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 7 Mar 2012 21:10:04 +0100
-Subject: [PATCH 258/380] net: Use cpu_chill() instead of cpu_relax()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1756d90341b13684217540be59c4d67a03d1988b
+Subject: [PATCH 258/386] net: Use cpu_chill() instead of cpu_relax()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5d206f82ff1418180c630b0e7f616b7e916065c0
Retry loops on RT might loop forever when the modifying side was
preempted. Use cpu_chill() instead of cpu_relax() to let the system
diff --git a/debian/patches/features/all/rt/0259-kconfig-disable-a-few-options-rt.patch.patch b/debian/patches/features/all/rt/0259-kconfig-disable-a-few-options-rt.patch.patch
index 326ba1c..f75307f 100644
--- a/debian/patches/features/all/rt/0259-kconfig-disable-a-few-options-rt.patch.patch
+++ b/debian/patches/features/all/rt/0259-kconfig-disable-a-few-options-rt.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 24 Jul 2011 12:11:43 +0200
-Subject: [PATCH 259/380] kconfig-disable-a-few-options-rt.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ce646a1843689c5016449f69f8265c97c9c17022
+Subject: [PATCH 259/386] kconfig-disable-a-few-options-rt.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9677e2a2d6951f354549c95e63cc8480260304a7
Disable stuff which is known to have issues on RT
diff --git a/debian/patches/features/all/rt/0260-kconfig-preempt-rt-full.patch.patch b/debian/patches/features/all/rt/0260-kconfig-preempt-rt-full.patch.patch
index 0488028..0e86970 100644
--- a/debian/patches/features/all/rt/0260-kconfig-preempt-rt-full.patch.patch
+++ b/debian/patches/features/all/rt/0260-kconfig-preempt-rt-full.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 29 Jun 2011 14:58:57 +0200
-Subject: [PATCH 260/380] kconfig-preempt-rt-full.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=84f026efc6c536d7ba2a3070ee7c3ecd22e96f8e
+Subject: [PATCH 260/386] kconfig-preempt-rt-full.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8671e839053198879ff9d3e552ce088ab3a47239
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
---
diff --git a/debian/patches/features/all/rt/0261-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch b/debian/patches/features/all/rt/0261-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch
index cb12419..f060c74 100644
--- a/debian/patches/features/all/rt/0261-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch
+++ b/debian/patches/features/all/rt/0261-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <srostedt at redhat.com>
Date: Mon, 16 Apr 2012 21:51:54 -0400
-Subject: [PATCH 261/380] rt: Make migrate_disable/enable() and __rt_mutex_init
+Subject: [PATCH 261/386] rt: Make migrate_disable/enable() and __rt_mutex_init
non-GPL only
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8d9fdf2c969d7d5f11b7fa4f9eac04535171042e
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=33cab6b64fd9e8fb9bf153aacdc1dbea4fa3cc07
Modules that load on the normal vanilla kernel should also load on
an -rt kernel as well. This does not mean we condone non-GPL modules,
diff --git a/debian/patches/features/all/rt/0262-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch b/debian/patches/features/all/rt/0262-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch
index cfd1234..2f007e6 100644
--- a/debian/patches/features/all/rt/0262-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch
+++ b/debian/patches/features/all/rt/0262-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch
@@ -1,8 +1,8 @@
From: John Kacur <jkacur at redhat.com>
Date: Fri, 27 Apr 2012 12:48:46 +0200
-Subject: [PATCH 262/380] scsi: qla2xxx: Use local_irq_save_nort() in
+Subject: [PATCH 262/386] scsi: qla2xxx: Use local_irq_save_nort() in
qla2x00_poll
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f47bcfc5d942b790669a67727807e71077e5f69e
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=77d587e86d61d8b4faa99ae856d7690bd27c9f64
RT triggers the following:
diff --git a/debian/patches/features/all/rt/0263-net-RT-REmove-preemption-disabling-in-netif_rx.patch b/debian/patches/features/all/rt/0263-net-RT-REmove-preemption-disabling-in-netif_rx.patch
index c4285eb..f85fd17 100644
--- a/debian/patches/features/all/rt/0263-net-RT-REmove-preemption-disabling-in-netif_rx.patch
+++ b/debian/patches/features/all/rt/0263-net-RT-REmove-preemption-disabling-in-netif_rx.patch
@@ -1,7 +1,7 @@
From: Priyanka Jain <Priyanka.Jain at freescale.com>
Date: Thu, 17 May 2012 09:35:11 +0530
-Subject: [PATCH 263/380] net,RT:REmove preemption disabling in netif_rx()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=05df6d1707e48f9457a00fa30d6cfa5935786f5c
+Subject: [PATCH 263/386] net,RT:REmove preemption disabling in netif_rx()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=21407b39e068d6084f53181f758a4626b538b0e3
1)enqueue_to_backlog() (called from netif_rx) should be
bind to a particluar CPU. This can be achieved by
diff --git a/debian/patches/features/all/rt/0264-mips-remove-smp-reserve-lock.patch.patch b/debian/patches/features/all/rt/0264-mips-remove-smp-reserve-lock.patch.patch
index 0aad42b..1446c56 100644
--- a/debian/patches/features/all/rt/0264-mips-remove-smp-reserve-lock.patch.patch
+++ b/debian/patches/features/all/rt/0264-mips-remove-smp-reserve-lock.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 22 May 2012 21:15:10 +0200
-Subject: [PATCH 264/380] mips-remove-smp-reserve-lock.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8ce24c722ac890446484d9f6cba181b1e3c50a74
+Subject: [PATCH 264/386] mips-remove-smp-reserve-lock.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=034ce153e56db0123ba7644f7d6792863267c126
Instead of making the lock raw, remove it as it protects nothing.
diff --git a/debian/patches/features/all/rt/0265-Latency-histogramms-Cope-with-backwards-running-loca.patch b/debian/patches/features/all/rt/0265-Latency-histogramms-Cope-with-backwards-running-loca.patch
index bd149a4..a75b65d 100644
--- a/debian/patches/features/all/rt/0265-Latency-histogramms-Cope-with-backwards-running-loca.patch
+++ b/debian/patches/features/all/rt/0265-Latency-histogramms-Cope-with-backwards-running-loca.patch
@@ -1,8 +1,8 @@
From: Carsten Emde <C.Emde at osadl.org>
Date: Wed, 11 Jul 2012 22:05:17 +0000
-Subject: [PATCH 265/380] Latency histogramms: Cope with backwards running
+Subject: [PATCH 265/386] Latency histogramms: Cope with backwards running
local trace clock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1f4ac5f8af516147d3d80b2a01cf9022f516095d
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b7de8fffd1f1b859718c4967ebe3cf3fcf509426
Thanks to the wonders of modern technology, the local trace clock can
now run backwards. Since this never happened before, the time difference
@@ -29,10 +29,10 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
2 files changed, 38 insertions(+), 35 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 88bff9be15b9..be0f75b9b3ba 100644
+index 37b912790bcd..0c01f10419f0 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1594,7 +1594,7 @@ struct task_struct {
+@@ -1596,7 +1596,7 @@ struct task_struct {
#ifdef CONFIG_WAKEUP_LATENCY_HIST
u64 preempt_timestamp_hist;
#ifdef CONFIG_MISSED_TIMER_OFFSETS_HIST
diff --git a/debian/patches/features/all/rt/0266-Latency-histograms-Adjust-timer-if-already-elapsed-w.patch b/debian/patches/features/all/rt/0266-Latency-histograms-Adjust-timer-if-already-elapsed-w.patch
index 9c361a2..cddd4a7 100644
--- a/debian/patches/features/all/rt/0266-Latency-histograms-Adjust-timer-if-already-elapsed-w.patch
+++ b/debian/patches/features/all/rt/0266-Latency-histograms-Adjust-timer-if-already-elapsed-w.patch
@@ -1,8 +1,8 @@
From: Carsten Emde <C.Emde at osadl.org>
Date: Wed, 11 Jul 2012 22:05:18 +0000
-Subject: [PATCH 266/380] Latency histograms: Adjust timer, if already elapsed
+Subject: [PATCH 266/386] Latency histograms: Adjust timer, if already elapsed
when programmed
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c56dfa5d28533ce447c8e37ce5e670f553af0705
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3d1a4803ec19ce2302a89ec71b766f185f43eccd
Nothing prevents a programmer from calling clock_nanosleep() with an
already elapsed wakeup time in absolute time mode or with a too small
@@ -52,7 +52,7 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
hrtimer_set_expires_range_ns(timer, tim, delta_ns);
/* Switch the timer base, if necessary: */
-@@ -1520,8 +1531,9 @@ retry:
+@@ -1525,8 +1536,9 @@ retry:
timer = container_of(node, struct hrtimer, node);
trace_hrtimer_interrupt(raw_smp_processor_id(),
diff --git a/debian/patches/features/all/rt/0267-Disable-RT_GROUP_SCHED-in-PREEMPT_RT_FULL.patch b/debian/patches/features/all/rt/0267-Disable-RT_GROUP_SCHED-in-PREEMPT_RT_FULL.patch
index e3b00f8..29d6b1a 100644
--- a/debian/patches/features/all/rt/0267-Disable-RT_GROUP_SCHED-in-PREEMPT_RT_FULL.patch
+++ b/debian/patches/features/all/rt/0267-Disable-RT_GROUP_SCHED-in-PREEMPT_RT_FULL.patch
@@ -1,7 +1,7 @@
From: Carsten Emde <C.Emde at osadl.org>
Date: Wed, 11 Jul 2012 22:05:18 +0000
-Subject: [PATCH 267/380] Disable RT_GROUP_SCHED in PREEMPT_RT_FULL
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=81a689e0ff899a3995e96092c03f184bbc0e3097
+Subject: [PATCH 267/386] Disable RT_GROUP_SCHED in PREEMPT_RT_FULL
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3521b88c0a1c590ccd4c75eb4464f71871b3b43c
Strange CPU stalls have been observed in RT when RT_GROUP_SCHED
was configured.
diff --git a/debian/patches/features/all/rt/0268-Latency-histograms-Detect-another-yet-overlooked-sha.patch b/debian/patches/features/all/rt/0268-Latency-histograms-Detect-another-yet-overlooked-sha.patch
index 3da7597..59ff3a3 100644
--- a/debian/patches/features/all/rt/0268-Latency-histograms-Detect-another-yet-overlooked-sha.patch
+++ b/debian/patches/features/all/rt/0268-Latency-histograms-Detect-another-yet-overlooked-sha.patch
@@ -1,8 +1,8 @@
From: Carsten Emde <C.Emde at osadl.org>
Date: Wed, 11 Jul 2012 22:05:19 +0000
-Subject: [PATCH 268/380] Latency histograms: Detect another yet overlooked
+Subject: [PATCH 268/386] Latency histograms: Detect another yet overlooked
sharedprio condition
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=14cdcfc1d5176875cc101a3a69c6c886ae355296
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7ee9c31b9b31a907611c91030564125a7a1d8744
While waiting for an RT process to be woken up, the previous process may
go to wait and switch to another one with the same priority which then
diff --git a/debian/patches/features/all/rt/0269-slab-Prevent-local-lock-deadlock.patch b/debian/patches/features/all/rt/0269-slab-Prevent-local-lock-deadlock.patch
index 296a2ef..7d17c1d 100644
--- a/debian/patches/features/all/rt/0269-slab-Prevent-local-lock-deadlock.patch
+++ b/debian/patches/features/all/rt/0269-slab-Prevent-local-lock-deadlock.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 11 Jul 2012 22:05:19 +0000
-Subject: [PATCH 269/380] slab: Prevent local lock deadlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e3ec2a128ce12e44464cdcc6d06aad4825d455fd
+Subject: [PATCH 269/386] slab: Prevent local lock deadlock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0e164721a3fb6a9b13a2bd1cddc91d2745df624a
On RT we avoid the cross cpu function calls and take the per cpu local
locks instead. Now the code missed that taking the local lock on the
diff --git a/debian/patches/features/all/rt/0270-fs-jbd-pull-your-plug-when-waiting-for-space.patch b/debian/patches/features/all/rt/0270-fs-jbd-pull-your-plug-when-waiting-for-space.patch
index 5ff31c2..090b12f 100644
--- a/debian/patches/features/all/rt/0270-fs-jbd-pull-your-plug-when-waiting-for-space.patch
+++ b/debian/patches/features/all/rt/0270-fs-jbd-pull-your-plug-when-waiting-for-space.patch
@@ -1,7 +1,7 @@
From: Mike Galbraith <mgalbraith at suse.de>
Date: Wed, 11 Jul 2012 22:05:20 +0000
-Subject: [PATCH 270/380] fs, jbd: pull your plug when waiting for space
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2fc603a103ce49dd3e7b67eb5f6b5e011e605791
+Subject: [PATCH 270/386] fs, jbd: pull your plug when waiting for space
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=54718f5e702c9f37ac5d4ec472674aaa6bc450cb
With an -rt kernel, and a heavy sync IO load, tasks can jam
up on journal locks without unplugging, which can lead to
diff --git a/debian/patches/features/all/rt/0271-perf-Make-swevent-hrtimer-run-in-irq-instead-of-soft.patch b/debian/patches/features/all/rt/0271-perf-Make-swevent-hrtimer-run-in-irq-instead-of-soft.patch
index 62a843b..a023946 100644
--- a/debian/patches/features/all/rt/0271-perf-Make-swevent-hrtimer-run-in-irq-instead-of-soft.patch
+++ b/debian/patches/features/all/rt/0271-perf-Make-swevent-hrtimer-run-in-irq-instead-of-soft.patch
@@ -1,8 +1,8 @@
From: Yong Zhang <yong.zhang at windriver.com>
Date: Wed, 11 Jul 2012 22:05:21 +0000
-Subject: [PATCH 271/380] perf: Make swevent hrtimer run in irq instead of
+Subject: [PATCH 271/386] perf: Make swevent hrtimer run in irq instead of
softirq
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c028c4e064bb0e0c0c52e0c19fcfc5c1984aec34
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=85c7845121d7a9fa0ad8dcaea29e8573647f6b1f
Otherwise we get a deadlock like below:
diff --git a/debian/patches/features/all/rt/0272-cpu-rt-Rework-cpu-down-for-PREEMPT_RT.patch b/debian/patches/features/all/rt/0272-cpu-rt-Rework-cpu-down-for-PREEMPT_RT.patch
index 7a9c88f..e318c88 100644
--- a/debian/patches/features/all/rt/0272-cpu-rt-Rework-cpu-down-for-PREEMPT_RT.patch
+++ b/debian/patches/features/all/rt/0272-cpu-rt-Rework-cpu-down-for-PREEMPT_RT.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <srostedt at redhat.com>
Date: Mon, 16 Jul 2012 08:07:43 +0000
-Subject: [PATCH 272/380] cpu/rt: Rework cpu down for PREEMPT_RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1b9da024813fb0fd63aee31d851433b2e4bed501
+Subject: [PATCH 272/386] cpu/rt: Rework cpu down for PREEMPT_RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=93fec7d864342874867d521cdfdc2cdc19134c97
Bringing a CPU down is a pain with the PREEMPT_RT kernel because
tasks can be preempted in many more places than in non-RT. In
@@ -55,10 +55,10 @@ Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
3 files changed, 285 insertions(+), 40 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index be0f75b9b3ba..78a58afb67ea 100644
+index 0c01f10419f0..d818d9347a77 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1960,6 +1960,10 @@ extern void do_set_cpus_allowed(struct task_struct *p,
+@@ -1962,6 +1962,10 @@ extern void do_set_cpus_allowed(struct task_struct *p,
extern int set_cpus_allowed_ptr(struct task_struct *p,
const struct cpumask *new_mask);
@@ -69,7 +69,7 @@ index be0f75b9b3ba..78a58afb67ea 100644
#else
static inline void do_set_cpus_allowed(struct task_struct *p,
const struct cpumask *new_mask)
-@@ -1972,6 +1976,9 @@ static inline int set_cpus_allowed_ptr(struct task_struct *p,
+@@ -1974,6 +1978,9 @@ static inline int set_cpus_allowed_ptr(struct task_struct *p,
return -EINVAL;
return 0;
}
diff --git a/debian/patches/features/all/rt/0273-cpu-rt-Fix-cpu_hotplug-variable-initialization.patch b/debian/patches/features/all/rt/0273-cpu-rt-Fix-cpu_hotplug-variable-initialization.patch
index d0b7466..233364c 100644
--- a/debian/patches/features/all/rt/0273-cpu-rt-Fix-cpu_hotplug-variable-initialization.patch
+++ b/debian/patches/features/all/rt/0273-cpu-rt-Fix-cpu_hotplug-variable-initialization.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <srostedt at redhat.com>
Date: Tue, 17 Jul 2012 10:45:59 -0400
-Subject: [PATCH 273/380] cpu/rt: Fix cpu_hotplug variable initialization
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fc95919fec8a2ecf704f25d937da16bcac1cd9ca
+Subject: [PATCH 273/386] cpu/rt: Fix cpu_hotplug variable initialization
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=dffaae97e26d625cd09190f57d472f12fb79c849
The commit "cpu/rt: Rework cpu down for PREEMPT_RT" changed the double
meaning of the cpu_hotplug.lock, where it was a spinlock for RT and a
diff --git a/debian/patches/features/all/rt/0274-time-rt-Fix-up-leap-second-backport-for-RT-changes.patch b/debian/patches/features/all/rt/0274-time-rt-Fix-up-leap-second-backport-for-RT-changes.patch
index 77214e9..d590b02 100644
--- a/debian/patches/features/all/rt/0274-time-rt-Fix-up-leap-second-backport-for-RT-changes.patch
+++ b/debian/patches/features/all/rt/0274-time-rt-Fix-up-leap-second-backport-for-RT-changes.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Thu, 2 Aug 2012 18:56:52 -0400
-Subject: [PATCH 274/380] time/rt: Fix up leap-second backport for RT changes
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a0cfeb98190d1610ca25869bae2fdc908dd8d752
+Subject: [PATCH 274/386] time/rt: Fix up leap-second backport for RT changes
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6a90fae91e99cd139780b0006ba99313cef33fba
The leap-second backport broke RT, and a few changes had to be done.
diff --git a/debian/patches/features/all/rt/0275-fix-printk-flush-of-messages.patch b/debian/patches/features/all/rt/0275-fix-printk-flush-of-messages.patch
index a571369..49287b6 100644
--- a/debian/patches/features/all/rt/0275-fix-printk-flush-of-messages.patch
+++ b/debian/patches/features/all/rt/0275-fix-printk-flush-of-messages.patch
@@ -1,7 +1,7 @@
From: Frank Rowand <frank.rowand at am.sony.com>
Date: Wed, 16 May 2012 18:09:36 -0700
-Subject: [PATCH 275/380] fix printk flush of messages
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e7ec51cf62591a30c7c944796650e7dfb7b43536
+Subject: [PATCH 275/386] fix printk flush of messages
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fcd86bc5042fa96bd6c89c355d76a8955be3a0ca
Updates console-make-rt-friendly.patch
diff --git a/debian/patches/features/all/rt/0276-fix-printk-flush-of-messages.patch b/debian/patches/features/all/rt/0276-fix-printk-flush-of-messages.patch
index 0f5fd0a..28138af 100644
--- a/debian/patches/features/all/rt/0276-fix-printk-flush-of-messages.patch
+++ b/debian/patches/features/all/rt/0276-fix-printk-flush-of-messages.patch
@@ -1,7 +1,7 @@
From: Frank Rowand <frank.rowand at am.sony.com>
Date: Wed, 16 May 2012 18:05:53 -0700
-Subject: [PATCH 276/380] fix printk flush of messages
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b72813bd4b160eeb40155f1f916aedfc729ad1cd
+Subject: [PATCH 276/386] fix printk flush of messages
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=09b432b623d15d4d5fb0b1fc868965f568b99c1a
Reverse preempt-rt-allow-immediate-magic-sysrq-output-for-preempt_rt_full.patch
@@ -19,11 +19,9 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
lib/Kconfig.debug | 22 ----------------------
5 files changed, 3 insertions(+), 54 deletions(-)
-diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
-index a8b05594e468..b418947b7107 100644
--- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c
+++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c
-@@ -1226,7 +1226,7 @@ static void cpm_uart_console_write(struct console *co, const char *s,
+@@ -1226,7 +1226,7 @@ static void cpm_uart_console_write(struc
{
struct uart_cpm_port *pinfo = &cpm_uart_ports[co->index];
unsigned long flags;
@@ -32,11 +30,9 @@ index a8b05594e468..b418947b7107 100644
if (unlikely(nolock)) {
local_irq_save(flags);
-diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
-index 5219738ffd11..43db715f1502 100644
--- a/drivers/tty/sysrq.c
+++ b/drivers/tty/sysrq.c
-@@ -492,23 +492,6 @@ static void __sysrq_put_key_op(int key, struct sysrq_key_op *op_p)
+@@ -492,23 +492,6 @@ static void __sysrq_put_key_op(int key,
sysrq_key_table[i] = op_p;
}
@@ -60,7 +56,7 @@ index 5219738ffd11..43db715f1502 100644
void __handle_sysrq(int key, bool check_mask)
{
struct sysrq_key_op *op_p;
-@@ -517,9 +500,6 @@ void __handle_sysrq(int key, bool check_mask)
+@@ -517,9 +500,6 @@ void __handle_sysrq(int key, bool check_
unsigned long flags;
spin_lock_irqsave(&sysrq_key_table_lock, flags);
@@ -70,7 +66,7 @@ index 5219738ffd11..43db715f1502 100644
/*
* Raise the apparent loglevel to maximum so that the sysrq header
* is shown to provide the user with positive feedback. We do not
-@@ -561,9 +541,6 @@ void __handle_sysrq(int key, bool check_mask)
+@@ -561,9 +541,6 @@ void __handle_sysrq(int key, bool check_
printk("\n");
console_loglevel = orig_log_level;
}
@@ -80,8 +76,6 @@ index 5219738ffd11..43db715f1502 100644
spin_unlock_irqrestore(&sysrq_key_table_lock, flags);
}
-diff --git a/include/linux/sysrq.h b/include/linux/sysrq.h
-index d224c0bae8df..7faf933cced7 100644
--- a/include/linux/sysrq.h
+++ b/include/linux/sysrq.h
@@ -38,11 +38,6 @@ struct sysrq_key_op {
@@ -96,8 +90,6 @@ index d224c0bae8df..7faf933cced7 100644
#ifdef CONFIG_MAGIC_SYSRQ
/* Generic SysRq interface -- you may call it from any device driver, supplying
-diff --git a/kernel/printk.c b/kernel/printk.c
-index 4d65d6f9e7d6..e230be6c760c 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -21,7 +21,6 @@
@@ -108,7 +100,7 @@ index 4d65d6f9e7d6..e230be6c760c 100644
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/nmi.h>
-@@ -846,8 +845,8 @@ static int console_trylock_for_printk(unsigned int cpu, unsigned long flags)
+@@ -849,8 +848,8 @@ static int console_trylock_for_printk(un
{
int retval = 0, wake = 0;
#ifdef CONFIG_PREEMPT_RT_FULL
diff --git a/debian/patches/features/all/rt/0277-random-Make-it-work-on-rt.patch b/debian/patches/features/all/rt/0277-random-Make-it-work-on-rt.patch
index bf1c1c8..4b4fd6f 100644
--- a/debian/patches/features/all/rt/0277-random-Make-it-work-on-rt.patch
+++ b/debian/patches/features/all/rt/0277-random-Make-it-work-on-rt.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 21 Aug 2012 20:38:50 +0200
-Subject: [PATCH 277/380] random: Make it work on rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d5049e2db16403d2c09f64ae11f6931c2527e5b7
+Subject: [PATCH 277/386] random: Make it work on rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3d735d875fc9adce8605bfb7f60701b82f4b2926
Delegate the random insertion to the forced threaded interrupt
handler. Store the return IP of the hard interrupt handler in the irq
@@ -11,6 +11,7 @@ entropy.
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Cc: stable-rt at vger.kernel.org
Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
+[bwh: Adjust context to apply after Debian ABI fix to struct irq_desc]
---
drivers/char/random.c | 10 ++++++----
include/linux/irqdesc.h | 1 +
@@ -56,6 +57,8 @@ index 6eeed0de7e24..ba79a0ffe438 100644
/*
* If we don't have a valid cycle counter, and we see
* back-to-back timer interrupts, then skip giving credit for
+diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h
+index e2e1ab58b3da..7fa27c12cc45 100644
--- a/include/linux/irqdesc.h
+++ b/include/linux/irqdesc.h
@@ -55,6 +55,7 @@ struct irq_desc {
diff --git a/debian/patches/features/all/rt/0278-softirq-Init-softirq-local-lock-after-per-cpu-sectio.patch b/debian/patches/features/all/rt/0278-softirq-Init-softirq-local-lock-after-per-cpu-sectio.patch
index ad7d4f0..df52aa4 100644
--- a/debian/patches/features/all/rt/0278-softirq-Init-softirq-local-lock-after-per-cpu-sectio.patch
+++ b/debian/patches/features/all/rt/0278-softirq-Init-softirq-local-lock-after-per-cpu-sectio.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Thu, 4 Oct 2012 11:02:04 -0400
-Subject: [PATCH 278/380] softirq: Init softirq local lock after per cpu
+Subject: [PATCH 278/386] softirq: Init softirq local lock after per cpu
section is set up
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=664ca8eb50cd4cae2d0d35e3951ffdcd5b0a83c0
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=258f387820159cc480c61463e25dc33faf54c1c1
I discovered this bug when booting 3.4-rt on my powerpc box. It crashed
with the following report:
diff --git a/debian/patches/features/all/rt/0279-mm-slab-Fix-potential-deadlock.patch b/debian/patches/features/all/rt/0279-mm-slab-Fix-potential-deadlock.patch
index 9c69bfb..db65770 100644
--- a/debian/patches/features/all/rt/0279-mm-slab-Fix-potential-deadlock.patch
+++ b/debian/patches/features/all/rt/0279-mm-slab-Fix-potential-deadlock.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 26 Sep 2012 16:20:00 +0200
-Subject: [PATCH 279/380] mm: slab: Fix potential deadlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e7a5775527396b4cc16f67aaf326580581c7d547
+Subject: [PATCH 279/386] mm: slab: Fix potential deadlock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ae27b6e6b28659a20b0f28ff6b0924f2fd5abe9b
=============================================
[ INFO: possible recursive locking detected ]
diff --git a/debian/patches/features/all/rt/0280-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch b/debian/patches/features/all/rt/0280-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch
index a10b447..586d48e 100644
--- a/debian/patches/features/all/rt/0280-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch
+++ b/debian/patches/features/all/rt/0280-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 27 Sep 2012 11:11:46 +0200
-Subject: [PATCH 280/380] mm: page_alloc: Use local_lock_on() instead of plain
+Subject: [PATCH 280/386] mm: page_alloc: Use local_lock_on() instead of plain
spinlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=53be45e10e7e024bed2a253cd81b9daa31147209
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d0b2bbef21509f1a5f6dbe237df439ea23e83fa7
The plain spinlock while sufficient does not update the local_lock
internals. Use a proper local_lock function instead to ease debugging.
diff --git a/debian/patches/features/all/rt/0281-rt-rwsem-rwlock-lockdep-annotations.patch b/debian/patches/features/all/rt/0281-rt-rwsem-rwlock-lockdep-annotations.patch
index b5f03a0..33801d8 100644
--- a/debian/patches/features/all/rt/0281-rt-rwsem-rwlock-lockdep-annotations.patch
+++ b/debian/patches/features/all/rt/0281-rt-rwsem-rwlock-lockdep-annotations.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 28 Sep 2012 10:49:42 +0100
-Subject: [PATCH 281/380] rt: rwsem/rwlock: lockdep annotations
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5757aa6524ba5b9bafae4f3a2305c47b1db6dea4
+Subject: [PATCH 281/386] rt: rwsem/rwlock: lockdep annotations
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bd17ba48ca971d6d034f7758dd22b7c723d69c6c
rwlocks and rwsems on RT do not allow multiple readers. Annotate the
lockdep acquire functions accordingly.
diff --git a/debian/patches/features/all/rt/0282-sched-Better-debug-output-for-might-sleep.patch b/debian/patches/features/all/rt/0282-sched-Better-debug-output-for-might-sleep.patch
index 0032244..a5fc3b1 100644
--- a/debian/patches/features/all/rt/0282-sched-Better-debug-output-for-might-sleep.patch
+++ b/debian/patches/features/all/rt/0282-sched-Better-debug-output-for-might-sleep.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 5 Oct 2012 08:56:15 +0100
-Subject: [PATCH 282/380] sched: Better debug output for might sleep
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f5b8815b19f69a6e81537b17dd49f365a76eaabe
+Subject: [PATCH 282/386] sched: Better debug output for might sleep
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e7203f189d2a8cace66fffc714aaa2529d4f9f1a
might sleep can tell us where interrupts have been disabled, but we
have no idea what disabled preemption. Add some debug infrastructure.
@@ -15,10 +15,10 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 78a58afb67ea..b58ff456ac71 100644
+index d818d9347a77..25f06ced50eb 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1617,6 +1617,10 @@ struct task_struct {
+@@ -1619,6 +1619,10 @@ struct task_struct {
int kmap_idx;
pte_t kmap_pte[KM_TYPE_NR];
#endif
diff --git a/debian/patches/features/all/rt/0283-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch b/debian/patches/features/all/rt/0283-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch
index cf14ca8..a320d21 100644
--- a/debian/patches/features/all/rt/0283-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch
+++ b/debian/patches/features/all/rt/0283-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 3 Oct 2012 17:21:53 +0100
-Subject: [PATCH 283/380] stomp_machine: Use mutex_trylock when called from
+Subject: [PATCH 283/386] stomp_machine: Use mutex_trylock when called from
inactive cpu
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=257485131d9fd71c8925f43e58a0b7c2edf14403
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8afe93d85abea9a5ce847d9ecc3f5b4d525b54eb
If the stop machinery is called from inactive CPU we cannot use
mutex_lock, because some other stomp machine invokation might be in
diff --git a/debian/patches/features/all/rt/0284-slab-Fix-up-stable-merge-of-slab-init_lock_keys.patch b/debian/patches/features/all/rt/0284-slab-Fix-up-stable-merge-of-slab-init_lock_keys.patch
index 450cdb0..af5a0c8 100644
--- a/debian/patches/features/all/rt/0284-slab-Fix-up-stable-merge-of-slab-init_lock_keys.patch
+++ b/debian/patches/features/all/rt/0284-slab-Fix-up-stable-merge-of-slab-init_lock_keys.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <srostedt at redhat.com>
Date: Tue, 16 Oct 2012 17:00:19 -0400
-Subject: [PATCH 284/380] slab: Fix up stable merge of slab init_lock_keys()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=736478ff62b5e56b8412c0ddcaf7c92cd2f56182
+Subject: [PATCH 284/386] slab: Fix up stable merge of slab init_lock_keys()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=caa9745da0fb26861c7c0f2c2e70eef5403fddfb
There was a stable fix that moved the init_lock_keys() to after
the enable_cpucache(). But -rt changed this function to
diff --git a/debian/patches/features/all/rt/0285-hrtimer-Raise-softirq-if-hrtimer-irq-stalled.patch b/debian/patches/features/all/rt/0285-hrtimer-Raise-softirq-if-hrtimer-irq-stalled.patch
index eae15bf..2fa535c 100644
--- a/debian/patches/features/all/rt/0285-hrtimer-Raise-softirq-if-hrtimer-irq-stalled.patch
+++ b/debian/patches/features/all/rt/0285-hrtimer-Raise-softirq-if-hrtimer-irq-stalled.patch
@@ -1,7 +1,7 @@
From: Watanabe <shunsuke.watanabe at tel.com>
Date: Sun, 28 Oct 2012 11:13:44 +0100
-Subject: [PATCH 285/380] hrtimer: Raise softirq if hrtimer irq stalled
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=600c64b366f0357ed6bbc4129acd834d5bb5d07d
+Subject: [PATCH 285/386] hrtimer: Raise softirq if hrtimer irq stalled
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=91dc70f718df2fbb5c4136d1a09cbce0e004a760
When the hrtimer stall detection hits the softirq is not raised.
@@ -12,10 +12,10 @@ Cc: stable-rt at vger.kernel.org
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
-index 15354c869341..ec3b5e7cbd4d 100644
+index 609399fa9ac0..54be0ec3c2fa 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
-@@ -1560,11 +1560,7 @@ retry:
+@@ -1582,11 +1582,7 @@ retry:
if (expires_next.tv64 == KTIME_MAX ||
!tick_program_event(expires_next, 0)) {
cpu_base->hang_detected = 0;
@@ -28,7 +28,7 @@ index 15354c869341..ec3b5e7cbd4d 100644
}
/*
-@@ -1608,6 +1604,9 @@ retry:
+@@ -1630,6 +1626,9 @@ retry:
tick_program_event(expires_next, 1);
printk_once(KERN_WARNING "hrtimer: interrupt took %llu ns\n",
ktime_to_ns(delta));
diff --git a/debian/patches/features/all/rt/0286-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch b/debian/patches/features/all/rt/0286-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch
index 69d7b32..bd6f5e4 100644
--- a/debian/patches/features/all/rt/0286-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch
+++ b/debian/patches/features/all/rt/0286-rcu-Disable-RCU_FAST_NO_HZ-on-RT.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 28 Oct 2012 13:26:09 +0000
-Subject: [PATCH 286/380] rcu: Disable RCU_FAST_NO_HZ on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=46c136e25404cc618b7b5a044d11c7e7aa15ca16
+Subject: [PATCH 286/386] rcu: Disable RCU_FAST_NO_HZ on RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c81c637ced748bb159d9f3f006d14e061dcfa3a4
This uses a timer_list timer from the irq disabled guts of the idle
code. Disable it for now to prevent wreckage.
diff --git a/debian/patches/features/all/rt/0287-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch b/debian/patches/features/all/rt/0287-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch
index 52c47c8..d0d070f 100644
--- a/debian/patches/features/all/rt/0287-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch
+++ b/debian/patches/features/all/rt/0287-net-netfilter-Serialize-xt_write_recseq-sections-on-.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sun, 28 Oct 2012 11:18:08 +0100
-Subject: [PATCH 287/380] net: netfilter: Serialize xt_write_recseq sections on
+Subject: [PATCH 287/386] net: netfilter: Serialize xt_write_recseq sections on
RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=70412ef316caaf758ebb931a95309b5fb3683c70
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6bf23e809014106fedaeeee6e39db060b39008e1
The netfilter code relies only on the implicit semantics of
local_bh_disable() for serializing wt_write_recseq sections. RT breaks
diff --git a/debian/patches/features/all/rt/0288-sched-Adjust-sched_reset_on_fork-when-nothing-else-c.patch b/debian/patches/features/all/rt/0288-sched-Adjust-sched_reset_on_fork-when-nothing-else-c.patch
index fb62eb3..c8f3f8d 100644
--- a/debian/patches/features/all/rt/0288-sched-Adjust-sched_reset_on_fork-when-nothing-else-c.patch
+++ b/debian/patches/features/all/rt/0288-sched-Adjust-sched_reset_on_fork-when-nothing-else-c.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 20 Dec 2012 14:58:00 +0100
-Subject: [PATCH 288/380] sched: Adjust sched_reset_on_fork when nothing else
+Subject: [PATCH 288/386] sched: Adjust sched_reset_on_fork when nothing else
changes
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=502b91545e86c724f6fd2d5382e58ff38809b6d6
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b30addbc6c83c94fae2979d08c953e6d64a90e69
If the policy and priority remain unchanged a possible modification of
sched_reset_on_fork gets lost in the early exit path.
diff --git a/debian/patches/features/all/rt/0289-sched-Queue-RT-tasks-to-head-when-prio-drops.patch b/debian/patches/features/all/rt/0289-sched-Queue-RT-tasks-to-head-when-prio-drops.patch
index 471d19f..b9015d7 100644
--- a/debian/patches/features/all/rt/0289-sched-Queue-RT-tasks-to-head-when-prio-drops.patch
+++ b/debian/patches/features/all/rt/0289-sched-Queue-RT-tasks-to-head-when-prio-drops.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 4 Dec 2012 08:56:41 +0100
-Subject: [PATCH 289/380] sched: Queue RT tasks to head when prio drops
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=72cecbcc2637fe9557e83dcf9fd1bfdc44d570ca
+Subject: [PATCH 289/386] sched: Queue RT tasks to head when prio drops
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=68f1f63cb7ba434bfff2f5792289fa2f66127a59
The following scenario does not work correctly:
diff --git a/debian/patches/features/all/rt/0290-sched-Consider-pi-boosting-in-setscheduler.patch b/debian/patches/features/all/rt/0290-sched-Consider-pi-boosting-in-setscheduler.patch
index ae99d30..9cb3ae2 100644
--- a/debian/patches/features/all/rt/0290-sched-Consider-pi-boosting-in-setscheduler.patch
+++ b/debian/patches/features/all/rt/0290-sched-Consider-pi-boosting-in-setscheduler.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 20 Dec 2012 15:13:49 +0100
-Subject: [PATCH 290/380] sched: Consider pi boosting in setscheduler
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fe25eff4e8094a853115242be98ee971908afacc
+Subject: [PATCH 290/386] sched: Consider pi boosting in setscheduler
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9e173a07fc470b41850f9b56475f4acaa7716c4d
If a PI boosted task policy/priority is modified by a setscheduler()
call we unconditionally dequeue and requeue the task if it is on the
@@ -25,10 +25,10 @@ Cc: stable-rt at vger.kernel.org
3 files changed, 48 insertions(+), 8 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index b58ff456ac71..40ce4de8cd04 100644
+index 25f06ced50eb..b5d55c014267 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -2150,6 +2150,7 @@ extern unsigned int sysctl_sched_cfs_bandwidth_slice;
+@@ -2152,6 +2152,7 @@ extern unsigned int sysctl_sched_cfs_bandwidth_slice;
#ifdef CONFIG_RT_MUTEXES
extern int rt_mutex_getprio(struct task_struct *p);
extern void rt_mutex_setprio(struct task_struct *p, int prio);
@@ -36,7 +36,7 @@ index b58ff456ac71..40ce4de8cd04 100644
extern void rt_mutex_adjust_pi(struct task_struct *p);
static inline bool tsk_is_pi_blocked(struct task_struct *tsk)
{
-@@ -2160,6 +2161,10 @@ static inline int rt_mutex_getprio(struct task_struct *p)
+@@ -2162,6 +2163,10 @@ static inline int rt_mutex_getprio(struct task_struct *p)
{
return p->normal_prio;
}
diff --git a/debian/patches/features/all/rt/0291-drivers-tty-pl011-irq-disable-madness.patch.patch b/debian/patches/features/all/rt/0291-drivers-tty-pl011-irq-disable-madness.patch.patch
index 05d8d68..8616d96 100644
--- a/debian/patches/features/all/rt/0291-drivers-tty-pl011-irq-disable-madness.patch.patch
+++ b/debian/patches/features/all/rt/0291-drivers-tty-pl011-irq-disable-madness.patch.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 8 Jan 2013 21:36:51 +0100
-Subject: [PATCH 291/380] drivers-tty-pl011-irq-disable-madness.patch
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=056c24a800a0f3f264f2ad7517a1648b08ab5d44
+Subject: [PATCH 291/386] drivers-tty-pl011-irq-disable-madness.patch
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fd34aea93e89f7d588066db966f3284f8d0548ef
Cc: stable-rt at vger.kernel.org
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
diff --git a/debian/patches/features/all/rt/0292-mmci-Remove-bogus-local_irq_save.patch b/debian/patches/features/all/rt/0292-mmci-Remove-bogus-local_irq_save.patch
index 27525b6..cd76f5a 100644
--- a/debian/patches/features/all/rt/0292-mmci-Remove-bogus-local_irq_save.patch
+++ b/debian/patches/features/all/rt/0292-mmci-Remove-bogus-local_irq_save.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 9 Jan 2013 12:11:12 +0100
-Subject: [PATCH 292/380] mmci: Remove bogus local_irq_save()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3a3e98b5171c4c5129a8e29b213da35efffba894
+Subject: [PATCH 292/386] mmci: Remove bogus local_irq_save()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b07786ded16d8c064f889eed53cee211c6391068
On !RT interrupt runs with interrupts disabled. On RT it's in a
thread, so no need to disable interrupts at all.
diff --git a/debian/patches/features/all/rt/0293-sched-Init-idle-on_rq-in-init_idle.patch b/debian/patches/features/all/rt/0293-sched-Init-idle-on_rq-in-init_idle.patch
index 374845a..f22378b 100644
--- a/debian/patches/features/all/rt/0293-sched-Init-idle-on_rq-in-init_idle.patch
+++ b/debian/patches/features/all/rt/0293-sched-Init-idle-on_rq-in-init_idle.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 9 Jan 2013 23:03:29 +0100
-Subject: [PATCH 293/380] sched: Init idle->on_rq in init_idle()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e853bef80a0bbaba8431f38613b44c8398f9d7bd
+Subject: [PATCH 293/386] sched: Init idle->on_rq in init_idle()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=107fe1180cf56f36cafd7ceaa5cac62a24040c8a
Cc: stable-rt at vger.kernel.org
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
diff --git a/debian/patches/features/all/rt/0294-sched-Check-for-idle-task-in-might_sleep.patch b/debian/patches/features/all/rt/0294-sched-Check-for-idle-task-in-might_sleep.patch
index 297639e..2ca8439 100644
--- a/debian/patches/features/all/rt/0294-sched-Check-for-idle-task-in-might_sleep.patch
+++ b/debian/patches/features/all/rt/0294-sched-Check-for-idle-task-in-might_sleep.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 9 Jan 2013 23:34:08 +0100
-Subject: [PATCH 294/380] sched: Check for idle task in might_sleep()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b20f81963a3d4782f9d24cd602298efaafb877c3
+Subject: [PATCH 294/386] sched: Check for idle task in might_sleep()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d9e738205c8c3ff286403393f86160382cc563dd
Idle is not allowed to call sleeping functions ever!
diff --git a/debian/patches/features/all/rt/0295-mm-swap-Initialize-local-locks-early.patch b/debian/patches/features/all/rt/0295-mm-swap-Initialize-local-locks-early.patch
index 162d180..da83a5f 100644
--- a/debian/patches/features/all/rt/0295-mm-swap-Initialize-local-locks-early.patch
+++ b/debian/patches/features/all/rt/0295-mm-swap-Initialize-local-locks-early.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 10 Jan 2013 09:50:51 +0100
-Subject: [PATCH 295/380] mm: swap: Initialize local locks early
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bf76a82c84ac9b8193e8da95c6605ae2a0d13041
+Subject: [PATCH 295/386] mm: swap: Initialize local locks early
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=625d6bbe1e7b1f258d8489fdbc60f07f5e5cf18a
Cc: stable-rt at vger.kernel.org
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
diff --git a/debian/patches/features/all/rt/0296-x86-32-Use-kmap-switch-for-non-highmem-as-well.patch b/debian/patches/features/all/rt/0296-x86-32-Use-kmap-switch-for-non-highmem-as-well.patch
index 8c98b70..7cbf3d2 100644
--- a/debian/patches/features/all/rt/0296-x86-32-Use-kmap-switch-for-non-highmem-as-well.patch
+++ b/debian/patches/features/all/rt/0296-x86-32-Use-kmap-switch-for-non-highmem-as-well.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 13 Feb 2013 10:59:53 +0100
-Subject: [PATCH 296/380] x86/32: Use kmap switch for non highmem as well
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e04ea0a8071339f7f94342ee092263c9f06783db
+Subject: [PATCH 296/386] x86/32: Use kmap switch for non highmem as well
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=06a4e7a12debea952116aa4d824edb15fbfd552b
Even with CONFIG_HIGHMEM=n we need to take care of the "atomic"
mappings which are installed via iomap_atomic.
@@ -28,10 +28,10 @@ index 20f15731ec90..66ee59039965 100644
* Save @prev's kmap_atomic stack
*/
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index 40ce4de8cd04..ea42d65c5ebb 100644
+index b5d55c014267..dbbee85f3b6a 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -1613,9 +1613,11 @@ struct task_struct {
+@@ -1615,9 +1615,11 @@ struct task_struct {
struct rcu_head put_rcu;
int softirq_nestcnt;
#endif
diff --git a/debian/patches/features/all/rt/0297-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch b/debian/patches/features/all/rt/0297-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch
index 4f48f2c..d0b96eb 100644
--- a/debian/patches/features/all/rt/0297-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch
+++ b/debian/patches/features/all/rt/0297-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Wed, 13 Feb 2013 09:26:05 -0500
-Subject: [PATCH 297/380] acpi/rt: Convert acpi_gbl_hardware lock back to a
+Subject: [PATCH 297/386] acpi/rt: Convert acpi_gbl_hardware lock back to a
raw_spinlock_t
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f82e42c2b81b305c7e1bed859378ef6495eec4bf
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d01cdb5f27d87783ed624e64a475ad7d1d8c33ed
We hit the following bug with 3.6-rt:
diff --git a/debian/patches/features/all/rt/0298-serial-Imx-Fix-recursive-locking-bug.patch b/debian/patches/features/all/rt/0298-serial-Imx-Fix-recursive-locking-bug.patch
index 02d3b67..201f39a 100644
--- a/debian/patches/features/all/rt/0298-serial-Imx-Fix-recursive-locking-bug.patch
+++ b/debian/patches/features/all/rt/0298-serial-Imx-Fix-recursive-locking-bug.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 14 Feb 2013 21:01:06 +0100
-Subject: [PATCH 298/380] serial: Imx: Fix recursive locking bug
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=42d8ad7b45df29bd9357f713a6d141171e8c6373
+Subject: [PATCH 298/386] serial: Imx: Fix recursive locking bug
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=75d08ea7708db7219aa4e52029713b38094d7bf7
commit 9ec1882df2 (tty: serial: imx: console write routing is unsafe
on SMP) introduced a recursive locking bug in imx_console_write().
diff --git a/debian/patches/features/all/rt/0299-wait-simple-Simple-waitqueue-implementation.patch b/debian/patches/features/all/rt/0299-wait-simple-Simple-waitqueue-implementation.patch
index 3727b35..377cc60 100644
--- a/debian/patches/features/all/rt/0299-wait-simple-Simple-waitqueue-implementation.patch
+++ b/debian/patches/features/all/rt/0299-wait-simple-Simple-waitqueue-implementation.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 12 Dec 2011 12:29:04 +0100
-Subject: [PATCH 299/380] wait-simple: Simple waitqueue implementation
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ae87cb7ebc21efbf439b6c3a128a4ee9ecd120ff
+Subject: [PATCH 299/386] wait-simple: Simple waitqueue implementation
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5a8efd079bd0e480f10e8d213a878211b70a377c
wait_queue is a swiss army knife and in most of the cases the
complexity is not needed. For RT waitqueues are a constant source of
diff --git a/debian/patches/features/all/rt/0300-rcutiny-Use-simple-waitqueue.patch b/debian/patches/features/all/rt/0300-rcutiny-Use-simple-waitqueue.patch
index 09b4397..8f87013 100644
--- a/debian/patches/features/all/rt/0300-rcutiny-Use-simple-waitqueue.patch
+++ b/debian/patches/features/all/rt/0300-rcutiny-Use-simple-waitqueue.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 3 Dec 2012 16:25:21 +0100
-Subject: [PATCH 300/380] rcutiny: Use simple waitqueue
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9faf7a984d084883a8bcb35e15728ae450b65c8c
+Subject: [PATCH 300/386] rcutiny: Use simple waitqueue
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=43eb5ec487e5231e0de43704d046b365b158f81a
Simple waitqueues can be handled from interrupt disabled contexts.
diff --git a/debian/patches/features/all/rt/0301-rcutiny-Fix-typo-of-using-swake_up-instead-of-swait_.patch b/debian/patches/features/all/rt/0301-rcutiny-Fix-typo-of-using-swake_up-instead-of-swait_.patch
index fb625bf..af370c5 100644
--- a/debian/patches/features/all/rt/0301-rcutiny-Fix-typo-of-using-swake_up-instead-of-swait_.patch
+++ b/debian/patches/features/all/rt/0301-rcutiny-Fix-typo-of-using-swake_up-instead-of-swait_.patch
@@ -1,8 +1,8 @@
From: "Steven Rostedt (Red Hat)" <rostedt at goodmis.org>
Date: Wed, 1 May 2013 09:38:20 -0400
-Subject: [PATCH 301/380] rcutiny: Fix typo of using swake_up() instead of
+Subject: [PATCH 301/386] rcutiny: Fix typo of using swake_up() instead of
swait_wake()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=aa46558a632e019a93989ff2171cdee32873dc0f
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=50876647dee2ef17b5796b7e98765724f74ad178
Converting the rcutiny wake up queues to use the simple wait queues
there was a typo in one of the functions.
diff --git a/debian/patches/features/all/rt/0302-x86-mce-Defer-mce-wakeups-to-threads-for-PREEMPT_RT.patch b/debian/patches/features/all/rt/0302-x86-mce-Defer-mce-wakeups-to-threads-for-PREEMPT_RT.patch
index 8ae8c38..c40be47 100644
--- a/debian/patches/features/all/rt/0302-x86-mce-Defer-mce-wakeups-to-threads-for-PREEMPT_RT.patch
+++ b/debian/patches/features/all/rt/0302-x86-mce-Defer-mce-wakeups-to-threads-for-PREEMPT_RT.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Thu, 11 Apr 2013 14:33:34 -0400
-Subject: [PATCH 302/380] x86/mce: Defer mce wakeups to threads for PREEMPT_RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bb5cc24b4ca17e2b086bbb3ee603933e8703d963
+Subject: [PATCH 302/386] x86/mce: Defer mce wakeups to threads for PREEMPT_RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d667e8cd9d3aae3e87bea7e6205950d0b94c68fb
We had a customer report a lockup on a 3.0-rt kernel that had the
following backtrace:
diff --git a/debian/patches/features/all/rt/0303-swap-Use-unique-local-lock-name-for-swap_lock.patch b/debian/patches/features/all/rt/0303-swap-Use-unique-local-lock-name-for-swap_lock.patch
index 530de49..c570252 100644
--- a/debian/patches/features/all/rt/0303-swap-Use-unique-local-lock-name-for-swap_lock.patch
+++ b/debian/patches/features/all/rt/0303-swap-Use-unique-local-lock-name-for-swap_lock.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Tue, 23 Apr 2013 16:10:00 -0400
-Subject: [PATCH 303/380] swap: Use unique local lock name for swap_lock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=305b4ebe5aa98e4a8f7f901e7834cd07b5d35776
+Subject: [PATCH 303/386] swap: Use unique local lock name for swap_lock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2834cdd118925e2a17ccc2fad99b6e458d7229ff
From lib/Kconfig.debug on CONFIG_FORCE_WEAK_PER_CPU:
diff --git a/debian/patches/features/all/rt/0304-sched-Add-is_idle_task-to-handle-invalidated-uses-of.patch b/debian/patches/features/all/rt/0304-sched-Add-is_idle_task-to-handle-invalidated-uses-of.patch
index 990fc02..7d4ffc6 100644
--- a/debian/patches/features/all/rt/0304-sched-Add-is_idle_task-to-handle-invalidated-uses-of.patch
+++ b/debian/patches/features/all/rt/0304-sched-Add-is_idle_task-to-handle-invalidated-uses-of.patch
@@ -1,8 +1,8 @@
From: "Paul E. McKenney" <paul.mckenney at linaro.org>
Date: Thu, 10 Nov 2011 12:41:56 -0800
-Subject: [PATCH 304/380] sched: Add is_idle_task() to handle invalidated uses
+Subject: [PATCH 304/386] sched: Add is_idle_task() to handle invalidated uses
of idle_cpu()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a8b74cecf1e3cbef0676ed438f0519b99a30c91b
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f514ddb9713235d3e08515a9662d5c3dd770c4b2
Commit 908a3283 (Fix idle_cpu()) invalidated some uses of idle_cpu(),
which used to say whether or not the CPU was running the idle task,
@@ -26,10 +26,10 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
1 file changed, 8 insertions(+)
diff --git a/include/linux/sched.h b/include/linux/sched.h
-index ea42d65c5ebb..a15cfd1bac9f 100644
+index dbbee85f3b6a..e14ca4f24b2b 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
-@@ -2186,6 +2186,14 @@ extern int sched_setscheduler(struct task_struct *, int,
+@@ -2188,6 +2188,14 @@ extern int sched_setscheduler(struct task_struct *, int,
extern int sched_setscheduler_nocheck(struct task_struct *, int,
const struct sched_param *);
extern struct task_struct *idle_task(int cpu);
diff --git a/debian/patches/features/all/rt/0305-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch b/debian/patches/features/all/rt/0305-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch
index b03079c..8a562ed 100644
--- a/debian/patches/features/all/rt/0305-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch
+++ b/debian/patches/features/all/rt/0305-sched-workqueue-Only-wake-up-idle-workers-if-not-blo.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Mon, 18 Mar 2013 15:12:49 -0400
-Subject: [PATCH 305/380] sched/workqueue: Only wake up idle workers if not
+Subject: [PATCH 305/386] sched/workqueue: Only wake up idle workers if not
blocked on sleeping spin lock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1f182981fda6d2ea9b836bea3931f20e8dceb7d2
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ce0667d68e321079a0d911ce72308fb23415378c
In -rt, most spin_locks() turn into mutexes. One of these spin_lock
conversions is performed on the workqueue gcwq->lock. When the idle
diff --git a/debian/patches/features/all/rt/0306-x86-mce-fix-mce-timer-interval.patch b/debian/patches/features/all/rt/0306-x86-mce-fix-mce-timer-interval.patch
index 76b71ef..8727d82 100644
--- a/debian/patches/features/all/rt/0306-x86-mce-fix-mce-timer-interval.patch
+++ b/debian/patches/features/all/rt/0306-x86-mce-fix-mce-timer-interval.patch
@@ -1,7 +1,7 @@
From: Mike Galbraith <bitbucket at online.de>
Date: Wed, 29 May 2013 13:52:13 +0200
-Subject: [PATCH 306/380] x86/mce: fix mce timer interval
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=02a83ace5f569928019d3006fbe044de1438b1ea
+Subject: [PATCH 306/386] x86/mce: fix mce timer interval
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=09a123fda8c5f471d93a826ed944d3b48275c2fb
Seems mce timer fire at the wrong frequency in -rt kernels since roughly
forever due to 32 bit overflow. 3.8-rt is also missing a multiplier.
diff --git a/debian/patches/features/all/rt/0307-genirq-Set-irq-thread-to-RT-priority-on-creation.patch b/debian/patches/features/all/rt/0307-genirq-Set-irq-thread-to-RT-priority-on-creation.patch
index 30ca166..591c512 100644
--- a/debian/patches/features/all/rt/0307-genirq-Set-irq-thread-to-RT-priority-on-creation.patch
+++ b/debian/patches/features/all/rt/0307-genirq-Set-irq-thread-to-RT-priority-on-creation.patch
@@ -1,7 +1,7 @@
From: Ivo Sieben <meltedpianoman at gmail.com>
Date: Mon, 3 Jun 2013 10:12:02 +0000
-Subject: [PATCH 307/380] genirq: Set irq thread to RT priority on creation
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bf196111b1aff0a14cd114cba75c8f8bd3b29115
+Subject: [PATCH 307/386] genirq: Set irq thread to RT priority on creation
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0e830edac33779baadb232e68984af745036edd2
When a threaded irq handler is installed the irq thread is initially
created on normal scheduling priority. Only after the irq thread is
diff --git a/debian/patches/features/all/rt/0308-list_bl.h-make-list-head-locking-RT-safe.patch b/debian/patches/features/all/rt/0308-list_bl.h-make-list-head-locking-RT-safe.patch
index a8ddcdc..5d07653 100644
--- a/debian/patches/features/all/rt/0308-list_bl.h-make-list-head-locking-RT-safe.patch
+++ b/debian/patches/features/all/rt/0308-list_bl.h-make-list-head-locking-RT-safe.patch
@@ -1,7 +1,7 @@
From: Paul Gortmaker <paul.gortmaker at windriver.com>
Date: Fri, 21 Jun 2013 15:07:25 -0400
-Subject: [PATCH 308/380] list_bl.h: make list head locking RT safe
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ae2e07f01fadb13b1fffdc1010fab0fdf538c7fa
+Subject: [PATCH 308/386] list_bl.h: make list head locking RT safe
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b337f01335459c74f244b57afb725bb70cc1b839
As per changes in include/linux/jbd_common.h for avoiding the
bit_spin_locks on RT ("fs: jbd/jbd2: Make state lock and journal
diff --git a/debian/patches/features/all/rt/0309-list_bl.h-fix-it-for-for-SMP-DEBUG_SPINLOCK.patch b/debian/patches/features/all/rt/0309-list_bl.h-fix-it-for-for-SMP-DEBUG_SPINLOCK.patch
index 806228a..26d6e73 100644
--- a/debian/patches/features/all/rt/0309-list_bl.h-fix-it-for-for-SMP-DEBUG_SPINLOCK.patch
+++ b/debian/patches/features/all/rt/0309-list_bl.h-fix-it-for-for-SMP-DEBUG_SPINLOCK.patch
@@ -1,10 +1,10 @@
From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <u.kleine-koenig at pengutronix.de>
Date: Tue, 9 Jul 2013 00:26:32 +0200
-Subject: [PATCH 309/380] list_bl.h: fix it for for !SMP && !DEBUG_SPINLOCK
+Subject: [PATCH 309/386] list_bl.h: fix it for for !SMP && !DEBUG_SPINLOCK
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=176c7c53fb7a511b0878caccd557567236e7020e
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a15d1a6c4ce8ab2be19d50040a04588be6d83785
The patch "list_bl.h: make list head locking RT safe" introduced
an unconditional
diff --git a/debian/patches/features/all/rt/0310-timers-prepare-for-full-preemption-improve.patch b/debian/patches/features/all/rt/0310-timers-prepare-for-full-preemption-improve.patch
index edc4af8..a184b3e 100644
--- a/debian/patches/features/all/rt/0310-timers-prepare-for-full-preemption-improve.patch
+++ b/debian/patches/features/all/rt/0310-timers-prepare-for-full-preemption-improve.patch
@@ -1,7 +1,7 @@
From: Zhao Hongjiang <zhaohongjiang at huawei.com>
Date: Wed, 17 Apr 2013 17:44:16 +0800
-Subject: [PATCH 310/380] timers: prepare for full preemption improve
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=99d12a8da25ec86fce2a32c989aa26102a924a4c
+Subject: [PATCH 310/386] timers: prepare for full preemption improve
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0a9430ca04314bc6c879b6071be7d7dd57e5132a
wake_up should do nothing on the nort, so we should use wakeup_timer_waiters,
also fix a spell mistake.
diff --git a/debian/patches/features/all/rt/0311-kernel-cpu-fix-cpu-down-problem-if-kthread-s-cpu-is-.patch b/debian/patches/features/all/rt/0311-kernel-cpu-fix-cpu-down-problem-if-kthread-s-cpu-is-.patch
index 24f4c6d..d8edfa1 100644
--- a/debian/patches/features/all/rt/0311-kernel-cpu-fix-cpu-down-problem-if-kthread-s-cpu-is-.patch
+++ b/debian/patches/features/all/rt/0311-kernel-cpu-fix-cpu-down-problem-if-kthread-s-cpu-is-.patch
@@ -1,8 +1,8 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Fri, 7 Jun 2013 22:37:06 +0200
-Subject: [PATCH 311/380] kernel/cpu: fix cpu down problem if kthread's cpu is
+Subject: [PATCH 311/386] kernel/cpu: fix cpu down problem if kthread's cpu is
going down
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=144c4ab59d0c6ab4f3b1d5f05a64f303eb4aebe0
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ace373c78d49fb236925a37fba5efaed0c3ebb69
If kthread is pinned to CPUx and CPUx is going down then we get into
trouble:
diff --git a/debian/patches/features/all/rt/0312-kernel-hotplug-restore-original-cpu-mask-oncpu-down.patch b/debian/patches/features/all/rt/0312-kernel-hotplug-restore-original-cpu-mask-oncpu-down.patch
index 41a88c4..2dacff7 100644
--- a/debian/patches/features/all/rt/0312-kernel-hotplug-restore-original-cpu-mask-oncpu-down.patch
+++ b/debian/patches/features/all/rt/0312-kernel-hotplug-restore-original-cpu-mask-oncpu-down.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Fri, 14 Jun 2013 17:16:35 +0200
-Subject: [PATCH 312/380] kernel/hotplug: restore original cpu mask oncpu/down
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=397dc43e20f9735913aac707fe85af15de249562
+Subject: [PATCH 312/386] kernel/hotplug: restore original cpu mask oncpu/down
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9be26b5b1c8d752bbb74e98f1fe2660c21c89d46
If a task which is allowed to run only on CPU X puts CPU Y down then it
will be allowed on all CPUs but the on CPU Y after it comes back from
diff --git a/debian/patches/features/all/rt/0313-drm-i915-drop-trace_i915_gem_ring_dispatch-on-rt.patch b/debian/patches/features/all/rt/0313-drm-i915-drop-trace_i915_gem_ring_dispatch-on-rt.patch
index 8e99fd9..1f08247 100644
--- a/debian/patches/features/all/rt/0313-drm-i915-drop-trace_i915_gem_ring_dispatch-on-rt.patch
+++ b/debian/patches/features/all/rt/0313-drm-i915-drop-trace_i915_gem_ring_dispatch-on-rt.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Thu, 25 Apr 2013 18:12:52 +0200
-Subject: [PATCH 313/380] drm/i915: drop trace_i915_gem_ring_dispatch on rt
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3c87ab66415f36f7aadc83d7683e9469a293cd12
+Subject: [PATCH 313/386] drm/i915: drop trace_i915_gem_ring_dispatch on rt
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0c29c58840176ccdbedb271e82259f793ff2310c
This tracepoint is responsible for:
diff --git a/debian/patches/features/all/rt/0314-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch b/debian/patches/features/all/rt/0314-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch
index f6d35df..a77c946 100644
--- a/debian/patches/features/all/rt/0314-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch
+++ b/debian/patches/features/all/rt/0314-rt-ntp-Move-call-to-schedule_delayed_work-to-helper-.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Wed, 26 Jun 2013 15:28:11 -0400
-Subject: [PATCH 314/380] rt,ntp: Move call to schedule_delayed_work() to
+Subject: [PATCH 314/386] rt,ntp: Move call to schedule_delayed_work() to
helper thread
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6596204f4241207305bad50b415996dc7ab45262
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4000787c5c52ef0541037599b053d3843d96d28b
The ntp code for notify_cmos_timer() is called from a hard interrupt
context. schedule_delayed_work() under PREEMPT_RT_FULL calls spinlocks
diff --git a/debian/patches/features/all/rt/0315-hwlat-detector-Update-hwlat_detector-to-add-outer-lo.patch b/debian/patches/features/all/rt/0315-hwlat-detector-Update-hwlat_detector-to-add-outer-lo.patch
index a078b2b..207d3a1 100644
--- a/debian/patches/features/all/rt/0315-hwlat-detector-Update-hwlat_detector-to-add-outer-lo.patch
+++ b/debian/patches/features/all/rt/0315-hwlat-detector-Update-hwlat_detector-to-add-outer-lo.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Mon, 19 Aug 2013 17:33:25 -0400
-Subject: [PATCH 315/380] hwlat-detector: Update hwlat_detector to add outer
+Subject: [PATCH 315/386] hwlat-detector: Update hwlat_detector to add outer
loop detection
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=13a116f630b9c520c62714a9a20f4b5fffcee39f
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a3691aeade92aeee9f8853de246a1ca0b3e3ebd8
The hwlat_detector reads two timestamps in a row, then reports any
gap between those calls. The problem is, it misses everything between
diff --git a/debian/patches/features/all/rt/0316-hwlat-detect-trace-Export-trace_clock_local-for-hwla.patch b/debian/patches/features/all/rt/0316-hwlat-detect-trace-Export-trace_clock_local-for-hwla.patch
index 7742a38..68cd1a7 100644
--- a/debian/patches/features/all/rt/0316-hwlat-detect-trace-Export-trace_clock_local-for-hwla.patch
+++ b/debian/patches/features/all/rt/0316-hwlat-detect-trace-Export-trace_clock_local-for-hwla.patch
@@ -1,8 +1,8 @@
From: "Steven Rostedt (Red Hat)" <rostedt at goodmis.org>
Date: Sat, 7 Sep 2013 20:54:31 -0400
-Subject: [PATCH 316/380] hwlat-detect/trace: Export trace_clock_local for
+Subject: [PATCH 316/386] hwlat-detect/trace: Export trace_clock_local for
hwlat-detector
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=30b72580335386fc1a151454b8371fa9a546d0b7
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f18ba316b825dbfb0e09a17c97311c1b6a35ef1f
The hwlat-detector needs a better clock than just ktime_get() as that
can induce its own latencies. The trace clock is perfect for it, but
diff --git a/debian/patches/features/all/rt/0317-hwlat-detector-Use-trace_clock_local-if-available.patch b/debian/patches/features/all/rt/0317-hwlat-detector-Use-trace_clock_local-if-available.patch
index 26f69ea..a2780ca 100644
--- a/debian/patches/features/all/rt/0317-hwlat-detector-Use-trace_clock_local-if-available.patch
+++ b/debian/patches/features/all/rt/0317-hwlat-detector-Use-trace_clock_local-if-available.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Mon, 19 Aug 2013 17:33:26 -0400
-Subject: [PATCH 317/380] hwlat-detector: Use trace_clock_local if available
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c4132deb645b642eb0fdcb3cc5c70b7d17f20834
+Subject: [PATCH 317/386] hwlat-detector: Use trace_clock_local if available
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f72726bb088a91053c8e1249431e26152f4f094c
As ktime_get() calls into the timing code which does a read_seq(), it
may be affected by other CPUS that touch that lock. To remove this
diff --git a/debian/patches/features/all/rt/0318-hwlat-detector-Use-thread-instead-of-stop-machine.patch b/debian/patches/features/all/rt/0318-hwlat-detector-Use-thread-instead-of-stop-machine.patch
index ac52788..0797401 100644
--- a/debian/patches/features/all/rt/0318-hwlat-detector-Use-thread-instead-of-stop-machine.patch
+++ b/debian/patches/features/all/rt/0318-hwlat-detector-Use-thread-instead-of-stop-machine.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Mon, 19 Aug 2013 17:33:27 -0400
-Subject: [PATCH 318/380] hwlat-detector: Use thread instead of stop machine
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b3a3ca58de016e5ee597979a596357b6e141c74f
+Subject: [PATCH 318/386] hwlat-detector: Use thread instead of stop machine
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=651e39939a060fd2c6be6f06c5372848107809b3
There's no reason to use stop machine to search for hardware latency.
Simply disabling interrupts while running the loop will do enough to
diff --git a/debian/patches/features/all/rt/0319-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch b/debian/patches/features/all/rt/0319-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch
index 49dd55c..4355363 100644
--- a/debian/patches/features/all/rt/0319-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch
+++ b/debian/patches/features/all/rt/0319-genirq-do-not-invoke-the-affinity-callback-via-a-wor.patch
@@ -1,8 +1,8 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Wed, 21 Aug 2013 17:48:46 +0200
-Subject: [PATCH 319/380] genirq: do not invoke the affinity callback via a
+Subject: [PATCH 319/386] genirq: do not invoke the affinity callback via a
workqueue
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6ba037c3804b00555017467d16a7c7c2df823c83
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ce0f9d0c4d2104dbf074d8af805ce3634c8fc7f4
Joe Korty reported, that __irq_set_affinity_locked() schedules a
workqueue while holding a rawlock which results in a might_sleep()
diff --git a/debian/patches/features/all/rt/0320-genirq-Set-the-irq-thread-policy-without-checking-CA.patch b/debian/patches/features/all/rt/0320-genirq-Set-the-irq-thread-policy-without-checking-CA.patch
index 403462a..7192d82 100644
--- a/debian/patches/features/all/rt/0320-genirq-Set-the-irq-thread-policy-without-checking-CA.patch
+++ b/debian/patches/features/all/rt/0320-genirq-Set-the-irq-thread-policy-without-checking-CA.patch
@@ -1,8 +1,8 @@
From: Thomas Pfaff <tpfaff at pcs.com>
Date: Fri, 11 Oct 2013 12:42:49 +0200
-Subject: [PATCH 320/380] genirq: Set the irq thread policy without checking
+Subject: [PATCH 320/386] genirq: Set the irq thread policy without checking
CAP_SYS_NICE
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6917415022ffc4d3483caa5c0dd31d0abae3e0ac
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c779f6254a50ce1360d2189b1ea0cffb3beded34
In commit ee23871389 ("genirq: Set irq thread to RT priority on
creation") we moved the assigment of the thread's priority from the
diff --git a/debian/patches/features/all/rt/0321-hwlat-detector-Don-t-ignore-threshold-module-paramet.patch b/debian/patches/features/all/rt/0321-hwlat-detector-Don-t-ignore-threshold-module-paramet.patch
index a71f54a..bdd3493 100644
--- a/debian/patches/features/all/rt/0321-hwlat-detector-Don-t-ignore-threshold-module-paramet.patch
+++ b/debian/patches/features/all/rt/0321-hwlat-detector-Don-t-ignore-threshold-module-paramet.patch
@@ -1,8 +1,8 @@
From: Mike Galbraith <bitbucket at online.de>
Date: Fri, 30 Aug 2013 07:57:25 +0200
-Subject: [PATCH 321/380] hwlat-detector: Don't ignore threshold module
+Subject: [PATCH 321/386] hwlat-detector: Don't ignore threshold module
parameter
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5c49890f74cdef54c9e1f063c8a034c9f6c54927
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bc540d8d7ff9c7c0d9273d5fb57c66650a97ab39
If the user specified a threshold at module load time, use it.
diff --git a/debian/patches/features/all/rt/0322-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch b/debian/patches/features/all/rt/0322-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch
index 5d517b8..4bb4590 100644
--- a/debian/patches/features/all/rt/0322-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch
+++ b/debian/patches/features/all/rt/0322-mm-memcontrol-Don-t-call-schedule_work_on-in-preempt.patch
@@ -1,8 +1,8 @@
From: Yang Shi <yang.shi at windriver.com>
Date: Wed, 30 Oct 2013 11:48:33 -0700
-Subject: [PATCH 322/380] mm/memcontrol: Don't call schedule_work_on in
+Subject: [PATCH 322/386] mm/memcontrol: Don't call schedule_work_on in
preemption disabled context
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=595f1c19b1f69c319521e67215129209498e4bef
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a044552a91232f294c27375e816908be87bc9ecf
The following trace is triggered when running ltp oom test cases:
diff --git a/debian/patches/features/all/rt/0323-drm-remove-preempt_disable-from-drm_calc_vbltimestam.patch b/debian/patches/features/all/rt/0323-drm-remove-preempt_disable-from-drm_calc_vbltimestam.patch
index 0c6b6d4..624cae3 100644
--- a/debian/patches/features/all/rt/0323-drm-remove-preempt_disable-from-drm_calc_vbltimestam.patch
+++ b/debian/patches/features/all/rt/0323-drm-remove-preempt_disable-from-drm_calc_vbltimestam.patch
@@ -1,8 +1,8 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Fri, 11 Oct 2013 17:14:31 +0200
-Subject: [PATCH 323/380] drm: remove preempt_disable() from
+Subject: [PATCH 323/386] drm: remove preempt_disable() from
drm_calc_vbltimestamp_from_scanoutpos()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c60eccee94d5a5aa45515e1db2d80dd39eb2503a
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b5885ac93ed6e7940b163a9abc7c80d812483e24
Luis captured the following:
diff --git a/debian/patches/features/all/rt/0324-cpu_down-move-migrate_enable-back.patch b/debian/patches/features/all/rt/0324-cpu_down-move-migrate_enable-back.patch
index 19784c9..b9732d3 100644
--- a/debian/patches/features/all/rt/0324-cpu_down-move-migrate_enable-back.patch
+++ b/debian/patches/features/all/rt/0324-cpu_down-move-migrate_enable-back.patch
@@ -1,7 +1,7 @@
From: Tiejun Chen <tiejun.chen at windriver.com>
Date: Thu, 7 Nov 2013 10:06:07 +0800
-Subject: [PATCH 324/380] cpu_down: move migrate_enable() back
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=04569469d8b0f8a6049b47d039dac5a50bd2c9ed
+Subject: [PATCH 324/386] cpu_down: move migrate_enable() back
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ea339a9b7d4ac18c8e7714d59ce4c1cbdece4f03
Commit 08c1ab68, "hotplug-use-migrate-disable.patch", intends to
use migrate_enable()/migrate_disable() to replace that combination
diff --git a/debian/patches/features/all/rt/0325-swait-Add-a-few-more-users.patch b/debian/patches/features/all/rt/0325-swait-Add-a-few-more-users.patch
index 1c3df1b..ba57e9d 100644
--- a/debian/patches/features/all/rt/0325-swait-Add-a-few-more-users.patch
+++ b/debian/patches/features/all/rt/0325-swait-Add-a-few-more-users.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Mon, 28 Oct 2013 11:50:06 +0100
-Subject: [PATCH 325/380] swait: Add a few more users
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3d21084ce3dce46b93945ddb99d07de8823b3679
+Subject: [PATCH 325/386] swait: Add a few more users
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a6237fcc359e6d0c6eac06f7a7dcce1a62156d50
The wait-simple queue is lighter weight and more efficient than the full
wait queue, and may be used in atomic context on PREEMPT_RT.
diff --git a/debian/patches/features/all/rt/0326-lockdep-Correctly-annotate-hardirq-context-in-irq_ex.patch b/debian/patches/features/all/rt/0326-lockdep-Correctly-annotate-hardirq-context-in-irq_ex.patch
index 52677c8..838e690 100644
--- a/debian/patches/features/all/rt/0326-lockdep-Correctly-annotate-hardirq-context-in-irq_ex.patch
+++ b/debian/patches/features/all/rt/0326-lockdep-Correctly-annotate-hardirq-context-in-irq_ex.patch
@@ -1,8 +1,8 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Tue, 19 Nov 2013 16:42:47 +0100
-Subject: [PATCH 326/380] lockdep: Correctly annotate hardirq context in
+Subject: [PATCH 326/386] lockdep: Correctly annotate hardirq context in
irq_exit()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=957540cdfad5ae2a9c5bb884a8cbc9edd97e36e6
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=99fc9dbcc7d580627e348b3b006fc0feef58fac0
There was a reported deadlock on -rt which lockdep didn't report.
diff --git a/debian/patches/features/all/rt/0327-rtmutex-use-a-trylock-for-waiter-lock-in-trylock.patch b/debian/patches/features/all/rt/0327-rtmutex-use-a-trylock-for-waiter-lock-in-trylock.patch
index 3d3b99d..008f9f7 100644
--- a/debian/patches/features/all/rt/0327-rtmutex-use-a-trylock-for-waiter-lock-in-trylock.patch
+++ b/debian/patches/features/all/rt/0327-rtmutex-use-a-trylock-for-waiter-lock-in-trylock.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Fri, 15 Nov 2013 15:46:50 +0100
-Subject: [PATCH 327/380] rtmutex: use a trylock for waiter lock in trylock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=54556ea791a128596b27c5145125da2dbbbe016c
+Subject: [PATCH 327/386] rtmutex: use a trylock for waiter lock in trylock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=321d0a036840a265e7ab79089c130f5f909ee3ab
Mike Galbraith captered the following:
| >#11 [ffff88017b243e90] _raw_spin_lock at ffffffff815d2596
diff --git a/debian/patches/features/all/rt/0328-smp-introduce-a-generic-on_each_cpu_mask-function.patch b/debian/patches/features/all/rt/0328-smp-introduce-a-generic-on_each_cpu_mask-function.patch
index e67bc59..b21c67e 100644
--- a/debian/patches/features/all/rt/0328-smp-introduce-a-generic-on_each_cpu_mask-function.patch
+++ b/debian/patches/features/all/rt/0328-smp-introduce-a-generic-on_each_cpu_mask-function.patch
@@ -1,7 +1,7 @@
From: Gilad Ben-Yossef <gilad at benyossef.com>
Date: Wed, 28 Mar 2012 14:42:43 -0700
-Subject: [PATCH 328/380] smp: introduce a generic on_each_cpu_mask() function
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=96c0593a40e8b60aa05f6a83d80ea570c0e96548
+Subject: [PATCH 328/386] smp: introduce a generic on_each_cpu_mask() function
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3dc7f97d8f8197d5364c9373ebccbf6aff6e7eab
[ Upstream commit 3fc498f165304dc913f1d13b5ac9ab4c758ee7ab ]
diff --git a/debian/patches/features/all/rt/0329-smp-add-func-to-IPI-cpus-based-on-parameter-func.patch b/debian/patches/features/all/rt/0329-smp-add-func-to-IPI-cpus-based-on-parameter-func.patch
index 1a520aa..1290a6b 100644
--- a/debian/patches/features/all/rt/0329-smp-add-func-to-IPI-cpus-based-on-parameter-func.patch
+++ b/debian/patches/features/all/rt/0329-smp-add-func-to-IPI-cpus-based-on-parameter-func.patch
@@ -1,7 +1,7 @@
From: Gilad Ben-Yossef <gilad at benyossef.com>
Date: Wed, 28 Mar 2012 14:42:43 -0700
-Subject: [PATCH 329/380] smp: add func to IPI cpus based on parameter func
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=574255d49ca080d8bea7a35321b34cdb168c03bf
+Subject: [PATCH 329/386] smp: add func to IPI cpus based on parameter func
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=91c8677ce9b43467acaac77857ef5112a513f77f
[ Upstream commit b3a7e98e024ffa9f7e4554dd720c508015c4a831 ]
diff --git a/debian/patches/features/all/rt/0330-fs-only-send-IPI-to-invalidate-LRU-BH-when-needed.patch b/debian/patches/features/all/rt/0330-fs-only-send-IPI-to-invalidate-LRU-BH-when-needed.patch
index 2792f98..28d109a 100644
--- a/debian/patches/features/all/rt/0330-fs-only-send-IPI-to-invalidate-LRU-BH-when-needed.patch
+++ b/debian/patches/features/all/rt/0330-fs-only-send-IPI-to-invalidate-LRU-BH-when-needed.patch
@@ -1,7 +1,7 @@
From: Gilad Ben-Yossef <gilad at benyossef.com>
Date: Wed, 28 Mar 2012 14:42:45 -0700
-Subject: [PATCH 330/380] fs: only send IPI to invalidate LRU BH when needed
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=83b267ac7a8d40b0400456d4b92e54fd91ba41dc
+Subject: [PATCH 330/386] fs: only send IPI to invalidate LRU BH when needed
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=12d6015e881e7f010def83b279ede6b0c2c3e58c
[ Upstream commit 42be35d0390b966253136a285f507f5ad00fd9e8 ]
diff --git a/debian/patches/features/all/rt/0331-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch b/debian/patches/features/all/rt/0331-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch
index fb667e0..d37d2c8 100644
--- a/debian/patches/features/all/rt/0331-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch
+++ b/debian/patches/features/all/rt/0331-rcutree-rcu_bh_qs-disable-irq-while-calling-rcu_pree.patch
@@ -1,8 +1,8 @@
From: Tiejun Chen <tiejun.chen at windriver.com>
Date: Wed, 18 Dec 2013 17:51:49 +0800
-Subject: [PATCH 331/380] rcutree/rcu_bh_qs: disable irq while calling
+Subject: [PATCH 331/386] rcutree/rcu_bh_qs: disable irq while calling
rcu_preempt_qs()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6409d39e9025d2d20c0d2258dcce06cf580a02ea
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3a9153da758346ab903ba644ce5a120dc62a443a
Any callers to the function rcu_preempt_qs() must disable irqs in
order to protect the assignment to ->rcu_read_unlock_special. In
diff --git a/debian/patches/features/all/rt/0332-rt-Make-cpu_chill-use-hrtimer-instead-of-msleep.patch b/debian/patches/features/all/rt/0332-rt-Make-cpu_chill-use-hrtimer-instead-of-msleep.patch
index f1e59a2..d4e53f4 100644
--- a/debian/patches/features/all/rt/0332-rt-Make-cpu_chill-use-hrtimer-instead-of-msleep.patch
+++ b/debian/patches/features/all/rt/0332-rt-Make-cpu_chill-use-hrtimer-instead-of-msleep.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Wed, 5 Feb 2014 11:51:25 -0500
-Subject: [PATCH 332/380] rt: Make cpu_chill() use hrtimer instead of msleep()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a4f7948ca9960367aac0a5dccfd07d03ba5fea0e
+Subject: [PATCH 332/386] rt: Make cpu_chill() use hrtimer instead of msleep()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7bfbd0fa753cfaeff647a621cd6e1495a3b1193e
Ulrich Obergfell pointed out that cpu_chill() calls msleep() which is woken
up by the ksoftirqd running the TIMER softirq. But as the cpu_chill() is
@@ -66,10 +66,10 @@ index e23a7c021eeb..37caab306336 100644
# define cpu_chill() cpu_relax()
#endif
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
-index ec3b5e7cbd4d..7b905ab038e5 100644
+index 54be0ec3c2fa..32807d2fe922 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
-@@ -1875,6 +1875,21 @@ SYSCALL_DEFINE2(nanosleep, struct timespec __user *, rqtp,
+@@ -1897,6 +1897,21 @@ SYSCALL_DEFINE2(nanosleep, struct timespec __user *, rqtp,
return hrtimer_nanosleep(&tu, rmtp, HRTIMER_MODE_REL, CLOCK_MONOTONIC);
}
diff --git a/debian/patches/features/all/rt/0333-kernel-hrtimer-be-non-freezeable-in-cpu_chill.patch b/debian/patches/features/all/rt/0333-kernel-hrtimer-be-non-freezeable-in-cpu_chill.patch
index 5030f55..0fe9eb0 100644
--- a/debian/patches/features/all/rt/0333-kernel-hrtimer-be-non-freezeable-in-cpu_chill.patch
+++ b/debian/patches/features/all/rt/0333-kernel-hrtimer-be-non-freezeable-in-cpu_chill.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Wed, 19 Feb 2014 11:56:06 +0100
-Subject: [PATCH 333/380] kernel/hrtimer: be non-freezeable in cpu_chill()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=565a63e187b284fda8dd1bfd4044a8017ccc91cf
+Subject: [PATCH 333/386] kernel/hrtimer: be non-freezeable in cpu_chill()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7ddb053ebf685b7e8cbde6f65723586862141ca0
Since we replaced msleep() by hrtimer I see now and then (rarely) this:
@@ -43,10 +43,10 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
1 file changed, 4 insertions(+)
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
-index 7b905ab038e5..1eefb451e172 100644
+index 32807d2fe922..dbc45492c38e 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
-@@ -1884,8 +1884,12 @@ void cpu_chill(void)
+@@ -1906,8 +1906,12 @@ void cpu_chill(void)
struct timespec tu = {
.tv_nsec = NSEC_PER_MSEC,
};
diff --git a/debian/patches/features/all/rt/0334-arm-unwind-use-a-raw_spin_lock.patch b/debian/patches/features/all/rt/0334-arm-unwind-use-a-raw_spin_lock.patch
index 0e64a12..b8429be 100644
--- a/debian/patches/features/all/rt/0334-arm-unwind-use-a-raw_spin_lock.patch
+++ b/debian/patches/features/all/rt/0334-arm-unwind-use-a-raw_spin_lock.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Fri, 20 Sep 2013 14:31:54 +0200
-Subject: [PATCH 334/380] arm/unwind: use a raw_spin_lock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=be8573e9a6ee85d7372cff648c0d2f06f762a98b
+Subject: [PATCH 334/386] arm/unwind: use a raw_spin_lock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=cb63ba2b66316f74152db72257c6c9ea41907d2e
Mostly unwind is done with irqs enabled however SLUB may call it with
irqs disabled while creating a new SLUB cache.
diff --git a/debian/patches/features/all/rt/0335-Revert-swait-Add-a-few-more-users.patch b/debian/patches/features/all/rt/0335-Revert-swait-Add-a-few-more-users.patch
index 1a5052a..59b9b34 100644
--- a/debian/patches/features/all/rt/0335-Revert-swait-Add-a-few-more-users.patch
+++ b/debian/patches/features/all/rt/0335-Revert-swait-Add-a-few-more-users.patch
@@ -1,7 +1,7 @@
From: "Steven Rostedt (Red Hat)" <rostedt at goodmis.org>
Date: Tue, 11 Mar 2014 11:57:32 -0400
-Subject: [PATCH 335/380] Revert "swait: Add a few more users"
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3a6507923f545ee46875abd0a326d882f11abf7a
+Subject: [PATCH 335/386] Revert "swait: Add a few more users"
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8a0e949cd86b26a5953dd471190dd07327389521
This reverts commit 916c8d2de3c4759f57426fa3cfee63b491e88939.
diff --git a/debian/patches/features/all/rt/0336-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch b/debian/patches/features/all/rt/0336-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch
index 9a5bb1f..4e34978 100644
--- a/debian/patches/features/all/rt/0336-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch
+++ b/debian/patches/features/all/rt/0336-net-sched-dev_deactivate_many-use-msleep-1-instead-o.patch
@@ -1,8 +1,8 @@
From: Marc Kleine-Budde <mkl at pengutronix.de>
Date: Wed, 5 Mar 2014 00:49:47 +0100
-Subject: [PATCH 336/380] net: sched: dev_deactivate_many(): use msleep(1)
+Subject: [PATCH 336/386] net: sched: dev_deactivate_many(): use msleep(1)
instead of yield() to wait for outstanding qdisc_run calls
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8b2456c28b1c0c58d35ea10d0c24f417829eec20
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8f2801bf4e0dec814f7b18d5280323b7ae1e19b4
On PREEMPT_RT enabled systems the interrupt handler run as threads at prio 50
(by default). If a high priority userspace process tries to shut down a busy
diff --git a/debian/patches/features/all/rt/0337-fs-jbd2-pull-your-plug-when-waiting-for-space.patch b/debian/patches/features/all/rt/0337-fs-jbd2-pull-your-plug-when-waiting-for-space.patch
index 40ad289..7e8fedc 100644
--- a/debian/patches/features/all/rt/0337-fs-jbd2-pull-your-plug-when-waiting-for-space.patch
+++ b/debian/patches/features/all/rt/0337-fs-jbd2-pull-your-plug-when-waiting-for-space.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Mon, 17 Feb 2014 17:30:03 +0100
-Subject: [PATCH 337/380] fs: jbd2: pull your plug when waiting for space
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2d6949261abbdbfccdb6206a91095b9e6c31c553
+Subject: [PATCH 337/386] fs: jbd2: pull your plug when waiting for space
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a0ee9eb672512f0ddaf1d1e203bb8828755d6552
Two cps in parallel managed to stall the the ext4 fs. It seems that
journal code is either waiting for locks or sleeping waiting for
diff --git a/debian/patches/features/all/rt/0338-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch b/debian/patches/features/all/rt/0338-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch
index 27ea970..7700fa4 100644
--- a/debian/patches/features/all/rt/0338-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch
+++ b/debian/patches/features/all/rt/0338-cpu_chill-Add-a-UNINTERRUPTIBLE-hrtimer_nanosleep.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Tue, 4 Mar 2014 12:28:32 -0500
-Subject: [PATCH 338/380] cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a473731097739cecc3dbd623b131ec4a7d9077e7
+Subject: [PATCH 338/386] cpu_chill: Add a UNINTERRUPTIBLE hrtimer_nanosleep
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1386fee699309642f7626228f1f3ff7deecb542a
We hit another bug that was caused by switching cpu_chill() from
msleep() to hrtimer_nanosleep().
@@ -33,10 +33,10 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
-index 1eefb451e172..b3a46438f47a 100644
+index dbc45492c38e..1649cea8e032 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
-@@ -1754,12 +1754,13 @@ void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, struct task_struct *task)
+@@ -1776,12 +1776,13 @@ void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, struct task_struct *task)
}
EXPORT_SYMBOL_GPL(hrtimer_init_sleeper);
@@ -52,7 +52,7 @@ index 1eefb451e172..b3a46438f47a 100644
hrtimer_start_expires(&t->timer, mode);
if (!hrtimer_active(&t->timer))
t->task = NULL;
-@@ -1803,7 +1804,8 @@ long __sched hrtimer_nanosleep_restart(struct restart_block *restart)
+@@ -1825,7 +1826,8 @@ long __sched hrtimer_nanosleep_restart(struct restart_block *restart)
HRTIMER_MODE_ABS);
hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires);
@@ -62,7 +62,7 @@ index 1eefb451e172..b3a46438f47a 100644
goto out;
rmtp = restart->nanosleep.rmtp;
-@@ -1820,8 +1822,10 @@ out:
+@@ -1842,8 +1844,10 @@ out:
return ret;
}
@@ -75,7 +75,7 @@ index 1eefb451e172..b3a46438f47a 100644
{
struct restart_block *restart;
struct hrtimer_sleeper t;
-@@ -1834,7 +1838,7 @@ long hrtimer_nanosleep(struct timespec *rqtp, struct timespec __user *rmtp,
+@@ -1856,7 +1860,7 @@ long hrtimer_nanosleep(struct timespec *rqtp, struct timespec __user *rmtp,
hrtimer_init_on_stack(&t.timer, clockid, mode);
hrtimer_set_expires_range_ns(&t.timer, timespec_to_ktime(*rqtp), slack);
@@ -84,7 +84,7 @@ index 1eefb451e172..b3a46438f47a 100644
goto out;
/* Absolute timers do not update the rmtp value and restart: */
-@@ -1861,6 +1865,12 @@ out:
+@@ -1883,6 +1887,12 @@ out:
return ret;
}
@@ -97,7 +97,7 @@ index 1eefb451e172..b3a46438f47a 100644
SYSCALL_DEFINE2(nanosleep, struct timespec __user *, rqtp,
struct timespec __user *, rmtp)
{
-@@ -1887,7 +1897,8 @@ void cpu_chill(void)
+@@ -1909,7 +1919,8 @@ void cpu_chill(void)
unsigned int freeze_flag = current->flags & PF_NOFREEZE;
current->flags |= PF_NOFREEZE;
diff --git a/debian/patches/features/all/rt/0339-net-gianfar-do-not-disable-interrupts.patch b/debian/patches/features/all/rt/0339-net-gianfar-do-not-disable-interrupts.patch
index 5639e37..da91c10 100644
--- a/debian/patches/features/all/rt/0339-net-gianfar-do-not-disable-interrupts.patch
+++ b/debian/patches/features/all/rt/0339-net-gianfar-do-not-disable-interrupts.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Tue, 25 Mar 2014 18:34:20 +0100
-Subject: [PATCH 339/380] net: gianfar: do not disable interrupts
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7b59227b6e5c3298cc7dd4922dc4fc4b22907840
+Subject: [PATCH 339/386] net: gianfar: do not disable interrupts
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c9482594bc18bec375739c8d91e2612755dc813b
each per-queue lock is taken with spin_lock_irqsave() except in the case
where all of them are taken for some kind of serialisation. As an
diff --git a/debian/patches/features/all/rt/0340-rcu-make-RCU_BOOST-default-on-RT.patch b/debian/patches/features/all/rt/0340-rcu-make-RCU_BOOST-default-on-RT.patch
index 2fd6b79..4580d1a 100644
--- a/debian/patches/features/all/rt/0340-rcu-make-RCU_BOOST-default-on-RT.patch
+++ b/debian/patches/features/all/rt/0340-rcu-make-RCU_BOOST-default-on-RT.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Fri, 21 Mar 2014 20:19:05 +0100
-Subject: [PATCH 340/380] rcu: make RCU_BOOST default on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d56fc34825b0a0bd9e45485cf13230048f0f3e23
+Subject: [PATCH 340/386] rcu: make RCU_BOOST default on RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5a92b63d3e5b33ad2cf946261cefbb946a2d58ee
Since it is no longer invoked from the softirq people run into OOM more
often if the priority of the RCU thread is too low. Making boosting
diff --git a/debian/patches/features/all/rt/0341-Fix-latency-histogram-after-hrtimer-Set-expiry-time-.patch b/debian/patches/features/all/rt/0341-Fix-latency-histogram-after-hrtimer-Set-expiry-time-.patch
index f68a503..37691d7 100644
--- a/debian/patches/features/all/rt/0341-Fix-latency-histogram-after-hrtimer-Set-expiry-time-.patch
+++ b/debian/patches/features/all/rt/0341-Fix-latency-histogram-after-hrtimer-Set-expiry-time-.patch
@@ -1,8 +1,8 @@
From: Ben Hutchings <ben at decadent.org.uk>
Date: Sat, 28 Jun 2014 23:34:48 +0100
-Subject: [PATCH 341/380] Fix latency histogram after "hrtimer: Set expiry time
+Subject: [PATCH 341/386] Fix latency histogram after "hrtimer: Set expiry time
before switch_hrtimer_base()"
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=60f6b976389bc5accafc2e62fd2f8c4b2f936d30
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=cccb280094e048b1613ad29666a82817d6551500
In an rt-kernel with CONFIG_MISSED_TIMER_OFFSETS_HIST enabled,
__hrtimer_start_range_ns() now crashes, as new_base is not assigned
@@ -16,9 +16,11 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
kernel/hrtimer.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
+diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
+index 1649cea8e032..1b08b73ef6cf 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
-@@ -1043,6 +1043,11 @@ int __hrtimer_start_range_ns(struct hrti
+@@ -1043,6 +1043,11 @@ int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
tim = hrtimer_update_lowres(timer, tim, mode);
@@ -30,7 +32,7 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
#ifdef CONFIG_MISSED_TIMER_OFFSETS_HIST
{
ktime_t now = new_base->get_time();
-@@ -1054,11 +1059,6 @@ int __hrtimer_start_range_ns(struct hrti
+@@ -1054,11 +1059,6 @@ int __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim,
}
#endif
diff --git a/debian/patches/features/all/rt/0342-sched-Do-not-clear-PF_NO_SETAFFINITY-flag-in-select_.patch b/debian/patches/features/all/rt/0342-sched-Do-not-clear-PF_NO_SETAFFINITY-flag-in-select_.patch
index 33837ac..f7995b2 100644
--- a/debian/patches/features/all/rt/0342-sched-Do-not-clear-PF_NO_SETAFFINITY-flag-in-select_.patch
+++ b/debian/patches/features/all/rt/0342-sched-Do-not-clear-PF_NO_SETAFFINITY-flag-in-select_.patch
@@ -1,8 +1,8 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Tue, 1 Jul 2014 11:14:44 -0400
-Subject: [PATCH 342/380] sched: Do not clear PF_NO_SETAFFINITY flag in
+Subject: [PATCH 342/386] sched: Do not clear PF_NO_SETAFFINITY flag in
select_fallback_rq()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=74c2b950ea2cd025399b2d06f8d4da3e9c12e4b9
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=295c791b83fcd1d3b0e6fbdda5767b1cb38c0dfc
I talked with Peter Zijlstra about this, and he told me that the clearing
of the PF_NO_SETAFFINITY flag was to deal with the optimization of
diff --git a/debian/patches/features/all/rt/0343-workqueue-Prevent-deadlock-stall-on-RT.patch b/debian/patches/features/all/rt/0343-workqueue-Prevent-deadlock-stall-on-RT.patch
index 6a8aa19..a9b410c 100644
--- a/debian/patches/features/all/rt/0343-workqueue-Prevent-deadlock-stall-on-RT.patch
+++ b/debian/patches/features/all/rt/0343-workqueue-Prevent-deadlock-stall-on-RT.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 27 Jun 2014 16:24:52 +0200
-Subject: [PATCH 343/380] workqueue: Prevent deadlock/stall on RT
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=972e52907e6a2512c1860712a05baaa5ce73867b
+Subject: [PATCH 343/386] workqueue: Prevent deadlock/stall on RT
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=55242c13d78df6a201a1231703099e57d61e1367
Austin reported a XFS deadlock/stall on RT where scheduled work gets
never exececuted and tasks are waiting for each other for ever.
diff --git a/debian/patches/features/all/rt/0344-hrtimer-fix-the-miss-of-hrtimer_peek_ahead_timers-in.patch b/debian/patches/features/all/rt/0344-hrtimer-fix-the-miss-of-hrtimer_peek_ahead_timers-in.patch
index 255cd42..f1c6d41 100644
--- a/debian/patches/features/all/rt/0344-hrtimer-fix-the-miss-of-hrtimer_peek_ahead_timers-in.patch
+++ b/debian/patches/features/all/rt/0344-hrtimer-fix-the-miss-of-hrtimer_peek_ahead_timers-in.patch
@@ -1,8 +1,8 @@
From: Zhao Hongjiang <zhaohongjiang at huawei.com>
Date: Mon, 15 Jul 2013 11:32:44 -0400
-Subject: [PATCH 344/380] hrtimer:fix the miss of hrtimer_peek_ahead_timers in
+Subject: [PATCH 344/386] hrtimer:fix the miss of hrtimer_peek_ahead_timers in
nort code
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f63166eb8b86b06e32844d1a2cc00b1f54141144
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5ff377917832ab315d4664ee09ed15f5d6a42f33
When we run the test "taskset -c 1 stress -m 1 --vm-bytes 50M" and
"taskset -c 1 cyclictest -t 1 -p 80 -n -m -v" with rt closed 3.4.26-rt38 kernel,
@@ -71,10 +71,10 @@ Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
-index 3e09b7879d65..c4c52579da0c 100644
+index 1b08b73ef6cf..f34542bd21b1 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
-@@ -1458,7 +1458,11 @@ static int hrtimer_rt_defer(struct hrtimer *timer)
+@@ -1480,7 +1480,11 @@ static int hrtimer_rt_defer(struct hrtimer *timer)
#else
diff --git a/debian/patches/features/all/rt/0345-lockdep-Fix-backport-of-Correctly-annotate-hardirq-c.patch b/debian/patches/features/all/rt/0345-lockdep-Fix-backport-of-Correctly-annotate-hardirq-c.patch
index 43c5895..1fe1755 100644
--- a/debian/patches/features/all/rt/0345-lockdep-Fix-backport-of-Correctly-annotate-hardirq-c.patch
+++ b/debian/patches/features/all/rt/0345-lockdep-Fix-backport-of-Correctly-annotate-hardirq-c.patch
@@ -1,8 +1,8 @@
From: "Steven Rostedt (Red Hat)" <rostedt at goodmis.org>
Date: Thu, 30 Oct 2014 18:19:04 -0400
-Subject: [PATCH 345/380] lockdep: Fix backport of "Correctly annotate hardirq
+Subject: [PATCH 345/386] lockdep: Fix backport of "Correctly annotate hardirq
context in irq_exit()"
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a67951720c7b3a527e62269c9f3b8fc9198fe77f
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a3b5b04e0f68a41b3f9421f20671fd50ca195bce
The backport of f1a83e652bed "lockdep: Correctly annotate hardirq context
in irq_exit()" to v3.2.53-rt76 wasn't correct because v3.2-rt had two
diff --git a/debian/patches/features/all/rt/0346-gpio-omap-use-raw-locks-for-locking.patch b/debian/patches/features/all/rt/0346-gpio-omap-use-raw-locks-for-locking.patch
index 25214a5..4fad857 100644
--- a/debian/patches/features/all/rt/0346-gpio-omap-use-raw-locks-for-locking.patch
+++ b/debian/patches/features/all/rt/0346-gpio-omap-use-raw-locks-for-locking.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Thu, 12 Feb 2015 16:01:13 +0100
-Subject: [PATCH 346/380] gpio: omap: use raw locks for locking
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7f5ae4d81c4cec0cc9f257040585eed53d4e162f
+Subject: [PATCH 346/386] gpio: omap: use raw locks for locking
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=14f5800bc29da0f5052870d4283664184ee9723d
This patch converts gpio_bank.lock from a spin_lock into a
raw_spin_lock. The call path is to access this lock is always under a
diff --git a/debian/patches/features/all/rt/0347-create-rt-enqueue.patch b/debian/patches/features/all/rt/0347-create-rt-enqueue.patch
index a8f33f0..039c90a 100644
--- a/debian/patches/features/all/rt/0347-create-rt-enqueue.patch
+++ b/debian/patches/features/all/rt/0347-create-rt-enqueue.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Wed, 11 Mar 2015 13:30:49 -0400
-Subject: [PATCH 347/380] create-rt-enqueue
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=01980e2e38a8a9e27181bf0e24e8adf63345fec6
+Subject: [PATCH 347/386] create-rt-enqueue
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=54cd85e8ba38664f282512feb52f073feb080d4a
To ease backporting patches, replace the plist functions with
rt_mutex_enqueue{_pi}() and rt_mutex_dequeue{_pi}() like upstream -rt does.
diff --git a/debian/patches/features/all/rt/0348-rtmutex-Simplify-rtmutex_slowtrylock.patch b/debian/patches/features/all/rt/0348-rtmutex-Simplify-rtmutex_slowtrylock.patch
index ab82e76..c622e05 100644
--- a/debian/patches/features/all/rt/0348-rtmutex-Simplify-rtmutex_slowtrylock.patch
+++ b/debian/patches/features/all/rt/0348-rtmutex-Simplify-rtmutex_slowtrylock.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 10 Jun 2014 22:53:40 +0200
-Subject: [PATCH 348/380] rtmutex: Simplify rtmutex_slowtrylock()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=8c31ea09d48ea2489bf38d9663b2f932d32fef27
+Subject: [PATCH 348/386] rtmutex: Simplify rtmutex_slowtrylock()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=dadf00124b54b4ccfb54593aca54860b7a30fd93
upstream-commit: 88f2b4c15e561bb5c28709d666364f273bf54b98
diff --git a/debian/patches/features/all/rt/0349-rtmutex-Simplify-and-document-try_to_take_rtmutex.patch b/debian/patches/features/all/rt/0349-rtmutex-Simplify-and-document-try_to_take_rtmutex.patch
index bccdfc5..ff64ee9 100644
--- a/debian/patches/features/all/rt/0349-rtmutex-Simplify-and-document-try_to_take_rtmutex.patch
+++ b/debian/patches/features/all/rt/0349-rtmutex-Simplify-and-document-try_to_take_rtmutex.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 11 Jun 2014 01:01:13 +0200
-Subject: [PATCH 349/380] rtmutex: Simplify and document try_to_take_rtmutex()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=7362801ee8711abbab87bf0786bda4850d3e9cec
+Subject: [PATCH 349/386] rtmutex: Simplify and document try_to_take_rtmutex()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2e68a958a37ce7535009db816cd45fb0de43ffba
upstream commit: 358c331f391f3e0432f4f96f25017d12ac8d10b1
diff --git a/debian/patches/features/all/rt/0350-rtmutex-No-need-to-keep-task-ref-for-lock-owner-chec.patch b/debian/patches/features/all/rt/0350-rtmutex-No-need-to-keep-task-ref-for-lock-owner-chec.patch
index 33bb846..c04d689 100644
--- a/debian/patches/features/all/rt/0350-rtmutex-No-need-to-keep-task-ref-for-lock-owner-chec.patch
+++ b/debian/patches/features/all/rt/0350-rtmutex-No-need-to-keep-task-ref-for-lock-owner-chec.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 7 Jun 2014 12:10:36 +0200
-Subject: [PATCH 350/380] rtmutex: No need to keep task ref for lock owner
+Subject: [PATCH 350/386] rtmutex: No need to keep task ref for lock owner
check
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=aefd2c54c111f7a39c6873ceda40920fb7706375
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bca0762403f29f17e9aa315b602b912d7875059f
upstream commit: 2ffa5a5cd2fe792b6399c903d5172adf088d8ff7
diff --git a/debian/patches/features/all/rt/0351-rtmutex-Clarify-the-boost-deboost-part.patch b/debian/patches/features/all/rt/0351-rtmutex-Clarify-the-boost-deboost-part.patch
index 4daec3d..d81625b 100644
--- a/debian/patches/features/all/rt/0351-rtmutex-Clarify-the-boost-deboost-part.patch
+++ b/debian/patches/features/all/rt/0351-rtmutex-Clarify-the-boost-deboost-part.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 22 May 2014 03:25:54 +0000
-Subject: [PATCH 351/380] rtmutex: Clarify the boost/deboost part
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=144e192abe2572e122493fc8792502688b16962e
+Subject: [PATCH 351/386] rtmutex: Clarify the boost/deboost part
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=897596a0132b8b568f2adedfcb21c8bddb5d5b93
upstream commit: a57594a13a446d1a6ab1dcd48339f799ce586843
diff --git a/debian/patches/features/all/rt/0352-rtmutex-Document-pi-chain-walk.patch b/debian/patches/features/all/rt/0352-rtmutex-Document-pi-chain-walk.patch
index 92d7a17..15cd658 100644
--- a/debian/patches/features/all/rt/0352-rtmutex-Document-pi-chain-walk.patch
+++ b/debian/patches/features/all/rt/0352-rtmutex-Document-pi-chain-walk.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Mon, 9 Jun 2014 19:40:34 +0200
-Subject: [PATCH 352/380] rtmutex: Document pi chain walk
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1d4e5be93eae2521adea9da17d96e8ee1a55a313
+Subject: [PATCH 352/386] rtmutex: Document pi chain walk
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=853a472d4077fb56cc635f09d345bc79e92b159c
upstream commit: 3eb65aeadf701976b084e9171e16bb7d1e83fbb0
diff --git a/debian/patches/features/all/rt/0353-rtmutex-Simplify-remove_waiter.patch b/debian/patches/features/all/rt/0353-rtmutex-Simplify-remove_waiter.patch
index 29b0983..2c74170 100644
--- a/debian/patches/features/all/rt/0353-rtmutex-Simplify-remove_waiter.patch
+++ b/debian/patches/features/all/rt/0353-rtmutex-Simplify-remove_waiter.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Sat, 7 Jun 2014 09:36:13 +0200
-Subject: [PATCH 353/380] rtmutex: Simplify remove_waiter()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=cc0f775783e216a4293aa38c7f73432b89741030
+Subject: [PATCH 353/386] rtmutex: Simplify remove_waiter()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ba264bce5dec7063927c2d1608da51ef17c98b8e
upstream commit: 1ca7b86062ec8473d03c5cdfd336abc8b1c8098c
diff --git a/debian/patches/features/all/rt/0354-rtmutex-Confine-deadlock-logic-to-futex.patch b/debian/patches/features/all/rt/0354-rtmutex-Confine-deadlock-logic-to-futex.patch
index 2545052..af5e650 100644
--- a/debian/patches/features/all/rt/0354-rtmutex-Confine-deadlock-logic-to-futex.patch
+++ b/debian/patches/features/all/rt/0354-rtmutex-Confine-deadlock-logic-to-futex.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 22 May 2014 03:25:50 +0000
-Subject: [PATCH 354/380] rtmutex: Confine deadlock logic to futex
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a7894f06d2cf990ac3a0d63a14aecb5a5bdf6245
+Subject: [PATCH 354/386] rtmutex: Confine deadlock logic to futex
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=596cb360be370e510e600307fba18bc30d7bdb03
upstream commit: c051b21f71d1ffdfd7ad406a1ef5ede5e5f974c5
diff --git a/debian/patches/features/all/rt/0355-rtmutex-Cleanup-deadlock-detector-debug-logic.patch b/debian/patches/features/all/rt/0355-rtmutex-Cleanup-deadlock-detector-debug-logic.patch
index b654a99..1a40081 100644
--- a/debian/patches/features/all/rt/0355-rtmutex-Cleanup-deadlock-detector-debug-logic.patch
+++ b/debian/patches/features/all/rt/0355-rtmutex-Cleanup-deadlock-detector-debug-logic.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 22 May 2014 03:25:47 +0000
-Subject: [PATCH 355/380] rtmutex: Cleanup deadlock detector debug logic
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=da54a35cc2cfa139c0770f45c8b20cb82c033587
+Subject: [PATCH 355/386] rtmutex: Cleanup deadlock detector debug logic
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5496e7d53235b9d30e6bf0ed02a56b296ab712f5
upstream commit: 8930ed80f970a90a795239e7415c9b0e6f964649
diff --git a/debian/patches/features/all/rt/0356-rtmutex-Avoid-pointless-requeueing-in-the-deadlock-d.patch b/debian/patches/features/all/rt/0356-rtmutex-Avoid-pointless-requeueing-in-the-deadlock-d.patch
index e11a9d8..764c441 100644
--- a/debian/patches/features/all/rt/0356-rtmutex-Avoid-pointless-requeueing-in-the-deadlock-d.patch
+++ b/debian/patches/features/all/rt/0356-rtmutex-Avoid-pointless-requeueing-in-the-deadlock-d.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Thu, 22 May 2014 03:25:57 +0000
-Subject: [PATCH 356/380] rtmutex: Avoid pointless requeueing in the deadlock
+Subject: [PATCH 356/386] rtmutex: Avoid pointless requeueing in the deadlock
detection chain walk
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c42011a46e90ef9cde7e4aec7b165201a3ac226e
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3d3fef086de2f1bfcdfa8999d688ab4343d65aeb
upstream commit: 67792e2cabadbadd1a93f6790fa7bcbd47eca7c3
diff --git a/debian/patches/features/all/rt/0357-futex-Make-unlock_pi-more-robust.patch b/debian/patches/features/all/rt/0357-futex-Make-unlock_pi-more-robust.patch
index 2363ef3..c072393 100644
--- a/debian/patches/features/all/rt/0357-futex-Make-unlock_pi-more-robust.patch
+++ b/debian/patches/features/all/rt/0357-futex-Make-unlock_pi-more-robust.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 11 Jun 2014 20:45:38 +0000
-Subject: [PATCH 357/380] futex: Make unlock_pi more robust
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a129d3562b01344f8a4df4ac62bdf4a535d6bb89
+Subject: [PATCH 357/386] futex: Make unlock_pi more robust
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e0c2c27bb15345f1f8b9a44760ec7a52f3786431
upstream commit: ccf9e6a80d9e1b9df69c98e6b9745cf49869ee15
diff --git a/debian/patches/features/all/rt/0358-futex-Use-futex_top_waiter-in-lookup_pi_state.patch b/debian/patches/features/all/rt/0358-futex-Use-futex_top_waiter-in-lookup_pi_state.patch
index 09e1ba5..a094f82 100644
--- a/debian/patches/features/all/rt/0358-futex-Use-futex_top_waiter-in-lookup_pi_state.patch
+++ b/debian/patches/features/all/rt/0358-futex-Use-futex_top_waiter-in-lookup_pi_state.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 11 Jun 2014 20:45:39 +0000
-Subject: [PATCH 358/380] futex: Use futex_top_waiter() in lookup_pi_state()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=5d3a4a00769017ce266ad7091b4434926c3643c7
+Subject: [PATCH 358/386] futex: Use futex_top_waiter() in lookup_pi_state()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=015d46db1d1f9bdab9117596074e253656f01076
upstream commit: bd1dbcc67cd2c1181e2c01daac51eabf1b964dd8
diff --git a/debian/patches/features/all/rt/0359-futex-Split-out-the-waiter-check-from-lookup_pi_stat.patch b/debian/patches/features/all/rt/0359-futex-Split-out-the-waiter-check-from-lookup_pi_stat.patch
index 73de338..10a9953 100644
--- a/debian/patches/features/all/rt/0359-futex-Split-out-the-waiter-check-from-lookup_pi_stat.patch
+++ b/debian/patches/features/all/rt/0359-futex-Split-out-the-waiter-check-from-lookup_pi_stat.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 11 Jun 2014 20:45:39 +0000
-Subject: [PATCH 359/380] futex: Split out the waiter check from
+Subject: [PATCH 359/386] futex: Split out the waiter check from
lookup_pi_state()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=9e276b8a48d4d502ab9e104038e37961819bca10
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0a43b3a072ad6d1ec0cc0644d980a73f1ceb18fd
upstream commit: e60cbc5ceaa518d630ab8f35a7d05cee1c752648
diff --git a/debian/patches/features/all/rt/0360-futex-Split-out-the-first-waiter-attachment-from-loo.patch b/debian/patches/features/all/rt/0360-futex-Split-out-the-first-waiter-attachment-from-loo.patch
index e248a1f..666702b 100644
--- a/debian/patches/features/all/rt/0360-futex-Split-out-the-first-waiter-attachment-from-loo.patch
+++ b/debian/patches/features/all/rt/0360-futex-Split-out-the-first-waiter-attachment-from-loo.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 11 Jun 2014 20:45:40 +0000
-Subject: [PATCH 360/380] futex: Split out the first waiter attachment from
+Subject: [PATCH 360/386] futex: Split out the first waiter attachment from
lookup_pi_state()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=364acaab6d2db2d725e7d6e8253c0e415ba72ebc
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=59ef4cf4a4406981e10fd42c6e60e69e5e403b04
upstream commit: 04e1b2e52b17195c9a1daa5935c55a4c8716095c
diff --git a/debian/patches/features/all/rt/0361-futex-Simplify-futex_lock_pi_atomic-and-make-it-more.patch b/debian/patches/features/all/rt/0361-futex-Simplify-futex_lock_pi_atomic-and-make-it-more.patch
index 765511c..0704727 100644
--- a/debian/patches/features/all/rt/0361-futex-Simplify-futex_lock_pi_atomic-and-make-it-more.patch
+++ b/debian/patches/features/all/rt/0361-futex-Simplify-futex_lock_pi_atomic-and-make-it-more.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Wed, 11 Jun 2014 20:45:41 +0000
-Subject: [PATCH 361/380] futex: Simplify futex_lock_pi_atomic() and make it
+Subject: [PATCH 361/386] futex: Simplify futex_lock_pi_atomic() and make it
more robust
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1ec328d2927c1e309bd4b2dbf4c88820fd32f485
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c712dd7b27610cec368bbf3f9f22a831fcdec6fa
upstream commit: af54d6a1c3ad474bbc9893c9905022646be6092c
diff --git a/debian/patches/features/all/rt/0362-rt-mutex-avoid-a-NULL-pointer-dereference-on-deadloc.patch b/debian/patches/features/all/rt/0362-rt-mutex-avoid-a-NULL-pointer-dereference-on-deadloc.patch
index 1bce3d2..27b8b45 100644
--- a/debian/patches/features/all/rt/0362-rt-mutex-avoid-a-NULL-pointer-dereference-on-deadloc.patch
+++ b/debian/patches/features/all/rt/0362-rt-mutex-avoid-a-NULL-pointer-dereference-on-deadloc.patch
@@ -1,8 +1,8 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Tue, 17 Feb 2015 16:18:05 +0100
-Subject: [PATCH 362/380] rt-mutex: avoid a NULL pointer dereference on
+Subject: [PATCH 362/386] rt-mutex: avoid a NULL pointer dereference on
deadlock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0e05721b511dd4cd310a7295981bcb6c9c2ecef9
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f0a91c7f40cdeb101e2714d74569a278313378e3
With task_blocks_on_rt_mutex() returning early -EDEADLK we never add the
waiter to the waitqueue. Later, we try to remove it via remove_waiter()
diff --git a/debian/patches/features/all/rt/0363-x86-UV-raw_spinlock-conversion.patch b/debian/patches/features/all/rt/0363-x86-UV-raw_spinlock-conversion.patch
index ccd0f74..b783d01 100644
--- a/debian/patches/features/all/rt/0363-x86-UV-raw_spinlock-conversion.patch
+++ b/debian/patches/features/all/rt/0363-x86-UV-raw_spinlock-conversion.patch
@@ -1,7 +1,7 @@
From: Mike Galbraith <umgwanakikbuti at gmail.com>
Date: Sun, 2 Nov 2014 08:31:37 +0100
-Subject: [PATCH 363/380] x86: UV: raw_spinlock conversion
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=fdb13bd3ef0ec3083cfec23d2cbe530f914a378f
+Subject: [PATCH 363/386] x86: UV: raw_spinlock conversion
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=21523cfe9036de8ceb6e9d5cdd6599dd3daeeb58
Shrug. Lots of hobbyists have a beast in their basement, right?
diff --git a/debian/patches/features/all/rt/0364-ARM-enable-irq-in-translation-section-permission-fau.patch b/debian/patches/features/all/rt/0364-ARM-enable-irq-in-translation-section-permission-fau.patch
index d86b57d..e21cf34 100644
--- a/debian/patches/features/all/rt/0364-ARM-enable-irq-in-translation-section-permission-fau.patch
+++ b/debian/patches/features/all/rt/0364-ARM-enable-irq-in-translation-section-permission-fau.patch
@@ -1,11 +1,11 @@
From: "Yadi.hu" <yadi.hu at windriver.com>
Date: Wed, 10 Dec 2014 10:32:09 +0800
-Subject: [PATCH 364/380] ARM: enable irq in translation/section permission
+Subject: [PATCH 364/386] ARM: enable irq in translation/section permission
fault handlers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=ca853f0b452f936fae002d7917c231cba418247b
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1f486eb993518349bfa6fd8ae2a54c785f5d34c4
Probably happens on all ARM, with
CONFIG_PREEMPT_RT_FULL
diff --git a/debian/patches/features/all/rt/0365-arm-futex-disable-preemption-during-futex_atomic_cmp.patch b/debian/patches/features/all/rt/0365-arm-futex-disable-preemption-during-futex_atomic_cmp.patch
index 615bd71..607d358 100644
--- a/debian/patches/features/all/rt/0365-arm-futex-disable-preemption-during-futex_atomic_cmp.patch
+++ b/debian/patches/features/all/rt/0365-arm-futex-disable-preemption-during-futex_atomic_cmp.patch
@@ -1,8 +1,8 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Wed, 18 Feb 2015 14:07:21 +0100
-Subject: [PATCH 365/380] arm/futex: disable preemption during
+Subject: [PATCH 365/386] arm/futex: disable preemption during
futex_atomic_cmpxchg_inatomic()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c439066020af64455016d9cf7e5a2fd7224bbc05
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6b7925230dd9b6102d66ee92dd8f09ed3c47db53
The ARM UP implementation of futex_atomic_cmpxchg_inatomic() assumes that
pagefault_disable() inherits a preempt disabled section. This assumtion
diff --git a/debian/patches/features/all/rt/0366-scheduling-while-atomic-in-cgroup-code.patch b/debian/patches/features/all/rt/0366-scheduling-while-atomic-in-cgroup-code.patch
index 2cf6eaa..07d0c6c 100644
--- a/debian/patches/features/all/rt/0366-scheduling-while-atomic-in-cgroup-code.patch
+++ b/debian/patches/features/all/rt/0366-scheduling-while-atomic-in-cgroup-code.patch
@@ -1,7 +1,7 @@
From: Mike Galbraith <umgwanakikbuti at gmail.com>
Date: Sat, 21 Jun 2014 10:09:48 +0200
-Subject: [PATCH 366/380] scheduling while atomic in cgroup code
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=97989cd401bed76a2f39481f74a017092647f1ea
+Subject: [PATCH 366/386] scheduling while atomic in cgroup code
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c2c929fcf448b71097fd793e302f3cef52130333
mm, memcg: make refill_stock() use get_cpu_light()
diff --git a/debian/patches/features/all/rt/0367-work-simple-Simple-work-queue-implemenation.patch b/debian/patches/features/all/rt/0367-work-simple-Simple-work-queue-implemenation.patch
index 432ba56..c1470c2 100644
--- a/debian/patches/features/all/rt/0367-work-simple-Simple-work-queue-implemenation.patch
+++ b/debian/patches/features/all/rt/0367-work-simple-Simple-work-queue-implemenation.patch
@@ -1,7 +1,7 @@
From: Daniel Wagner <daniel.wagner at bmw-carit.de>
Date: Fri, 11 Jul 2014 15:26:11 +0200
-Subject: [PATCH 367/380] work-simple: Simple work queue implemenation
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c3e9b1428ac182cb84688e211caf9940cf43f869
+Subject: [PATCH 367/386] work-simple: Simple work queue implemenation
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6f4a0ccc288ba82f7358027e5f47429e8c9ef391
Provides a framework for enqueuing callbacks from irq context
PREEMPT_RT_FULL safe. The callbacks are executed in kthread context.
diff --git a/debian/patches/features/all/rt/0368-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch b/debian/patches/features/all/rt/0368-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch
index 4c6c19f..8833809 100644
--- a/debian/patches/features/all/rt/0368-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch
+++ b/debian/patches/features/all/rt/0368-sunrpc-make-svc_xprt_do_enqueue-use-get_cpu_light.patch
@@ -1,8 +1,8 @@
From: Mike Galbraith <umgwanakikbuti at gmail.com>
Date: Wed, 18 Feb 2015 16:05:28 +0100
-Subject: [PATCH 368/380] sunrpc: make svc_xprt_do_enqueue() use
+Subject: [PATCH 368/386] sunrpc: make svc_xprt_do_enqueue() use
get_cpu_light()
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=17c20c43c778dc4a719a077f25fbfd9e508875a6
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=58744df4531863af94514d0f76673adcf1c1a769
|BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:915
|in_atomic(): 1, irqs_disabled(): 0, pid: 3194, name: rpc.nfsd
diff --git a/debian/patches/features/all/rt/0369-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch b/debian/patches/features/all/rt/0369-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch
index 98d9238..0053f5e 100644
--- a/debian/patches/features/all/rt/0369-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch
+++ b/debian/patches/features/all/rt/0369-lockdep-selftest-fix-warnings-due-to-missing-PREEMPT.patch
@@ -1,8 +1,8 @@
From: Josh Cartwright <josh.cartwright at ni.com>
Date: Wed, 28 Jan 2015 13:08:45 -0600
-Subject: [PATCH 369/380] lockdep: selftest: fix warnings due to missing
+Subject: [PATCH 369/386] lockdep: selftest: fix warnings due to missing
PREEMPT_RT conditionals
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=1f6bb1b55d9e9212c20477cf58e738d140626bfe
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=0caa85fe7500752d3ce8bfd707a2cdf3c18cd7fe
"lockdep: Selftest: Only do hardirq context test for raw spinlock"
disabled the execution of certain tests with PREEMPT_RT_FULL, but did
diff --git a/debian/patches/features/all/rt/0370-fs-btrfs-fix-rt-deadlock-on-extent_buffer-lock.patch b/debian/patches/features/all/rt/0370-fs-btrfs-fix-rt-deadlock-on-extent_buffer-lock.patch
index a2ce33f..1b97eec 100644
--- a/debian/patches/features/all/rt/0370-fs-btrfs-fix-rt-deadlock-on-extent_buffer-lock.patch
+++ b/debian/patches/features/all/rt/0370-fs-btrfs-fix-rt-deadlock-on-extent_buffer-lock.patch
@@ -1,7 +1,7 @@
From: Mike Galbraith <mgalbraith at suse.de>
Date: Sun, 2 Nov 2014 08:31:18 +0100
-Subject: [PATCH 370/380] fs,btrfs: fix rt deadlock on extent_buffer->lock
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=d0b39a27694470b15e8a7fecae8251bbc13ebc9e
+Subject: [PATCH 370/386] fs,btrfs: fix rt deadlock on extent_buffer->lock
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=052143578e62d548779ada90f1361ed2c7565b72
Sat Jul 14 12:30:41 CEST 2012
diff --git a/debian/patches/features/all/rt/0371-KVM-lapic-mark-LAPIC-timer-handler-as-irqsafe.patch b/debian/patches/features/all/rt/0371-KVM-lapic-mark-LAPIC-timer-handler-as-irqsafe.patch
index 3010095..9fbd4f1 100644
--- a/debian/patches/features/all/rt/0371-KVM-lapic-mark-LAPIC-timer-handler-as-irqsafe.patch
+++ b/debian/patches/features/all/rt/0371-KVM-lapic-mark-LAPIC-timer-handler-as-irqsafe.patch
@@ -1,7 +1,7 @@
From: Marcelo Tosatti <mtosatti at redhat.com>
Date: Wed, 8 Apr 2015 20:33:25 -0300
-Subject: [PATCH 371/380] KVM: lapic: mark LAPIC timer handler as irqsafe
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=710650f71125f05ae88c18c0f8eb5faffb1bca19
+Subject: [PATCH 371/386] KVM: lapic: mark LAPIC timer handler as irqsafe
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=a824d0ec7427fec13063820cd410dedf751c197d
Since lapic timer handler only wakes up a simple waitqueue,
it can be executed from hardirq context.
@@ -19,7 +19,7 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
---
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
-@@ -679,8 +679,36 @@ static void update_divide_count(struct kvm_lapic *apic)
+@@ -679,8 +679,36 @@ static void update_divide_count(struct k
apic->divide_count);
}
@@ -56,7 +56,7 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
ktime_t now;
atomic_set(&apic->lapic_timer.pending, 0);
-@@ -710,9 +740,11 @@ static void start_apic_timer(struct kvm_lapic *apic)
+@@ -710,9 +738,11 @@ static void start_apic_timer(struct kvm_
}
}
@@ -69,7 +69,7 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
apic_debug("%s: bus cycle is %" PRId64 "ns, now 0x%016"
PRIx64 ", "
-@@ -742,8 +774,10 @@ static void start_apic_timer(struct kvm_lapic *apic)
+@@ -742,8 +772,10 @@ static void start_apic_timer(struct kvm_
ns = (tscdeadline - guest_tsc) * 1000000ULL;
do_div(ns, this_tsc_khz);
}
@@ -81,7 +81,7 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
local_irq_restore(flags);
}
-@@ -1173,6 +1207,7 @@ int kvm_create_lapic(struct kvm_vcpu *vcpu)
+@@ -1173,6 +1205,7 @@ int kvm_create_lapic(struct kvm_vcpu *vc
hrtimer_init(&apic->lapic_timer.timer, CLOCK_MONOTONIC,
HRTIMER_MODE_ABS);
apic->lapic_timer.timer.function = kvm_timer_fn;
@@ -89,7 +89,7 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
apic->lapic_timer.t_ops = &lapic_timer_ops;
apic->lapic_timer.kvm = vcpu->kvm;
apic->lapic_timer.vcpu = vcpu;
-@@ -1270,7 +1305,8 @@ void __kvm_migrate_apic_timer(struct kvm_vcpu *vcpu)
+@@ -1270,7 +1303,8 @@ void __kvm_migrate_apic_timer(struct kvm
timer = &apic->lapic_timer.timer;
if (hrtimer_cancel(timer))
diff --git a/debian/patches/features/all/rt/0372-mm-slub-move-slab-initialization-into-irq-enabled-re.patch b/debian/patches/features/all/rt/0372-mm-slub-move-slab-initialization-into-irq-enabled-re.patch
index e44a8eb..0632b77 100644
--- a/debian/patches/features/all/rt/0372-mm-slub-move-slab-initialization-into-irq-enabled-re.patch
+++ b/debian/patches/features/all/rt/0372-mm-slub-move-slab-initialization-into-irq-enabled-re.patch
@@ -1,8 +1,8 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Tue, 14 Jul 2015 14:26:34 +0200
-Subject: [PATCH 372/380] mm/slub: move slab initialization into irq enabled
+Subject: [PATCH 372/386] mm/slub: move slab initialization into irq enabled
region
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=31f018a674f2e7405c7d8a5c27e96ec3c2c54ca3
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=183e51c385cbf43e2e983763959557748ce065ad
Initializing a new slab can introduce rather large latencies because most
of the initialization runs always with interrupts disabled.
diff --git a/debian/patches/features/all/rt/0373-xfs-Disable-percpu-SB-on-PREEMPT_RT_FULL.patch b/debian/patches/features/all/rt/0373-xfs-Disable-percpu-SB-on-PREEMPT_RT_FULL.patch
index 75b5018..49c3c2f 100644
--- a/debian/patches/features/all/rt/0373-xfs-Disable-percpu-SB-on-PREEMPT_RT_FULL.patch
+++ b/debian/patches/features/all/rt/0373-xfs-Disable-percpu-SB-on-PREEMPT_RT_FULL.patch
@@ -1,7 +1,7 @@
From: Steven Rostedt <rostedt at goodmis.org>
Date: Wed, 13 May 2015 11:36:32 -0400
-Subject: [PATCH 373/380] xfs: Disable percpu SB on PREEMPT_RT_FULL
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=627c5cc17d53b155583fe4f94bc0f92dfcad0426
+Subject: [PATCH 373/386] xfs: Disable percpu SB on PREEMPT_RT_FULL
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=e2ceedc58fe0fb8b1043faf68a44bed40b0ba2d2
Running a test on a large CPU count box with xfs, I hit a live lock
with the following backtraces on several CPUs:
diff --git a/debian/patches/features/all/rt/0374-rtmutex-Handle-non-enqueued-waiters-gracefully.patch b/debian/patches/features/all/rt/0374-rtmutex-Handle-non-enqueued-waiters-gracefully.patch
index dd09278..f51598b 100644
--- a/debian/patches/features/all/rt/0374-rtmutex-Handle-non-enqueued-waiters-gracefully.patch
+++ b/debian/patches/features/all/rt/0374-rtmutex-Handle-non-enqueued-waiters-gracefully.patch
@@ -1,7 +1,7 @@
From: Thomas Gleixner <tglx at linutronix.de>
Date: Fri, 6 Nov 2015 18:51:03 +0100
-Subject: [PATCH 374/380] rtmutex: Handle non enqueued waiters gracefully
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2c0a3d7de764bb6bf6e4af8d471bce8427ae5333
+Subject: [PATCH 374/386] rtmutex: Handle non enqueued waiters gracefully
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=bd981ed26c8604dec04a5a9c9fb3288649dcf195
Yimin debugged that in case of a PI wakeup in progress when
rt_mutex_start_proxy_lock() calls task_blocks_on_rt_mutex() the latter
diff --git a/debian/patches/features/all/rt/0375-rtmutex-Use-chainwalking-control-enum.patch b/debian/patches/features/all/rt/0375-rtmutex-Use-chainwalking-control-enum.patch
index 6aac906..bc0c221 100644
--- a/debian/patches/features/all/rt/0375-rtmutex-Use-chainwalking-control-enum.patch
+++ b/debian/patches/features/all/rt/0375-rtmutex-Use-chainwalking-control-enum.patch
@@ -1,7 +1,7 @@
From: "bmouring at ni.com" <bmouring at ni.com>
Date: Tue, 15 Dec 2015 17:07:30 -0600
-Subject: [PATCH 375/380] rtmutex: Use chainwalking control enum
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3be5599ec37b044b03688570ffe5e001fd56adbe
+Subject: [PATCH 375/386] rtmutex: Use chainwalking control enum
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3fd043ce9f6f95a24d1962defdc1c7165ba7a63c
In 8930ed80 (rtmutex: Cleanup deadlock detector debug logic),
chainwalking control enums were introduced to limit the deadlock
diff --git a/debian/patches/features/all/rt/0376-dump-stack-don-t-disable-preemption-during-trace.patch b/debian/patches/features/all/rt/0376-dump-stack-don-t-disable-preemption-during-trace.patch
index 012a38d..f7d5549 100644
--- a/debian/patches/features/all/rt/0376-dump-stack-don-t-disable-preemption-during-trace.patch
+++ b/debian/patches/features/all/rt/0376-dump-stack-don-t-disable-preemption-during-trace.patch
@@ -1,7 +1,7 @@
From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Date: Sun, 16 Aug 2015 14:27:50 +0200
-Subject: [PATCH 376/380] dump stack: don't disable preemption during trace
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b95ca6c1a3dad3d44b25bb65d66c38d4836c0b13
+Subject: [PATCH 376/386] dump stack: don't disable preemption during trace
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=f84541d4e8a794ccadd98ad425c23d0b4e77679d
I see here large latencies during a stack dump on x86. The
preempt_disable() and get_cpu() should forbid moving the task to another
diff --git a/debian/patches/features/all/rt/0377-net-Make-synchronize_rcu_expedited-conditional-on-RT.patch b/debian/patches/features/all/rt/0377-net-Make-synchronize_rcu_expedited-conditional-on-RT.patch
index 8d8ef21..200b51f 100644
--- a/debian/patches/features/all/rt/0377-net-Make-synchronize_rcu_expedited-conditional-on-RT.patch
+++ b/debian/patches/features/all/rt/0377-net-Make-synchronize_rcu_expedited-conditional-on-RT.patch
@@ -1,8 +1,8 @@
From: Josh Cartwright <joshc at ni.com>
Date: Tue, 27 Oct 2015 07:31:53 -0500
-Subject: [PATCH 377/380] net: Make synchronize_rcu_expedited() conditional on
+Subject: [PATCH 377/386] net: Make synchronize_rcu_expedited() conditional on
!RT_FULL
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=2d565bfbc6ff3ae770bf0eab9caea63ea169014b
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=6f5081fd65e96cc617f800c74fefa38068fd823a
While the use of synchronize_rcu_expedited() might make
synchronize_net() "faster", it does so at significant cost on RT
diff --git a/debian/patches/features/all/rt/0378-sched-Introduce-the-trace_sched_waking-tracepoint.patch b/debian/patches/features/all/rt/0378-sched-Introduce-the-trace_sched_waking-tracepoint.patch
index 41aed33..e72a4e4 100644
--- a/debian/patches/features/all/rt/0378-sched-Introduce-the-trace_sched_waking-tracepoint.patch
+++ b/debian/patches/features/all/rt/0378-sched-Introduce-the-trace_sched_waking-tracepoint.patch
@@ -1,7 +1,7 @@
From: Peter Zijlstra <peterz at infradead.org>
Date: Sun, 25 Oct 2015 16:35:24 -0400
-Subject: [PATCH 378/380] sched: Introduce the trace_sched_waking tracepoint
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=10fa1ca0c0feac60a4f9570fd8c01ecbd51ed8c7
+Subject: [PATCH 378/386] sched: Introduce the trace_sched_waking tracepoint
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=531bc59bd9846d5c5174b91c471361f58e7512cc
Upstream commit fbd705a0c6184580d0e2fbcbd47a37b6e5822511
@@ -39,8 +39,6 @@ CC: Ingo Molnar <mingo at kernel.org>
Link: http://lkml.kernel.org/r/20150609091336.GQ3644@twins.programming.kicks-ass.net
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
-[bwh: Adjust probe_wakeup_latency_hist_start() to match modified
- sched_wakeup_template]
---
--- a/include/trace/events/sched.h
+++ b/include/trace/events/sched.h
@@ -156,23 +154,3 @@ Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
{
struct trace_array_cpu *data;
int cpu = smp_processor_id();
---- a/kernel/trace/latency_hist.c
-+++ b/kernel/trace/latency_hist.c
-@@ -114,7 +114,7 @@ static DEFINE_PER_CPU(struct hist_data,
- static char *wakeup_latency_hist_dir = "wakeup";
- static char *wakeup_latency_hist_dir_sharedprio = "sharedprio";
- static notrace void probe_wakeup_latency_hist_start(void *v,
-- struct task_struct *p, int success);
-+ struct task_struct *p);
- static notrace void probe_wakeup_latency_hist_stop(void *v,
- struct task_struct *prev, struct task_struct *next);
- static notrace void probe_sched_migrate_task(void *,
-@@ -868,7 +868,7 @@ static notrace void probe_sched_migrate_
- }
-
- static notrace void probe_wakeup_latency_hist_start(void *v,
-- struct task_struct *p, int success)
-+ struct task_struct *p)
- {
- unsigned long flags;
- struct task_struct *curr = current;
diff --git a/debian/patches/features/all/rt/0379-rtmutex-Have-slowfn-of-rt_mutex_timed_fastlock-use-e.patch b/debian/patches/features/all/rt/0379-rtmutex-Have-slowfn-of-rt_mutex_timed_fastlock-use-e.patch
index 3dc9f04..781a310 100644
--- a/debian/patches/features/all/rt/0379-rtmutex-Have-slowfn-of-rt_mutex_timed_fastlock-use-e.patch
+++ b/debian/patches/features/all/rt/0379-rtmutex-Have-slowfn-of-rt_mutex_timed_fastlock-use-e.patch
@@ -1,8 +1,8 @@
From: "Steven Rostedt (Red Hat)" <rostedt at goodmis.org>
Date: Fri, 26 Feb 2016 10:03:48 -0500
-Subject: [PATCH 379/380] rtmutex: Have slowfn of rt_mutex_timed_fastlock() use
+Subject: [PATCH 379/386] rtmutex: Have slowfn of rt_mutex_timed_fastlock() use
enum
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=c1548010e72e35c24663fc8c16e31da739f0da17
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=35c94d913a98e9a1a52eb7a3e21370341f10334d
The backport of commit 8930ed80f970 "rtmutex: Cleanup deadlock detector
debug logic" had conflicts, and the conflict resolution changed
diff --git a/debian/patches/features/all/rt/0380-latencyhist-disable-jump-labels.patch b/debian/patches/features/all/rt/0380-latencyhist-disable-jump-labels.patch
new file mode 100644
index 0000000..bf4ab55
--- /dev/null
+++ b/debian/patches/features/all/rt/0380-latencyhist-disable-jump-labels.patch
@@ -0,0 +1,65 @@
+From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
+Date: Thu, 4 Feb 2016 14:08:06 +0100
+Subject: [PATCH 380/386] latencyhist: disable jump-labels
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=740c1721d073925218a414bb3604efd6e5694da4
+
+Atleast on X86 we die a recursive death
+
+|CPU: 3 PID: 585 Comm: bash Not tainted 4.4.1-rt4+ #198
+|Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS Debian-1.8.2-1 04/01/2014
+|task: ffff88007ab4cd00 ti: ffff88007ab94000 task.ti: ffff88007ab94000
+|RIP: 0010:[<ffffffff81684870>] [<ffffffff81684870>] int3+0x0/0x10
+|RSP: 0018:ffff88013c107fd8 EFLAGS: 00010082
+|RAX: ffff88007ab4cd00 RBX: ffffffff8100ceab RCX: 0000000080202001
+|RDX: 0000000000000000 RSI: ffffffff8100ceab RDI: ffffffff810c78b2
+|RBP: ffff88007ab97c10 R08: ffffffffff57b000 R09: 0000000000000000
+|R10: ffff88013bb64790 R11: ffff88007ab4cd68 R12: ffffffff8100ceab
+|R13: ffffffff810c78b2 R14: ffffffff810f8158 R15: ffffffff810f9120
+|FS: 0000000000000000(0000) GS:ffff88013c100000(0063) knlGS:00000000f74e3940
+|CS: 0010 DS: 002b ES: 002b CR0: 000000008005003b
+|CR2: 0000000008cf6008 CR3: 000000013b169000 CR4: 00000000000006e0
+|Call Trace:
+| <#DB>
+| [<ffffffff810f8158>] ? trace_preempt_off+0x18/0x170
+| <<EOE>>
+| [<ffffffff81077745>] preempt_count_add+0xa5/0xc0
+| [<ffffffff810c78b2>] on_each_cpu+0x22/0x90
+| [<ffffffff8100ceab>] text_poke_bp+0x5b/0xc0
+| [<ffffffff8100a29c>] arch_jump_label_transform+0x8c/0xf0
+| [<ffffffff8111c77c>] __jump_label_update+0x6c/0x80
+| [<ffffffff8111c83a>] jump_label_update+0xaa/0xc0
+| [<ffffffff8111ca54>] static_key_slow_inc+0x94/0xa0
+| [<ffffffff810e0d8d>] tracepoint_probe_register_prio+0x26d/0x2c0
+| [<ffffffff810e0df3>] tracepoint_probe_register+0x13/0x20
+| [<ffffffff810fca78>] trace_event_reg+0x98/0xd0
+| [<ffffffff810fcc8b>] __ftrace_event_enable_disable+0x6b/0x180
+| [<ffffffff810fd5b8>] event_enable_write+0x78/0xc0
+| [<ffffffff8117a768>] __vfs_write+0x28/0xe0
+| [<ffffffff8117b025>] vfs_write+0xa5/0x180
+| [<ffffffff8117bb76>] SyS_write+0x46/0xa0
+| [<ffffffff81002c91>] do_fast_syscall_32+0xa1/0x1d0
+| [<ffffffff81684d57>] sysenter_flags_fixed+0xd/0x17
+
+during
+ echo 1 > /sys/kernel/debug/tracing/events/hist/preemptirqsoff_hist/enable
+
+Reported-By: Christoph Mathys <eraserix at gmail.com>
+Cc: stable-rt at vger.kernel.org
+Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
+Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
+---
+ arch/Kconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/Kconfig b/arch/Kconfig
+index 73fc7cd51582..5e921bd9a57b 100644
+--- a/arch/Kconfig
++++ b/arch/Kconfig
+@@ -46,6 +46,7 @@ config KPROBES
+ config JUMP_LABEL
+ bool "Optimize trace point call sites"
+ depends on HAVE_ARCH_JUMP_LABEL
++ depends on (!INTERRUPT_OFF_HIST && !PREEMPT_OFF_HIST && !WAKEUP_LATENCY_HIST && !MISSED_TIMER_OFFSETS_HIST)
+ help
+ If it is detected that the compiler has support for "asm goto",
+ the kernel will compile trace point locations with just a
diff --git a/debian/patches/features/all/rt/0381-kernel-migrate_disable-do-fastpath-in-atomic-irqs-of.patch b/debian/patches/features/all/rt/0381-kernel-migrate_disable-do-fastpath-in-atomic-irqs-of.patch
new file mode 100644
index 0000000..e929b73
--- /dev/null
+++ b/debian/patches/features/all/rt/0381-kernel-migrate_disable-do-fastpath-in-atomic-irqs-of.patch
@@ -0,0 +1,37 @@
+From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
+Date: Tue, 9 Feb 2016 18:18:01 +0100
+Subject: [PATCH 381/386] kernel: migrate_disable() do fastpath in atomic &
+ irqs-off
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=40c465689b7ce3b722d441a95eef552d889d4b19
+
+With interrupts off it makes no sense to do the long path since we can't
+leave the CPU anyway. Also we might end up in a recursion with lockdep.
+
+Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
+Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
+---
+ kernel/sched.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/kernel/sched.c b/kernel/sched.c
+index a9f6d6c0ab93..24d7256ce0b2 100644
+--- a/kernel/sched.c
++++ b/kernel/sched.c
+@@ -4611,7 +4611,7 @@ void migrate_disable(void)
+ {
+ struct task_struct *p = current;
+
+- if (in_atomic()) {
++ if (in_atomic() || irqs_disabled()) {
+ #ifdef CONFIG_SCHED_DEBUG
+ p->migrate_disable_atomic++;
+ #endif
+@@ -4642,7 +4642,7 @@ void migrate_enable(void)
+ unsigned long flags;
+ struct rq *rq;
+
+- if (in_atomic()) {
++ if (in_atomic() || irqs_disabled()) {
+ #ifdef CONFIG_SCHED_DEBUG
+ p->migrate_disable_atomic--;
+ #endif
diff --git a/debian/patches/features/all/rt/0382-kernel-softirq-unlock-with-irqs-on.patch b/debian/patches/features/all/rt/0382-kernel-softirq-unlock-with-irqs-on.patch
new file mode 100644
index 0000000..a429519
--- /dev/null
+++ b/debian/patches/features/all/rt/0382-kernel-softirq-unlock-with-irqs-on.patch
@@ -0,0 +1,32 @@
+From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
+Date: Tue, 9 Feb 2016 18:17:18 +0100
+Subject: [PATCH 382/386] kernel: softirq: unlock with irqs on
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=af964ac8680e39b0e0f107b5083c380db3658892
+
+We unlock the lock while the interrupts are off. This isn't a problem
+now but will get because the migrate_disable() + enable are not
+symmetrical in regard to the status of interrupts.
+
+Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
+Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
+---
+ kernel/softirq.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/kernel/softirq.c b/kernel/softirq.c
+index b7d68392e833..61860daa4098 100644
+--- a/kernel/softirq.c
++++ b/kernel/softirq.c
+@@ -561,10 +561,10 @@ static int __thread_do_softirq(int cpu)
+ */
+ if (local_softirq_pending())
+ __do_softirq_common(cpu >= 0);
+- local_unlock(local_softirq_lock);
+ unpin_current_cpu();
+- preempt_disable();
+ local_irq_enable();
++ local_unlock(local_softirq_lock);
++ preempt_disable();
+ return 0;
+ }
+
diff --git a/debian/patches/features/all/rt/0383-rcu-torture-Comment-out-rcu_bh-ops-on-PREEMPT_RT_FUL.patch b/debian/patches/features/all/rt/0383-rcu-torture-Comment-out-rcu_bh-ops-on-PREEMPT_RT_FUL.patch
new file mode 100644
index 0000000..8c5bedc
--- /dev/null
+++ b/debian/patches/features/all/rt/0383-rcu-torture-Comment-out-rcu_bh-ops-on-PREEMPT_RT_FUL.patch
@@ -0,0 +1,41 @@
+From: Clark Williams <williams at redhat.com>
+Date: Fri, 26 Feb 2016 13:19:20 -0600
+Subject: [PATCH 383/386] rcu/torture: Comment out rcu_bh ops on
+ PREEMPT_RT_FULL
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=4d591a02859c90eefe44c1ab5d3d938e4443bd46
+
+RT has dropped support of rcu_bh, comment out in rcutorture.
+
+Signed-off-by: Clark Williams <williams at redhat.com>
+Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
+Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
+Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
+---
+ kernel/rcutorture.c | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
+index 764825c2685c..3cd7834c7da6 100644
+--- a/kernel/rcutorture.c
++++ b/kernel/rcutorture.c
+@@ -455,6 +455,7 @@ static struct rcu_torture_ops rcu_expedited_ops = {
+ .name = "rcu_expedited"
+ };
+
++#ifndef CONFIG_PREEMPT_RT_FULL
+ /*
+ * Definitions for rcu_bh torture testing.
+ */
+@@ -528,6 +529,12 @@ static struct rcu_torture_ops rcu_bh_expedited_ops = {
+ .name = "rcu_bh_expedited"
+ };
+
++#else
++static struct rcu_torture_ops rcu_bh_ops = {
++ .ttype = INVALID_RCU_FLAVOR,
++};
++#endif
++
+ /*
+ * Definitions for srcu torture testing.
+ */
diff --git a/debian/patches/features/all/rt/0384-kernel-sched-Fix-preempt_disable_ip-recodring-for-pr.patch b/debian/patches/features/all/rt/0384-kernel-sched-Fix-preempt_disable_ip-recodring-for-pr.patch
new file mode 100644
index 0000000..72bf0db
--- /dev/null
+++ b/debian/patches/features/all/rt/0384-kernel-sched-Fix-preempt_disable_ip-recodring-for-pr.patch
@@ -0,0 +1,114 @@
+From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
+Date: Thu, 11 Feb 2016 22:06:28 +0100
+Subject: [PATCH 384/386] kernel: sched: Fix preempt_disable_ip recodring for
+ preempt_disable()
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b01bf9da2c2a4ffbe95ca28ff7f1c690b2689175
+
+preempt_disable() invokes preempt_count_add() which saves the caller in
+current->preempt_disable_ip. It uses CALLER_ADDR1 which does not look for its
+caller but for the parent of the caller. Which means we get the correct caller
+for something like spin_lock() unless the architectures inlines those
+invocations. It is always wrong for preempt_disable() or local_bh_disable().
+
+This patch makes the function get_parent_ip() which tries CALLER_ADDR0,1,2 if
+the former is a locking function. This seems to record the preempt_disable()
+caller properly for preempt_disable() itself as well as for get_cpu_var() or
+local_bh_disable().
+
+Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
+Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
+---
+ include/linux/ftrace.h | 12 ++++++++++++
+ include/linux/sched.h | 2 --
+ kernel/sched.c | 14 ++------------
+ kernel/softirq.c | 2 +-
+ 4 files changed, 15 insertions(+), 15 deletions(-)
+
+diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
+index a3ebb09d4283..3c87797e371e 100644
+--- a/include/linux/ftrace.h
++++ b/include/linux/ftrace.h
+@@ -341,6 +341,18 @@ static inline void __ftrace_enabled_restore(int enabled)
+ # endif
+ #endif /* ifndef HAVE_ARCH_CALLER_ADDR */
+
++static inline unsigned long get_lock_parent_ip(void)
++{
++ unsigned long addr = CALLER_ADDR0;
++
++ if (!in_lock_functions(addr))
++ return addr;
++ addr = CALLER_ADDR1;
++ if (!in_lock_functions(addr))
++ return addr;
++ return CALLER_ADDR2;
++}
++
+ #ifdef CONFIG_IRQSOFF_TRACER
+ extern void time_hardirqs_on(unsigned long a0, unsigned long a1);
+ extern void time_hardirqs_off(unsigned long a0, unsigned long a1);
+diff --git a/include/linux/sched.h b/include/linux/sched.h
+index e14ca4f24b2b..985d8c19f6ed 100644
+--- a/include/linux/sched.h
++++ b/include/linux/sched.h
+@@ -149,8 +149,6 @@ extern unsigned long this_cpu_load(void);
+ extern void calc_global_load(unsigned long ticks);
+ extern void update_cpu_load_nohz(void);
+
+-extern unsigned long get_parent_ip(unsigned long addr);
+-
+ struct seq_file;
+ struct cfs_rq;
+ struct task_group;
+diff --git a/kernel/sched.c b/kernel/sched.c
+index 24d7256ce0b2..abc27a937c1b 100644
+--- a/kernel/sched.c
++++ b/kernel/sched.c
+@@ -4460,16 +4460,6 @@ void scheduler_tick(void)
+ #endif
+ }
+
+-notrace unsigned long get_parent_ip(unsigned long addr)
+-{
+- if (in_lock_functions(addr)) {
+- addr = CALLER_ADDR2;
+- if (in_lock_functions(addr))
+- addr = CALLER_ADDR3;
+- }
+- return addr;
+-}
+-
+ #if defined(CONFIG_PREEMPT) && (defined(CONFIG_DEBUG_PREEMPT) || \
+ defined(CONFIG_PREEMPT_TRACER))
+
+@@ -4491,7 +4481,7 @@ void __kprobes add_preempt_count(int val)
+ PREEMPT_MASK - 10);
+ #endif
+ if (preempt_count() == val) {
+- unsigned long ip = get_parent_ip(CALLER_ADDR1);
++ unsigned long ip = get_lock_parent_ip();
+ #ifdef CONFIG_DEBUG_PREEMPT
+ current->preempt_disable_ip = ip;
+ #endif
+@@ -4517,7 +4507,7 @@ void __kprobes sub_preempt_count(int val)
+ #endif
+
+ if (preempt_count() == val)
+- trace_preempt_on(CALLER_ADDR0, get_parent_ip(CALLER_ADDR1));
++ trace_preempt_on(CALLER_ADDR0, get_lock_parent_ip());
+ preempt_count() -= val;
+ }
+ EXPORT_SYMBOL(sub_preempt_count);
+diff --git a/kernel/softirq.c b/kernel/softirq.c
+index 61860daa4098..b03c01c77d92 100644
+--- a/kernel/softirq.c
++++ b/kernel/softirq.c
+@@ -207,7 +207,7 @@ static void __local_bh_disable(unsigned long ip, unsigned int cnt)
+ raw_local_irq_restore(flags);
+
+ if (preempt_count() == cnt)
+- trace_preempt_off(CALLER_ADDR0, get_parent_ip(CALLER_ADDR1));
++ trace_preempt_off(CALLER_ADDR0, get_lock_parent_ip());
+ }
+ #else /* !CONFIG_TRACE_IRQFLAGS */
+ static inline void __local_bh_disable(unsigned long ip, unsigned int cnt)
diff --git a/debian/patches/features/all/rt/0385-tracing-Fix-probe_wakeup_latency_hist_start-prototyp.patch b/debian/patches/features/all/rt/0385-tracing-Fix-probe_wakeup_latency_hist_start-prototyp.patch
new file mode 100644
index 0000000..2dcffd6
--- /dev/null
+++ b/debian/patches/features/all/rt/0385-tracing-Fix-probe_wakeup_latency_hist_start-prototyp.patch
@@ -0,0 +1,38 @@
+From: Mike Galbraith <umgwanakikbuti at gmail.com>
+Date: Fri, 4 Mar 2016 05:04:06 +0100
+Subject: [PATCH 385/386] tracing: Fix probe_wakeup_latency_hist_start()
+ prototype
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=07e1028742fa86d47f7e644893d92523c561497c
+
+Drop 'success' arg from probe_wakeup_latency_hist_start().
+
+Link: http://lkml.kernel.org/r/1457064246.3501.2.camel@gmail.com
+Fixes: cf1dd658 sched: Introduce the trace_sched_waking tracepoint
+Signed-off-by: Mike Galbraith <umgwanakikbuti at gmail.com>
+Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
+---
+ kernel/trace/latency_hist.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/kernel/trace/latency_hist.c b/kernel/trace/latency_hist.c
+index 6a4c8694c55a..900046843068 100644
+--- a/kernel/trace/latency_hist.c
++++ b/kernel/trace/latency_hist.c
+@@ -114,7 +114,7 @@ static DEFINE_PER_CPU(struct hist_data, wakeup_latency_hist_sharedprio);
+ static char *wakeup_latency_hist_dir = "wakeup";
+ static char *wakeup_latency_hist_dir_sharedprio = "sharedprio";
+ static notrace void probe_wakeup_latency_hist_start(void *v,
+- struct task_struct *p, int success);
++ struct task_struct *p);
+ static notrace void probe_wakeup_latency_hist_stop(void *v,
+ struct task_struct *prev, struct task_struct *next);
+ static notrace void probe_sched_migrate_task(void *,
+@@ -868,7 +868,7 @@ static notrace void probe_sched_migrate_task(void *v, struct task_struct *task,
+ }
+
+ static notrace void probe_wakeup_latency_hist_start(void *v,
+- struct task_struct *p, int success)
++ struct task_struct *p)
+ {
+ unsigned long flags;
+ struct task_struct *curr = current;
diff --git a/debian/patches/features/all/rt/0380-Linux-3.2.77-rt111-REBASE.patch b/debian/patches/features/all/rt/0386-Linux-3.2.78-rt113-REBASE.patch
similarity index 60%
rename from debian/patches/features/all/rt/0380-Linux-3.2.77-rt111-REBASE.patch
rename to debian/patches/features/all/rt/0386-Linux-3.2.78-rt113-REBASE.patch
index 3395fee..9607895 100644
--- a/debian/patches/features/all/rt/0380-Linux-3.2.77-rt111-REBASE.patch
+++ b/debian/patches/features/all/rt/0386-Linux-3.2.78-rt113-REBASE.patch
@@ -1,16 +1,16 @@
From: "Steven Rostedt (Red Hat)" <rostedt at goodmis.org>
-Date: Mon, 29 Feb 2016 12:01:30 -0500
-Subject: [PATCH 380/380] Linux 3.2.77-rt111 REBASE
-Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=3e2fab6ff342fc0b94d30cc90789df71f06a46c9
+Date: Mon, 7 Mar 2016 15:31:17 -0500
+Subject: [PATCH 386/386] Linux 3.2.78-rt113 REBASE
+Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=878e0b19b385593d191f7459d16f131d7b9c56f1
---
localversion-rt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/localversion-rt b/localversion-rt
-index b2111a212663..9969a4b69fad 100644
+index b2111a212663..fdcd9167ca0b 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt24
-+-rt111
++-rt113
diff --git a/debian/patches/series-rt b/debian/patches/series-rt
index 82acb29..50d0bf7 100644
--- a/debian/patches/series-rt
+++ b/debian/patches/series-rt
@@ -377,4 +377,10 @@ features/all/rt/0376-dump-stack-don-t-disable-preemption-during-trace.patch
features/all/rt/0377-net-Make-synchronize_rcu_expedited-conditional-on-RT.patch
features/all/rt/0378-sched-Introduce-the-trace_sched_waking-tracepoint.patch
features/all/rt/0379-rtmutex-Have-slowfn-of-rt_mutex_timed_fastlock-use-e.patch
-features/all/rt/0380-Linux-3.2.77-rt111-REBASE.patch
+features/all/rt/0380-latencyhist-disable-jump-labels.patch
+features/all/rt/0381-kernel-migrate_disable-do-fastpath-in-atomic-irqs-of.patch
+features/all/rt/0382-kernel-softirq-unlock-with-irqs-on.patch
+features/all/rt/0383-rcu-torture-Comment-out-rcu_bh-ops-on-PREEMPT_RT_FUL.patch
+features/all/rt/0384-kernel-sched-Fix-preempt_disable_ip-recodring-for-pr.patch
+features/all/rt/0385-tracing-Fix-probe_wakeup_latency_hist_start-prototyp.patch
+features/all/rt/0386-Linux-3.2.78-rt113-REBASE.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list