Skip to contentSkip to conversation

policy cleanup patches

RFC PATCH In review [email protected] 3 participants 31 messages May 11, 2012

lore
Share & tools
lore
#0 lore raw

cover policy cleanup patches

From: Tom Zanussi <[email protected]>

This set of patches factors out the policy vs hardware-related config of the common-pc and common-pc-64 along with some meta-intel BSPs.

There are also a couple usb cleanups as well.

This is an RFC patchset because it's completely untested at this point so shouldn't be pulled in - I wanted to get this pre-NAKed at least once before actually going through the trouble of testing. ;-)

Tom

The following changes since commit 1dfd60fa1250259eed38ae5b2840eb37e3758a1b:
Tom Zanussi (1):
meta/fishriver: move smp options from recipe-space

are available in the git repository at:

git://git.yoctoproject.org/linux-yocto-2.6.37-contrib.git tzanussi/policy-cleanup
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/policy-cleanup

Tom Zanussi (10):
meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature meta/common-pc: use usb features
meta/common-pc-64: use usb features
meta/common-pc: factor out policy-related options meta/common-pc: factor out policy-related options meta/crownbay: factor out policy-related options meta/emenlow: factor out policy-related options meta/emenlow: factor out policy-related options meta/jasperforest: factor out policy-related options meta/sugarbay: factor out policy-related options

 .../bsp/common-pc-64/common-pc-64-preempt-rt.scc   |    6 ++++++
 .../bsp/common-pc-64/common-pc-64-standard.scc     |    6 ++++++
 .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |    3 ---
 .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |    8 ++------
 .../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.cfg  |    5 -----
 meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc  |    6 ++----
 .../bsp/crownbay/crownbay-preempt-rt.scc           |    8 ++++++++
 .../bsp/crownbay/crownbay-standard.scc             |    7 +++++++
 meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc    |    7 -------
 .../bsp/emenlow/emenlow-preempt-rt.scc             |    8 ++++++++
 .../kernel-cache/bsp/emenlow/emenlow-standard.scc  |    8 ++++++++
 meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc      |    7 -------
 .../bsp/fishriver/fishriver-preempt-rt.scc         |    8 ++++++++
 .../bsp/fishriver/fishriver-standard.scc           |    8 ++++++++
 meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc  |    7 -------
 .../bsp/jasperforest/jasperforest-preempt-rt.scc   |    7 +++++++
 .../bsp/jasperforest/jasperforest-standard.scc     |    6 ++++++
 .../kernel-cache/bsp/jasperforest/jasperforest.scc |    6 ------
 .../bsp/sugarbay/sugarbay-preempt-rt.scc           |    7 +++++++
 .../bsp/sugarbay/sugarbay-standard.scc             |    6 ++++++
 meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc    |    6 ------
 meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg    |    1 +
 25 files changed, 104 insertions(+), 55 deletions(-)
#1 lore raw

PATCH 1/10 meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature

From: Tom Zanussi <[email protected]>

Add root hub transaction translator support for supporting companion ohci/uhci controllers , which is safe even if the ehci controller doesn't have companion controllers.

---
 meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg +1 -0
index 7322dc2..b977248 100644
@@ -1 +1,2 @@
 CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/10 meta/common-pc: use usb features

From: Tom Zanussi <[email protected]>

Use the available ehci and uhci usb features and remove the associated config settings from the top-level common-pc feature.

---
 meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg |    5 -----
 meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc |    2 ++
 2 files changed, 2 insertions(+), 5 deletions(-)
meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg +0 -5
index d3dac93..db6ffb1 100644
@@ -73,12 +73,7 @@ CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_VT=y
 CONFIG_VGA_CONSOLE=y
 
-CONFIG_USB_SUPPORT=y
-CONFIG_USB=y
 CONFIG_USB_DEVICEFS=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_EHCI_ROOT_HUB_TT=y
-CONFIG_USB_UHCI_HCD=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_HID=y
 CONFIG_USB_HIDDEV=y
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +2 -0
index bab45e6..2338ea6 100644
@@ -2,6 +2,8 @@ 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
Signature · 1 line
1.7.0.4
Acked-by on v1 2/10
#3 lore raw

Re: [PATCH 02/10] meta/common-pc: use usb features

Quoted 6 lines · On 05/10/2012 05:59 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Use the available ehci and uhci usb features and remove the associated config settings from the top-level common-pc feature.

For what this does:

Further thoughts:

I wonder why common-pc does not include OHCI HCDs?

Quoted 1 line

CONFIG_USB_STORAGE=y

This should really be pulled out as well and added to the standard and preempt-rt bsp-ktype.scc files.

meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc kconf hardware common-pc.cfg · line 4

Quoted 10 lines

CONFIG_USB_HID=y
CONFIG_USB_HIDDEV=y

meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -0
index bab45e6..2338ea6 100644
@@ -2,6 +2,8 @@ kconf hardware common-pc.cfg
 kconf hardware common-pc-gfx.cfg
 
 include cfg/boot-live.scc

This should be moved to the standard and preempt-rt bsp-ktype.scc files as well.

Quoted 5 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +2 -0
+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
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#4 lore raw

Re: [PATCH 02/10] meta/common-pc: use usb features

Quoted 13 lines · Darren Hart
Quoted 6 lines · On 05/10/2012 05:59 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Use the available ehci and uhci usb features and remove the associated config settings from the top-level common-pc feature.

For what this does:

Quoted 9 lines

Further thoughts:

