1 dnl --- T2-COPYRIGHT-NOTE-BEGIN ---
2 dnl T2 SDE: architecture/share/linux-common.conf.m4
3 dnl Copyright (C) 2004 - 2021 The T2 SDE Project
5 dnl This Copyright note is generated by scripts/Create-CopyPatch,
6 dnl more information can be found in the files COPYING and README.
8 dnl This program is free software; you can redistribute it and/or modify
9 dnl it under the terms of the GNU General Public License version 2.
10 dnl --- T2-COPYRIGHT-NOTE-END ---
12 dnl Default console loglevel, new since 4.10, before we patched it
13 CONFIG_CONSOLE_LOGLEVEL_DEFAULT=4
14 dnl CONFIG_SECURITY_DMESG_RESTRICT is not
15 CONFIG_DEFAULT_HOSTNAME="t2"
17 dnl Enable experimental features, and stagging drivers
21 # CONFIG_STAGING_EXCLUDE_BUILD is not set
22 # CONFIG_IKHEADERS is not set
24 dnl Power management and ACPI options
28 CONFIG_ACPI_PROCFS_POWER=y
29 CONFIG_ACPI_SYSFS_POWER=y
30 CONFIG_ACPI_PROC_EVENT=y
38 CONFIG_ACPI_PROCESSOR=y
39 CONFIG_ACPI_PROCESSOR_AGGREGATOR=m
40 CONFIG_ACPI_HOTPLUG_CPU=y
42 CONFIG_ACPI_PCI_SLOT=y
43 CONFIG_ACPI_HOTPLUG_MEMORY=y
47 CONFIG_ACPI_APEI_GHES=y
48 CONFIG_ACPI_APEI_PCIEAER=y
49 CONFIG_HOTPLUG_PCI_ACPI=y
53 dnl On default we build SMP kernels and mods
57 CONFIG_CHECKPOINT_RESTORE=y
58 CONFIG_SCHED_AUTOGROUP=y
61 CONFIG_IRQ_TIME_ACCOUNTING=y
65 dnl For sandboxing, e.g. Chrome
70 dnl Default kernel and initrd compression (if available)
74 # CONFIG_RD_BZIP2 is not set
75 # CONFIG_RD_LZMA is not set
76 # CONFIG_RD_XZ is not set
77 # CONFIG_RD_LZO is not set
78 # CONFIG_RD_LZ4 is not set
84 CONFIG_MEMORY_HOTPLUG=y
85 CONFIG_MEMORY_HOTREMOVE=y
87 CONFIG_DEVICE_PRIVATE=y
90 dnl No HZ and HPET, if the arch has it ...
94 CONFIG_HIGH_RES_TIMERS=y
98 dnl just the default, a arch or target might still set other defaults
99 # CONFIG_PREEMPT_RT is not set
100 # CONFIG_PREEMPT_NONE is not set
101 CONFIG_PREEMPT_VOLUNTARY=y
103 dnl misc nice to have features
107 # CONFIG_COMPAT_BRK is not set
108 CONFIG_VIRTUALIZATION=y
109 CONFIG_HYPERVISOR_GUEST=y
110 CONFIG_PARAVIRT_GUEST=y
114 CONFIG_VFIO_PCI_VGA=y
117 CONFIG_BPF_UNPRIV_DEFAULT_OFF=y
126 dnl the old "HIBERNATION" option
127 CONFIG_SOFTWARE_SUSPEND=y
131 dnl CPU frequency scaling is nice to have
135 CONFIG_CPU_IDLE_GOV_LADDER=y
136 CONFIG_CPU_IDLE_GOV_TEO=y
137 CONFIG_CPU_IDLE_GOV_HALTPOLL=y
138 CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
139 CONFIG_CPU_FREQ_GOV_ONDEMAND=m
140 CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y
141 CONFIG_CPU_FREQ_GOV_PERFORMANCE=m
142 CONFIG_ENERGY_MODEL=y
147 CONFIG_MODULE_UNLOAD=y
148 # CONFIG_MODULE_FORCE_UNLOAD is not set
149 # CONFIG_MODVERSIONS is not set
152 dnl Firmware loader can always be useful
155 CONFIG_FW_LOADER_COMPRESS_ZSTD=y
156 # CONFIG_FW_CACHE is not set
167 CONFIG_HOTPLUG_PCI_PCIE=y
174 dnl PCI name database is also quite big (another >80kB) - so let's use user-
175 dnl space tools like lspci to use a non-kernel database
177 # CONFIG_PCI_NAMES ist not set
179 dnl Loopback device can always be useful
181 CONFIG_BLK_DEV_LOOP=y
183 dnl We need initrd for install system and fully modular kernel early userspace
186 CONFIG_BLK_DEV_INITRD=y
188 dnl Enable PCMCIA (PC-Card) as modules
200 CONFIG_BINFMT_SCRIPT=y
208 dnl (module support is enought - default is y ...)
212 dnl for 2.5/6 we do want the ALSA OSS emulation ...
215 CONFIG_SND_DYNAMIC_MINORS=y
216 CONFIG_SND_HDA_HWDEP=y
218 dnl Basic Input devices
219 dnl Good old standard ports, classic serial, PS/2, should just work.
223 CONFIG_INPUT_MOUSEDEV=m
224 CONFIG_INPUT_JOYDEV=m
225 CONFIG_INPUT_KEYBOARD=y
227 CONFIG_INPUT_JOYSTICK=y
228 CONFIG_INPUT_TOUCHSCREEN=y
229 CONFIG_INPUT_TABLET=y
231 # CONFIG_INPUT_EVBUG is not set
234 CONFIG_SERIO_PCIPS2=y
235 CONFIG_KEYBOARD_ATKBD=y
236 CONFIG_MOUSE_SERIAL=m
239 dnl LED devices & trigger
242 CONFIG_LEDS_TRIGGERS=y
243 CONFIG_LEDS_TRIGGER_IDE_DISK=y
252 CONFIG_USB_DYNAMIC_MINORS=y
253 CONFIG_USB_DEVICEFS=y
255 CONFIG_USB_EHCI_HCD=m
256 CONFIG_USB_EHCI_ROOT_HUB_TT=y
258 CONFIG_USB_UHCI_ALT=m
259 CONFIG_USB_UHCI_HCD=m
261 CONFIG_USB_OHCI_HCD=m
262 CONFIG_USB_XHCI_PCI=m
263 CONFIG_USB_XHCI_PLATFORM=y
265 CONFIG_HID_BATTERY_STRENGTH=y
266 CONFIG_USB_HIDINPUT=m
270 dnl allows manual vendor/product ID override
271 CONFIG_USB_SERIAL_GENERIC=y
273 dnl USB - some others should be modular ...
278 dnl IEEE1394 - Firewire / iLink drivers
281 CONFIG_IEEE1394_SBP2=m
286 dnl Fix btrfs in initrd, as no explicit dependency
287 CONFIG_CRYPTO_CRC32C=y
289 dnl Console (FB) Options
293 CONFIG_VIDEO_SELECT=y
294 CONFIG_VIDEO_OUTPUT_CONTROL=y
296 CONFIG_FRAMEBUFFER_CONSOLE=y
297 CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
301 CONFIG_MEDIA_SUPPORT=m
302 CONFIG_MEDIA_CAMERA_SUPPORT=y
303 CONFIG_MEDIA_USB_SUPPORT=y
304 CONFIG_MEDIA_PCI_SUPPORT=y
306 dnl Console (Serial) Options
310 CONFIG_SERIAL_CONSOLE=y
312 CONFIG_SERIAL_8250_PCI=y
313 CONFIG_SERIAL_8250_PNP=y
314 CONFIG_SERIAL_8250_CONSOLE=y
315 CONFIG_SERIAL_NONSTANDARD=y
316 CONFIG_SERIAL_OF_PLATFORM=y
318 dnl Printer (Parallel) Options
323 CONFIG_PARPORT_1284=y
331 CONFIG_VIDEO_PROC_FS=y
333 dnl DVB - Digital Video Broadcasting support
336 dnl On architectures with OpenFirmware we want the framebuffer
340 dnl The AGP support can be modular
344 dnl DRM drivers for hardware 3D
348 CONFIG_DRM_I915_KMS=y
349 CONFIG_DRM_I915_GVT=y
351 CONFIG_DRM_AMD_DC_DCN1_0=y
354 dnl The 2.6 kernel has several debugging options enabled
356 # CONFIG_FRAME_POINTER is not set
358 dnl Enable kernel profiling support (oprofile)
363 dnl Other stuff normally needed
365 CONFIG_POSIX_MQUEUE=y
368 dnl Language stuff, code pages, ... (needed for vfat mounts)
372 dnl Some commonly useful debugging
374 CONFIG_DEBUG_KERNEL=y
377 CONFIG_FUNCTION_TRACER=y
383 dnl Other nice to have
387 dnl No unit test stuff
389 # CONFIG_SLUB_DEBUG is not set
390 # CONFIG_KUNIT is not set