From f4932e37687dad16bc797d8fa28599df28e601f3 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 3 Jun 2012 22:03:33 +0000 Subject: [PATCH] Replace patch series lists with one main series and one per featureset Change patch.apply.in to apply a single patch series without filtering. Move series/base to series-all and series/base-extra to series-rt and series-none (the latter empty). Remove the redundant status file support from patch.apply.in, and convert it into a static file rather than a template. Remove the redundant patch series list support from patches.py. svn path=/dists/sid/linux/; revision=19071 --- debian/bin/gencontrol.py | 14 -- debian/bin/patch.apply | 50 ++++ debian/lib/python/debian_linux/patches.py | 29 --- debian/patches/{series/base => series-all} | 0 debian/patches/series-rt | 266 +++++++++++++++++++++ debian/patches/series/base-extra | 266 --------------------- debian/rules | 2 +- debian/templates/patch.apply.in | 204 ---------------- 8 files changed, 317 insertions(+), 514 deletions(-) create mode 100644 debian/bin/patch.apply rename debian/patches/{series/base => series-all} (100%) create mode 100644 debian/patches/series-rt delete mode 100644 debian/patches/series/base-extra delete mode 100644 debian/templates/patch.apply.in diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py index 0b912553a..d7235c5a4 100755 --- a/debian/bin/gencontrol.py +++ b/debian/bin/gencontrol.py @@ -343,20 +343,6 @@ class Gencontrol(Base): makefile.add('build_%s_%s_%s_real' % (arch, featureset, flavour), cmds=cmds_build) makefile.add('setup_%s_%s_%s_real' % (arch, featureset, flavour), cmds=cmds_setup) - def do_extra(self, packages, makefile): - apply = self.templates['patch.apply'] - - vars = { - 'revisions': 'orig base ' + ' '.join([i.revision for i in self.versions[::-1]]), - 'upstream': self.version.upstream, - 'linux_upstream': self.version.linux_upstream, - 'abiname': self.abiname, - } - - apply = self.substitute(apply, vars) - - file('debian/bin/patch.apply', 'w').write(apply) - def merge_packages(self, packages, new, arch): for new_package in new: name = new_package['Package'] diff --git a/debian/bin/patch.apply b/debian/bin/patch.apply new file mode 100644 index 000000000..8fa9e3702 --- /dev/null +++ b/debian/bin/patch.apply @@ -0,0 +1,50 @@ +#!/usr/bin/env python + +import os, os.path, re, sys +from warnings import warn +from debian_linux.patches import PatchSeries + +def main(): + options, args = parse_options() + + if len(args) > 1: + print "Too much arguments" + return + + home = options.home + name = options.featureset or "all" + fp = file(os.path.join(home, "series-%s" % name)) + PatchSeries(name, home, fp)() + +def parse_options(): + from optparse import OptionParser + parser = OptionParser( + usage = "%prog [OPTION]... [TARGET]", + ) + parser.add_option( + '-f', '--featureset', + dest = 'featureset', + help = "featureset", + ) + parser.add_option( + '-H', '--overwrite-home', + dest = 'home', + help = "overwrite home [no default]", + ) + + options, args = parser.parse_args() + + return options, args + +if __name__ == '__main__': + def showwarning(message, category, filename, lineno, + file=sys.stderr, line=''): + file.write("Warning: %s\n" % message) + import warnings + warnings.showwarning = showwarning + try: + main() + except RuntimeError, e: + sys.stderr.write("Error: %s\n" % e) + raise SystemExit, 1 + diff --git a/debian/lib/python/debian_linux/patches.py b/debian/lib/python/debian_linux/patches.py index e23fcce32..2f0737b53 100644 --- a/debian/lib/python/debian_linux/patches.py +++ b/debian/lib/python/debian_linux/patches.py @@ -188,32 +188,3 @@ class PatchSeries(list): def __repr__(self): return '<%s object for %s>' % (self.__class__.__name__, self.name) - - -class PatchSeriesList(list): - def __call__(self, cond=bool, reverse=False): - if not reverse: - l = self - else: - l = self[::-1] - for i in l: - if reverse: - print "--> Try to unapply %s." % i.name - else: - print "--> Try to apply %s." % i.name - i(cond=cond, reverse=reverse) - if reverse: - print "--> %s fully unapplied." % i.name - else: - print "--> %s fully applied." % i.name - - @classmethod - def read(cls, home, files): - ret = cls() - for i in files: - try: - fp = file(os.path.join(home, 'series', i)) - ret.append(PatchSeries(i, home, fp)) - except IOError: - pass - return ret diff --git a/debian/patches/series/base b/debian/patches/series-all similarity index 100% rename from debian/patches/series/base rename to debian/patches/series-all diff --git a/debian/patches/series-rt b/debian/patches/series-rt new file mode 100644 index 000000000..a82eb4796 --- /dev/null +++ b/debian/patches/series-rt @@ -0,0 +1,266 @@ ++ features/all/rt/0001-x86-Call-idle-notifier-after-irq_enter.patch ++ features/all/rt/0002-slab-lockdep-Annotate-all-slab-caches.patch ++ features/all/rt/0003-x86-kprobes-Remove-remove-bogus-preempt_enable.patch ++ features/all/rt/0004-x86-hpet-Disable-MSI-on-Lenovo-W510.patch ++ features/all/rt/0005-block-Shorten-interrupt-disabled-regions.patch ++ features/all/rt/0006-sched-Distangle-worker-accounting-from-rq-3Elock.patch ++ features/all/rt/0007-mips-enable-interrupts-in-signal.patch.patch ++ features/all/rt/0008-arm-enable-interrupts-in-signal-code.patch.patch ++ features/all/rt/0009-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch ++ features/all/rt/0010-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch ++ features/all/rt/0011-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch ++ features/all/rt/0012-powerpc-Allow-irq-threading.patch ++ features/all/rt/0013-sched-Keep-period-timer-ticking-when-throttling-acti.patch ++ features/all/rt/0014-sched-Do-not-throttle-due-to-PI-boosting.patch ++ features/all/rt/0015-time-Remove-bogus-comments.patch ++ features/all/rt/0016-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch ++ features/all/rt/0017-x86-vdso-Use-seqcount-instead-of-seqlock.patch ++ features/all/rt/0018-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch ++ features/all/rt/0019-seqlock-Remove-unused-functions.patch ++ features/all/rt/0020-seqlock-Use-seqcount.patch ++ features/all/rt/0021-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch ++ features/all/rt/0022-timekeeping-Split-xtime_lock.patch ++ features/all/rt/0023-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch ++ features/all/rt/0024-mm-memcg-shorten-preempt-disabled-section-around-eve.patch ++ features/all/rt/0025-tracing-Account-for-preempt-off-in-preempt_schedule.patch ++ features/all/rt/0026-signal-revert-ptrace-preempt-magic.patch.patch ++ features/all/rt/0027-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch ++ features/all/rt/0028-arm-Allow-forced-irq-threading.patch ++ features/all/rt/0029-preempt-rt-Convert-arm-boot_lock-to-raw.patch ++ features/all/rt/0030-sched-Create-schedule_preempt_disabled.patch ++ features/all/rt/0031-sched-Use-schedule_preempt_disabled.patch ++ features/all/rt/0032-signals-Do-not-wakeup-self.patch ++ features/all/rt/0033-posix-timers-Prevent-broadcast-signals.patch ++ features/all/rt/0034-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch ++ features/all/rt/0035-signal-x86-Delay-calling-signals-in-atomic.patch ++ features/all/rt/0036-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch ++ features/all/rt/0037-drivers-random-Reduce-preempt-disabled-region.patch ++ features/all/rt/0038-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch ++ features/all/rt/0039-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch ++ features/all/rt/0040-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch ++ features/all/rt/0041-drivers-net-Use-disable_irq_nosync-in-8139too.patch ++ features/all/rt/0042-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch ++ features/all/rt/0043-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch ++ features/all/rt/0044-preempt-mark-legitimated-no-resched-sites.patch.patch ++ features/all/rt/0045-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch ++ features/all/rt/0046-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch ++ features/all/rt/0047-mm-pagefault_disabled.patch ++ features/all/rt/0048-mm-raw_pagefault_disable.patch ++ features/all/rt/0049-filemap-fix-up.patch.patch ++ features/all/rt/0050-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch ++ features/all/rt/0051-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch ++ features/all/rt/0052-suspend-Prevent-might-sleep-splats.patch ++ features/all/rt/0053-OF-Fixup-resursive-locking-code-paths.patch ++ features/all/rt/0054-of-convert-devtree-lock.patch.patch ++ features/all/rt/0055-list-add-list-last-entry.patch.patch ++ features/all/rt/0056-mm-page-alloc-use-list-last-entry.patch.patch ++ features/all/rt/0057-mm-slab-move-debug-out.patch.patch ++ features/all/rt/0058-rwsem-inlcude-fix.patch.patch ++ features/all/rt/0059-sysctl-include-fix.patch.patch ++ features/all/rt/0060-net-flip-lock-dep-thingy.patch.patch ++ features/all/rt/0061-softirq-thread-do-softirq.patch.patch ++ features/all/rt/0062-softirq-split-out-code.patch.patch ++ features/all/rt/0063-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch ++ features/all/rt/0064-x86-32-fix-signal-crap.patch.patch ++ features/all/rt/0065-x86-Do-not-disable-preemption-in-int3-on-32bit.patch ++ features/all/rt/0066-rcu-Reduce-lock-section.patch ++ features/all/rt/0067-locking-various-init-fixes.patch.patch ++ features/all/rt/0068-wait-Provide-__wake_up_all_locked.patch ++ features/all/rt/0069-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch ++ features/all/rt/0070-latency-hist.patch.patch ++ features/all/rt/0071-hwlatdetect.patch.patch ++ features/all/rt/0073-early-printk-consolidate.patch.patch ++ features/all/rt/0074-printk-kill.patch.patch ++ features/all/rt/0075-printk-force_early_printk-boot-param-to-help-with-de.patch ++ features/all/rt/0076-rt-preempt-base-config.patch.patch ++ features/all/rt/0077-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch ++ features/all/rt/0078-rt-local_irq_-variants-depending-on-RT-RT.patch ++ features/all/rt/0079-preempt-Provide-preempt_-_-no-rt-variants.patch ++ features/all/rt/0080-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch ++ features/all/rt/0081-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch ++ features/all/rt/0082-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch ++ features/all/rt/0083-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch ++ features/all/rt/0084-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch ++ features/all/rt/0085-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch ++ features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch ++ features/all/rt/0087-usb-Use-local_irq_-_nort-variants.patch ++ features/all/rt/0088-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch ++ features/all/rt/0089-mm-scatterlist-dont-disable-irqs-on-RT.patch ++ features/all/rt/0090-signal-fix-up-rcu-wreckage.patch.patch ++ features/all/rt/0091-net-wireless-warn-nort.patch.patch ++ features/all/rt/0092-mm-Replace-cgroup_page-bit-spinlock.patch ++ features/all/rt/0093-buffer_head-Replace-bh_uptodate_lock-for-rt.patch ++ features/all/rt/0094-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch ++ features/all/rt/0095-genirq-Disable-DEBUG_SHIRQ-for-rt.patch ++ features/all/rt/0096-genirq-Disable-random-call-on-preempt-rt.patch ++ features/all/rt/0097-genirq-disable-irqpoll-on-rt.patch ++ features/all/rt/0098-genirq-force-threading.patch.patch ++ features/all/rt/0099-drivers-net-fix-livelock-issues.patch ++ features/all/rt/0100-drivers-net-vortex-fix-locking-issues.patch ++ features/all/rt/0101-drivers-net-gianfar-Make-RT-aware.patch ++ features/all/rt/0102-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch ++ features/all/rt/0103-local-var.patch.patch ++ features/all/rt/0104-rt-local-irq-lock.patch.patch ++ features/all/rt/0105-cpu-rt-variants.patch.patch ++ features/all/rt/0106-mm-slab-wrap-functions.patch.patch ++ features/all/rt/0107-slab-Fix-__do_drain-to-use-the-right-array-cache.patch ++ features/all/rt/0108-mm-More-lock-breaks-in-slab.c.patch ++ features/all/rt/0109-mm-page_alloc-rt-friendly-per-cpu-pages.patch ++ features/all/rt/0110-mm-page_alloc-reduce-lock-sections-further.patch ++ features/all/rt/0111-mm-page-alloc-fix.patch.patch ++ features/all/rt/0112-mm-convert-swap-to-percpu-locked.patch ++ features/all/rt/0113-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch ++ features/all/rt/0114-mm-make-vmstat-rt-aware.patch ++ features/all/rt/0115-mm-shrink-the-page-frame-to-rt-size.patch ++ features/all/rt/0116-ARM-Initialize-ptl-lock-for-vector-page.patch ++ features/all/rt/0117-mm-Allow-only-slab-on-RT.patch ++ features/all/rt/0118-radix-tree-rt-aware.patch.patch ++ features/all/rt/0119-panic-disable-random-on-rt.patch ++ features/all/rt/0120-ipc-Make-the-ipc-code-rt-aware.patch ++ features/all/rt/0121-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch ++ features/all/rt/0122-relay-fix-timer-madness.patch ++ features/all/rt/0123-net-ipv4-route-use-locks-on-up-rt.patch.patch ++ features/all/rt/0124-workqueue-avoid-the-lock-in-cpu-dying.patch.patch ++ features/all/rt/0125-timers-prepare-for-full-preemption.patch ++ features/all/rt/0126-timers-preempt-rt-support.patch ++ features/all/rt/0127-timers-fix-timer-hotplug-on-rt.patch ++ features/all/rt/0128-timers-mov-printk_tick-to-soft-interrupt.patch ++ features/all/rt/0129-timer-delay-waking-softirqs-from-the-jiffy-tick.patch ++ features/all/rt/0130-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch ++ features/all/rt/0131-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch ++ features/all/rt/0132-hrtimers-prepare-full-preemption.patch ++ features/all/rt/0133-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch ++ features/all/rt/0134-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch ++ features/all/rt/0135-hrtimer-Add-missing-debug_activate-aid-Was-Re-ANNOUN.patch ++ features/all/rt/0136-hrtimer-fix-reprogram-madness.patch.patch ++ features/all/rt/0137-timer-fd-Prevent-live-lock.patch ++ features/all/rt/0138-posix-timers-thread-posix-cpu-timers-on-rt.patch ++ features/all/rt/0139-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch ++ features/all/rt/0140-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch ++ features/all/rt/0141-sched-delay-put-task.patch.patch ++ features/all/rt/0142-sched-limit-nr-migrate.patch.patch ++ features/all/rt/0143-sched-mmdrop-delayed.patch.patch ++ features/all/rt/0144-sched-rt-mutex-wakeup.patch.patch ++ features/all/rt/0145-sched-prevent-idle-boost.patch.patch ++ features/all/rt/0146-sched-might-sleep-do-not-account-rcu-depth.patch.patch ++ features/all/rt/0147-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch ++ features/all/rt/0148-sched-cond-resched.patch.patch ++ features/all/rt/0149-cond-resched-softirq-fix.patch.patch ++ features/all/rt/0150-sched-no-work-when-pi-blocked.patch.patch ++ features/all/rt/0151-cond-resched-lock-rt-tweak.patch.patch ++ features/all/rt/0152-sched-disable-ttwu-queue.patch.patch ++ features/all/rt/0153-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch ++ features/all/rt/0154-sched-ttwu-Return-success-when-only-changing-the-sav.patch ++ features/all/rt/0155-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch ++ features/all/rt/0156-stomp-machine-mark-stomper-thread.patch.patch ++ features/all/rt/0157-stomp-machine-raw-lock.patch.patch ++ features/all/rt/0158-hotplug-Lightweight-get-online-cpus.patch ++ features/all/rt/0159-hotplug-sync_unplug-No.patch ++ features/all/rt/0160-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch ++ features/all/rt/0161-sched-migrate-disable.patch.patch ++ features/all/rt/0162-hotplug-use-migrate-disable.patch.patch ++ features/all/rt/0163-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch ++ features/all/rt/0164-ftrace-migrate-disable-tracing.patch.patch ++ features/all/rt/0165-tracing-Show-padding-as-unsigned-short.patch ++ features/all/rt/0166-migrate-disable-rt-variant.patch.patch ++ features/all/rt/0167-sched-Optimize-migrate_disable.patch ++ features/all/rt/0168-sched-Generic-migrate_disable.patch ++ features/all/rt/0169-sched-rt-Fix-migrate_enable-thinko.patch ++ features/all/rt/0170-sched-teach-migrate_disable-about-atomic-contexts.patch ++ features/all/rt/0171-sched-Postpone-actual-migration-disalbe-to-schedule.patch ++ features/all/rt/0172-sched-Do-not-compare-cpu-masks-in-scheduler.patch ++ features/all/rt/0173-sched-Have-migrate_disable-ignore-bounded-threads.patch ++ features/all/rt/0174-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch ++ features/all/rt/0175-ftrace-crap.patch.patch ++ features/all/rt/0176-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch ++ features/all/rt/0177-net-netif_rx_ni-migrate-disable.patch.patch ++ features/all/rt/0178-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch ++ features/all/rt/0179-lockdep-rt.patch.patch ++ features/all/rt/0180-mutex-no-spin-on-rt.patch.patch ++ features/all/rt/0181-softirq-local-lock.patch.patch ++ features/all/rt/0182-softirq-Export-in_serving_softirq.patch ++ features/all/rt/0183-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch ++ features/all/rt/0184-softirq-Fix-unplug-deadlock.patch ++ features/all/rt/0185-softirq-disable-softirq-stacks-for-rt.patch.patch ++ features/all/rt/0186-softirq-make-fifo.patch.patch ++ features/all/rt/0187-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch ++ features/all/rt/0188-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch ++ features/all/rt/0189-local-vars-migrate-disable.patch.patch ++ features/all/rt/0190-md-raid5-Make-raid5_percpu-handling-RT-aware.patch ++ features/all/rt/0191-rtmutex-lock-killable.patch.patch ++ features/all/rt/0192-rtmutex-futex-prepare-rt.patch.patch ++ features/all/rt/0193-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch ++ features/all/rt/0194-rt-mutex-add-sleeping-spinlocks-support.patch.patch ++ features/all/rt/0195-spinlock-types-separate-raw.patch.patch ++ features/all/rt/0196-rtmutex-avoid-include-hell.patch.patch ++ features/all/rt/0197-rt-add-rt-spinlocks.patch.patch ++ features/all/rt/0198-rt-add-rt-to-mutex-headers.patch.patch ++ features/all/rt/0199-rwsem-add-rt-variant.patch.patch ++ features/all/rt/0200-rt-Add-the-preempt-rt-lock-replacement-APIs.patch ++ features/all/rt/0201-rwlocks-Fix-section-mismatch.patch ++ features/all/rt/0202-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch ++ features/all/rt/0203-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch ++ features/all/rt/0204-rcu-Frob-softirq-test.patch ++ features/all/rt/0205-rcu-Merge-RCU-bh-into-RCU-preempt.patch ++ features/all/rt/0206-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch ++ features/all/rt/0207-rcu-more-fallout.patch.patch ++ features/all/rt/0208-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch ++ features/all/rt/0209-rt-rcutree-Move-misplaced-prototype.patch ++ features/all/rt/0210-lglocks-rt.patch.patch ++ features/all/rt/0211-serial-8250-Clean-up-the-locking-for-rt.patch ++ features/all/rt/0212-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch ++ features/all/rt/0213-drivers-tty-fix-omap-lock-crap.patch.patch ++ features/all/rt/0214-rt-Improve-the-serial-console-PASS_LIMIT.patch ++ features/all/rt/0215-fs-namespace-preemption-fix.patch ++ features/all/rt/0216-mm-protect-activate-switch-mm.patch.patch ++ features/all/rt/0217-fs-block-rt-support.patch.patch ++ features/all/rt/0218-fs-ntfs-disable-interrupt-only-on-RT.patch ++ features/all/rt/0219-x86-Convert-mce-timer-to-hrtimer.patch ++ features/all/rt/0220-x86-stackprotector-Avoid-random-pool-on-rt.patch ++ features/all/rt/0221-x86-Use-generic-rwsem_spinlocks-on-rt.patch ++ features/all/rt/0222-x86-Disable-IST-stacks-for-debug-int-3-stack-fault-f.patch ++ features/all/rt/0223-workqueue-use-get-cpu-light.patch.patch ++ features/all/rt/0224-epoll.patch.patch ++ features/all/rt/0225-mm-vmalloc.patch.patch ++ features/all/rt/revert-workqueue-skip-nr_running-sanity-check-in-wor.patch ++ features/all/rt/0226-workqueue-Fix-cpuhotplug-trainwreck.patch ++ features/all/rt/0227-workqueue-Fix-PF_THREAD_BOUND-abuse.patch ++ features/all/rt/0228-workqueue-Use-get_cpu_light-in-flush_gcwq.patch ++ features/all/rt/0229-hotplug-stuff.patch.patch ++ features/all/rt/0230-debugobjects-rt.patch.patch ++ features/all/rt/0231-jump-label-rt.patch.patch ++ features/all/rt/0232-skbufhead-raw-lock.patch.patch ++ features/all/rt/0233-x86-no-perf-irq-work-rt.patch.patch ++ features/all/rt/0234-console-make-rt-friendly.patch.patch ++ features/all/rt/0235-printk-Disable-migration-instead-of-preemption.patch ++ features/all/rt/0236-power-use-generic-rwsem-on-rt.patch ++ features/all/rt/0237-power-disable-highmem-on-rt.patch.patch ++ features/all/rt/0238-arm-disable-highmem-on-rt.patch.patch ++ features/all/rt/0239-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch ++ features/all/rt/0240-mips-disable-highmem-on-rt.patch.patch ++ features/all/rt/0241-net-Avoid-livelock-in-net_tx_action-on-RT.patch ++ features/all/rt/0242-ping-sysrq.patch.patch ++ features/all/rt/0243-kgdb-serial-Short-term-workaround.patch ++ features/all/rt/0244-add-sys-kernel-realtime-entry.patch ++ features/all/rt/0245-mm-rt-kmap_atomic-scheduling.patch ++ features/all/rt/0246-ipc-sem-Rework-semaphore-wakeups.patch ++ features/all/rt/0247-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch ++ features/all/rt/0248-x86-kvm-require-const-tsc-for-rt.patch.patch ++ features/all/rt/0249-scsi-fcoe-rt-aware.patch.patch ++ features/all/rt/0250-x86-crypto-Reduce-preempt-disabled-regions.patch ++ features/all/rt/0251-dm-Make-rt-aware.patch ++ features/all/rt/0252-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch ++ features/all/rt/0253-seqlock-Prevent-rt-starvation.patch ++ features/all/rt/0254-timer-Fix-hotplug-for-rt.patch ++ features/all/rt/0255-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch ++ features/all/rt/0256-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch ++ features/all/rt/0257-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch ++ features/all/rt/0258-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch ++ features/all/rt/0259-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch ++ features/all/rt/0260-softirq-Check-preemption-after-reenabling-interrupts.patch ++ features/all/rt/0261-rt-Introduce-cpu_chill.patch ++ features/all/rt/0262-fs-dcache-Use-cpu_chill-in-trylock-loops.patch ++ features/all/rt/0263-net-Use-cpu_chill-instead-of-cpu_relax.patch ++ features/all/rt/0264-kconfig-disable-a-few-options-rt.patch.patch ++ features/all/rt/0265-kconfig-preempt-rt-full.patch.patch ++ features/all/rt/0266-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch diff --git a/debian/patches/series/base-extra b/debian/patches/series/base-extra deleted file mode 100644 index dbe4f961f..000000000 --- a/debian/patches/series/base-extra +++ /dev/null @@ -1,266 +0,0 @@ -+ features/all/rt/0001-x86-Call-idle-notifier-after-irq_enter.patch featureset=rt -+ features/all/rt/0002-slab-lockdep-Annotate-all-slab-caches.patch featureset=rt -+ features/all/rt/0003-x86-kprobes-Remove-remove-bogus-preempt_enable.patch featureset=rt -+ features/all/rt/0004-x86-hpet-Disable-MSI-on-Lenovo-W510.patch featureset=rt -+ features/all/rt/0005-block-Shorten-interrupt-disabled-regions.patch featureset=rt -+ features/all/rt/0006-sched-Distangle-worker-accounting-from-rq-3Elock.patch featureset=rt -+ features/all/rt/0007-mips-enable-interrupts-in-signal.patch.patch featureset=rt -+ features/all/rt/0008-arm-enable-interrupts-in-signal-code.patch.patch featureset=rt -+ features/all/rt/0009-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch featureset=rt -+ features/all/rt/0010-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch featureset=rt -+ features/all/rt/0011-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch featureset=rt -+ features/all/rt/0012-powerpc-Allow-irq-threading.patch featureset=rt -+ features/all/rt/0013-sched-Keep-period-timer-ticking-when-throttling-acti.patch featureset=rt -+ features/all/rt/0014-sched-Do-not-throttle-due-to-PI-boosting.patch featureset=rt -+ features/all/rt/0015-time-Remove-bogus-comments.patch featureset=rt -+ features/all/rt/0016-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch featureset=rt -+ features/all/rt/0017-x86-vdso-Use-seqcount-instead-of-seqlock.patch featureset=rt -+ features/all/rt/0018-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch featureset=rt -+ features/all/rt/0019-seqlock-Remove-unused-functions.patch featureset=rt -+ features/all/rt/0020-seqlock-Use-seqcount.patch featureset=rt -+ features/all/rt/0021-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch featureset=rt -+ features/all/rt/0022-timekeeping-Split-xtime_lock.patch featureset=rt -+ features/all/rt/0023-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch featureset=rt -+ features/all/rt/0024-mm-memcg-shorten-preempt-disabled-section-around-eve.patch featureset=rt -+ features/all/rt/0025-tracing-Account-for-preempt-off-in-preempt_schedule.patch featureset=rt -+ features/all/rt/0026-signal-revert-ptrace-preempt-magic.patch.patch featureset=rt -+ features/all/rt/0027-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch featureset=rt -+ features/all/rt/0028-arm-Allow-forced-irq-threading.patch featureset=rt -+ features/all/rt/0029-preempt-rt-Convert-arm-boot_lock-to-raw.patch featureset=rt -+ features/all/rt/0030-sched-Create-schedule_preempt_disabled.patch featureset=rt -+ features/all/rt/0031-sched-Use-schedule_preempt_disabled.patch featureset=rt -+ features/all/rt/0032-signals-Do-not-wakeup-self.patch featureset=rt -+ features/all/rt/0033-posix-timers-Prevent-broadcast-signals.patch featureset=rt -+ features/all/rt/0034-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch featureset=rt -+ features/all/rt/0035-signal-x86-Delay-calling-signals-in-atomic.patch featureset=rt -+ features/all/rt/0036-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch featureset=rt -+ features/all/rt/0037-drivers-random-Reduce-preempt-disabled-region.patch featureset=rt -+ features/all/rt/0038-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch featureset=rt -+ features/all/rt/0039-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch featureset=rt -+ features/all/rt/0040-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch featureset=rt -+ features/all/rt/0041-drivers-net-Use-disable_irq_nosync-in-8139too.patch featureset=rt -+ features/all/rt/0042-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch featureset=rt -+ features/all/rt/0043-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch featureset=rt -+ features/all/rt/0044-preempt-mark-legitimated-no-resched-sites.patch.patch featureset=rt -+ features/all/rt/0045-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch featureset=rt -+ features/all/rt/0046-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch featureset=rt -+ features/all/rt/0047-mm-pagefault_disabled.patch featureset=rt -+ features/all/rt/0048-mm-raw_pagefault_disable.patch featureset=rt -+ features/all/rt/0049-filemap-fix-up.patch.patch featureset=rt -+ features/all/rt/0050-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch featureset=rt -+ features/all/rt/0051-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch featureset=rt -+ features/all/rt/0052-suspend-Prevent-might-sleep-splats.patch featureset=rt -+ features/all/rt/0053-OF-Fixup-resursive-locking-code-paths.patch featureset=rt -+ features/all/rt/0054-of-convert-devtree-lock.patch.patch featureset=rt -+ features/all/rt/0055-list-add-list-last-entry.patch.patch featureset=rt -+ features/all/rt/0056-mm-page-alloc-use-list-last-entry.patch.patch featureset=rt -+ features/all/rt/0057-mm-slab-move-debug-out.patch.patch featureset=rt -+ features/all/rt/0058-rwsem-inlcude-fix.patch.patch featureset=rt -+ features/all/rt/0059-sysctl-include-fix.patch.patch featureset=rt -+ features/all/rt/0060-net-flip-lock-dep-thingy.patch.patch featureset=rt -+ features/all/rt/0061-softirq-thread-do-softirq.patch.patch featureset=rt -+ features/all/rt/0062-softirq-split-out-code.patch.patch featureset=rt -+ features/all/rt/0063-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch featureset=rt -+ features/all/rt/0064-x86-32-fix-signal-crap.patch.patch featureset=rt -+ features/all/rt/0065-x86-Do-not-disable-preemption-in-int3-on-32bit.patch featureset=rt -+ features/all/rt/0066-rcu-Reduce-lock-section.patch featureset=rt -+ features/all/rt/0067-locking-various-init-fixes.patch.patch featureset=rt -+ features/all/rt/0068-wait-Provide-__wake_up_all_locked.patch featureset=rt -+ features/all/rt/0069-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch featureset=rt -+ features/all/rt/0070-latency-hist.patch.patch featureset=rt -+ features/all/rt/0071-hwlatdetect.patch.patch featureset=rt -+ features/all/rt/0073-early-printk-consolidate.patch.patch featureset=rt -+ features/all/rt/0074-printk-kill.patch.patch featureset=rt -+ features/all/rt/0075-printk-force_early_printk-boot-param-to-help-with-de.patch featureset=rt -+ features/all/rt/0076-rt-preempt-base-config.patch.patch featureset=rt -+ features/all/rt/0077-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch featureset=rt -+ features/all/rt/0078-rt-local_irq_-variants-depending-on-RT-RT.patch featureset=rt -+ features/all/rt/0079-preempt-Provide-preempt_-_-no-rt-variants.patch featureset=rt -+ features/all/rt/0080-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch featureset=rt -+ features/all/rt/0081-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch featureset=rt -+ features/all/rt/0082-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch featureset=rt -+ features/all/rt/0083-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch featureset=rt -+ features/all/rt/0084-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch featureset=rt -+ features/all/rt/0085-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch featureset=rt -+ features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch featureset=rt -+ features/all/rt/0087-usb-Use-local_irq_-_nort-variants.patch featureset=rt -+ features/all/rt/0088-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch featureset=rt -+ features/all/rt/0089-mm-scatterlist-dont-disable-irqs-on-RT.patch featureset=rt -+ features/all/rt/0090-signal-fix-up-rcu-wreckage.patch.patch featureset=rt -+ features/all/rt/0091-net-wireless-warn-nort.patch.patch featureset=rt -+ features/all/rt/0092-mm-Replace-cgroup_page-bit-spinlock.patch featureset=rt -+ features/all/rt/0093-buffer_head-Replace-bh_uptodate_lock-for-rt.patch featureset=rt -+ features/all/rt/0094-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch featureset=rt -+ features/all/rt/0095-genirq-Disable-DEBUG_SHIRQ-for-rt.patch featureset=rt -+ features/all/rt/0096-genirq-Disable-random-call-on-preempt-rt.patch featureset=rt -+ features/all/rt/0097-genirq-disable-irqpoll-on-rt.patch featureset=rt -+ features/all/rt/0098-genirq-force-threading.patch.patch featureset=rt -+ features/all/rt/0099-drivers-net-fix-livelock-issues.patch featureset=rt -+ features/all/rt/0100-drivers-net-vortex-fix-locking-issues.patch featureset=rt -+ features/all/rt/0101-drivers-net-gianfar-Make-RT-aware.patch featureset=rt -+ features/all/rt/0102-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch featureset=rt -+ features/all/rt/0103-local-var.patch.patch featureset=rt -+ features/all/rt/0104-rt-local-irq-lock.patch.patch featureset=rt -+ features/all/rt/0105-cpu-rt-variants.patch.patch featureset=rt -+ features/all/rt/0106-mm-slab-wrap-functions.patch.patch featureset=rt -+ features/all/rt/0107-slab-Fix-__do_drain-to-use-the-right-array-cache.patch featureset=rt -+ features/all/rt/0108-mm-More-lock-breaks-in-slab.c.patch featureset=rt -+ features/all/rt/0109-mm-page_alloc-rt-friendly-per-cpu-pages.patch featureset=rt -+ features/all/rt/0110-mm-page_alloc-reduce-lock-sections-further.patch featureset=rt -+ features/all/rt/0111-mm-page-alloc-fix.patch.patch featureset=rt -+ features/all/rt/0112-mm-convert-swap-to-percpu-locked.patch featureset=rt -+ features/all/rt/0113-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch featureset=rt -+ features/all/rt/0114-mm-make-vmstat-rt-aware.patch featureset=rt -+ features/all/rt/0115-mm-shrink-the-page-frame-to-rt-size.patch featureset=rt -+ features/all/rt/0116-ARM-Initialize-ptl-lock-for-vector-page.patch featureset=rt -+ features/all/rt/0117-mm-Allow-only-slab-on-RT.patch featureset=rt -+ features/all/rt/0118-radix-tree-rt-aware.patch.patch featureset=rt -+ features/all/rt/0119-panic-disable-random-on-rt.patch featureset=rt -+ features/all/rt/0120-ipc-Make-the-ipc-code-rt-aware.patch featureset=rt -+ features/all/rt/0121-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch featureset=rt -+ features/all/rt/0122-relay-fix-timer-madness.patch featureset=rt -+ features/all/rt/0123-net-ipv4-route-use-locks-on-up-rt.patch.patch featureset=rt -+ features/all/rt/0124-workqueue-avoid-the-lock-in-cpu-dying.patch.patch featureset=rt -+ features/all/rt/0125-timers-prepare-for-full-preemption.patch featureset=rt -+ features/all/rt/0126-timers-preempt-rt-support.patch featureset=rt -+ features/all/rt/0127-timers-fix-timer-hotplug-on-rt.patch featureset=rt -+ features/all/rt/0128-timers-mov-printk_tick-to-soft-interrupt.patch featureset=rt -+ features/all/rt/0129-timer-delay-waking-softirqs-from-the-jiffy-tick.patch featureset=rt -+ features/all/rt/0130-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch featureset=rt -+ features/all/rt/0131-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch featureset=rt -+ features/all/rt/0132-hrtimers-prepare-full-preemption.patch featureset=rt -+ features/all/rt/0133-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch featureset=rt -+ features/all/rt/0134-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch featureset=rt -+ features/all/rt/0135-hrtimer-Add-missing-debug_activate-aid-Was-Re-ANNOUN.patch featureset=rt -+ features/all/rt/0136-hrtimer-fix-reprogram-madness.patch.patch featureset=rt -+ features/all/rt/0137-timer-fd-Prevent-live-lock.patch featureset=rt -+ features/all/rt/0138-posix-timers-thread-posix-cpu-timers-on-rt.patch featureset=rt -+ features/all/rt/0139-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch featureset=rt -+ features/all/rt/0140-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch featureset=rt -+ features/all/rt/0141-sched-delay-put-task.patch.patch featureset=rt -+ features/all/rt/0142-sched-limit-nr-migrate.patch.patch featureset=rt -+ features/all/rt/0143-sched-mmdrop-delayed.patch.patch featureset=rt -+ features/all/rt/0144-sched-rt-mutex-wakeup.patch.patch featureset=rt -+ features/all/rt/0145-sched-prevent-idle-boost.patch.patch featureset=rt -+ features/all/rt/0146-sched-might-sleep-do-not-account-rcu-depth.patch.patch featureset=rt -+ features/all/rt/0147-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch featureset=rt -+ features/all/rt/0148-sched-cond-resched.patch.patch featureset=rt -+ features/all/rt/0149-cond-resched-softirq-fix.patch.patch featureset=rt -+ features/all/rt/0150-sched-no-work-when-pi-blocked.patch.patch featureset=rt -+ features/all/rt/0151-cond-resched-lock-rt-tweak.patch.patch featureset=rt -+ features/all/rt/0152-sched-disable-ttwu-queue.patch.patch featureset=rt -+ features/all/rt/0153-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch featureset=rt -+ features/all/rt/0154-sched-ttwu-Return-success-when-only-changing-the-sav.patch featureset=rt -+ features/all/rt/0155-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch featureset=rt -+ features/all/rt/0156-stomp-machine-mark-stomper-thread.patch.patch featureset=rt -+ features/all/rt/0157-stomp-machine-raw-lock.patch.patch featureset=rt -+ features/all/rt/0158-hotplug-Lightweight-get-online-cpus.patch featureset=rt -+ features/all/rt/0159-hotplug-sync_unplug-No.patch featureset=rt -+ features/all/rt/0160-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch featureset=rt -+ features/all/rt/0161-sched-migrate-disable.patch.patch featureset=rt -+ features/all/rt/0162-hotplug-use-migrate-disable.patch.patch featureset=rt -+ features/all/rt/0163-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch featureset=rt -+ features/all/rt/0164-ftrace-migrate-disable-tracing.patch.patch featureset=rt -+ features/all/rt/0165-tracing-Show-padding-as-unsigned-short.patch featureset=rt -+ features/all/rt/0166-migrate-disable-rt-variant.patch.patch featureset=rt -+ features/all/rt/0167-sched-Optimize-migrate_disable.patch featureset=rt -+ features/all/rt/0168-sched-Generic-migrate_disable.patch featureset=rt -+ features/all/rt/0169-sched-rt-Fix-migrate_enable-thinko.patch featureset=rt -+ features/all/rt/0170-sched-teach-migrate_disable-about-atomic-contexts.patch featureset=rt -+ features/all/rt/0171-sched-Postpone-actual-migration-disalbe-to-schedule.patch featureset=rt -+ features/all/rt/0172-sched-Do-not-compare-cpu-masks-in-scheduler.patch featureset=rt -+ features/all/rt/0173-sched-Have-migrate_disable-ignore-bounded-threads.patch featureset=rt -+ features/all/rt/0174-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch featureset=rt -+ features/all/rt/0175-ftrace-crap.patch.patch featureset=rt -+ features/all/rt/0176-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch featureset=rt -+ features/all/rt/0177-net-netif_rx_ni-migrate-disable.patch.patch featureset=rt -+ features/all/rt/0178-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch featureset=rt -+ features/all/rt/0179-lockdep-rt.patch.patch featureset=rt -+ features/all/rt/0180-mutex-no-spin-on-rt.patch.patch featureset=rt -+ features/all/rt/0181-softirq-local-lock.patch.patch featureset=rt -+ features/all/rt/0182-softirq-Export-in_serving_softirq.patch featureset=rt -+ features/all/rt/0183-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch featureset=rt -+ features/all/rt/0184-softirq-Fix-unplug-deadlock.patch featureset=rt -+ features/all/rt/0185-softirq-disable-softirq-stacks-for-rt.patch.patch featureset=rt -+ features/all/rt/0186-softirq-make-fifo.patch.patch featureset=rt -+ features/all/rt/0187-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch featureset=rt -+ features/all/rt/0188-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch featureset=rt -+ features/all/rt/0189-local-vars-migrate-disable.patch.patch featureset=rt -+ features/all/rt/0190-md-raid5-Make-raid5_percpu-handling-RT-aware.patch featureset=rt -+ features/all/rt/0191-rtmutex-lock-killable.patch.patch featureset=rt -+ features/all/rt/0192-rtmutex-futex-prepare-rt.patch.patch featureset=rt -+ features/all/rt/0193-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch featureset=rt -+ features/all/rt/0194-rt-mutex-add-sleeping-spinlocks-support.patch.patch featureset=rt -+ features/all/rt/0195-spinlock-types-separate-raw.patch.patch featureset=rt -+ features/all/rt/0196-rtmutex-avoid-include-hell.patch.patch featureset=rt -+ features/all/rt/0197-rt-add-rt-spinlocks.patch.patch featureset=rt -+ features/all/rt/0198-rt-add-rt-to-mutex-headers.patch.patch featureset=rt -+ features/all/rt/0199-rwsem-add-rt-variant.patch.patch featureset=rt -+ features/all/rt/0200-rt-Add-the-preempt-rt-lock-replacement-APIs.patch featureset=rt -+ features/all/rt/0201-rwlocks-Fix-section-mismatch.patch featureset=rt -+ features/all/rt/0202-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch featureset=rt -+ features/all/rt/0203-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch featureset=rt -+ features/all/rt/0204-rcu-Frob-softirq-test.patch featureset=rt -+ features/all/rt/0205-rcu-Merge-RCU-bh-into-RCU-preempt.patch featureset=rt -+ features/all/rt/0206-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch featureset=rt -+ features/all/rt/0207-rcu-more-fallout.patch.patch featureset=rt -+ features/all/rt/0208-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch featureset=rt -+ features/all/rt/0209-rt-rcutree-Move-misplaced-prototype.patch featureset=rt -+ features/all/rt/0210-lglocks-rt.patch.patch featureset=rt -+ features/all/rt/0211-serial-8250-Clean-up-the-locking-for-rt.patch featureset=rt -+ features/all/rt/0212-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch featureset=rt -+ features/all/rt/0213-drivers-tty-fix-omap-lock-crap.patch.patch featureset=rt -+ features/all/rt/0214-rt-Improve-the-serial-console-PASS_LIMIT.patch featureset=rt -+ features/all/rt/0215-fs-namespace-preemption-fix.patch featureset=rt -+ features/all/rt/0216-mm-protect-activate-switch-mm.patch.patch featureset=rt -+ features/all/rt/0217-fs-block-rt-support.patch.patch featureset=rt -+ features/all/rt/0218-fs-ntfs-disable-interrupt-only-on-RT.patch featureset=rt -+ features/all/rt/0219-x86-Convert-mce-timer-to-hrtimer.patch featureset=rt -+ features/all/rt/0220-x86-stackprotector-Avoid-random-pool-on-rt.patch featureset=rt -+ features/all/rt/0221-x86-Use-generic-rwsem_spinlocks-on-rt.patch featureset=rt -+ features/all/rt/0222-x86-Disable-IST-stacks-for-debug-int-3-stack-fault-f.patch featureset=rt -+ features/all/rt/0223-workqueue-use-get-cpu-light.patch.patch featureset=rt -+ features/all/rt/0224-epoll.patch.patch featureset=rt -+ features/all/rt/0225-mm-vmalloc.patch.patch featureset=rt -+ features/all/rt/revert-workqueue-skip-nr_running-sanity-check-in-wor.patch featureset=rt -+ features/all/rt/0226-workqueue-Fix-cpuhotplug-trainwreck.patch featureset=rt -+ features/all/rt/0227-workqueue-Fix-PF_THREAD_BOUND-abuse.patch featureset=rt -+ features/all/rt/0228-workqueue-Use-get_cpu_light-in-flush_gcwq.patch featureset=rt -+ features/all/rt/0229-hotplug-stuff.patch.patch featureset=rt -+ features/all/rt/0230-debugobjects-rt.patch.patch featureset=rt -+ features/all/rt/0231-jump-label-rt.patch.patch featureset=rt -+ features/all/rt/0232-skbufhead-raw-lock.patch.patch featureset=rt -+ features/all/rt/0233-x86-no-perf-irq-work-rt.patch.patch featureset=rt -+ features/all/rt/0234-console-make-rt-friendly.patch.patch featureset=rt -+ features/all/rt/0235-printk-Disable-migration-instead-of-preemption.patch featureset=rt -+ features/all/rt/0236-power-use-generic-rwsem-on-rt.patch featureset=rt -+ features/all/rt/0237-power-disable-highmem-on-rt.patch.patch featureset=rt -+ features/all/rt/0238-arm-disable-highmem-on-rt.patch.patch featureset=rt -+ features/all/rt/0239-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch featureset=rt -+ features/all/rt/0240-mips-disable-highmem-on-rt.patch.patch featureset=rt -+ features/all/rt/0241-net-Avoid-livelock-in-net_tx_action-on-RT.patch featureset=rt -+ features/all/rt/0242-ping-sysrq.patch.patch featureset=rt -+ features/all/rt/0243-kgdb-serial-Short-term-workaround.patch featureset=rt -+ features/all/rt/0244-add-sys-kernel-realtime-entry.patch featureset=rt -+ features/all/rt/0245-mm-rt-kmap_atomic-scheduling.patch featureset=rt -+ features/all/rt/0246-ipc-sem-Rework-semaphore-wakeups.patch featureset=rt -+ features/all/rt/0247-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch featureset=rt -+ features/all/rt/0248-x86-kvm-require-const-tsc-for-rt.patch.patch featureset=rt -+ features/all/rt/0249-scsi-fcoe-rt-aware.patch.patch featureset=rt -+ features/all/rt/0250-x86-crypto-Reduce-preempt-disabled-regions.patch featureset=rt -+ features/all/rt/0251-dm-Make-rt-aware.patch featureset=rt -+ features/all/rt/0252-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch featureset=rt -+ features/all/rt/0253-seqlock-Prevent-rt-starvation.patch featureset=rt -+ features/all/rt/0254-timer-Fix-hotplug-for-rt.patch featureset=rt -+ features/all/rt/0255-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch featureset=rt -+ features/all/rt/0256-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch featureset=rt -+ features/all/rt/0257-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch featureset=rt -+ features/all/rt/0258-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch featureset=rt -+ features/all/rt/0259-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch featureset=rt -+ features/all/rt/0260-softirq-Check-preemption-after-reenabling-interrupts.patch featureset=rt -+ features/all/rt/0261-rt-Introduce-cpu_chill.patch featureset=rt -+ features/all/rt/0262-fs-dcache-Use-cpu_chill-in-trylock-loops.patch featureset=rt -+ features/all/rt/0263-net-Use-cpu_chill-instead-of-cpu_relax.patch featureset=rt -+ features/all/rt/0264-kconfig-disable-a-few-options-rt.patch.patch featureset=rt -+ features/all/rt/0265-kconfig-preempt-rt-full.patch.patch featureset=rt -+ features/all/rt/0266-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch featureset=rt diff --git a/debian/rules b/debian/rules index cb2f19c18..b7996c5ef 100755 --- a/debian/rules +++ b/debian/rules @@ -54,7 +54,7 @@ else endif maintainerclean: - rm -f debian/config.defines.dump debian/control debian/control.md5sum debian/rules.gen debian/bin/patch.* + rm -f debian/config.defines.dump debian/control debian/control.md5sum debian/rules.gen rm -rf $(filter-out debian .svk .svn, $(wildcard * .[^.]*)) clean: debian/control diff --git a/debian/templates/patch.apply.in b/debian/templates/patch.apply.in deleted file mode 100644 index 45395f03d..000000000 --- a/debian/templates/patch.apply.in +++ /dev/null @@ -1,204 +0,0 @@ -#!/usr/bin/env python - -import os, os.path, re, sys -from warnings import warn - -sys.path.append("/usr/share/linux-support-@abiname@/lib/python") - -from debian_linux.patches import PatchSeries, PatchSeriesList - -_default_home = "/usr/src/kernel-patches/all/@linux_upstream@/debian" -revisions = "@revisions@".split() -upstream = "@upstream@" - -class MatchExtra(object): - def __init__(self, featureset): - self.featureset = featureset - - self.matched_featureset = False - - def __call__(self, obj): - if not self: - return False - - data = obj.data - - match_featureset = [] - for i in data: - if i.startswith("featureset="): - match_featureset.append(i[11:]) - else: - raise RuntimeError('Ignored unknown modifier: %s' % i) - - ret_featureset = False - - if match_featureset: - if self.featureset is not None: - if self.featureset in match_featureset: - self.matched_featureset = True - ret_featureset = True - - else: - ret_featureset = True - - return ret_featureset - - def __nonzero__(self): - return self.featureset is not None - - def info(self): - ret = [] - if self.matched_featureset: - ret.append("featureset=%s" % self.featureset) - return ret - -_marker = object() - -class version_file(object): - _file = 'version.Debian' - extra = None - in_progress = False - - def __init__(self, upstream = None): - if os.path.exists(self._file): - s = file(self._file).readline().strip() - self._read(s) - elif upstream: - warn('No %s file, assuming Debian Linux %s' % (self._file, upstream)) - self.upstream = upstream - self.revision = 'orig' - else: - raise RuntimeError, "Not possible to determine version" - - def __str__(self): - if self.in_progress: - return "unstable" - ret = [self.upstream, self.revision] - if self.extra is not None: - ret.extend(self.extra.info()) - return ' '.join(ret) - - def _read(self, s): - if s == 'unstable': - raise RuntimeError("Tree is in an unstable condition. Can't continue!") - list = s.split() - self.upstream, self.revision = list[0:2] - - featureset = None - for i in list[2:]: - if i.startswith("featureset="): - featureset = i[11:] - else: - raise RuntimeError("Can't parse extra information") - self.extra = MatchExtra(featureset) - - def _write(self): - if os.path.lexists(self._file): - os.unlink(self._file) - file(self._file, 'w').write('%s\n' % self) - - def begin(self): - self.in_progress = True - self._write() - - def commit(self, revision, extra = _marker): - self.in_progress = False - self.revision = revision - if extra is not _marker: - self.extra = extra - self._write() - -def main(): - options, args = parse_options() - - if len(args) > 1: - print "Too much arguments" - return - - home = options.home - - vfile = version_file(upstream) - current_revision = vfile.revision - current_extra = vfile.extra - - if len(args) == 1: - target_revision = args[0] - else: - target_revision = revisions[-1] - target_extra = MatchExtra(options.featureset) - - if vfile.upstream != upstream: - raise RuntimeError("Upstream version differs between tree (%s) and package (%s)" % (vfile.upstream, upstream)) - if current_revision not in revisions: - raise RuntimeError, "Current revision is not in our list of revisions" - if target_revision not in revisions: - raise RuntimeError, "Target revision is not in our list of revisions" - - if current_revision == target_revision and current_extra == target_extra: - print "Nothing to do" - return - - current_index = revisions.index(current_revision) - target_index = revisions.index(target_revision) - - if current_extra: - if current_revision != revisions[-1]: - raise RuntimeError, "Can't patch from %s with options %s" % (current, ' '.join(current_extra)) - consider = ['%s-extra' % i for i in revisions[1:current_index + 1]] - s = PatchSeriesList.read(home, consider) - vfile.begin() - s(cond = current_extra, reverse = True) - vfile.commit(current_revision, None) - - if current_index < target_index: - consider = revisions[current_index + 1:target_index + 1] - s = PatchSeriesList.read(home, consider) - vfile.begin() - s() - vfile.commit(target_revision) - elif current_index > target_index: - consider = revisions[target_index + 1:current_index + 1] - s = PatchSeriesList.read(home, consider) - vfile.begin() - s(reverse = True) - vfile.commit(target_revision) - - if target_extra: - consider = ['%s-extra' % i for i in revisions[1:target_index + 1]] - s = PatchSeriesList.read(home, consider) - vfile.begin() - s(cond = target_extra) - vfile.commit(target_revision, target_extra) - -def parse_options(): - from optparse import OptionParser - parser = OptionParser( - usage = "%prog [OPTION]... [TARGET]", - ) - parser.add_option( - '-f', '--featureset', - dest = 'featureset', - help = "featureset", - ) - parser.add_option( - '-H', '--overwrite-home', - default = _default_home, dest = 'home', - help = "overwrite home [default: %default]", - ) - - options, args = parser.parse_args() - - return options, args - -if __name__ == '__main__': - def showwarning(message, category, filename, lineno, - file=sys.stderr, line=''): - file.write("Warning: %s\n" % message) - import warnings - warnings.showwarning = showwarning - try: - main() - except RuntimeError, e: - sys.stderr.write("Error: %s\n" % e) - raise SystemExit, 1 -