* [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel @ 2013-03-15 5:09 Insop Song 2013-03-15 5:15 ` Bruce Ashfield 2013-03-15 6:27 ` Bruce Ashfield 0 siblings, 2 replies; 11+ messages in thread From: Insop Song @ 2013-03-15 5:09 UTC (permalink / raw) To: Bruce Ashfield Cc: Yocto Project Discussion, Darren Hart, Development list for the linux-yocto*.git Linux kernel repositories [-- Attachment #1: Type: text/plain, Size: 2397 bytes --] Hi Bruce, I've added recipes-kernel to use edf branch and cfg. - tested on qemux86 =========================================== root@qemux86:~# uname -a Linux qemux86 3.8.1-yocto-standard #1 SMP PREEMPT Thu Mar 14 21:57:12 PDT 2013 i686 GNU/Linux root@qemux86:~# rt-app -t 100000:35000:d -D 2 [rt-app] <notice> [0] Using SCHED_DEADLINE policy: [rt-app] <notice> [0] starting thread with period: 100000, exec: 35000,deadline: 100000, priority: 10 [rt-app] <notice> [0] Locking pages in memory #idx period min_et max_et rel_st start end deadline dur. slack Budget Used Budget 0 100000 35000 35000 65466 354577907 354612918 354677899 35011 64981 0 100000 35000 35000 165585 354678026 354713105 354777899 35079 64794 ... 0 100000 35000 35000 1965672 356478113 356513126 356577899 35014 64772 [rt-app] <notice> [0] Exiting. root@qemux86:~# =========================================== Let me know what you think. Regards, Insop =========================================== Subject: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel --- recipes-kernel/linux/linux-yocto/edf.cfg | 4 ++++ recipes-kernel/linux/linux-yocto_3.8.bbappend | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg b/recipes-kernel/linux/linux-yocto/edf.cfg new file mode 100644 index 0000000..ccf004f --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/edf.cfg @@ -0,0 +1,4 @@ +CONFIG_CGROUPS=y +CONFIG_CGROUP_SCHED=y +CONFIG_DEADLINE_GROUP_SCHED=y + diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend new file mode 100644 index 0000000..c6a969f --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend @@ -0,0 +1,14 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +COMPATIBLE_MACHINE_qemux86 = "qemux86" +COMPATIBLE_MACHINE_fri2 = "fri2" + +KBRANCH_qemux86 = "standard/edf" +KBRANCH_fri2 = "standard/edf" + +KMACHINE_qemux86 = "qemux86" +KMACHINE_fri2 = "fri2" + +SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" +SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" + +KERNEL_FEATURES_append =" cfg/edf.scc" -- 1.7.9.5 [-- Attachment #2: 0001-add-sched_deadline-reckpies-kernel-for-3.8-kernel.patch --] [-- Type: application/octet-stream, Size: 1491 bytes --] From 576d97302faf5615ff5e8fc1a101be35c6206ea0 Mon Sep 17 00:00:00 2001 From: Insop Song <insop.song@gmail.com> Date: Thu, 14 Mar 2013 21:52:38 -0700 Subject: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel --- recipes-kernel/linux/linux-yocto/edf.cfg | 4 ++++ recipes-kernel/linux/linux-yocto_3.8.bbappend | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg b/recipes-kernel/linux/linux-yocto/edf.cfg new file mode 100644 index 0000000..ccf004f --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/edf.cfg @@ -0,0 +1,4 @@ +CONFIG_CGROUPS=y +CONFIG_CGROUP_SCHED=y +CONFIG_DEADLINE_GROUP_SCHED=y + diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend new file mode 100644 index 0000000..c6a969f --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend @@ -0,0 +1,14 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +COMPATIBLE_MACHINE_qemux86 = "qemux86" +COMPATIBLE_MACHINE_fri2 = "fri2" + +KBRANCH_qemux86 = "standard/edf" +KBRANCH_fri2 = "standard/edf" + +KMACHINE_qemux86 = "qemux86" +KMACHINE_fri2 = "fri2" + +SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" +SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" + +KERNEL_FEATURES_append =" cfg/edf.scc" -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 5:09 [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel Insop Song @ 2013-03-15 5:15 ` Bruce Ashfield 2013-03-15 5:59 ` Insop Song 2013-03-15 6:27 ` Bruce Ashfield 1 sibling, 1 reply; 11+ messages in thread From: Bruce Ashfield @ 2013-03-15 5:15 UTC (permalink / raw) To: Insop Song Cc: Yocto Project Discussion, Darren Hart, Development list for the linux-yocto*.git Linux kernel repositories On 13-03-14 10:09 PM, Insop Song wrote: > Hi Bruce, > > I've added recipes-kernel to use edf branch and cfg. FYI: your email keeps bouncing from the linux-yocto mailing list, check to be sure you signed up with your gmail account, I keep approving them for now :) > > - tested on qemux86 > =========================================== > > root@qemux86:~# uname -a > Linux qemux86 3.8.1-yocto-standard #1 SMP PREEMPT Thu Mar 14 21:57:12 > PDT 2013 i686 GNU/Linux > root@qemux86:~# rt-app -t 100000:35000:d -D 2 > [rt-app] <notice> [0] Using SCHED_DEADLINE policy: > [rt-app] <notice> [0] starting thread with period: 100000, exec: > 35000,deadline: 100000, priority: 10 > [rt-app] <notice> [0] Locking pages in memory > #idx period min_et max_et rel_st start end deadline dur. slack Budget Used > Budget > 0 100000 35000 35000 65466 354577907 354612918 354677899 35011 64981 > 0 100000 35000 35000 165585 354678026 354713105 354777899 35079 64794 > ... > 0 100000 35000 35000 1965672 356478113 356513126 356577899 35014 64772 > [rt-app] <notice> [0] Exiting. > root@qemux86:~# > > =========================================== > > Let me know what you think. > > Regards, > > Insop > > =========================================== > > > Subject: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 > kernel > > --- > recipes-kernel/linux/linux-yocto/edf.cfg | 4 ++++ > recipes-kernel/linux/linux-yocto_3.8.bbappend | 14 ++++++++++++++ > 2 files changed, 18 insertions(+) > create mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg > create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend > > diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg > b/recipes-kernel/linux/linux-yocto/edf.cfg > new file mode 100644 > index 0000000..ccf004f > --- /dev/null > +++ b/recipes-kernel/linux/linux-yocto/edf.cfg > @@ -0,0 +1,4 @@ > +CONFIG_CGROUPS=y > +CONFIG_CGROUP_SCHED=y > +CONFIG_DEADLINE_GROUP_SCHED=y We don't need this fragment in recipe space, it's already in the kernel tree itself. I've already sent the pull request for the meta SRCREVs to be updated, so it's available for all builds now. > + > diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend > b/recipes-kernel/linux/linux-yocto_3.8.bbappend > new file mode 100644 > index 0000000..c6a969f > --- /dev/null > +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend > @@ -0,0 +1,14 @@ > +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > +COMPATIBLE_MACHINE_qemux86 = "qemux86" > +COMPATIBLE_MACHINE_fri2 = "fri2" These are already taken care of by meta-intel, we don't need to duplicate them here. > + > +KBRANCH_qemux86 = "standard/edf" > +KBRANCH_fri2 = "standard/edf" > + > +KMACHINE_qemux86 = "qemux86" > +KMACHINE_fri2 = "fri2" We don't need these two KMACHINE lines, this is the default. Cheers, Bruce > + > +SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" > +SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" > + > +KERNEL_FEATURES_append =" cfg/edf.scc" > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 5:15 ` Bruce Ashfield @ 2013-03-15 5:59 ` Insop Song 2013-03-15 6:13 ` Bruce Ashfield 0 siblings, 1 reply; 11+ messages in thread From: Insop Song @ 2013-03-15 5:59 UTC (permalink / raw) To: Bruce Ashfield Cc: Yocto Project Discussion, Darren Hart, Development list for the linux-yocto*.git Linux kernel repositories On Thu, Mar 14, 2013 at 10:15 PM, Bruce Ashfield <bruce.ashfield@windriver.com> wrote: > > FYI: your email keeps bouncing from the linux-yocto mailing list, > check to be sure you signed up with your gmail account, I keep > approving them for now :) > I've signed up last time you suggested, I will try one more and send a separate email to the arbiter. Thank you for reminding me. > >> >> - tested on qemux86 >> =========================================== >> >> root@qemux86:~# uname -a >> Linux qemux86 3.8.1-yocto-standard #1 SMP PREEMPT Thu Mar 14 21:57:12 >> PDT 2013 i686 GNU/Linux >> root@qemux86:~# rt-app -t 100000:35000:d -D 2 >> [rt-app] <notice> [0] Using SCHED_DEADLINE policy: >> [rt-app] <notice> [0] starting thread with period: 100000, exec: >> 35000,deadline: 100000, priority: 10 >> [rt-app] <notice> [0] Locking pages in memory >> #idx period min_et max_et rel_st start end >> deadline dur. slack Budget Used >> Budget >> 0 100000 35000 35000 65466 354577907 354612918 >> 354677899 35011 64981 >> 0 100000 35000 35000 165585 354678026 354713105 >> 354777899 35079 64794 >> ... >> 0 100000 35000 35000 1965672 356478113 356513126 >> 356577899 35014 64772 >> [rt-app] <notice> [0] Exiting. >> root@qemux86:~# >> >> =========================================== >> >> Let me know what you think. >> >> Regards, >> >> Insop >> >> =========================================== >> >> >> Subject: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 >> kernel >> >> --- >> recipes-kernel/linux/linux-yocto/edf.cfg | 4 ++++ >> recipes-kernel/linux/linux-yocto_3.8.bbappend | 14 ++++++++++++++ >> 2 files changed, 18 insertions(+) >> create mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg >> create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend >> >> diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg >> b/recipes-kernel/linux/linux-yocto/edf.cfg >> new file mode 100644 >> index 0000000..ccf004f >> --- /dev/null >> +++ b/recipes-kernel/linux/linux-yocto/edf.cfg >> @@ -0,0 +1,4 @@ >> +CONFIG_CGROUPS=y >> +CONFIG_CGROUP_SCHED=y >> +CONFIG_DEADLINE_GROUP_SCHED=y > > > We don't need this fragment in recipe space, it's already in the > kernel tree itself. > > I've already sent the pull request for the meta SRCREVs to be updated, > so it's available for all builds now. > > removed. >> + >> diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend >> b/recipes-kernel/linux/linux-yocto_3.8.bbappend >> new file mode 100644 >> index 0000000..c6a969f >> --- /dev/null >> +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend >> @@ -0,0 +1,14 @@ >> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" >> +COMPATIBLE_MACHINE_qemux86 = "qemux86" >> +COMPATIBLE_MACHINE_fri2 = "fri2" > > > These are already taken care of by meta-intel, we don't need to > duplicate them here. > > You meant two lines of "COMPATIBLE_MACHINE..."? removed. >> + >> +KBRANCH_qemux86 = "standard/edf" >> +KBRANCH_fri2 = "standard/edf" >> + >> +KMACHINE_qemux86 = "qemux86" >> +KMACHINE_fri2 = "fri2" > > > We don't need these two KMACHINE lines, this is the default. > removed. I was do some testing on "make localmodconfig", which will gets me the using module build .config. So let me me ask you this before I send out an updated patch. I ran "lsmod > /tmp/lsmod" on my qemux86 On dev host, run "make LSMOD=/tmp/lsmod localmodconfig" to get this localmodconfig_qemux86.cfg file, which has less module configurations. Then I use this in bbappend file like below: --- SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta \ file://localmodconfig_qemux86.cfg \ " ---- what do you think? let me know, I can either just fix the current patch and add new patch or just do the current patch fix. Thank you. Insop ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 5:59 ` Insop Song @ 2013-03-15 6:13 ` Bruce Ashfield 2013-03-15 6:36 ` Insop Song 0 siblings, 1 reply; 11+ messages in thread From: Bruce Ashfield @ 2013-03-15 6:13 UTC (permalink / raw) To: Insop Song Cc: Yocto Project Discussion, Darren Hart, Development list for the linux-yocto*.git Linux kernel repositories On Thu, Mar 14, 2013 at 10:59 PM, Insop Song <insop.song@gmail.com> wrote: > On Thu, Mar 14, 2013 at 10:15 PM, Bruce Ashfield > <bruce.ashfield@windriver.com> wrote: > >> >> FYI: your email keeps bouncing from the linux-yocto mailing list, >> check to be sure you signed up with your gmail account, I keep >> approving them for now :) >> > > I've signed up last time you suggested, I will try one more and send a > separate email to the arbiter. Hmm. One of the arbiters is me .. if it doesn't work this time, let me know and I'll check the list membership. > Thank you for reminding me. > >> >>> >>> - tested on qemux86 >>> =========================================== >>> >>> root@qemux86:~# uname -a >>> Linux qemux86 3.8.1-yocto-standard #1 SMP PREEMPT Thu Mar 14 21:57:12 >>> PDT 2013 i686 GNU/Linux >>> root@qemux86:~# rt-app -t 100000:35000:d -D 2 >>> [rt-app] <notice> [0] Using SCHED_DEADLINE policy: >>> [rt-app] <notice> [0] starting thread with period: 100000, exec: >>> 35000,deadline: 100000, priority: 10 >>> [rt-app] <notice> [0] Locking pages in memory >>> #idx period min_et max_et rel_st start end >>> deadline dur. slack Budget Used >>> Budget >>> 0 100000 35000 35000 65466 354577907 354612918 >>> 354677899 35011 64981 >>> 0 100000 35000 35000 165585 354678026 354713105 >>> 354777899 35079 64794 >>> ... >>> 0 100000 35000 35000 1965672 356478113 356513126 >>> 356577899 35014 64772 >>> [rt-app] <notice> [0] Exiting. >>> root@qemux86:~# >>> >>> =========================================== >>> >>> Let me know what you think. >>> >>> Regards, >>> >>> Insop >>> >>> =========================================== >>> >>> >>> Subject: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 >>> kernel >>> >>> --- >>> recipes-kernel/linux/linux-yocto/edf.cfg | 4 ++++ >>> recipes-kernel/linux/linux-yocto_3.8.bbappend | 14 ++++++++++++++ >>> 2 files changed, 18 insertions(+) >>> create mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg >>> create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend >>> >>> diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg >>> b/recipes-kernel/linux/linux-yocto/edf.cfg >>> new file mode 100644 >>> index 0000000..ccf004f >>> --- /dev/null >>> +++ b/recipes-kernel/linux/linux-yocto/edf.cfg >>> @@ -0,0 +1,4 @@ >>> +CONFIG_CGROUPS=y >>> +CONFIG_CGROUP_SCHED=y >>> +CONFIG_DEADLINE_GROUP_SCHED=y >> >> >> We don't need this fragment in recipe space, it's already in the >> kernel tree itself. >> >> I've already sent the pull request for the meta SRCREVs to be updated, >> so it's available for all builds now. >> >> > > removed. > >>> + >>> diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend >>> b/recipes-kernel/linux/linux-yocto_3.8.bbappend >>> new file mode 100644 >>> index 0000000..c6a969f >>> --- /dev/null >>> +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend >>> @@ -0,0 +1,14 @@ >>> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" >>> +COMPATIBLE_MACHINE_qemux86 = "qemux86" >>> +COMPATIBLE_MACHINE_fri2 = "fri2" >> >> >> These are already taken care of by meta-intel, we don't need to >> duplicate them here. >> >> > > You meant two lines of "COMPATIBLE_MACHINE..."? > removed. Correct! and thanks! > >>> + >>> +KBRANCH_qemux86 = "standard/edf" >>> +KBRANCH_fri2 = "standard/edf" >>> + >>> +KMACHINE_qemux86 = "qemux86" >>> +KMACHINE_fri2 = "fri2" >> >> >> We don't need these two KMACHINE lines, this is the default. >> > > removed. > > I was do some testing on "make localmodconfig", which will gets me the > using module build .config. > So let me me ask you this before I send out an updated patch. > > I ran "lsmod > /tmp/lsmod" on my qemux86 > On dev host, run "make LSMOD=/tmp/lsmod localmodconfig" to get this > localmodconfig_qemux86.cfg file, which has less module configurations. > > Then I use this in bbappend file like below: > > --- > SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta > \ > file://localmodconfig_qemux86.cfg \ > " > ---- > > what do you think? We want to track the modules and policies of the main qemu BSP, not override them all here. Extra layers should be only changing board functionality that is specific to their functionality, not the base board configuration. If you think there are modules that are enabled that shouldn't be, we can address that by looking at the base policy and deciding if that base policy is wrong. Cheers, Bruce > let me know, I can either just fix the current patch and add new patch or > just do the current patch fix. > > Thank you. > > Insop > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 6:13 ` Bruce Ashfield @ 2013-03-15 6:36 ` Insop Song 2013-03-15 6:44 ` Bruce Ashfield 0 siblings, 1 reply; 11+ messages in thread From: Insop Song @ 2013-03-15 6:36 UTC (permalink / raw) To: Bruce Ashfield Cc: Yocto Project Discussion, Darren Hart, Development list for the linux-yocto*.git Linux kernel repositories [-- Attachment #1: Type: text/plain, Size: 3048 bytes --] On Thu, Mar 14, 2013 at 11:13 PM, Bruce Ashfield <bruce.ashfield@gmail.com> wrote: > > Hmm. One of the arbiters is me .. if it doesn't work this time, let me know > and I'll check the list membership. I've just signed up and got a confirmation email. >> >> I was do some testing on "make localmodconfig", which will gets me the >> using module build .config. >> So let me me ask you this before I send out an updated patch. >> >> I ran "lsmod > /tmp/lsmod" on my qemux86 >> On dev host, run "make LSMOD=/tmp/lsmod localmodconfig" to get this >> localmodconfig_qemux86.cfg file, which has less module configurations. >> >> Then I use this in bbappend file like below: >> >> --- >> SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta >> \ >> file://localmodconfig_qemux86.cfg \ >> " >> ---- >> >> what do you think? > > We want to track the modules and policies of the main qemu BSP, > not override them all here. Extra layers should be only changing board > functionality that is specific to their functionality, not the base board > configuration. > > If you think there are modules that are enabled that shouldn't be, we > can address that by looking at the base policy and deciding if that > base policy is wrong. > > Cheers, > I see, let me follow up the current patch update and do some more look on qemu bsp and deal with a separate patch. Here are the update patches 2/2. And let me know if you want to see in different ways of patch delivery? since, I haven't set up my gmail smtp set up yet (due to application specific athentication), so I manually copy and paste and attach the files. ------ Subject: [meta-realtime][PATCH 2/2] remove edf.cfg and follow up review feedback --- recipes-kernel/linux/linux-yocto/edf.cfg | 4 ---- recipes-kernel/linux/linux-yocto_3.8.bbappend | 5 ----- 2 files changed, 9 deletions(-) delete mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg b/recipes-kernel/linux/linux-yocto/edf.cfg deleted file mode 100644 index ccf004f..0000000 --- a/recipes-kernel/linux/linux-yocto/edf.cfg +++ /dev/null @@ -1,4 +0,0 @@ -CONFIG_CGROUPS=y -CONFIG_CGROUP_SCHED=y -CONFIG_DEADLINE_GROUP_SCHED=y - diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend index c6a969f..175ab91 100644 --- a/recipes-kernel/linux/linux-yocto_3.8.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend @@ -1,13 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -COMPATIBLE_MACHINE_qemux86 = "qemux86" -COMPATIBLE_MACHINE_fri2 = "fri2" KBRANCH_qemux86 = "standard/edf" KBRANCH_fri2 = "standard/edf" -KMACHINE_qemux86 = "qemux86" -KMACHINE_fri2 = "fri2" - SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" -- 1.7.9.5 [-- Attachment #2: 0001-add-sched_deadline-reckpies-kernel-for-3.8-kernel.patch --] [-- Type: application/octet-stream, Size: 1495 bytes --] From 576d97302faf5615ff5e8fc1a101be35c6206ea0 Mon Sep 17 00:00:00 2001 From: Insop Song <insop.song@gmail.com> Date: Thu, 14 Mar 2013 21:52:38 -0700 Subject: [meta-realtime][PATCH 1/2] add sched_deadline reckpies-kernel for 3.8 kernel --- recipes-kernel/linux/linux-yocto/edf.cfg | 4 ++++ recipes-kernel/linux/linux-yocto_3.8.bbappend | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg b/recipes-kernel/linux/linux-yocto/edf.cfg new file mode 100644 index 0000000..ccf004f --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/edf.cfg @@ -0,0 +1,4 @@ +CONFIG_CGROUPS=y +CONFIG_CGROUP_SCHED=y +CONFIG_DEADLINE_GROUP_SCHED=y + diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend new file mode 100644 index 0000000..c6a969f --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend @@ -0,0 +1,14 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +COMPATIBLE_MACHINE_qemux86 = "qemux86" +COMPATIBLE_MACHINE_fri2 = "fri2" + +KBRANCH_qemux86 = "standard/edf" +KBRANCH_fri2 = "standard/edf" + +KMACHINE_qemux86 = "qemux86" +KMACHINE_fri2 = "fri2" + +SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" +SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" + +KERNEL_FEATURES_append =" cfg/edf.scc" -- 1.7.9.5 [-- Attachment #3: 0002-remove-edf.cfg-and-follow-up-review-feedback.patch --] [-- Type: application/octet-stream, Size: 1401 bytes --] From 161552b15badd58b0cb10e879e40189d804092fc Mon Sep 17 00:00:00 2001 From: Insop Song <insop.song@gmail.com> Date: Thu, 14 Mar 2013 23:18:40 -0700 Subject: [meta-realtime][PATCH 2/2] remove edf.cfg and follow up review feedback --- recipes-kernel/linux/linux-yocto/edf.cfg | 4 ---- recipes-kernel/linux/linux-yocto_3.8.bbappend | 5 ----- 2 files changed, 9 deletions(-) delete mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg b/recipes-kernel/linux/linux-yocto/edf.cfg deleted file mode 100644 index ccf004f..0000000 --- a/recipes-kernel/linux/linux-yocto/edf.cfg +++ /dev/null @@ -1,4 +0,0 @@ -CONFIG_CGROUPS=y -CONFIG_CGROUP_SCHED=y -CONFIG_DEADLINE_GROUP_SCHED=y - diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend index c6a969f..175ab91 100644 --- a/recipes-kernel/linux/linux-yocto_3.8.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend @@ -1,13 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -COMPATIBLE_MACHINE_qemux86 = "qemux86" -COMPATIBLE_MACHINE_fri2 = "fri2" KBRANCH_qemux86 = "standard/edf" KBRANCH_fri2 = "standard/edf" -KMACHINE_qemux86 = "qemux86" -KMACHINE_fri2 = "fri2" - SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 6:36 ` Insop Song @ 2013-03-15 6:44 ` Bruce Ashfield 2013-03-15 6:46 ` [linux-yocto] " Bruce Ashfield 2013-03-15 10:51 ` Insop Song 0 siblings, 2 replies; 11+ messages in thread From: Bruce Ashfield @ 2013-03-15 6:44 UTC (permalink / raw) To: Insop Song Cc: Yocto Project Discussion, Darren Hart, Development list for the linux-yocto*.git Linux kernel repositories On 13-03-14 11:36 PM, Insop Song wrote: > On Thu, Mar 14, 2013 at 11:13 PM, Bruce Ashfield > <bruce.ashfield@gmail.com> wrote: > > >> >> Hmm. One of the arbiters is me .. if it doesn't work this time, let me know >> and I'll check the list membership. > > I've just signed up and got a confirmation email. > > >>> >>> I was do some testing on "make localmodconfig", which will gets me the >>> using module build .config. >>> So let me me ask you this before I send out an updated patch. >>> >>> I ran "lsmod > /tmp/lsmod" on my qemux86 >>> On dev host, run "make LSMOD=/tmp/lsmod localmodconfig" to get this >>> localmodconfig_qemux86.cfg file, which has less module configurations. >>> >>> Then I use this in bbappend file like below: >>> >>> --- >>> SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta >>> \ >>> file://localmodconfig_qemux86.cfg \ >>> " >>> ---- >>> >>> what do you think? >> >> We want to track the modules and policies of the main qemu BSP, >> not override them all here. Extra layers should be only changing board >> functionality that is specific to their functionality, not the base board >> configuration. >> >> If you think there are modules that are enabled that shouldn't be, we >> can address that by looking at the base policy and deciding if that >> base policy is wrong. >> >> Cheers, >> > > I see, let me follow up the current patch update and do some more look > on qemu bsp and deal with a separate patch. > > Here are the update patches 2/2. > > And let me know if you want to see in different ways of patch > delivery? since, I haven't set up my gmail smtp set up yet (due to > application specific athentication), so I manually copy and paste and > attach the files. Are you trying to send via git send-email ? The following is the way that I'd relay through gmail: > git send-email --smtp-server smtp.gmail.com --smtp-user bruce.ashfield@gmail.com --smtp-pass <paswd> --smtp-ssl ~/rr/ And to generate the patches and introductory email, look at the oe-core scripts/create-pull-request. That's the best and easiest way to send patches. > ------ > > > Subject: [meta-realtime][PATCH 2/2] remove edf.cfg and follow up review > feedback > > --- > recipes-kernel/linux/linux-yocto/edf.cfg | 4 ---- > recipes-kernel/linux/linux-yocto_3.8.bbappend | 5 ----- > 2 files changed, 9 deletions(-) > delete mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg This looks good. I'll stage it locally and do a quick test build. Cheers, Bruce > > diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg > b/recipes-kernel/linux/linux-yocto/edf.cfg > deleted file mode 100644 > index ccf004f..0000000 > --- a/recipes-kernel/linux/linux-yocto/edf.cfg > +++ /dev/null > @@ -1,4 +0,0 @@ > -CONFIG_CGROUPS=y > -CONFIG_CGROUP_SCHED=y > -CONFIG_DEADLINE_GROUP_SCHED=y > - > diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend > b/recipes-kernel/linux/linux-yocto_3.8.bbappend > index c6a969f..175ab91 100644 > --- a/recipes-kernel/linux/linux-yocto_3.8.bbappend > +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend > @@ -1,13 +1,8 @@ > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > -COMPATIBLE_MACHINE_qemux86 = "qemux86" > -COMPATIBLE_MACHINE_fri2 = "fri2" > > KBRANCH_qemux86 = "standard/edf" > KBRANCH_fri2 = "standard/edf" > > -KMACHINE_qemux86 = "qemux86" > -KMACHINE_fri2 = "fri2" > - > SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" > SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" > > > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [linux-yocto] [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 6:44 ` Bruce Ashfield @ 2013-03-15 6:46 ` Bruce Ashfield 2013-03-15 10:51 ` Insop Song 2013-03-15 10:51 ` Insop Song 1 sibling, 1 reply; 11+ messages in thread From: Bruce Ashfield @ 2013-03-15 6:46 UTC (permalink / raw) To: Development list for the linux-yocto*.git Linux kernel repositories Cc: Yocto Project Discussion On 13-03-14 11:44 PM, Bruce Ashfield wrote: > On 13-03-14 11:36 PM, Insop Song wrote: >> On Thu, Mar 14, 2013 at 11:13 PM, Bruce Ashfield >> <bruce.ashfield@gmail.com> wrote: >> >> >>> >>> Hmm. One of the arbiters is me .. if it doesn't work this time, let >>> me know >>> and I'll check the list membership. >> >> I've just signed up and got a confirmation email. >> >> >>>> >>>> I was do some testing on "make localmodconfig", which will gets me the >>>> using module build .config. >>>> So let me me ask you this before I send out an updated patch. >>>> >>>> I ran "lsmod > /tmp/lsmod" on my qemux86 >>>> On dev host, run "make LSMOD=/tmp/lsmod localmodconfig" to get this >>>> localmodconfig_qemux86.cfg file, which has less module configurations. >>>> >>>> Then I use this in bbappend file like below: >>>> >>>> --- >>>> SRC_URI = >>>> "git://git.yoctoproject.org/linux-yocto-3.8.git;protocol=git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta >>>> >>>> \ >>>> file://localmodconfig_qemux86.cfg \ >>>> " >>>> ---- >>>> >>>> what do you think? >>> >>> We want to track the modules and policies of the main qemu BSP, >>> not override them all here. Extra layers should be only changing board >>> functionality that is specific to their functionality, not the base >>> board >>> configuration. >>> >>> If you think there are modules that are enabled that shouldn't be, we >>> can address that by looking at the base policy and deciding if that >>> base policy is wrong. >>> >>> Cheers, >>> >> >> I see, let me follow up the current patch update and do some more look >> on qemu bsp and deal with a separate patch. >> >> Here are the update patches 2/2. >> >> And let me know if you want to see in different ways of patch >> delivery? since, I haven't set up my gmail smtp set up yet (due to >> application specific athentication), so I manually copy and paste and >> attach the files. > > Are you trying to send via git send-email ? The following is the > way that I'd relay through gmail: > > > git send-email --smtp-server smtp.gmail.com --smtp-user > bruce.ashfield@gmail.com --smtp-pass <paswd> --smtp-ssl ~/rr/ > > And to generate the patches and introductory email, look at > the oe-core scripts/create-pull-request. > > That's the best and easiest way to send patches. > >> ------ >> >> >> Subject: [meta-realtime][PATCH 2/2] remove edf.cfg and follow up review >> feedback >> >> --- >> recipes-kernel/linux/linux-yocto/edf.cfg | 4 ---- >> recipes-kernel/linux/linux-yocto_3.8.bbappend | 5 ----- >> 2 files changed, 9 deletions(-) >> delete mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg > > This looks good. I'll stage it locally and do a quick test build. I hit send too soon, I meant to point out that in a situation such as this, you can ammend your original commit with your second set of change and re-submit just the single patch. I can squash the commits here, but it's easier to do on your end. Just summarize the v2 in your new patch email when you ammend/squash changes, so we won't forget what was changed :) Cheers, Bruce > > Cheers, > > Bruce > >> >> diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg >> b/recipes-kernel/linux/linux-yocto/edf.cfg >> deleted file mode 100644 >> index ccf004f..0000000 >> --- a/recipes-kernel/linux/linux-yocto/edf.cfg >> +++ /dev/null >> @@ -1,4 +0,0 @@ >> -CONFIG_CGROUPS=y >> -CONFIG_CGROUP_SCHED=y >> -CONFIG_DEADLINE_GROUP_SCHED=y >> - >> diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend >> b/recipes-kernel/linux/linux-yocto_3.8.bbappend >> index c6a969f..175ab91 100644 >> --- a/recipes-kernel/linux/linux-yocto_3.8.bbappend >> +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend >> @@ -1,13 +1,8 @@ >> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" >> -COMPATIBLE_MACHINE_qemux86 = "qemux86" >> -COMPATIBLE_MACHINE_fri2 = "fri2" >> >> KBRANCH_qemux86 = "standard/edf" >> KBRANCH_fri2 = "standard/edf" >> >> -KMACHINE_qemux86 = "qemux86" >> -KMACHINE_fri2 = "fri2" >> - >> SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" >> SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" >> >> >> >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> > > _______________________________________________ > linux-yocto mailing list > linux-yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/linux-yocto ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [linux-yocto] [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 6:46 ` [linux-yocto] " Bruce Ashfield @ 2013-03-15 10:51 ` Insop Song 0 siblings, 0 replies; 11+ messages in thread From: Insop Song @ 2013-03-15 10:51 UTC (permalink / raw) To: Bruce Ashfield Cc: Yocto Project Discussion, Development list for the linux-yocto*.git Linux kernel repositories On Thu, Mar 14, 2013 at 11:46 PM, Bruce Ashfield <bruce.ashfield@windriver.com> wrote: > > I hit send too soon, I meant to point out that in a situation such > as this, you can ammend your original commit with your second set > of change and re-submit just the single patch. I can squash the > commits here, but it's easier to do on your end. > > Just summarize the v2 in your new patch email when you ammend/squash > changes, so we won't forget what was changed :) > Yup, sent out a squashed patch just now. Regards, Insop ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 6:44 ` Bruce Ashfield 2013-03-15 6:46 ` [linux-yocto] " Bruce Ashfield @ 2013-03-15 10:51 ` Insop Song 1 sibling, 0 replies; 11+ messages in thread From: Insop Song @ 2013-03-15 10:51 UTC (permalink / raw) To: Bruce Ashfield Cc: Yocto Project Discussion, Darren Hart, Development list for the linux-yocto*.git Linux kernel repositories On Thu, Mar 14, 2013 at 11:44 PM, Bruce Ashfield <bruce.ashfield@windriver.com> wrote: > > Are you trying to send via git send-email ? The following is the > way that I'd relay through gmail: > > > git send-email --smtp-server smtp.gmail.com --smtp-user > bruce.ashfield@gmail.com --smtp-pass <paswd> --smtp-ssl ~/rr/ > > And to generate the patches and introductory email, look at > the oe-core scripts/create-pull-request. > > That's the best and easiest way to send patches. > Thank you for the information. I have to create a new application specific password from gmail (2 phase password). Once I set that up, I am able to send patch/cover email. Regards, Insop ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 5:09 [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel Insop Song 2013-03-15 5:15 ` Bruce Ashfield @ 2013-03-15 6:27 ` Bruce Ashfield 2013-03-15 11:55 ` Insop Song 1 sibling, 1 reply; 11+ messages in thread From: Bruce Ashfield @ 2013-03-15 6:27 UTC (permalink / raw) To: Insop Song Cc: Yocto Project Discussion, Darren Hart, Development list for the linux-yocto*.git Linux kernel repositories On Thu, Mar 14, 2013 at 10:09 PM, Insop Song <insop.song@gmail.com> wrote: > Hi Bruce, > > I've added recipes-kernel to use edf branch and cfg. I was just merging your changes, and realized that gmail may have dropped your schedtool-dl recipe. Can you resend it with your updated series ? I have another schedtool recipe here, but it's against an older sched_dl release, so I'd like to compare it to yours and merge the two of them together. Cheers, Bruce > > - tested on qemux86 > =========================================== > > root@qemux86:~# uname -a > Linux qemux86 3.8.1-yocto-standard #1 SMP PREEMPT Thu Mar 14 21:57:12 > PDT 2013 i686 GNU/Linux > root@qemux86:~# rt-app -t 100000:35000:d -D 2 > [rt-app] <notice> [0] Using SCHED_DEADLINE policy: > [rt-app] <notice> [0] starting thread with period: 100000, exec: > 35000,deadline: 100000, priority: 10 > [rt-app] <notice> [0] Locking pages in memory > #idx period min_et max_et rel_st start end deadline dur. slack Budget Used > Budget > 0 100000 35000 35000 65466 354577907 354612918 354677899 35011 64981 > 0 100000 35000 35000 165585 354678026 354713105 354777899 35079 64794 > ... > 0 100000 35000 35000 1965672 356478113 356513126 356577899 35014 64772 > [rt-app] <notice> [0] Exiting. > root@qemux86:~# > > =========================================== > > Let me know what you think. > > Regards, > > Insop > > =========================================== > > > Subject: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 > kernel > > --- > recipes-kernel/linux/linux-yocto/edf.cfg | 4 ++++ > recipes-kernel/linux/linux-yocto_3.8.bbappend | 14 ++++++++++++++ > 2 files changed, 18 insertions(+) > create mode 100644 recipes-kernel/linux/linux-yocto/edf.cfg > create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend > > diff --git a/recipes-kernel/linux/linux-yocto/edf.cfg > b/recipes-kernel/linux/linux-yocto/edf.cfg > new file mode 100644 > index 0000000..ccf004f > --- /dev/null > +++ b/recipes-kernel/linux/linux-yocto/edf.cfg > @@ -0,0 +1,4 @@ > +CONFIG_CGROUPS=y > +CONFIG_CGROUP_SCHED=y > +CONFIG_DEADLINE_GROUP_SCHED=y > + > diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend > b/recipes-kernel/linux/linux-yocto_3.8.bbappend > new file mode 100644 > index 0000000..c6a969f > --- /dev/null > +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend > @@ -0,0 +1,14 @@ > +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > +COMPATIBLE_MACHINE_qemux86 = "qemux86" > +COMPATIBLE_MACHINE_fri2 = "fri2" > + > +KBRANCH_qemux86 = "standard/edf" > +KBRANCH_fri2 = "standard/edf" > + > +KMACHINE_qemux86 = "qemux86" > +KMACHINE_fri2 = "fri2" > + > +SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" > +SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" > + > +KERNEL_FEATURES_append =" cfg/edf.scc" > -- > 1.7.9.5 > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel 2013-03-15 6:27 ` Bruce Ashfield @ 2013-03-15 11:55 ` Insop Song 0 siblings, 0 replies; 11+ messages in thread From: Insop Song @ 2013-03-15 11:55 UTC (permalink / raw) To: Bruce Ashfield Cc: Yocto Project Discussion, Darren Hart, Development list for the linux-yocto*.git Linux kernel repositories On Thu, Mar 14, 2013 at 11:27 PM, Bruce Ashfield <bruce.ashfield@gmail.com> wrote: > > I was just merging your changes, and realized that gmail may have dropped > your schedtool-dl recipe. > > Can you resend it with your updated series ? I have another schedtool > recipe here, but it's against an older sched_dl release, so I'd like to > compare it to yours and merge the two of them together. I've sent out a new patch that has schedtool_dl. I used Juri's github as a main repo, which he has been updating recently. So now, I will look more on scripts for testing using these applications. Also will look to see the test and data collection using ftrace. I've done this before, but I will make it more easier to reproducible using meta-realtime layer. Let me know if you have any suggestion. Regards, Insop ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-03-15 11:55 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-03-15 5:09 [meta-realtime][PATCH] add sched_deadline reckpies-kernel for 3.8 kernel Insop Song 2013-03-15 5:15 ` Bruce Ashfield 2013-03-15 5:59 ` Insop Song 2013-03-15 6:13 ` Bruce Ashfield 2013-03-15 6:36 ` Insop Song 2013-03-15 6:44 ` Bruce Ashfield 2013-03-15 6:46 ` [linux-yocto] " Bruce Ashfield 2013-03-15 10:51 ` Insop Song 2013-03-15 10:51 ` Insop Song 2013-03-15 6:27 ` Bruce Ashfield 2013-03-15 11:55 ` Insop Song
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.