OSDN Git Service

Revert "usb: dwc3: turn off VBUS when leaving host mode"
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / init / Kconfig
index b72e832..684bd01 100644 (file)
@@ -850,6 +850,16 @@ config LOG_BUF_SHIFT
                     13 =>  8 KB
                     12 =>  4 KB
 
+config CONSOLE_FLUSH_ON_HOTPLUG
+       bool "Enable console flush configurable in hot plug code path"
+       depends on HOTPLUG_CPU
+       def_bool n
+       help
+       In cpu hot plug path console lock acquire and release causes the
+       console to flush. If console lock is not free hot plug latency
+       increases. So make console flush configurable in hot plug path
+       and default disabled to help in cpu hot plug latencies.
+
 config LOG_CPU_MAX_BUF_SHIFT
        int "CPU kernel log buffer size contribution (13 => 8 KB, 17 => 128KB)"
        depends on SMP
@@ -1039,6 +1049,23 @@ config CGROUP_SCHEDTUNE
 config PAGE_COUNTER
        bool
 
+config CGROUP_SCHEDTUNE
+       bool "CFS tasks boosting cgroup subsystem (EXPERIMENTAL)"
+       depends on SCHED_TUNE
+       help
+         This option provides the "schedtune" controller which improves the
+         flexibility of the task boosting mechanism by introducing the support
+         to define "per task" boost values.
+
+         This new controller:
+         1. allows only a two layers hierarchy, where the root defines the
+            system-wide boost value and its direct childrens define each one a
+            different "class of tasks" to be boosted with a different value
+         2. supports up to 16 different task classes, each one which could be
+            configured with a different boost value
+
+         Say N if unsure.
+
 config MEMCG
        bool "Memory Resource Controller for Control Groups"
        select PAGE_COUNTER
@@ -1132,6 +1159,7 @@ config FAIR_GROUP_SCHED
 config CFS_BANDWIDTH
        bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED"
        depends on FAIR_GROUP_SCHED
+       depends on !SCHED_WALT
        default n
        help
          This option allows users to define CPU bandwidth rates (limits) for
@@ -1190,6 +1218,33 @@ config CGROUP_WRITEBACK
 
 endif # CGROUPS
 
+config SCHED_HMP
+       bool "Scheduler support for heterogenous multi-processor systems"
+       depends on SMP && FAIR_GROUP_SCHED
+       help
+         This feature will let the scheduler optimize task placement on
+         systems made of heterogeneous cpus i.e cpus that differ either
+         in their instructions per-cycle capability or the maximum
+         frequency they can attain.
+
+config SCHED_HMP_CSTATE_AWARE
+       bool "CPU C-state aware scheduler"
+       depends on SCHED_HMP
+       help
+         This feature will let the HMP scheduler optimize task placement
+         with CPUs C-state. If this is enabled, scheduler places tasks
+         onto the shallowest C-state CPU among the most power efficient CPUs.
+
+config SCHED_CORE_CTL
+       bool "QTI Core Control"
+       depends on SMP
+       help
+         This options enables the core control functionality in
+         the scheduler. Core control automatically offline and
+         online cores based on cpu load and utilization.
+
+         If unsure, say N here.
+
 config CHECKPOINT_RESTORE
        bool "Checkpoint/restore support" if EXPERT
        select PROC_CHILDREN
@@ -1403,6 +1458,32 @@ config CC_OPTIMIZE_FOR_SIZE
 
 endchoice
 
+config HAVE_LD_DEAD_CODE_DATA_ELIMINATION
+       bool
+       help
+         This requires that the arch annotates or otherwise protects
+         its external entry points from being discarded. Linker scripts
+         must also merge .text.*, .data.*, and .bss.* correctly into
+         output sections. Care must be taken not to pull in unrelated
+         sections (e.g., '.text.init'). Typically '.' in section names
+         is used to distinguish them from label names / C identifiers.
+
+config LD_DEAD_CODE_DATA_ELIMINATION
+       bool "Dead code and data elimination (EXPERIMENTAL)"
+       depends on HAVE_LD_DEAD_CODE_DATA_ELIMINATION
+       depends on EXPERT
+       help
+         Enable this if you want to do dead code and data elimination with
+         the linker by compiling with -ffunction-sections -fdata-sections,
+         and linking with --gc-sections.
+
+         This can reduce on disk and in-memory size of the kernel
+         code and static data, particularly for small configs and
+         on small systems. This has the possibility of introducing
+         silently broken kernel if the required annotations are not
+         present. This option is not well tested yet, so use at your
+         own risk.
+
 config SYSCTL
        bool
 
@@ -1441,8 +1522,6 @@ config BPF
 
 menuconfig EXPERT
        bool "Configure standard kernel features (expert users)"
-       # Unhide debug options, to make the on-by-default options visible
-       select DEBUG_KERNEL
        help
          This option allows certain base kernel options and settings
           to be disabled or tweaked. This is for specialized