[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH v3] Add 3.0-rt2 patch set



Hello,

changes since v2:
 - update to -rt2
 - reword decription to address Bastian's comments. Not sure he's happy now?!
 - merge patches 
 - really drop all armel stuff

----------->8-------------------
It's currently enabled and build tested for amd64/amd64.

---
 changelog                                        |    3 +
 config/amd64/defines                             |    2 +
 config/amd64/rt/defines                          |    3 +
 config/defines                                   |    3 +
 config/featureset-rt/config                      |    5 +
 config/featureset-rt/defines                     |    7 +
 patches/features/all/rt/gen-patch                |    9 +
 patches/features/all/rt/patch-3.0-rt1.patch      |23031 ++++++++++++++++++++++
 patches/features/all/rt/patch-3.0-rt2-incr.patch |  677 +
 patches/series/base-extra                        |    3 +-
 10 files changed, 23742 insertions(+), 1 deletions(-)
 create mode 100644 config/amd64/rt/defines
 create mode 100644 config/featureset-rt/config
 create mode 100644 config/featureset-rt/defines
 create mode 100644 patches/features/all/rt/gen-patch
 create mode 100644 patches/features/all/rt/patch-3.0-rt1.patch
 create mode 100644 patches/features/all/rt/patch-3.0-rt2-incr.patch

diff --git a/changelog b/changelog
index 7de7b90..42bbfa7 100644
--- a/changelog
+++ b/changelog
@@ -33,6 +33,9 @@ linux-2.6 (3.0.0-1) UNRELEASED; urgency=low
   [ Bastian Blank ]
   * [xen] Allow autoloading of backend drivers.
 
+  [ Uwe Kleine-König ]
+  * add 3.0-rt2 patch set, currently enabled for amd64/amd64 only.
+
  -- maximilian attems <maks@debian.org>  Tue, 05 Jul 2011 14:25:29 +0200
 
 linux-2.6 (3.0.0~rc6-1~experimental.1) experimental; urgency=low
diff --git a/config/amd64/defines b/config/amd64/defines
index 48b1aea..e695471 100644
--- a/config/amd64/defines
+++ b/config/amd64/defines
@@ -1,4 +1,6 @@
 [base]
+featuresets:
+ rt
 flavours:
  amd64
 kernel-arch: x86
diff --git a/config/amd64/rt/defines b/config/amd64/rt/defines
new file mode 100644
index 0000000..090dc41
--- /dev/null
+++ b/config/amd64/rt/defines
@@ -0,0 +1,3 @@
+[base]
+flavours:
+ amd64
diff --git a/config/defines b/config/defines
index bc12be7..f78aa08 100644
--- a/config/defines
+++ b/config/defines
@@ -22,6 +22,7 @@ arches:
 compiler: gcc-4.4
 featuresets:
  none
+ rt
 
 [description]
 part-long-up: This kernel is not suitable for SMP (multi-processor,
@@ -47,3 +48,5 @@ elilo: elilo (>= 3.12-3.1~)
 lilo: lilo (>= 22.8-8.2~)
 s390-tools: s390-tools (>= 1.8.3-2~)
 
+[featureset-rt]
+enabled: true
diff --git a/config/featureset-rt/config b/config/featureset-rt/config
new file mode 100644
index 0000000..8136f16
--- /dev/null
+++ b/config/featureset-rt/config
@@ -0,0 +1,5 @@
+# CONFIG_PREEMPT_VOLUNTARY is not set
+CONFIG_PREEMPT_RT_FULL=y
+CONFIG_SCHED_TRACER=y
+CONFIG_MISSED_TIMER_OFFSETS_HIST=y
+CONFIG_WAKEUP_LATENCY_HIST=y
diff --git a/config/featureset-rt/defines b/config/featureset-rt/defines
new file mode 100644
index 0000000..44e2f2b
--- /dev/null
+++ b/config/featureset-rt/defines
@@ -0,0 +1,7 @@
+[abi]
+ignore-changes: *
+
+[description]
+part-long-rt: This kernel includes the PREEMPT_RT realtime patch set.
+part-short-rt: PREEMPT_RT
+parts: rt
diff --git a/patches/features/all/rt/gen-patch b/patches/features/all/rt/gen-patch
new file mode 100644
index 0000000..8ea2916
--- /dev/null
+++ b/patches/features/all/rt/gen-patch
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+set -e
+
+version="$1"
+
+test -n "$version" || echo >&2 "Usage: ./gen-patch <version>"
+
+{ wget -O - "http://www.kernel.org/pub/linux/kernel/projects/rt/patch-$version.patch.bz2"; || wget -O- "http://www.kernel.org/pub/linux/kernel/projects/rt/older/patch-$version.patch.bz2";; } | bzcat | filterdiff -x linux-2.6/localversion-rt > patch-$version.patch
diff --git a/patches/series/base-extra b/patches/series/base-extra
index 8b13789..2722395 100644
--- a/patches/series/base-extra
+++ b/patches/series/base-extra
@@ -1 +1,2 @@
-
++ features/all/rt/patch-3.0-rt1.patch featureset=rt
++ features/all/rt/patch-3.0-rt2-incr.patch featureset=rt
-- 
1.7.5.4


Reply to: