[linux-yocto] [PATCH 00/13] ktype refactoring: move DEBUG_KERNEL, EXPERT and EMBEDDED

California Sullivan california.l.sullivan at intel.com
Thu Feb 4 16:25:41 PST 2016


Targetted for yocto-4.4 and master.

This patch series refactors the ktypes so that base and standard ktypes
do not enable EMBEDDED, EXPERT, or DEBUG_KERNEL. The reason this
decision was made is because production platforms likely do not want
DEBUG_KERNEL enabled, and EMBEDDED selects EXPERT which selects
DEBUG_KERNEL.

A new ktype called "extended" was also created. This ktype
enables the options now missing from standard and base, making it easy
to maintain the functionality of a BSP through simply swapping the ktype
from standard to extended. The preempt-rt ktype is now based off of
extended in order to maintain its functionality.

The new standard ktype does not include EMBEDDED, EXPERT, or
DEBUG_KERNEL. Without DEBUG_KERNEL it loses a number of debug features
that are selected by default. Without EXPERT it gains RFKILL_INPUT and
DEBUG_MEMORY_INIT, while losing VMSPLIT_3G. These are only available to
configure with CONFIG_EXPERT=y and default to EXPERT or !EXPERT. Not
selecting EMBEDDED has no apparent impacts.

Some coordination is required for this change, as existing BSPs WILL be
affected, and will either need to accept the changes in the standard
ktype or move to the extended ktype.

California Sullivan (13):
  features/debug: add debug-kernel feature
  ktypes: add extended ktype
  ktypes/base: Disable EMBEDDED and DEBUG_KERNEL
  base.cfg: disable some HIDs
  cfg: do not enable PROCESSOR_SELECT
  intel-common-drivers.scc: move profiling and latencytop to a new file
  romley.scc remove profiling and latencytop features
  bsp/intel-common: add intel-core* extended bsps
  preempt-rt.scc: inlcude extended ktype instead of standard
  intel-common: add intel-extended-drivers.scc to preempt-rt bsps
  CONFIG_I2C_I801: set option to yes in intel-core* bsps
  bsp: add extended common-pc bsps
  bsp: remove profiling and latencytop from non-extended common-pc bsps

 bsp/common-pc-64/common-pc-64-extended.scc      | 17 +++++++++++++++++
 bsp/common-pc-64/common-pc-64-standard.scc      |  2 --
 bsp/common-pc/common-pc-extended.scc            | 17 +++++++++++++++++
 bsp/common-pc/common-pc-standard.scc            |  2 --
 bsp/haswell-wc/haswell-wc.cfg                   |  2 +-
 bsp/intel-common/intel-common-drivers.scc       |  2 --
 bsp/intel-common/intel-core2-32-extended.scc    | 14 ++++++++++++++
 bsp/intel-common/intel-core2-32-preempt-rt.scc  |  1 +
 bsp/intel-common/intel-corei7-64-extended.scc   | 13 +++++++++++++
 bsp/intel-common/intel-corei7-64-preempt-rt.scc |  1 +
 bsp/intel-common/intel-extended-drivers.scc     |  3 +++
 bsp/mohonpeak/mohonpeak.cfg                     |  2 +-
 bsp/romley/romley.scc                           |  3 ---
 cfg/amd.cfg                                     |  1 -
 cfg/intel.cfg                                   |  2 --
 features/debug/debug-kernel.cfg                 |  2 ++
 features/debug/debug-kernel.scc                 |  6 ++++++
 features/debug/printk.scc                       |  1 +
 features/latencytop/latencytop.scc              |  3 +++
 features/profiling/profiling.scc                |  2 ++
 features/soc/baytrail/baytrail.cfg              |  2 +-
 ktypes/base/base.cfg                            | 17 ++++++++++++++---
 ktypes/extended/extended.cfg                    | 18 ++++++++++++++++++
 ktypes/extended/extended.scc                    | 10 ++++++++++
 ktypes/preempt-rt/preempt-rt.scc                |  2 +-
 25 files changed, 126 insertions(+), 19 deletions(-)
 create mode 100644 bsp/common-pc-64/common-pc-64-extended.scc
 create mode 100644 bsp/common-pc/common-pc-extended.scc
 create mode 100644 bsp/intel-common/intel-core2-32-extended.scc
 create mode 100644 bsp/intel-common/intel-corei7-64-extended.scc
 create mode 100644 bsp/intel-common/intel-extended-drivers.scc
 create mode 100644 features/debug/debug-kernel.cfg
 create mode 100644 features/debug/debug-kernel.scc
 create mode 100644 ktypes/extended/extended.cfg
 create mode 100644 ktypes/extended/extended.scc

-- 
2.5.0



More information about the linux-yocto mailing list