Skip to contentSkip to conversation

linux-yocto: M6 -stable updates and changes

PATCH In review Bruce Ashfield 3 participants 15 messages Mar 26, 2013 – Mar 28, 2013

lore
Share & tools
lore
#0 lore raw

cover linux-yocto: M6 -stable updates and changes

Richard,

Here's a consolidated pull request that I've been working on last week, and more intensively since tglx dropped the 3.8-rt release late last week.

This series is a collection of kernel fixes:

[linux-yocto/3.8: fix perf host contamination]

Usability tweaks:

[linux-yocto/3.8: allow kernel feature _appends to be overriden]

korg -stable updates:

[linux/yocto-3.4: update to v3.8.4]
[linux-yocto/3.4: import v3.4.36 -stable fixes]

And the introduction of 3.8-rt:

[linux-yocto/3.8: introduce v3.8.4-rt1]
[linux-yocto/3.8: qemuarm boot fix]

Due to the timing of this request, I've made sure to do extra build and boot testing on the changes.

I found a minor issue with the 3.8.4 -stable update on MIPS, which I've fixed and boot tested. And 3.8.4-rt didn't initially boot on qemuarm, I've also fixed it and boot tested sato under the -rt kernel. Darren and I both talked about the -rt release, and there's value in making sure that the base -rt release for 3.8 is part of the main 1.4 release, and it has no impact on existing boards, builds or recipes .. so it is completely safe and isolated from that point of view.

I've built all architectures at this point, and booted at least core-image-minimal, with sato builds running as I type up this pull request.

cc Darren Hart <[email protected]>
cc Tom Zanussi <[email protected]>

Cheers,

Bruce

The following changes since commit f36926a264190e6202830e8520b41b30ae77ea43:

