From: Tom Zanussi <tom.zanussi@intel.com>
To: Darren Hart <dvhart@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 04/10] meta/common-pc: factor out policy-related options
Date: Fri, 11 May 2012 14:29:19 -0500 [thread overview]
Message-ID: <1336764559.27950.1.camel@elmorro> (raw)
In-Reply-To: <4FAD3B0E.1020804@linux.intel.com>
On Fri, 2012-05-11 at 09:15 -0700, Darren Hart wrote:
>
> On 05/10/2012 06:00 PM, tom.zanussi@intel.com wrote:
> > From: Tom Zanussi <tom.zanussi@intel.com>
> >
> > Refactor bsp/common-pc/common-pc* to keep hardware-related options in
> > the base common-pc.scc while moving the more 'policy'-related options
> > into the files that include the base common-pc.scc fragment.
> >
> > This allows the different kernel types to make use of the basic
> > machine support without dragging along possibly unwanted options that
> > fall under the heading of 'policy' for a specific kernel type.
> >
> > Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
> > ---
> > .../bsp/common-pc/common-pc-preempt-rt.scc | 7 +++++++
> > .../bsp/common-pc/common-pc-standard.scc | 6 ++++++
> > .../kernel-cache/bsp/common-pc/common-pc-tiny.scc | 5 +----
> > meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc | 4 ----
> > 4 files changed, 14 insertions(+), 8 deletions(-)
> >
> > diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc
> > index f8716ee..706f669 100644
> > --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc
> > +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc
> > @@ -4,4 +4,11 @@ define KARCH i386
> >
> > # no new branch required, re-use the ktypes/preempt-rt branch
> > include ktypes/preempt-rt
> > +
> > include bsp/common-pc/common-pc.scc
> > +
> > +# default policy for preempt-rt kernels
>
>
> needs usb-mass-storage here
>
Again, note that the original common-pc* doesn't have these options
other than CONFIG_USB_STORAGE and CONFIG_SCSI.
> > +include cfg/boot-live.scc
> > +include features/latencytop/latencytop.scc
> > +include features/profiling/profiling.scc
> > +include cfg/virtio.scc
> > diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc
> > index f5baf52..83d49fd 100644
> > --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc
> > +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc
> > @@ -6,3 +6,9 @@ include ktypes/standard
> > branch common-pc
> >
> > include common-pc.scc
> > +
> > +# default policy for standard kernels
>
> needs usb-mass-storage here and the config removed from common-pc.cfg
>
Same here...
Tom
> > +include cfg/boot-live.scc
> > +include features/latencytop/latencytop.scc
> > +include features/profiling/profiling.scc
> > +include cfg/virtio.scc
> > diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc
> > index 8d7a498..900eb27 100644
> > --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc
> > +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc
> > @@ -5,8 +5,5 @@ define KARCH i386
> > include ktypes/tiny
> > branch common-pc
> >
> > -# Don't include common-pc.scc directly,
> > -# it pulls in too many non-hardware options
> > -kconf hardware common-pc.cfg
> > -kconf hardware common-pc-gfx.cfg
> > +include common-pc.scc
>
> Nice!
>
> > diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc
> > index 2338ea6..9bd72c1 100644
> > --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc
> > +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc
> > @@ -1,11 +1,7 @@
> > kconf hardware common-pc.cfg
> > kconf hardware common-pc-gfx.cfg
> >
> > -include cfg/boot-live.scc
> > include features/usb/ehci-hcd.scc
> > include features/usb/uhci-hcd.scc
> > include features/intel-e1xxxx/intel-e100.scc
> > include features/intel-e1xxxx/intel-e1xxxx.scc
> > -include features/latencytop/latencytop.scc
> > -include features/profiling/profiling.scc
> > -include cfg/virtio.scc
>
> Nice.
>
next prev parent reply other threads:[~2012-05-11 19:29 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-11 1:00 [PATCH 00/10][KERNEL][RFC] policy cleanup patches tom.zanussi
2012-05-11 0:59 ` [PATCH 01/10] meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature tom.zanussi
2012-05-11 16:08 ` Darren Hart
2012-05-11 0:59 ` [PATCH 02/10] meta/common-pc: use usb features tom.zanussi
2012-05-11 16:12 ` Darren Hart
2012-05-11 19:26 ` Tom Zanussi
2012-05-11 20:15 ` Bruce Ashfield
2012-05-11 0:59 ` [PATCH 03/10] meta/common-pc-64: " tom.zanussi
2012-05-11 1:00 ` [PATCH 04/10] meta/common-pc: factor out policy-related options tom.zanussi
2012-05-11 16:15 ` Darren Hart
2012-05-11 19:29 ` Tom Zanussi [this message]
2012-05-11 1:00 ` [PATCH 05/10] " tom.zanussi
2012-05-11 16:15 ` Darren Hart
2012-05-11 1:00 ` [PATCH 06/10] meta/crownbay: " tom.zanussi
2012-05-11 16:18 ` Darren Hart
2012-05-11 22:08 ` Tom Zanussi
2012-05-11 22:19 ` Tom Zanussi
2012-05-11 22:35 ` Darren Hart
2012-05-11 22:42 ` Tom Zanussi
2012-05-11 22:54 ` Darren Hart
2012-05-11 1:00 ` [PATCH 07/10] meta/emenlow: " tom.zanussi
2012-05-11 16:19 ` Darren Hart
2012-05-11 1:00 ` [PATCH 08/10] " tom.zanussi
2012-05-11 16:20 ` Darren Hart
2012-05-11 1:00 ` [PATCH 09/10] meta/jasperforest: " tom.zanussi
2012-05-11 16:20 ` Darren Hart
2012-05-11 1:00 ` [PATCH 10/10] meta/sugarbay: " tom.zanussi
2012-05-11 16:20 ` Darren Hart
2012-05-11 16:16 ` [PATCH 00/10][KERNEL][RFC] policy cleanup patches Bruce Ashfield
2012-05-11 20:17 ` Bruce Ashfield
2012-05-11 20:47 ` Tom Zanussi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1336764559.27950.1.camel@elmorro \
--to=tom.zanussi@intel.com \
--cc=dvhart@linux.intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.