I wonder why common-pc does not include OHCI HCDs?

Quoted 1 line

CONFIG_USB_STORAGE=y

This should really be pulled out as well and added to the standard and preempt-rt bsp-ktype.scc files.

The CONFIG_USB_STORAGE setting here is standalone, and the common-pc* don't have the other options contained in the usb-mass-storage feature, so that's why this was left behind. Perhaps they should also include the usb-mass-storage feature as well, but that would be adding more than cleanup at this point.

Anyway, note that the later patches do add the usb-mass-storage to the standard and preempt-rt files for the other non-common-pc* BSPs in the patchset.

Quoted 10 lines
Quoted 10 lines

CONFIG_USB_HID=y
CONFIG_USB_HIDDEV=y

meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -0
index bab45e6..2338ea6 100644
@@ -2,6 +2,8 @@ kconf hardware common-pc.cfg
 kconf hardware common-pc-gfx.cfg
 
Quoted 5 lines

meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc kconf hardware common-pc.cfg · line 4

Quoted 1 line
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -0
 include cfg/boot-live.scc

This should be moved to the standard and preempt-rt bsp-ktype.scc files as well.

The later patches do this for the boot-live feature.

Tom

Quoted 6 lines
Quoted 5 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +2 -0
+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
#5 lore raw

Re: [PATCH 02/10] meta/common-pc: use usb features

Quoted 24 lines · Tom Zanussi
Quoted 13 lines · Darren Hart
Quoted 6 lines · On 05/10/2012 05:59 PM, [email protected] wrote:

From: Tom Zanussi<[email protected]>

Use the available ehci and uhci usb features and remove the associated config settings from the top-level common-pc feature.

For what this does:

Quoted 9 lines

Further thoughts:

I wonder why common-pc does not include OHCI HCDs?

Quoted 1 line

CONFIG_USB_STORAGE=y

This should really be pulled out as well and added to the standard and preempt-rt bsp-ktype.scc files.

Quoted 5 lines

The CONFIG_USB_STORAGE setting here is standalone, and the common-pc* don't have the other options contained in the usb-mass-storage feature, so that's why this was left behind. Perhaps they should also include the usb-mass-storage feature as well, but that would be adding more than cleanup at this point.

Agreed. We can address that later, but for the cleanup, I can see why it's orphaned.

This all change looks fine to me.

Bruce

Quoted 33 lines

Anyway, note that the later patches do add the usb-mass-storage to the standard and preempt-rt files for the other non-common-pc* BSPs in the patchset.

Quoted 10 lines
Quoted 10 lines

CONFIG_USB_HID=y
CONFIG_USB_HIDDEV=y

meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -0
index bab45e6..2338ea6 100644
@@ -2,6 +2,8 @@ kconf hardware common-pc.cfg
  kconf hardware common-pc-gfx.cfg
 
Quoted 5 lines

meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc kconf hardware common-pc.cfg · line 4

Quoted 1 line
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -0
  include cfg/boot-live.scc

This should be moved to the standard and preempt-rt bsp-ktype.scc files as well.

The later patches do this for the boot-live feature.

Tom

Quoted 6 lines
Quoted 5 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +2 -0
+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
#6 lore raw

PATCH 3/10 meta/common-pc-64: use usb features

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Use the available ehci and uhci usb features and remove the associated config settings from the top-level common-pc feature.

---
 .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |    3 ---
 .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |    2 ++
 2 files changed, 2 insertions(+), 3 deletions(-)
meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg +0 -3
index 3b2621e..8d35931 100644
@@ -59,9 +59,6 @@ CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_8250_PCI=y
 CONFIG_SERIAL_8250_PNP=y
 
-CONFIG_USB=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_UHCI_HCD=y
 CONFIG_USB_STORAGE=y
 # For /proc/bus/usb and lsusb.
 CONFIG_USB_DEVICEFS=y
meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc +2 -0
index b27e793..d0327c5 100644
@@ -4,6 +4,8 @@ kconf hardware common-pc-64-graphics.cfg
 include cfg/boot-live.scc
 
 include features/hpet/hpet.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
 
Signature · 1 line
1.7.0.4
#7 lore raw

PATCH 4/10 meta/common-pc: factor out policy-related options

In reply to [email protected]

From: Tom Zanussi <[email protected]>

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.

---
 .../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(-)
meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc +7 -0
index f8716ee..706f669 100644
@@ -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
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc +6 -0
index f5baf52..83d49fd 100644
@@ -6,3 +6,9 @@ include ktypes/standard
 branch common-pc
 
 include common-pc.scc
+
+# default policy for standard kernels
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc +1 -4
index 8d7a498..900eb27 100644
@@ -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
 
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -4
index 2338ea6..9bd72c1 100644
@@ -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
Signature · 1 line
1.7.0.4
#8 lore raw

Re: [PATCH 04/10] meta/common-pc: factor out policy-related options

Quoted 23 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

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.

---
 .../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(-)
meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc +0 -0
index f8716ee..706f669 100644

meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc define KARCH i386 · line 10

Quoted 7 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc +3 -0
@@ -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

Quoted 9 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc +4 -0
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc +0 -0
index f5baf52..83d49fd 100644

meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc include ktypes/standard · line 10

Quoted 5 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc +2 -0
@@ -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

Quoted 9 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc +4 -0
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc +0 -0
index 8d7a498..900eb27 100644

meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc define KARCH i386 · line 8

Quoted 8 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc +1 -4
@@ -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!

Quoted 6 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -0
index 2338ea6..9bd72c1 100644
@@ -1,11 +1,7 @@
 kconf hardware common-pc.cfg

meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc line 11

Quoted 10 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -4
 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.

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

Re: [PATCH 04/10] meta/common-pc: factor out policy-related options

Quoted 26 lines · Darren Hart
Quoted 24 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

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.

---
 .../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(-)
meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc +0 -0
index f8716ee..706f669 100644
@@ -4,4 +4,11 @@ define KARCH i386
 
Quoted 10 lines

meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc define KARCH i386 · line 10

Quoted 6 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc +3 -0
 # 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.

Quoted 11 lines
Quoted 11 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc +4 -0
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc +0 -0
index f5baf52..83d49fd 100644
@@ -6,3 +6,9 @@ include ktypes/standard
 branch common-pc
 
Quoted 6 lines

meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc include ktypes/standard · line 10

Quoted 3 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc +2 -0
 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

Quoted 39 lines
Quoted 9 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc +4 -0
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc +0 -0
index 8d7a498..900eb27 100644

meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc define KARCH i386 · line 8

Quoted 8 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc +1 -4
@@ -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!

Quoted 6 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -0
index 2338ea6..9bd72c1 100644
@@ -1,11 +1,7 @@
 kconf hardware common-pc.cfg

meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc line 11

Quoted 10 lines
meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +0 -4
 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.

#10 lore raw

PATCH 5/10 meta/common-pc: factor out policy-related options

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base common-pc-64.scc while moving the more 'policy'-related options into the files that include the base common-pc-64.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.

---
 .../bsp/common-pc-64/common-pc-64-preempt-rt.scc   |    6 ++++++
 .../bsp/common-pc-64/common-pc-64-standard.scc     |    6 ++++++
 .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |    6 ------
 3 files changed, 12 insertions(+), 6 deletions(-)
meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc +6 -0
index ea13b44..8a79dd1 100644
@@ -4,5 +4,11 @@ define KARCH x86_64
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include bsp/common-pc-64/common-pc-64.scc
 
+# default policy for preempt-rt kernels
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc +6 -0
index aa690cd..dcb1949 100644
@@ -6,3 +6,9 @@ include ktypes/standard
 branch common-pc-64
 
 include common-pc-64.scc
+
+# default policy for standard kernels
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc +0 -6
index d0327c5..c2efc88 100644
@@ -1,14 +1,8 @@
 kconf hardware common-pc-64.cfg
 kconf hardware common-pc-64-graphics.cfg
 
-include cfg/boot-live.scc
-
 include features/hpet/hpet.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
Signature · 1 line
1.7.0.4
#11 lore raw

Re: [PATCH 05/10] meta/common-pc: factor out policy-related options

Quoted 7 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base common-pc-64.scc while moving the more 'policy'-related options into the files that include the base common-pc-64.scc fragment.

Quoted 5 lines

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.

Same comments as for common-pc (5/10)

Quoted 55 lines
---
 .../bsp/common-pc-64/common-pc-64-preempt-rt.scc   |    6 ++++++
 .../bsp/common-pc-64/common-pc-64-standard.scc     |    6 ++++++
 .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |    6 ------
 3 files changed, 12 insertions(+), 6 deletions(-)
meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc +6 -0
index ea13b44..8a79dd1 100644
@@ -4,5 +4,11 @@ define KARCH x86_64
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include bsp/common-pc-64/common-pc-64.scc
 
+# default policy for preempt-rt kernels
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc +6 -0
index aa690cd..dcb1949 100644
@@ -6,3 +6,9 @@ include ktypes/standard
 branch common-pc-64
 
 include common-pc-64.scc
+
+# default policy for standard kernels
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc +0 -6
index d0327c5..c2efc88 100644
@@ -1,14 +1,8 @@
 kconf hardware common-pc-64.cfg
 kconf hardware common-pc-64-graphics.cfg
 
-include cfg/boot-live.scc
-
 include features/hpet/hpet.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
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#12 lore raw

PATCH 6/10 meta/crownbay: factor out policy-related options

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base crownbay.scc while moving the more 'policy'-related options into the files that include the base crownbay.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.

---
 .../bsp/crownbay/crownbay-preempt-rt.scc           |    8 ++++++++
 .../bsp/crownbay/crownbay-standard.scc             |    7 +++++++
 meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc    |    7 -------
 3 files changed, 15 insertions(+), 7 deletions(-)
meta/cfg/kernel-cache/bsp/crownbay/crownbay-preempt-rt.scc +8 -0
index d58b4be..11067ef 100644
@@ -4,4 +4,12 @@ define KARCH i386
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include crownbay.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crownbay/crownbay-standard.scc +7 -0
index d6036f7..dd9dbc7 100644
@@ -9,3 +9,10 @@ include features/emgd/emgd-1.10.scc
 git merge emgd-1.10
 
 include crownbay.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc +0 -7
index c4bc1a5..82ed6f3 100644
@@ -8,16 +8,9 @@ include cfg/dmaengine.scc
 include features/serial/8250.scc
 include features/hpet/hpet.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
 include cfg/smp.scc
 include features/power/intel.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc
Signature · 1 line
1.7.0.4
#13 lore raw

Re: [PATCH 06/10] meta/crownbay: factor out policy-related options

Quoted 3 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in

oops ^

Quoted 8 lines

the base crownbay.scc while moving the more 'policy'-related options into the files that include the base crownbay.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.

With minor comment tweak above:

