platform_kernel_configs/android-4.9/android-recommended.config

139 lines
3 KiB
Text
Raw Normal View History

# KEEP ALPHABETICALLY SORTED
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_NF_CONNTRACK_SIP is not set
# CONFIG_PM_WAKELOCKS_GC is not set
# CONFIG_VT is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BLK_DEV_DM=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=8192
CONFIG_CGROUP_SCHEDTUNE=y
CONFIG_COMPACTION=y
Enable more options required as dependencies. When verifying the android-base and android-recommended configurations, it is useful to start from as minimal a kernel config as possible. The most minimal config is "allnoconfig". However, the "allnoconfig" experiment highlights a design problem with these kernel config fragments. The 'depends' for the options we want to turn on won't be turned on if the defconfig used as the first parameter to scripts/kconfig/merge_config.sh forcibly turned them off, even if the options were 'default y' or 'default m'. So, rather than relying on somebody running the merge_config.sh having the 'depends' set favorably for dependent options, explicitly define all of the dependencies with =y. When testing with an "allnoconfig", which is a worst-case scenario, all of the 'base' and 'recommended' options are now turned on correctly. android-base.cfg: CONFIG_ADVISE_SYSCALLS=y bionic: madvise, posix_madvise, etc. CONFIG_BLOCK=y CONFIG_EXT4_FS, CONFIG_F2FS_FS CONFIG_EPOLL=y bionic: epoll_create, etc. CONFIG_EVENTFD=y bionic: eventfd etc. CONFIG_FUTEX=y bionic: __futex_wait, __futex_wake. CONFIG_PROC_FS=y bionic: linker, pthread, etc. CONFIG_PROFILING=y CONFIG_UID_SYS_STATS (missing only on 3.18) CONFIG_SHMEM=y CONFIG_ASHMEM CONFIG_SIGNALFD=y bionic: signalfd, signalfd64, etc. CONFIG_SUSPEND=y CONFIG_PM_SLEEP via CONFIG_PM_WAKELOCKS. CONFIG_SYSFS=y bionic: sysinfo, selinux CONFIG_TIMERFD=y bionic: timerfd_create, etc. CONFIG_USB_SUPPORT=y CONFIG_USB_GADGET android-recommended.cfg: CONFIG_CONFIGFS_FS=y CONFIG_SDCARD_FS CONFIG_GPIOLIB=y CONFIG_ANDROID_TIMED_GPIO (only 3.18, 4.4) CONFIG_HID_GENERIC=y "Support for generic devices on the HID bus" CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL CONFIG_KEYS=y CONFIG_ASYMMETRIC_KEY_TYPE CONFIG_MISC_FILESYSTEMS=y fs/pstore/Kconfig Bug: 79875143 Change-Id: Ifb76ee5883ff5541771e9a951c055b99fd09e029 Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-05-16 22:53:40 +02:00
CONFIG_CONFIGFS_FS=y
CONFIG_COREDUMP=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
CONFIG_DEBUG_RODATA=y
CONFIG_DEFAULT_USE_ENERGY_AWARE=y
CONFIG_DM_CRYPT=y
CONFIG_DM_UEVENT=y
CONFIG_DM_VERITY_FEC=y
CONFIG_DRAGONRISE_FF=y
CONFIG_ELF_CORE=y
CONFIG_ENABLE_DEFAULT_TRACERS=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_F2FS_FS=y
CONFIG_F2FS_FS_SECURITY=y
CONFIG_FTRACE=y
CONFIG_GREENASIA_FF=y
CONFIG_HIDRAW=y
CONFIG_HID_A4TECH=y
CONFIG_HID_ACRUX=y
CONFIG_HID_ACRUX_FF=y
CONFIG_HID_APPLE=y
CONFIG_HID_BELKIN=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DRAGONRISE=y
CONFIG_HID_ELECOM=y
CONFIG_HID_EMS_FF=y
CONFIG_HID_EZKEY=y
Enable more options required as dependencies. When verifying the android-base and android-recommended configurations, it is useful to start from as minimal a kernel config as possible. The most minimal config is "allnoconfig". However, the "allnoconfig" experiment highlights a design problem with these kernel config fragments. The 'depends' for the options we want to turn on won't be turned on if the defconfig used as the first parameter to scripts/kconfig/merge_config.sh forcibly turned them off, even if the options were 'default y' or 'default m'. So, rather than relying on somebody running the merge_config.sh having the 'depends' set favorably for dependent options, explicitly define all of the dependencies with =y. When testing with an "allnoconfig", which is a worst-case scenario, all of the 'base' and 'recommended' options are now turned on correctly. android-base.cfg: CONFIG_ADVISE_SYSCALLS=y bionic: madvise, posix_madvise, etc. CONFIG_BLOCK=y CONFIG_EXT4_FS, CONFIG_F2FS_FS CONFIG_EPOLL=y bionic: epoll_create, etc. CONFIG_EVENTFD=y bionic: eventfd etc. CONFIG_FUTEX=y bionic: __futex_wait, __futex_wake. CONFIG_PROC_FS=y bionic: linker, pthread, etc. CONFIG_PROFILING=y CONFIG_UID_SYS_STATS (missing only on 3.18) CONFIG_SHMEM=y CONFIG_ASHMEM CONFIG_SIGNALFD=y bionic: signalfd, signalfd64, etc. CONFIG_SUSPEND=y CONFIG_PM_SLEEP via CONFIG_PM_WAKELOCKS. CONFIG_SYSFS=y bionic: sysinfo, selinux CONFIG_TIMERFD=y bionic: timerfd_create, etc. CONFIG_USB_SUPPORT=y CONFIG_USB_GADGET android-recommended.cfg: CONFIG_CONFIGFS_FS=y CONFIG_SDCARD_FS CONFIG_GPIOLIB=y CONFIG_ANDROID_TIMED_GPIO (only 3.18, 4.4) CONFIG_HID_GENERIC=y "Support for generic devices on the HID bus" CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL CONFIG_KEYS=y CONFIG_ASYMMETRIC_KEY_TYPE CONFIG_MISC_FILESYSTEMS=y fs/pstore/Kconfig Bug: 79875143 Change-Id: Ifb76ee5883ff5541771e9a951c055b99fd09e029 Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-05-16 22:53:40 +02:00
CONFIG_HID_GENERIC=y
CONFIG_HID_GREENASIA=y
CONFIG_HID_GYRATION=y
CONFIG_HID_HOLTEK=y
CONFIG_HID_KENSINGTON=y
CONFIG_HID_KEYTOUCH=y
CONFIG_HID_KYE=y
CONFIG_HID_LCPOWER=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_LOGITECH_DJ=y
CONFIG_HID_MAGICMOUSE=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_MULTITOUCH=y
CONFIG_HID_NTRIG=y
CONFIG_HID_ORTEK=y
CONFIG_HID_PANTHERLORD=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_PICOLCD=y
CONFIG_HID_PRIMAX=y
CONFIG_HID_PRODIKEYS=y
CONFIG_HID_ROCCAT=y
CONFIG_HID_SAITEK=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SMARTJOYPLUS=y
CONFIG_HID_SONY=y
CONFIG_HID_SPEEDLINK=y
CONFIG_HID_SUNPLUS=y
CONFIG_HID_THRUSTMASTER=y
CONFIG_HID_TIVO=y
CONFIG_HID_TOPSEED=y
CONFIG_HID_TWINHAN=y
CONFIG_HID_UCLOGIC=y
CONFIG_HID_WACOM=y
CONFIG_HID_WALTOP=y
CONFIG_HID_WIIMOTE=y
CONFIG_HID_ZEROPLUS=y
CONFIG_HID_ZYDACRON=y
CONFIG_INPUT=y
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_GPIO=y
CONFIG_INPUT_JOYSTICK=y
CONFIG_INPUT_KEYRESET=y
CONFIG_INPUT_MISC=y
CONFIG_INPUT_TABLET=y
CONFIG_INPUT_UINPUT=y
CONFIG_ION=y
CONFIG_JOYSTICK_XPAD=y
CONFIG_JOYSTICK_XPAD_FF=y
CONFIG_JOYSTICK_XPAD_LEDS=y
Enable more options required as dependencies. When verifying the android-base and android-recommended configurations, it is useful to start from as minimal a kernel config as possible. The most minimal config is "allnoconfig". However, the "allnoconfig" experiment highlights a design problem with these kernel config fragments. The 'depends' for the options we want to turn on won't be turned on if the defconfig used as the first parameter to scripts/kconfig/merge_config.sh forcibly turned them off, even if the options were 'default y' or 'default m'. So, rather than relying on somebody running the merge_config.sh having the 'depends' set favorably for dependent options, explicitly define all of the dependencies with =y. When testing with an "allnoconfig", which is a worst-case scenario, all of the 'base' and 'recommended' options are now turned on correctly. android-base.cfg: CONFIG_ADVISE_SYSCALLS=y bionic: madvise, posix_madvise, etc. CONFIG_BLOCK=y CONFIG_EXT4_FS, CONFIG_F2FS_FS CONFIG_EPOLL=y bionic: epoll_create, etc. CONFIG_EVENTFD=y bionic: eventfd etc. CONFIG_FUTEX=y bionic: __futex_wait, __futex_wake. CONFIG_PROC_FS=y bionic: linker, pthread, etc. CONFIG_PROFILING=y CONFIG_UID_SYS_STATS (missing only on 3.18) CONFIG_SHMEM=y CONFIG_ASHMEM CONFIG_SIGNALFD=y bionic: signalfd, signalfd64, etc. CONFIG_SUSPEND=y CONFIG_PM_SLEEP via CONFIG_PM_WAKELOCKS. CONFIG_SYSFS=y bionic: sysinfo, selinux CONFIG_TIMERFD=y bionic: timerfd_create, etc. CONFIG_USB_SUPPORT=y CONFIG_USB_GADGET android-recommended.cfg: CONFIG_CONFIGFS_FS=y CONFIG_SDCARD_FS CONFIG_GPIOLIB=y CONFIG_ANDROID_TIMED_GPIO (only 3.18, 4.4) CONFIG_HID_GENERIC=y "Support for generic devices on the HID bus" CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL CONFIG_KEYS=y CONFIG_ASYMMETRIC_KEY_TYPE CONFIG_MISC_FILESYSTEMS=y fs/pstore/Kconfig Bug: 79875143 Change-Id: Ifb76ee5883ff5541771e9a951c055b99fd09e029 Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-05-16 22:53:40 +02:00
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
Enable more options required as dependencies. When verifying the android-base and android-recommended configurations, it is useful to start from as minimal a kernel config as possible. The most minimal config is "allnoconfig". However, the "allnoconfig" experiment highlights a design problem with these kernel config fragments. The 'depends' for the options we want to turn on won't be turned on if the defconfig used as the first parameter to scripts/kconfig/merge_config.sh forcibly turned them off, even if the options were 'default y' or 'default m'. So, rather than relying on somebody running the merge_config.sh having the 'depends' set favorably for dependent options, explicitly define all of the dependencies with =y. When testing with an "allnoconfig", which is a worst-case scenario, all of the 'base' and 'recommended' options are now turned on correctly. android-base.cfg: CONFIG_ADVISE_SYSCALLS=y bionic: madvise, posix_madvise, etc. CONFIG_BLOCK=y CONFIG_EXT4_FS, CONFIG_F2FS_FS CONFIG_EPOLL=y bionic: epoll_create, etc. CONFIG_EVENTFD=y bionic: eventfd etc. CONFIG_FUTEX=y bionic: __futex_wait, __futex_wake. CONFIG_PROC_FS=y bionic: linker, pthread, etc. CONFIG_PROFILING=y CONFIG_UID_SYS_STATS (missing only on 3.18) CONFIG_SHMEM=y CONFIG_ASHMEM CONFIG_SIGNALFD=y bionic: signalfd, signalfd64, etc. CONFIG_SUSPEND=y CONFIG_PM_SLEEP via CONFIG_PM_WAKELOCKS. CONFIG_SYSFS=y bionic: sysinfo, selinux CONFIG_TIMERFD=y bionic: timerfd_create, etc. CONFIG_USB_SUPPORT=y CONFIG_USB_GADGET android-recommended.cfg: CONFIG_CONFIGFS_FS=y CONFIG_SDCARD_FS CONFIG_GPIOLIB=y CONFIG_ANDROID_TIMED_GPIO (only 3.18, 4.4) CONFIG_HID_GENERIC=y "Support for generic devices on the HID bus" CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL CONFIG_KEYS=y CONFIG_ASYMMETRIC_KEY_TYPE CONFIG_MISC_FILESYSTEMS=y fs/pstore/Kconfig Bug: 79875143 Change-Id: Ifb76ee5883ff5541771e9a951c055b99fd09e029 Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-05-16 22:53:40 +02:00
CONFIG_KEYS=y
CONFIG_KPROBES=y
CONFIG_KPROBE_EVENT=y
CONFIG_KSM=y
CONFIG_LOGIG940_FF=y
CONFIG_LOGIRUMBLEPAD2_FF=y
CONFIG_LOGITECH_FF=y
CONFIG_MEDIA_SUPPORT=y
Enable more options required as dependencies. When verifying the android-base and android-recommended configurations, it is useful to start from as minimal a kernel config as possible. The most minimal config is "allnoconfig". However, the "allnoconfig" experiment highlights a design problem with these kernel config fragments. The 'depends' for the options we want to turn on won't be turned on if the defconfig used as the first parameter to scripts/kconfig/merge_config.sh forcibly turned them off, even if the options were 'default y' or 'default m'. So, rather than relying on somebody running the merge_config.sh having the 'depends' set favorably for dependent options, explicitly define all of the dependencies with =y. When testing with an "allnoconfig", which is a worst-case scenario, all of the 'base' and 'recommended' options are now turned on correctly. android-base.cfg: CONFIG_ADVISE_SYSCALLS=y bionic: madvise, posix_madvise, etc. CONFIG_BLOCK=y CONFIG_EXT4_FS, CONFIG_F2FS_FS CONFIG_EPOLL=y bionic: epoll_create, etc. CONFIG_EVENTFD=y bionic: eventfd etc. CONFIG_FUTEX=y bionic: __futex_wait, __futex_wake. CONFIG_PROC_FS=y bionic: linker, pthread, etc. CONFIG_PROFILING=y CONFIG_UID_SYS_STATS (missing only on 3.18) CONFIG_SHMEM=y CONFIG_ASHMEM CONFIG_SIGNALFD=y bionic: signalfd, signalfd64, etc. CONFIG_SUSPEND=y CONFIG_PM_SLEEP via CONFIG_PM_WAKELOCKS. CONFIG_SYSFS=y bionic: sysinfo, selinux CONFIG_TIMERFD=y bionic: timerfd_create, etc. CONFIG_USB_SUPPORT=y CONFIG_USB_GADGET android-recommended.cfg: CONFIG_CONFIGFS_FS=y CONFIG_SDCARD_FS CONFIG_GPIOLIB=y CONFIG_ANDROID_TIMED_GPIO (only 3.18, 4.4) CONFIG_HID_GENERIC=y "Support for generic devices on the HID bus" CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL CONFIG_KEYS=y CONFIG_ASYMMETRIC_KEY_TYPE CONFIG_MISC_FILESYSTEMS=y fs/pstore/Kconfig Bug: 79875143 Change-Id: Ifb76ee5883ff5541771e9a951c055b99fd09e029 Signed-off-by: Alistair Strachan <astrachan@google.com>
2018-05-16 22:53:40 +02:00
CONFIG_MISC_FILESYSTEMS=y
CONFIG_MSDOS_FS=y
CONFIG_NET_SCH_NETEM=y
CONFIG_OVERLAY_FS=y
CONFIG_PANIC_TIMEOUT=5
CONFIG_PANTHERLORD_FF=y
CONFIG_PERF_EVENTS=y
CONFIG_PM_DEBUG=y
CONFIG_PM_WAKELOCKS_LIMIT=0
CONFIG_POWER_SUPPLY=y
CONFIG_PSTORE=y
CONFIG_PSTORE_CONSOLE=y
CONFIG_PSTORE_RAM=y
CONFIG_SCHEDSTATS=y
CONFIG_SCHED_TUNE=y
CONFIG_SDCARD_FS=y
CONFIG_SMARTJOYPLUS_FF=y
CONFIG_SND=y
CONFIG_SOUND=y
CONFIG_TABLET_USB_ACECAD=y
CONFIG_TABLET_USB_AIPTEK=y
CONFIG_TABLET_USB_GTCO=y
CONFIG_TABLET_USB_HANWANG=y
CONFIG_TABLET_USB_KBTAB=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TIMER_STATS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_UHID=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_USBNET=y
CONFIG_VFAT_FS=y