docbook-utils-native: Unbreak the build after source and build dir split (2013-03-25 20:51:19 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (7):
linux-yocto/3.8: allow kernel feature _appends to be overriden linux/yocto-3.4: update to v3.8.4
linux-yocto/3.8: introduce v3.8.4-rt1
kern-tools: initialization and meta branch fixes linux-yocto/3.4: import v3.4.36 -stable fixes linux-yocto/3.8: fix perf host contamination linux-yocto/3.8: qemuarm boot fix

 .../kern-tools/kern-tools-native_git.bb            |    2 +-
 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb    |    8 +++---
 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb    |   29 ++++++++++++++++++++
 meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb  |    6 ++--
 meta/recipes-kernel/linux/linux-yocto_3.4.bb       |   16 +++++------
 meta/recipes-kernel/linux/linux-yocto_3.8.bb       |   23 ++++++++--------
 6 files changed, 56 insertions(+), 28 deletions(-)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/7 linux-yocto/3.8: allow kernel feature _appends to be overriden

It was pointed out that the current way the KERNEL_FEATURES variable is appended in the base linux-yocto recipe doesn't allow the appended features to be prevented in a layer without using python code and a recipe finalize hook.

To allow easier overriding of 'extra' or 'optional' features that are defined in the linux-yocto recipe, we create a KERNEL_EXTRA_FEATURES variable. This variable can be set in a layer to define extra features or cleared to prevent the recipe's extra features from being appended to the core functionality.

---
 meta/recipes-kernel/linux/linux-yocto_3.8.bb |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
meta/recipes-kernel/linux/linux-yocto_3.8.bb +3 -4
index b395e45..f29675a 100644
@@ -23,8 +23,7 @@ KMETA = "meta"
 COMPATIBLE_MACHINE = "qemuarm|qemux86|qemuppc|qemumips|qemux86-64"
 
 # Functionality flags
-KERNEL_FEATURES_append = " features/netfilter/netfilter.scc"
-KERNEL_FEATURES_append_qemux86=" cfg/sound.scc"
-KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
-KERNEL_FEATURES_append_qemux86=" cfg/paravirt_kvm.scc"
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
+KERNEL_FEATURES_append_qemux86=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc cfg/paravirt_kvm.scc"
+KERNEL_FEATURES_append_qemux86-64=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc"
 KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
Signature · 1 line
1.7.10.4
#6 lore raw

PATCH 2/7 linux/yocto-3.4: update to v3.8.4

In reply to Bruce Ashfield

Updating the base v3.8 kernel to the 3.8.4 -stable version.

---
 meta/recipes-kernel/linux/linux-yocto_3.8.bb |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
meta/recipes-kernel/linux/linux-yocto_3.8.bb +8 -8
index f29675a..2b46c3d 100644
@@ -3,17 +3,17 @@ require recipes-kernel/linux/linux-yocto.inc
 KBRANCH_DEFAULT = "standard/base"
 KBRANCH = "${KBRANCH_DEFAULT}"
 
-SRCREV_machine_qemuarm ?= "0bed12bdbdd7a2aa39d8390b7a802dd72244b963"
-SRCREV_machine_qemumips  ?= "4328dc8c1b73bdfe90656f217d99dc4ffa47da1f"
-SRCREV_machine_qemuppc ?= "c12eb257c5fd9441b434c1216c3d987c89ecdd68"
-SRCREV_machine_qemux86 ?= "3fa6521f19ce15c8e950042f843f33986ef2546d"
-SRCREV_machine_qemux86-64 ?= "3fa6521f19ce15c8e950042f843f33986ef2546d"
-SRCREV_machine ?= "3fa6521f19ce15c8e950042f843f33986ef2546d"
-SRCREV_meta ?= "cc572ff970662c844c0a8dd2dab93cc10b8b2a3f"
+SRCREV_machine_qemuarm ?= "358940bfd596167b6ed03caa4113944c7845a855"
+SRCREV_machine_qemumips  ?= "7d995e09dfb21185442d37f62db0a5655b1adba3"
+SRCREV_machine_qemuppc ?= "1c65b040e7952d177ac4c83df5551efd90fc29f2"
+SRCREV_machine_qemux86 ?= "c753c612377f08f5172b528b9b07715f2b3b5735"
+SRCREV_machine_qemux86-64 ?= "c753c612377f08f5172b528b9b07715f2b3b5735"
+SRCREV_machine ?= "c753c612377f08f5172b528b9b07715f2b3b5735"
+SRCREV_meta ?= "2a6d36e75ca0a121570a389d7bab76ec240cbfda"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
 
-LINUX_VERSION ?= "3.8.1"
+LINUX_VERSION ?= "3.8.4"
 
 PR = "${INC_PR}.0"
 PV = "${LINUX_VERSION}+git${SRCPV}"
Signature · 1 line
1.7.10.4
#7 lore raw

PATCH 3/7 linux-yocto/3.8: introduce v3.8.4-rt1

In reply to Bruce Ashfield

The -rt series has been updated for the 3.8 kernel. Updating the SRCREVs to reflet its import into the tree.

---
 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb |   29 +++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb new file +29 -0
new file mode 100644
index 0000000..97178c7
@@ -0,0 +1,29 @@
+require recipes-kernel/linux/linux-yocto.inc
+
+KBRANCH = "standard/preempt-rt/base"
+KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
+
+LINUX_VERSION ?= "3.8.4"
+LINUX_KERNEL_TYPE = "preempt-rt"
+
+KMETA = "meta"
+
+SRCREV_machine ?= "e9b9f72029522ef142ab181e9f7f3ae71535181a"
+SRCREV_machine_qemuppc ?= "7443096f0bdc6522053decd10430fc96a0ef9b94"
+SRCREV_meta ?= "2a6d36e75ca0a121570a389d7bab76ec240cbfda"
+
+PR = "${INC_PR}.0"
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
+
+# Omit broken machines from COMPATIBLE_MACHINE
+#   qemuppc hangs at boot
+#   qemumips panics at boot
+COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
+
+# Functionality flags
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
+KERNEL_FEATURES_append_qemux86=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc cfg/paravirt_kvm.scc"
+KERNEL_FEATURES_append_qemux86-64=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc"
+KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
Signature · 1 line
1.7.10.4
#11 lore raw

PATCH 4/7 kern-tools: initialization and meta branch fixes

In reply to Bruce Ashfield

Bumping the kern-tools SRCREV to pickup the following fixes and documentation updates:

d484e3f kgit-meta: remove hardcoded meta directory name affad20 yocto-kernel-tools: Typoes, "fragement", "depreciated" 142ed49 kgit-init: update tools list

---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb +1 -1
index 9f4438c..affd66e 100644
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=d8d1d729a70c
 
 DEPENDS = "git-native guilt-native"
 
-SRCREV = "7f91d198d32fc90260e52724ef4aac0b997c1e8b"
+SRCREV = "d484e3f731f38f5b4e05e13102c97d06106edfb5"
 PR = "r12"
 PV = "0.1+git${SRCPV}"
 
Signature · 1 line
1.7.10.4
#12 lore raw

PATCH 5/7 linux-yocto/3.4: import v3.4.36 -stable fixes

In reply to Bruce Ashfield

Updating the 3.4 tree to import the korg -stable fixes for v3.4.36.

---
 meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb   |    8 ++++----
 meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb |    6 +++---
 meta/recipes-kernel/linux/linux-yocto_3.4.bb      |   16 ++++++++--------
 3 files changed, 15 insertions(+), 15 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb +4 -4
index 65ebc46..42339a1 100644
@@ -3,14 +3,14 @@ require recipes-kernel/linux/linux-yocto.inc
 KBRANCH = "standard/preempt-rt/base"
 KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
 
-LINUX_VERSION ?= "3.4.34"
+LINUX_VERSION ?= "3.4.36"
 LINUX_KERNEL_TYPE = "preempt-rt"
 
 KMETA = "meta"
 
-SRCREV_machine ?= "96730f882e5b3f60d259ef41ed7c18c95512194a"
-SRCREV_machine_qemuppc ?= "9a013a2a1facf949d9f8cc1b2a291651235c75ea"
-SRCREV_meta ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
+SRCREV_machine ?= "7302a8f84da657ff72ca5a27b9212c9d3bee2fbf"
+SRCREV_machine_qemuppc ?= "494b16c51c6f6dc272eb820eaa57028ca8ee9da2"
+SRCREV_meta ?= "80b4b5110dca5184b57e85f1e775fb006a2e85ad"
 
 PR = "${INC_PR}.0"
 PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb +3 -3
index 6c37b57..4b6b4a0 100644
@@ -8,12 +8,12 @@ KBRANCH = "${KBRANCH_DEFAULT}"
 LINUX_KERNEL_TYPE = "tiny"
 KCONFIG_MODE = "--allnoconfig"
 
-LINUX_VERSION ?= "3.4.34"
+LINUX_VERSION ?= "3.4.36"
 
 KMETA = "meta"
 
-SRCREV_machine ?= "840bb8c059418c4753415df56c9aff1c0d5354c8"
-SRCREV_meta ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
+SRCREV_machine ?= "c994390cfa28339cbc1ec3b56eeec83a5fa75bb7"
+SRCREV_meta ?= "80b4b5110dca5184b57e85f1e775fb006a2e85ad"
 
 PR = "${INC_PR}.0"
 PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.4.bb +8 -8
index 702008c..604aa48 100644
@@ -3,17 +3,17 @@ require recipes-kernel/linux/linux-yocto.inc
 KBRANCH_DEFAULT = "standard/base"
 KBRANCH = "${KBRANCH_DEFAULT}"
 
-SRCREV_machine_qemuarm ?= "c7cc288f0113433bd51d4958d36d4ef4bf13c214"
-SRCREV_machine_qemumips  ?= "d4f5af54aa6a3592c6b2656ef20ea98bee14fde9"
-SRCREV_machine_qemuppc ?= "8afd98bd2aae1ad86b97d4333107408745518f8d"
-SRCREV_machine_qemux86 ?= "840bb8c059418c4753415df56c9aff1c0d5354c8"
-SRCREV_machine_qemux86-64 ?= "840bb8c059418c4753415df56c9aff1c0d5354c8"
-SRCREV_machine ?= "840bb8c059418c4753415df56c9aff1c0d5354c8"
-SRCREV_meta ?= "4fd76cc4f33e0afd8f906b1e8f231b6d13b6c993"
+SRCREV_machine_qemuarm ?= "7cc80532306889b75619f8a1b713048e25f59e19"
+SRCREV_machine_qemumips  ?= "debce6677988e03b50c369aba5861d4f9b2e557d"
+SRCREV_machine_qemuppc ?= "ddbc382cbc45a009e9ce17f7d448fcfd050ab5fc"
+SRCREV_machine_qemux86 ?= "c994390cfa28339cbc1ec3b56eeec83a5fa75bb7"
+SRCREV_machine_qemux86-64 ?= "c994390cfa28339cbc1ec3b56eeec83a5fa75bb7"
+SRCREV_machine ?= "c994390cfa28339cbc1ec3b56eeec83a5fa75bb7"
+SRCREV_meta ?= "80b4b5110dca5184b57e85f1e775fb006a2e85ad"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
 
-LINUX_VERSION ?= "3.4.34"
+LINUX_VERSION ?= "3.4.36"
 
 PR = "${INC_PR}.3"
 PV = "${LINUX_VERSION}+git${SRCPV}"
Signature · 1 line
1.7.10.4
#13 lore raw

PATCH 6/7 linux-yocto/3.8: fix perf host contamination

In reply to Bruce Ashfield

Updating the 3.8 SRCREVs with the following fix:

libtraceevent: Remove hard coded include to /usr/local/include in Makefile

commit b9e8c37220c80e78289a1e87b50c09418eb59a7e upstream

having /usr/local/include hardcoded into the makefile is not necessary as this is automatically included by GCC. It also infects cross-compile builds with the host systems includes.

Signed-off-by Jack Mitchell
Acked-by Namhyung Kim
Cc Ingo Molnar
Cc Paul Mackerras
Cc Peter Zijlstra
Signed-off-by Arnaldo Carvalho de Melo

This implements the fix I described in Yocto [BUG #3993][perf using host includes], now upstream.

[YOCTO #3993]

---
 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb |    4 ++--
 meta/recipes-kernel/linux/linux-yocto_3.8.bb    |   12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb +2 -2
index 97178c7..f12de2e 100644
@@ -8,8 +8,8 @@ LINUX_KERNEL_TYPE = "preempt-rt"
 
 KMETA = "meta"
 
-SRCREV_machine ?= "e9b9f72029522ef142ab181e9f7f3ae71535181a"
-SRCREV_machine_qemuppc ?= "7443096f0bdc6522053decd10430fc96a0ef9b94"
+SRCREV_machine ?= "d125901ac3e516e9b894df088f4282347651b690"
+SRCREV_machine_qemuppc ?= "66630413d6df1665f2c5c94d25eb409271ffe20c"
 SRCREV_meta ?= "2a6d36e75ca0a121570a389d7bab76ec240cbfda"
 
 PR = "${INC_PR}.0"
meta/recipes-kernel/linux/linux-yocto_3.8.bb +6 -6
index 2b46c3d..f2ad0e5 100644
@@ -3,12 +3,12 @@ require recipes-kernel/linux/linux-yocto.inc
 KBRANCH_DEFAULT = "standard/base"
 KBRANCH = "${KBRANCH_DEFAULT}"
 
-SRCREV_machine_qemuarm ?= "358940bfd596167b6ed03caa4113944c7845a855"
-SRCREV_machine_qemumips  ?= "7d995e09dfb21185442d37f62db0a5655b1adba3"
-SRCREV_machine_qemuppc ?= "1c65b040e7952d177ac4c83df5551efd90fc29f2"
-SRCREV_machine_qemux86 ?= "c753c612377f08f5172b528b9b07715f2b3b5735"
-SRCREV_machine_qemux86-64 ?= "c753c612377f08f5172b528b9b07715f2b3b5735"
-SRCREV_machine ?= "c753c612377f08f5172b528b9b07715f2b3b5735"
+SRCREV_machine_qemuarm ?= "3a73643770a32ea6c86724e92e1e5abecb5dc822"
+SRCREV_machine_qemumips  ?= "1aefa19417793412ef87217a4cb5d1074dc549ba"
+SRCREV_machine_qemuppc ?= "8844013c81e9ad80246aabca6573eed9dbaac646"
+SRCREV_machine_qemux86 ?= "15a0766b3d007e5fafce3503375694dff2b0603e"
+SRCREV_machine_qemux86-64 ?= "15a0766b3d007e5fafce3503375694dff2b0603e"
+SRCREV_machine ?= "15a0766b3d007e5fafce3503375694dff2b0603e"
 SRCREV_meta ?= "2a6d36e75ca0a121570a389d7bab76ec240cbfda"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
Signature · 1 line
1.7.10.4
#14 lore raw

PATCH 7/7 linux-yocto/3.8: qemuarm boot fix

In reply to Bruce Ashfield

The preempt-rt kernel was wasn't inheriting the standard kernel configuration and hence was not able to boot on qemuarm due to missing ABI options.

Changing the main preempt-rt kernel include to inherit standard configuration again fixes this boot issue.

---
 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb |    6 +++---
 meta/recipes-kernel/linux/linux-yocto_3.8.bb    |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb +3 -3
index f12de2e..255e2e3 100644
@@ -8,9 +8,9 @@ LINUX_KERNEL_TYPE = "preempt-rt"
 
 KMETA = "meta"
 
-SRCREV_machine ?= "d125901ac3e516e9b894df088f4282347651b690"
-SRCREV_machine_qemuppc ?= "66630413d6df1665f2c5c94d25eb409271ffe20c"
-SRCREV_meta ?= "2a6d36e75ca0a121570a389d7bab76ec240cbfda"
+SRCREV_machine ?= "f35992f80c81dc5fa1a97165dfd5cbb84661f7cb"
+SRCREV_machine_qemuppc ?= "5789e3f33c1d5df35ced60d0153cafca7cd0e319"
+SRCREV_meta ?= "1b534b2f8bbe9b8a773268cfa30a4850346f6f5f"
 
 PR = "${INC_PR}.0"
 PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_3.8.bb +1 -1
index f2ad0e5..95a4906 100644
@@ -9,7 +9,7 @@ SRCREV_machine_qemuppc ?= "8844013c81e9ad80246aabca6573eed9dbaac646"
 SRCREV_machine_qemux86 ?= "15a0766b3d007e5fafce3503375694dff2b0603e"
 SRCREV_machine_qemux86-64 ?= "15a0766b3d007e5fafce3503375694dff2b0603e"
 SRCREV_machine ?= "15a0766b3d007e5fafce3503375694dff2b0603e"
-SRCREV_meta ?= "2a6d36e75ca0a121570a389d7bab76ec240cbfda"
+SRCREV_meta ?= "1b534b2f8bbe9b8a773268cfa30a4850346f6f5f"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
 
Signature · 1 line
1.7.10.4
#2 lore raw

Re: [PATCH 1/7] linux-yocto/3.8: allow kernel feature _appends to be overriden

In reply to Bruce Ashfield
Quoted 10 lines · Bruce Ashfield

It was pointed out that the current way the KERNEL_FEATURES variable is appended in the base linux-yocto recipe doesn't allow the appended features to be prevented in a layer without using python code and a recipe finalize hook.

To allow easier overriding of 'extra' or 'optional' features that are defined in the linux-yocto recipe, we create a KERNEL_EXTRA_FEATURES variable. This variable can be set in a layer to define extra features or cleared to prevent the recipe's extra features from being appended to the core functionality.

You know what I'm going to say right? Docume.... right, good.

Bruce, are you keeping a list of things that have changed and need documentation in the kernel-dev manual? Could you share it?

--
Darren

Quoted 23 lines
---
 meta/recipes-kernel/linux/linux-yocto_3.8.bb |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
meta/recipes-kernel/linux/linux-yocto_3.8.bb +3 -4
index b395e45..f29675a 100644
@@ -23,8 +23,7 @@ KMETA = "meta"
 COMPATIBLE_MACHINE = "qemuarm|qemux86|qemuppc|qemumips|qemux86-64"
 
 # Functionality flags
-KERNEL_FEATURES_append = " features/netfilter/netfilter.scc"
-KERNEL_FEATURES_append_qemux86=" cfg/sound.scc"
-KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
-KERNEL_FEATURES_append_qemux86=" cfg/paravirt_kvm.scc"
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
+KERNEL_FEATURES_append_qemux86=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc cfg/paravirt_kvm.scc"
+KERNEL_FEATURES_append_qemux86-64=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc"
 KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
#3 lore raw

Re: [PATCH 1/7] linux-yocto/3.8: allow kernel feature _appends to be overriden

Quoted 12 lines · Darren Hart
Quoted 10 lines · Bruce Ashfield

It was pointed out that the current way the KERNEL_FEATURES variable is appended in the base linux-yocto recipe doesn't allow the appended features to be prevented in a layer without using python code and a recipe finalize hook.

To allow easier overriding of 'extra' or 'optional' features that are defined in the linux-yocto recipe, we create a KERNEL_EXTRA_FEATURES variable. This variable can be set in a layer to define extra features or cleared to prevent the recipe's extra features from being appended to the core functionality.

Quoted 4 lines

You know what I'm going to say right? Docume.... right, good.

Bruce, are you keeping a list of things that have changed and need documentation in the kernel-dev manual? Could you share it?

I do have a list, I'll put it in bugzilla.

Bruce

Quoted 28 lines

--
Darren

Quoted 23 lines
---
  meta/recipes-kernel/linux/linux-yocto_3.8.bb |    7 +++----
  1 file changed, 3 insertions(+), 4 deletions(-)
meta/recipes-kernel/linux/linux-yocto_3.8.bb +3 -4
index b395e45..f29675a 100644
@@ -23,8 +23,7 @@ KMETA = "meta"
  COMPATIBLE_MACHINE = "qemuarm|qemux86|qemuppc|qemumips|qemux86-64"
 
  # Functionality flags
-KERNEL_FEATURES_append = " features/netfilter/netfilter.scc"
-KERNEL_FEATURES_append_qemux86=" cfg/sound.scc"
-KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc"
-KERNEL_FEATURES_append_qemux86=" cfg/paravirt_kvm.scc"
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
+KERNEL_FEATURES_append_qemux86=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc cfg/paravirt_kvm.scc"
+KERNEL_FEATURES_append_qemux86-64=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc"
  KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
#4 lore raw

Re: [PATCH 1/7] linux-yocto/3.8: allow kernel feature _appends to be overriden

Quoted 13 lines · Bruce Ashfield
Quoted 12 lines · Darren Hart
Quoted 10 lines · Bruce Ashfield

It was pointed out that the current way the KERNEL_FEATURES variable is appended in the base linux-yocto recipe doesn't allow the appended features to be prevented in a layer without using python code and a recipe finalize hook.

To allow easier overriding of 'extra' or 'optional' features that are defined in the linux-yocto recipe, we create a KERNEL_EXTRA_FEATURES variable. This variable can be set in a layer to define extra features or cleared to prevent the recipe's extra features from being appended to the core functionality.

Quoted 6 lines
Quoted 4 lines

You know what I'm going to say right? Docume.... right, good.

Bruce, are you keeping a list of things that have changed and need documentation in the kernel-dev manual? Could you share it?

I do have a list, I'll put it in bugzilla.

Thank you sir!

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
#5 lore raw

Re: [PATCH 1/7] linux-yocto/3.8: allow kernel feature _appends to be overriden

Quoted 16 lines · Darren Hart
Quoted 13 lines · Bruce Ashfield
Quoted 12 lines · Darren Hart
Quoted 10 lines · Bruce Ashfield

It was pointed out that the current way the KERNEL_FEATURES variable is appended in the base linux-yocto recipe doesn't allow the appended features to be prevented in a layer without using python code and a recipe finalize hook.

To allow easier overriding of 'extra' or 'optional' features that are defined in the linux-yocto recipe, we create a KERNEL_EXTRA_FEATURES variable. This variable can be set in a layer to define extra features or cleared to prevent the recipe's extra features from being appended to the core functionality.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

You know what I'm going to say right? Docume.... right, good.

Bruce, are you keeping a list of things that have changed and need documentation in the kernel-dev manual? Could you share it?

I do have a list, I'll put it in bugzilla.

Thank you sir!

I'm overloading bug 3423 with the list of documentation updates that I'll send out for 1.4 .. it has now been updated.

Cheers,

Bruce

Quoted 1 line
#8 lore raw

Re: [PATCH 3/7] linux-yocto/3.8: introduce v3.8.4-rt1

In reply to Bruce Ashfield
Quoted 3 lines · Bruce Ashfield

The -rt series has been updated for the 3.8 kernel. Updating the SRCREVs to reflet its import into the tree.

Hi Bruce,

I'm sure you already have -rt2 queued up, but just wanted to mention that I'm getting this with -rt1:

kernel/built-in.o: In function `register_for_each_vma':
linux/kernel/events/uprobes.c:772: undefined reference to `percpu_down_write'

which should be fixed by -rt2:

http://www.spinics.net/lists/linux-rt-users/msg09617.html

[- per-cpu rwsem fixed for RT (required only by uprobes so far)]

Tom

Quoted 41 lines
---
 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb |   29 +++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb new file +29 -0
new file mode 100644
index 0000000..97178c7
@@ -0,0 +1,29 @@
+require recipes-kernel/linux/linux-yocto.inc
+
+KBRANCH = "standard/preempt-rt/base"
+KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
+
+LINUX_VERSION ?= "3.8.4"
+LINUX_KERNEL_TYPE = "preempt-rt"
+
+KMETA = "meta"
+
+SRCREV_machine ?= "e9b9f72029522ef142ab181e9f7f3ae71535181a"
+SRCREV_machine_qemuppc ?= "7443096f0bdc6522053decd10430fc96a0ef9b94"
+SRCREV_meta ?= "2a6d36e75ca0a121570a389d7bab76ec240cbfda"
+
+PR = "${INC_PR}.0"
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
+
+# Omit broken machines from COMPATIBLE_MACHINE
+#   qemuppc hangs at boot
+#   qemumips panics at boot
+COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
+
+# Functionality flags
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
+KERNEL_FEATURES_append_qemux86=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc cfg/paravirt_kvm.scc"
+KERNEL_FEATURES_append_qemux86-64=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc"
+KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
#9 lore raw

Re: [PATCH 3/7] linux-yocto/3.8: introduce v3.8.4-rt1

Quoted 9 lines · Tom Zanussi
Quoted 3 lines · Bruce Ashfield

The -rt series has been updated for the 3.8 kernel. Updating the SRCREVs to reflet its import into the tree.

Hi Bruce,

I'm sure you already have -rt2 queued up, but just wanted to mention that I'm getting this with -rt1:

Yah. Queued here. I'll make sure to push it as soon as possible. Thanks for the report.

If you've picked a patch, that fixes just this error in your build .. I can always push just the single patch to keep things moving.

Bruce

Quoted 56 lines

kernel/built-in.o: In function `register_for_each_vma':
linux/kernel/events/uprobes.c:772: undefined reference to `percpu_down_write'

which should be fixed by -rt2:

http://www.spinics.net/lists/linux-rt-users/msg09617.html

[- per-cpu rwsem fixed for RT (required only by uprobes so far)]

Tom

Quoted 41 lines
---
  meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb |   29 +++++++++++++++++++++++
  1 file changed, 29 insertions(+)

create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb

meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb new file +29 -0
new file mode 100644
index 0000000..97178c7
@@ -0,0 +1,29 @@
+require recipes-kernel/linux/linux-yocto.inc
+
+KBRANCH = "standard/preempt-rt/base"
+KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
+
+LINUX_VERSION ?= "3.8.4"
+LINUX_KERNEL_TYPE = "preempt-rt"
+
+KMETA = "meta"
+
+SRCREV_machine ?= "e9b9f72029522ef142ab181e9f7f3ae71535181a"
+SRCREV_machine_qemuppc ?= "7443096f0bdc6522053decd10430fc96a0ef9b94"
+SRCREV_meta ?= "2a6d36e75ca0a121570a389d7bab76ec240cbfda"
+
+PR = "${INC_PR}.0"
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
+
+# Omit broken machines from COMPATIBLE_MACHINE
+#   qemuppc hangs at boot
+#   qemumips panics at boot
+COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
+
+# Functionality flags
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
+KERNEL_FEATURES_append_qemux86=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc cfg/paravirt_kvm.scc"
+KERNEL_FEATURES_append_qemux86-64=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc"
+KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
#10 lore raw

Re: [PATCH 3/7] linux-yocto/3.8: introduce v3.8.4-rt1

Quoted 8 lines · Bruce Ashfield
Quoted 7 lines · Tom Zanussi
Quoted 3 lines · Bruce Ashfield

The -rt series has been updated for the 3.8 kernel. Updating the SRCREVs to reflet its import into the tree.

Hi Bruce,

Quoted 9 lines
Quoted 2 lines

I'm sure you already have -rt2 queued up, but just wanted to mention that I'm getting this with -rt1:

Yah. Queued here. I'll make sure to push it as soon as possible. Thanks for the report.

If you've picked a patch, that fixes just this error in your build .. I can always push just the single patch to keep things moving.

No hurry, I can work around it locally until then..

Thanks,

Tom

Quoted 59 lines

Bruce

Quoted 56 lines

kernel/built-in.o: In function `register_for_each_vma':
linux/kernel/events/uprobes.c:772: undefined reference to `percpu_down_write'

which should be fixed by -rt2:

http://www.spinics.net/lists/linux-rt-users/msg09617.html

[- per-cpu rwsem fixed for RT (required only by uprobes so far)]

Tom

Quoted 41 lines
---
  meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb |   29 +++++++++++++++++++++++
  1 file changed, 29 insertions(+)

create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb

meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb new file +29 -0
new file mode 100644
index 0000000..97178c7
@@ -0,0 +1,29 @@
+require recipes-kernel/linux/linux-yocto.inc
+
+KBRANCH = "standard/preempt-rt/base"
+KBRANCH_qemuppc = "standard/preempt-rt/qemuppc"
+
+LINUX_VERSION ?= "3.8.4"
+LINUX_KERNEL_TYPE = "preempt-rt"
+
+KMETA = "meta"
+
+SRCREV_machine ?= "e9b9f72029522ef142ab181e9f7f3ae71535181a"
+SRCREV_machine_qemuppc ?= "7443096f0bdc6522053decd10430fc96a0ef9b94"
+SRCREV_meta ?= "2a6d36e75ca0a121570a389d7bab76ec240cbfda"
+
+PR = "${INC_PR}.0"
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
+
+# Omit broken machines from COMPATIBLE_MACHINE
+#   qemuppc hangs at boot
+#   qemumips panics at boot
+COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
+
+# Functionality flags
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
+KERNEL_FEATURES_append_qemux86=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc cfg/paravirt_kvm.scc"
+KERNEL_FEATURES_append_qemux86-64=" ${KERNEL_EXTRA_FEATURES} cfg/sound.scc"
+KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"