Quoted 49 lines
---
 .../bsp/crownbay/crownbay-preempt-rt.scc           |    8 ++++++++
 .../bsp/crownbay/crownbay-standard.scc             |    7 +++++++
 meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc    |    7 -------
 3 files changed, 15 insertions(+), 7 deletions(-)
meta/cfg/kernel-cache/bsp/crownbay/crownbay-preempt-rt.scc +8 -0
index d58b4be..11067ef 100644
@@ -4,4 +4,12 @@ define KARCH i386
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include crownbay.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crownbay/crownbay-standard.scc +7 -0
index d6036f7..dd9dbc7 100644
@@ -9,3 +9,10 @@ include features/emgd/emgd-1.10.scc
 git merge emgd-1.10
 
 include crownbay.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc +0 -2
index c4bc1a5..82ed6f3 100644
@@ -8,16 +8,9 @@ include cfg/dmaengine.scc
 include features/serial/8250.scc
 include features/hpet/hpet.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
 include cfg/smp.scc

meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc include cfg/dmaengine.scc · line 16

Quoted 10 lines
meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc +0 -5
 include features/power/intel.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc

Independent from this patch, but does crownbay have all three? ehci and ohci seems a lot more likely to me.

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

Re: [PATCH 06/10] meta/crownbay: factor out policy-related options

Quoted 73 lines · Darren Hart
Quoted 3 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in

oops ^

Quoted 8 lines

the base crownbay.scc while moving the more 'policy'-related options into the files that include the base crownbay.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.

With minor comment tweak above:

Quoted 51 lines
---
 .../bsp/crownbay/crownbay-preempt-rt.scc           |    8 ++++++++
 .../bsp/crownbay/crownbay-standard.scc             |    7 +++++++
 meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc    |    7 -------
 3 files changed, 15 insertions(+), 7 deletions(-)
meta/cfg/kernel-cache/bsp/crownbay/crownbay-preempt-rt.scc +8 -0
index d58b4be..11067ef 100644
@@ -4,4 +4,12 @@ define KARCH i386
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include crownbay.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crownbay/crownbay-standard.scc +7 -0
index d6036f7..dd9dbc7 100644
@@ -9,3 +9,10 @@ include features/emgd/emgd-1.10.scc
 git merge emgd-1.10
 
 include crownbay.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc +0 -2
index c4bc1a5..82ed6f3 100644
@@ -8,16 +8,9 @@ include cfg/dmaengine.scc
 include features/serial/8250.scc
 include features/hpet/hpet.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
 include cfg/smp.scc
 include features/power/intel.scc
 
Quoted 12 lines

meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc include cfg/dmaengine.scc · line 16

Quoted 8 lines
meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc +0 -5
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc

Independent from this patch, but does crownbay have all three? ehci and ohci seems a lot more likely to me.

lsusb shows ehci and ohci, but why did you think ohci would be more likely?

Tom

#15 lore raw

Re: [PATCH 06/10] meta/crownbay: factor out policy-related options

Quoted 87 lines · Tom Zanussi
Quoted 73 lines · Darren Hart
Quoted 3 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in

oops ^

Quoted 8 lines

the base crownbay.scc while moving the more 'policy'-related options into the files that include the base crownbay.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.

With minor comment tweak above:

Quoted 51 lines
---
 .../bsp/crownbay/crownbay-preempt-rt.scc           |    8 ++++++++
 .../bsp/crownbay/crownbay-standard.scc             |    7 +++++++
 meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc    |    7 -------
 3 files changed, 15 insertions(+), 7 deletions(-)
meta/cfg/kernel-cache/bsp/crownbay/crownbay-preempt-rt.scc +8 -0
index d58b4be..11067ef 100644
@@ -4,4 +4,12 @@ define KARCH i386
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include crownbay.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crownbay/crownbay-standard.scc +7 -0
index d6036f7..dd9dbc7 100644
@@ -9,3 +9,10 @@ include features/emgd/emgd-1.10.scc
 git merge emgd-1.10
 
 include crownbay.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc +0 -2
index c4bc1a5..82ed6f3 100644
@@ -8,16 +8,9 @@ include cfg/dmaengine.scc
 include features/serial/8250.scc
 include features/hpet/hpet.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
 include cfg/smp.scc
 include features/power/intel.scc
 
Quoted 12 lines

meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc include cfg/dmaengine.scc · line 16

Quoted 8 lines
meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc +0 -5
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc

Independent from this patch, but does crownbay have all three? ehci and ohci seems a lot more likely to me.

Quoted 3 lines

lsusb shows ehci and ohci, but why did you think ohci would be more likely?

Never mind, yeah, that's what the eg20t data sheet says as well, somehow thought it would be uhci...

Tom

Quoted 8 lines

Tom

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#16 lore raw

Re: [PATCH 06/10] meta/crownbay: factor out policy-related options

In reply to Tom Zanussi
Quoted 10 lines · Tom Zanussi
Quoted 3 lines · Darren Hart

Independent from this patch, but does crownbay have all three? ehci and ohci seems a lot more likely to me.

lsusb shows ehci and ohci, but why did you think ohci would be more likely?

Tom

I believe UHCI is only seen on non-intel platforms, primarily AMD and maybe VIA systems... just something I had a vague recollection of.

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

Re: [PATCH 06/10] meta/crownbay: factor out policy-related options

Quoted 8 lines · Darren Hart
Quoted 6 lines · Tom Zanussi
Quoted 3 lines · Darren Hart

Independent from this patch, but does crownbay have all three? ehci and ohci seems a lot more likely to me.

