rt-patch: add preempt-rt patch to rpi kernel
[openadk.git] / target / linux / config / Config.in.kernel
blobb53b5f025e27c4e9b44e8a793b29d18646666229
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 config ADK_KERNEL_EXPERIMENTAL
5         bool
6         default y
8 config ADK_KERNEL_STAGING
9         bool
11 config ADK_KERNEL_CGROUP_CPUACCT
12         bool
14 config ADK_KERNEL_CGROUP_DEVICE
15         bool
17 config ADK_KERNEL_CGROUP_SCHED
18         bool
20 config ADK_KERNEL_CGROUPS
21         bool
23 config ADK_KERNEL_NAMESPACES
24         bool
26 config ADK_KERNEL_FHANDLE
27         bool
29 config ADK_KERNEL_AUDIT
30         bool
32 config ADK_KERNEL_RESET_CONTROLLER
33         bool
35 config ADK_KERNEL_BLK_DEV_INITRD
36         bool
38 config ADK_KERNEL_BLK_DEV_RAM
39         bool
41 config ADK_KERNEL_NETWORK_FILESYSTEMS
42         bool
44 config ADK_KERNEL_IP_PNP
45         bool
47 config ADK_KERNEL_IP_PNP_DHCP
48         bool
50 config ADK_KERNEL_ROOT_NFS
51         bool
53 config ADK_KERNEL_NFS_COMMON
54         bool
56 config ADK_KERNEL_64BIT
57         bool
58         default y if ADK_LINUX_64
60 # ARM specific
61 config ADK_KERNEL_AEABI
62         bool
63         default y if ADK_TARGET_ARCH_ARM
65 config ADK_KERNEL_ARM_THUMB
66         bool
68 config ADK_KERNEL_THUMB2_KERNEL
69         bool
71 # endianess
72 config ADK_KERNEL_CPU_BIG_ENDIAN
73         bool
74         default y if ADK_TARGET_BIG_ENDIAN
76 config ADK_KERNEL_CPU_LITTLE_ENDIAN
77         bool
78         default y if ADK_TARGET_LITTLE_ENDIAN
80 menu "Kernel options"
82 config ADK_KERNEL_MODULE_UNLOAD
83         bool "Module unloading"
85 config ADK_KERNEL_HOTPLUG
86         bool
88 config ADK_KERNEL_DEVTMPFS
89         bool
91 config ADK_KERNEL_DEVTMPFS_MOUNT
92         bool
93         select ADK_KERNEL_HOTPLUG
95 config ADK_KERNEL_UEVENT_HELPER
96         bool
97         depends on ADK_RUNTIME_DEV_MDEV
98         default y if ADK_RUNTIME_DEV_MDEV
100 config ADK_KERNEL_UEVENT_HELPER_PATH
101         string
102         default "/sbin/mdev"
103         depends on ADK_RUNTIME_DEV_MDEV
105 config ADK_KERNEL_BINFMT_ELF
106         bool
107         default y if ADK_TARGET_BINFMT_ELF
109 config ADK_KERNEL_BINFMT_ELF_FDPIC
110         bool
111         default y if ADK_TARGET_BINFMT_FDPIC
113 config ADK_KERNEL_BINFMT_FLAT
114         bool
115         default y if ADK_TARGET_BINFMT_FLAT
117 config ADK_KERNEL_BINFMT_SHARED_FLAT
118         bool
119         default y if ADK_TARGET_BINFMT_FLAT_SHARED
121 config ADK_KERNEL_MMU
122         bool
124 config ADK_KERNEL_VFP
125         bool
126         default y if ADK_TARGET_CPU_WITH_FPU_VFP
128 config ADK_KERNEL_VFPv3
129         bool
130         select ADK_KERNEL_VFP
131         default y if ADK_TARGET_CPU_WITH_FPU_VFPV3 || ADK_TARGET_CPU_WITH_FPU_VFPV4
133 config ADK_KERNEL_NEON
134         bool
135         default y if ADK_TARGET_ARCH_ARM_WITH_NEON
137 config ADK_KERNEL_KERNEL_MODE_NEON
138         bool
139         default y if ADK_TARGET_ARCH_ARM_WITH_NEON
141 config ADK_KERNEL_PATCH_REALTIME
142         bool
143         
144 choice
145 prompt "preemptive mode"
147 config ADK_KERNEL_PREEMPT_NONE
148         bool "No Forced Preemption (Server)"
149         help
150           No Forced Preemption (Server)
152 config ADK_KERNEL_PREEMPT_VOLUNTARY
153         bool "Voluntary Kernel Preemption (Desktop)"
154         select ADK_KERNEL_HIGH_RES_TIMERS
155         help
156           Voluntary Kernel Preemption (Desktop)
158 config ADK_KERNEL_PREEMPT__LL
159         bool "Preemptible Kernel (Low-Latency Desktop)"
160         select ADK_KERNEL_HIGH_RES_TIMERS
161         help
162           Preemptible Kernel (Low-Latency Desktop)
164 config ADK_KERNEL_PREEMPT_RTB
165         bool "Preemptible Kernel (Basic RealTime)"
166         select ADK_KERNEL_HIGH_RES_TIMERS
167         select ADK_KERNEL_PATCH_REALTIME
168         depends on !ADK_KERNEL_OPROFILE
169         depends on ADK_TARGET_KERNEL_VERSION_4_1 \
170                 || ADK_TARGET_KERNEL_VERSION_4_4 \
171                 || ADK_TARGET_KERNEL_VERSION_4_9 \
172                 || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
173         help
174           Preemptible Kernel (Basic RT)
176 config ADK_KERNEL_PREEMPT_RT_FULL
177         bool "Fully Preemptible Kernel (RealTime)"
178         select ADK_KERNEL_HIGH_RES_TIMERS
179         select ADK_KERNEL_PATCH_REALTIME
180         depends on !ADK_KERNEL_OPROFILE
181         depends on ADK_TARGET_KERNEL_VERSION_4_1 \
182                 || ADK_TARGET_KERNEL_VERSION_4_4 \
183                 || ADK_TARGET_KERNEL_VERSION_4_9 \
184                 || (ADK_TARGET_KERNEL_VERSION_GIT && ADK_TARGET_BOARD_BCM28XX)
185         help
186           Fully Preemptible Kernel (RealTime)
187           https://www.kernel.org/pub/linux/kernel/projects/rt/
189 endchoice
191 config ADK_KERNEL_HIGH_RES_TIMERS
192         bool "Enable high resolution timers"
194 choice
195 prompt "tick configuration"
197 config ADK_KERNEL_NO_HZ_IDLE
198         bool "no HZ IDLE, dynamic tick"
200 config ADK_KERNEL_NO_HZ_FULL
201         bool "no HZ FULL, dynamic tick"
203 config ADK_KERNEL_HZ_PERIODIC
204         bool "periodic tick"
206 endchoice
208 choice
209 prompt "HZ"
210 depends on ADK_KERNEL_HZ_PERIODIC
212 config ADK_KERNEL_HZ_100
213         bool "100 HZ"
215 config ADK_KERNEL_HZ_500
216         bool "500 HZ"
218 config ADK_KERNEL_HZ_1000
219         bool "1000 HZ"
221 endchoice
223 config ADK_TARGET_NO_CMDLINE
224         bool "Do not builtin any kernel cmdline"
225         help
226           No kernel command line modifictaion is done.
228 config ADK_KERNEL_SMP
229         bool "Enable symmetric multi processing"
230         depends on ADK_TARGET_WITH_SMP
231         default y if ADK_TARGET_WITH_SMP
232         default n
233         help
234           Enable symmetric multi processing support.
236 config ADK_KERNEL_HIGHMEM
237         bool "Enable high memory"
238         # produces broken kernel on bcm28xx
239         depends on !ADK_TARGET_BOARD_BCM28XX
240         default y if ADK_TARGET_SYSTEM_IBM_X40
241         default y if ADK_TARGET_MODEL_CUBOX_I4PRO
242         default y if ADK_TARGET_MODEL_CUBOX_I2ULTRA
243         default y if ADK_TARGET_MODEL_CUBOX_I2EX
244         default y if ADK_TARGET_SYSTEM_ASUS_P5BVM
245         default y if ADK_TARGET_SYSTEM_PCENGINES_APU
246         default n
247         help
248           Enable high memory support.
250 config ADK_KERNEL_CC_OPTIMIZE_FOR_SIZE
251         bool "Optimize for size"
252         # does not boot in qemu-microblaze
253         depends on !ADK_TARGET_ARCH_MICROBLAZE
254         default y
257 choice
258 prompt "Page size"
259 depends on ADK_TARGET_ARCH_MIPS64
260 default ADK_KERNEL_PAGE_SIZE_16KB if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
261 default ADK_KERNEL_PAGE_SIZE_4KB
263 config ADK_KERNEL_PAGE_SIZE_4KB
264         bool "4kB"
266 config ADK_KERNEL_PAGE_SIZE_16KB
267         bool "16kB"
269 config ADK_KERNEL_PAGE_SIZE_64KB
270         bool "64kB"
272 endchoice
274 endmenu