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

login
register
mail settings
Submitter Bruce Ashfield
Date March 26, 2013, 2:46 p.m.
Message ID <80f242ef3516ce540a614dcb8ba3f6880cff19f2.1364308617.git.bruce.ashfield@windriver.com>
Download mbox | patch
Permalink /patch/46943/
State Accepted
Commit 1daa242e78a5fddb1ae60b79f990811c85058943
Headers show

Comments

Bruce Ashfield - March 26, 2013, 2:46 p.m.
The -rt series has been updated for the 3.8 kernel. Updating the
SRCREVs to reflet its import into the tree.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 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
Tom Zanussi - March 28, 2013, 3:40 p.m.
On Tue, 2013-03-26 at 07:46 -0700, Bruce Ashfield wrote:
> 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

> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
> ---
>  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
> 
> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
> new file mode 100644
> index 0000000..97178c7
> --- /dev/null
> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
> @@ -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)}"
Bruce Ashfield - March 28, 2013, 3:48 p.m.
On 13-03-28 11:40 AM, Tom Zanussi wrote:
> On Tue, 2013-03-26 at 07:46 -0700, Bruce Ashfield wrote:
>> 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

>
> 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
>
>> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
>> ---
>>   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
>>
>> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
>> new file mode 100644
>> index 0000000..97178c7
>> --- /dev/null
>> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
>> @@ -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)}"
>
>
Tom Zanussi - March 28, 2013, 3:51 p.m.
On Thu, 2013-03-28 at 11:48 -0400, Bruce Ashfield wrote:
> On 13-03-28 11:40 AM, Tom Zanussi wrote:
> > On Tue, 2013-03-26 at 07:46 -0700, Bruce Ashfield wrote:
> >> 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.
> 

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

Thanks,

Tom

> Bruce
> 
> >
> > 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
> >
> >> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
> >> ---
> >>   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
> >>
> >> diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
> >> new file mode 100644
> >> index 0000000..97178c7
> >> --- /dev/null
> >> +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
> >> @@ -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)}"
> >
> >
>

Patch

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
new file mode 100644
index 0000000..97178c7
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
@@ -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)}"