Quoted 9 lines
Quoted 4 lines

lsusb shows ehci and ohci, but why did you think ohci would be more likely?

Tom

I believe UHCI is only seen on non-intel platforms, primarily AMD and maybe VIA systems... just something I had a vague recollection of.

I thought it was the opposite, but was probably thrown off by emenlow which has UHCI...

Tom

#18 lore raw

Re: [PATCH 06/10] meta/crownbay: factor out policy-related options

Quoted 15 lines · Tom Zanussi
Quoted 14 lines · Darren Hart
Quoted 10 lines · Tom Zanussi
Quoted 3 lines · Darren Hart

Independent from this patch, but does crownbay have all three? ehci and ohci seems a lot more likely to me.

lsusb shows ehci and ohci, but why did you think ohci would be more likely?

Tom

Quoted 6 lines
Quoted 3 lines

I believe UHCI is only seen on non-intel platforms, primarily AMD and maybe VIA systems... just something I had a vague recollection of.

I thought it was the opposite, but was probably thrown off by emenlow which has UHCI...

  │ Symbol: USB_UHCI_HCD [=y]                                                  │  
  │ Type  : tristate                                                           │  
  │ Prompt: UHCI HCD (most Intel and VIA) support                              │  
  │   Defined at drivers/usb/host/Kconfig:444                                  │  
  │   Depends on: USB_SUPPORT [=y] && USB [=y] && (PCI [=y] || SPARC_LEON)     │  
  │   Location:                                                                │  
  │     -> Device Drivers                                                      │  
  │       -> USB support (USB_SUPPORT [=y]) 

And I see lots of ARM OHCI bits... so maybe you're right. But for the EG20T, as you pointed out, it seems to be EHCI and OHCI for whatever reason.

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

PATCH 7/10 meta/emenlow: factor out policy-related options

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base emenlow.scc while moving the more 'policy'-related options into the files that include the base emenlow.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.

---
 .../bsp/emenlow/emenlow-preempt-rt.scc             |    8 ++++++++
 .../kernel-cache/bsp/emenlow/emenlow-standard.scc  |    8 ++++++++
 meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc      |    7 -------
 3 files changed, 16 insertions(+), 7 deletions(-)
meta/cfg/kernel-cache/bsp/emenlow/emenlow-preempt-rt.scc +8 -0
index 156e4c6..85d8367 100644
@@ -4,4 +4,12 @@ define KARCH i386
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include emenlow.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/emenlow/emenlow-standard.scc +8 -0
index 804b36e..aac1b09 100644
@@ -6,3 +6,11 @@ include ktypes/standard
 branch emenlow
 
 include emenlow.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+
meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc +0 -7
index 2967d93..9296ddb 100644
@@ -6,15 +6,8 @@ include features/intel-e1xxxx/intel-e1xxxx.scc
 include features/drm-psb/drm-psb.scc
 include features/serial/8250.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
 include cfg/smp.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc
Signature · 1 line
1.7.0.4
Acked-by on v1 7/10
#20 lore raw

Re: [PATCH 07/10] meta/emenlow: factor out policy-related options

Same comments as for crownbay...

Quoted 3 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in

oops ^

Quoted 8 lines

the base emenlow.scc while moving the more 'policy'-related options into the files that include the base emenlow.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.

Quoted 49 lines
---
 .../bsp/emenlow/emenlow-preempt-rt.scc             |    8 ++++++++
 .../kernel-cache/bsp/emenlow/emenlow-standard.scc  |    8 ++++++++
 meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc      |    7 -------
 3 files changed, 16 insertions(+), 7 deletions(-)
meta/cfg/kernel-cache/bsp/emenlow/emenlow-preempt-rt.scc +8 -0
index 156e4c6..85d8367 100644
@@ -4,4 +4,12 @@ define KARCH i386
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include emenlow.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/emenlow/emenlow-standard.scc +8 -0
index 804b36e..aac1b09 100644
@@ -6,3 +6,11 @@ include ktypes/standard
 branch emenlow
 
 include emenlow.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+
meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc +0 -2
index 2967d93..9296ddb 100644
@@ -6,15 +6,8 @@ include features/intel-e1xxxx/intel-e1xxxx.scc
 include features/drm-psb/drm-psb.scc
 include features/serial/8250.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc

meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc include features/intel-e1xxxx/intel-e1xxxx.scc · line 13

Quoted 10 lines
meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc +0 -5
 include cfg/smp.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc

minus uhci?

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

PATCH 8/10 meta/emenlow: factor out policy-related options

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base fishriver.scc while moving the more 'policy'-related options into the files that include the base fishriver.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.

---
 .../bsp/fishriver/fishriver-preempt-rt.scc         |    8 ++++++++
 .../bsp/fishriver/fishriver-standard.scc           |    8 ++++++++
 meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc  |    7 -------
 3 files changed, 16 insertions(+), 7 deletions(-)
meta/cfg/kernel-cache/bsp/fishriver/fishriver-preempt-rt.scc +8 -0
index 1a5e46a..f37e1c6 100644
@@ -4,4 +4,12 @@ define KARCH i386
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include fishriver.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/fishriver/fishriver-standard.scc +8 -0
index e697d7e..fb2dc25 100644
@@ -9,3 +9,11 @@ include features/emgd/emgd.scc
 git merge emgd
 
 include fishriver.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+
meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc +0 -7
index e401274..6ae93f9 100644
@@ -8,16 +8,9 @@ include features/serial/8250.scc
 include features/hpet/hpet.scc
 include features/ericsson-3g/f5521gw.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
 include cfg/smp.scc
 include features/power/intel.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc
Signature · 1 line
1.7.0.4
Acked-by on v1 8/10
#22 lore raw

Re: [PATCH 08/10] meta/emenlow: factor out policy-related options

Same comments as for crownbay

Quoted 3 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in

oops ^

Quoted 8 lines

the base fishriver.scc while moving the more 'policy'-related options into the files that include the base fishriver.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.

Quoted 60 lines
---
 .../bsp/fishriver/fishriver-preempt-rt.scc         |    8 ++++++++
 .../bsp/fishriver/fishriver-standard.scc           |    8 ++++++++
 meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc  |    7 -------
 3 files changed, 16 insertions(+), 7 deletions(-)
meta/cfg/kernel-cache/bsp/fishriver/fishriver-preempt-rt.scc +8 -0
index 1a5e46a..f37e1c6 100644
@@ -4,4 +4,12 @@ define KARCH i386
 
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
+
 include fishriver.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/fishriver/fishriver-standard.scc +8 -0
index e697d7e..fb2dc25 100644
@@ -9,3 +9,11 @@ include features/emgd/emgd.scc
 git merge emgd
 
 include fishriver.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+
meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc +0 -7
index e401274..6ae93f9 100644
@@ -8,16 +8,9 @@ include features/serial/8250.scc
 include features/hpet/hpet.scc
 include features/ericsson-3g/f5521gw.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
 include cfg/smp.scc
 include features/power/intel.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#23 lore raw

PATCH 9/10 meta/jasperforest: factor out policy-related options

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base jasperforest.scc while moving the more 'policy'-related options into the files that include the base jasperforest.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.

---
 .../bsp/jasperforest/jasperforest-preempt-rt.scc   |    7 +++++++
 .../bsp/jasperforest/jasperforest-standard.scc     |    6 ++++++
 .../kernel-cache/bsp/jasperforest/jasperforest.scc |    6 ------
 3 files changed, 13 insertions(+), 6 deletions(-)
meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc +7 -0
index 4b5c2ca..b3a6370 100644
@@ -5,4 +5,11 @@ define KARCH x86_64
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
 include bsp/common-pc-64/common-pc-64.scc
+
 include jasperforest.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc +6 -0
index baf66d8..ec7a10a 100644
@@ -6,3 +6,9 @@ include bsp/common-pc-64/common-pc-64-standard
 branch jasperforest
 
 include jasperforest.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.scc +0 -6
index 82f0f52..68afd4a 100644
@@ -2,14 +2,8 @@ kconf hardware jasperforest.cfg
 
 include features/serial/8250.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
 include features/power/intel.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc
Signature · 1 line
1.7.0.4
Acked-by on v1 9/10
#24 lore raw

Re: [PATCH 09/10] meta/jasperforest: factor out policy-related options

You know the drill, same as last three

Quoted 7 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base jasperforest.scc while moving the more 'policy'-related options into the files that include the base jasperforest.scc fragment.

Quoted 5 lines

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.

Quoted 55 lines
---
 .../bsp/jasperforest/jasperforest-preempt-rt.scc   |    7 +++++++
 .../bsp/jasperforest/jasperforest-standard.scc     |    6 ++++++
 .../kernel-cache/bsp/jasperforest/jasperforest.scc |    6 ------
 3 files changed, 13 insertions(+), 6 deletions(-)
meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc +7 -0
index 4b5c2ca..b3a6370 100644
@@ -5,4 +5,11 @@ define KARCH x86_64
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
 include bsp/common-pc-64/common-pc-64.scc
+
 include jasperforest.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc +6 -0
index baf66d8..ec7a10a 100644
@@ -6,3 +6,9 @@ include bsp/common-pc-64/common-pc-64-standard
 branch jasperforest
 
 include jasperforest.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.scc +0 -6
index 82f0f52..68afd4a 100644
@@ -2,14 +2,8 @@ kconf hardware jasperforest.cfg
 
 include features/serial/8250.scc
 include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
 include features/power/intel.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#25 lore raw

PATCH 10/10 meta/sugarbay: factor out policy-related options

In reply to [email protected]

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base sugarbay.scc while moving the more 'policy'-related options into the files that include the base sugarbay.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.

---
 .../bsp/sugarbay/sugarbay-preempt-rt.scc           |    7 +++++++
 .../bsp/sugarbay/sugarbay-standard.scc             |    6 ++++++
 meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc    |    6 ------
 3 files changed, 13 insertions(+), 6 deletions(-)
meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc +7 -0
index e824f6f..d9df73b 100644
@@ -5,4 +5,11 @@ define KARCH x86_64
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
 include bsp/common-pc-64/common-pc-64.scc
+
 include sugarbay.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc +6 -0
index 8c2a19b..421364e 100644
@@ -6,3 +6,9 @@ include bsp/common-pc-64/common-pc-64-standard
 branch sugarbay
 
 include sugarbay.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc +0 -6
index 128efd3..d8144f0 100644
@@ -2,14 +2,8 @@ kconf hardware sugarbay.cfg
 
 include features/i915/i915.scc
 include features/serial/8250.scc
-include cfg/usb-mass-storage.scc
 include features/power/intel.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc
Signature · 1 line
1.7.0.4
Acked-by on v1 10/10
#26 lore raw

Re: [PATCH 10/10] meta/sugarbay: factor out policy-related options

ditto

Quoted 11 lines · On 05/10/2012 06:00 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base sugarbay.scc while moving the more 'policy'-related options into the files that include the base sugarbay.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.

Quoted 55 lines
---
 .../bsp/sugarbay/sugarbay-preempt-rt.scc           |    7 +++++++
 .../bsp/sugarbay/sugarbay-standard.scc             |    6 ++++++
 meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc    |    6 ------
 3 files changed, 13 insertions(+), 6 deletions(-)
meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc +7 -0
index e824f6f..d9df73b 100644
@@ -5,4 +5,11 @@ define KARCH x86_64
 # no new branch required, re-use the ktypes/preempt-rt branch
 include ktypes/preempt-rt
 include bsp/common-pc-64/common-pc-64.scc
+
 include sugarbay.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc +6 -0
index 8c2a19b..421364e 100644
@@ -6,3 +6,9 @@ include bsp/common-pc-64/common-pc-64-standard
 branch sugarbay
 
 include sugarbay.scc
+
+# default policy for standard kernels
+include cfg/usb-mass-storage.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc +0 -6
index 128efd3..d8144f0 100644
@@ -2,14 +2,8 @@ kconf hardware sugarbay.cfg
 
 include features/i915/i915.scc
 include features/serial/8250.scc
-include cfg/usb-mass-storage.scc
 include features/power/intel.scc
 
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
 include features/usb/ehci-hcd.scc
 include features/usb/ohci-hcd.scc
 include features/usb/uhci-hcd.scc
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
Acked-by on v1 1/10
#27 lore raw

Re: [PATCH 01/10] meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature

In reply to [email protected]
Quoted 7 lines · On 05/10/2012 05:59 PM, [email protected] wrote:

From: Tom Zanussi <[email protected]>

Add root hub transaction translator support for supporting companion ohci/uhci controllers , which is safe even if the ehci controller doesn't have companion controllers.

Quoted 11 lines
---
 meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg +1 -0
index 7322dc2..b977248 100644
@@ -1 +1,2 @@
 CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#28 lore raw
In reply to [email protected]
Quoted 10 lines · On 12-05-10 09:00 PM, [email protected] wrote:

From: Tom Zanussi<[email protected]>

This set of patches factors out the policy vs hardware-related config of the common-pc and common-pc-64 along with some meta-intel BSPs.

There are also a couple usb cleanups as well.

This is an RFC patchset because it's completely untested at this point so shouldn't be pulled in - I wanted to get this pre-NAKed at least once before actually going through the trouble of testing. ;-)

I see Darren's around and adding some comments. I'll have a look at this later today, and provide some feedback.

Just wanted to let you know that I've seen it, and plan to have a detailed look at it shortly.

Bruce

Quoted 51 lines

Tom

The following changes since commit 1dfd60fa1250259eed38ae5b2840eb37e3758a1b:
Tom Zanussi (1):
meta/fishriver: move smp options from recipe-space

are available in the git repository at:

git://git.yoctoproject.org/linux-yocto-2.6.37-contrib.git tzanussi/policy-cleanup
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/policy-cleanup

Tom Zanussi (10):
meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature meta/common-pc: use usb features
meta/common-pc-64: use usb features
meta/common-pc: factor out policy-related options meta/common-pc: factor out policy-related options meta/crownbay: factor out policy-related options meta/emenlow: factor out policy-related options meta/emenlow: factor out policy-related options meta/jasperforest: factor out policy-related options meta/sugarbay: factor out policy-related options

  .../bsp/common-pc-64/common-pc-64-preempt-rt.scc   |    6 ++++++
  .../bsp/common-pc-64/common-pc-64-standard.scc     |    6 ++++++
  .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |    3 ---
  .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |    8 ++------
  .../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.cfg  |    5 -----
  meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc  |    6 ++----
  .../bsp/crownbay/crownbay-preempt-rt.scc           |    8 ++++++++
  .../bsp/crownbay/crownbay-standard.scc             |    7 +++++++
  meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc    |    7 -------
  .../bsp/emenlow/emenlow-preempt-rt.scc             |    8 ++++++++
  .../kernel-cache/bsp/emenlow/emenlow-standard.scc  |    8 ++++++++
  meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc      |    7 -------
  .../bsp/fishriver/fishriver-preempt-rt.scc         |    8 ++++++++
  .../bsp/fishriver/fishriver-standard.scc           |    8 ++++++++
  meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc  |    7 -------
  .../bsp/jasperforest/jasperforest-preempt-rt.scc   |    7 +++++++
  .../bsp/jasperforest/jasperforest-standard.scc     |    6 ++++++
  .../kernel-cache/bsp/jasperforest/jasperforest.scc |    6 ------
  .../bsp/sugarbay/sugarbay-preempt-rt.scc           |    7 +++++++
  .../bsp/sugarbay/sugarbay-standard.scc             |    6 ++++++
  meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc    |    6 ------
  meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg    |    1 +
  25 files changed, 104 insertions(+), 55 deletions(-)
#29 lore raw
In reply to [email protected]
Quoted 10 lines · On 12-05-10 09:00 PM, [email protected] wrote:

From: Tom Zanussi<[email protected]>

This set of patches factors out the policy vs hardware-related config of the common-pc and common-pc-64 along with some meta-intel BSPs.

There are also a couple usb cleanups as well.

This is an RFC patchset because it's completely untested at this point so shouldn't be pulled in - I wanted to get this pre-NAKed at least once before actually going through the trouble of testing. ;-)

No NAK here. This looks fine to me. I only commented once, for everything that I didn't say anything, that means no problems here.

Bruce

Quoted 51 lines

Tom

The following changes since commit 1dfd60fa1250259eed38ae5b2840eb37e3758a1b:
Tom Zanussi (1):
meta/fishriver: move smp options from recipe-space

are available in the git repository at:

git://git.yoctoproject.org/linux-yocto-2.6.37-contrib.git tzanussi/policy-cleanup
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/policy-cleanup

Tom Zanussi (10):
meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature meta/common-pc: use usb features
meta/common-pc-64: use usb features
meta/common-pc: factor out policy-related options meta/common-pc: factor out policy-related options meta/crownbay: factor out policy-related options meta/emenlow: factor out policy-related options meta/emenlow: factor out policy-related options meta/jasperforest: factor out policy-related options meta/sugarbay: factor out policy-related options

  .../bsp/common-pc-64/common-pc-64-preempt-rt.scc   |    6 ++++++
  .../bsp/common-pc-64/common-pc-64-standard.scc     |    6 ++++++
  .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |    3 ---
  .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |    8 ++------
  .../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.cfg  |    5 -----
  meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc  |    6 ++----
  .../bsp/crownbay/crownbay-preempt-rt.scc           |    8 ++++++++
  .../bsp/crownbay/crownbay-standard.scc             |    7 +++++++
  meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc    |    7 -------
  .../bsp/emenlow/emenlow-preempt-rt.scc             |    8 ++++++++
  .../kernel-cache/bsp/emenlow/emenlow-standard.scc  |    8 ++++++++
  meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc      |    7 -------
  .../bsp/fishriver/fishriver-preempt-rt.scc         |    8 ++++++++
  .../bsp/fishriver/fishriver-standard.scc           |    8 ++++++++
  meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc  |    7 -------
  .../bsp/jasperforest/jasperforest-preempt-rt.scc   |    7 +++++++
  .../bsp/jasperforest/jasperforest-standard.scc     |    6 ++++++
  .../kernel-cache/bsp/jasperforest/jasperforest.scc |    6 ------
  .../bsp/sugarbay/sugarbay-preempt-rt.scc           |    7 +++++++
  .../bsp/sugarbay/sugarbay-standard.scc             |    6 ++++++
  meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc    |    6 ------
  meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg    |    1 +
  25 files changed, 104 insertions(+), 55 deletions(-)
#30 lore raw
Quoted 6 lines · Bruce Ashfield
Quoted 5 lines · On 12-05-10 09:00 PM, [email protected] wrote:

From: Tom Zanussi<[email protected]>

This set of patches factors out the policy vs hardware-related config of the common-pc and common-pc-64 along with some meta-intel BSPs.

Quoted 9 lines
Quoted 5 lines

There are also a couple usb cleanups as well.

This is an RFC patchset because it's completely untested at this point so shouldn't be pulled in - I wanted to get this pre-NAKed at least once before actually going through the trouble of testing. ;-)

No NAK here. This looks fine to me. I only commented once, for everything that I didn't say anything, that means no problems here.

OK, thanks, Bruce. I'll fix the few things up that Darren mentioned and start testing, then...

Tom

Quoted 54 lines

Bruce

Quoted 51 lines

Tom

The following changes since commit 1dfd60fa1250259eed38ae5b2840eb37e3758a1b:
Tom Zanussi (1):
meta/fishriver: move smp options from recipe-space

are available in the git repository at:

git://git.yoctoproject.org/linux-yocto-2.6.37-contrib.git tzanussi/policy-cleanup
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/policy-cleanup

Tom Zanussi (10):
meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature meta/common-pc: use usb features
meta/common-pc-64: use usb features
meta/common-pc: factor out policy-related options meta/common-pc: factor out policy-related options meta/crownbay: factor out policy-related options meta/emenlow: factor out policy-related options meta/emenlow: factor out policy-related options meta/jasperforest: factor out policy-related options meta/sugarbay: factor out policy-related options

  .../bsp/common-pc-64/common-pc-64-preempt-rt.scc   |    6 ++++++
  .../bsp/common-pc-64/common-pc-64-standard.scc     |    6 ++++++
  .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |    3 ---
  .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |    8 ++------
  .../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.cfg  |    5 -----
  meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc  |    6 ++----
  .../bsp/crownbay/crownbay-preempt-rt.scc           |    8 ++++++++
  .../bsp/crownbay/crownbay-standard.scc             |    7 +++++++
  meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc    |    7 -------
  .../bsp/emenlow/emenlow-preempt-rt.scc             |    8 ++++++++
  .../kernel-cache/bsp/emenlow/emenlow-standard.scc  |    8 ++++++++
  meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc      |    7 -------
  .../bsp/fishriver/fishriver-preempt-rt.scc         |    8 ++++++++
  .../bsp/fishriver/fishriver-standard.scc           |    8 ++++++++
  meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc  |    7 -------
  .../bsp/jasperforest/jasperforest-preempt-rt.scc   |    7 +++++++
  .../bsp/jasperforest/jasperforest-standard.scc     |    6 ++++++
  .../kernel-cache/bsp/jasperforest/jasperforest.scc |    6 ------
  .../bsp/sugarbay/sugarbay-preempt-rt.scc           |    7 +++++++
  .../bsp/sugarbay/sugarbay-standard.scc             |    6 ++++++
  meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc    |    6 ------
  meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg    |    1 +
  25 files changed, 104 insertions(+), 55 deletions(-)