]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/microblaze/Kconfig
microblaze: ftrace: Add dynamic trace support
[mirror_ubuntu-jammy-kernel.git] / arch / microblaze / Kconfig
CommitLineData
575ca288
MS
1# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3
4mainmenu "Linux/Microblaze Kernel Configuration"
5
6config MICROBLAZE
7 def_bool y
8 select HAVE_LMB
2fd7c761 9 select HAVE_FUNCTION_TRACER
6d9e60ce 10 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
7d241ff0
MS
11 select HAVE_DYNAMIC_FTRACE
12 select HAVE_FTRACE_MCOUNT_RECORD
afc26cb3 13 select USB_ARCH_HAS_EHCI
6fa612b5 14 select ARCH_WANT_OPTIONAL_GPIOLIB
575ca288
MS
15
16config SWAP
17 def_bool n
18
19config RWSEM_GENERIC_SPINLOCK
20 def_bool y
21
22config RWSEM_XCHGADD_ALGORITHM
23 bool
24
25config ARCH_HAS_ILOG2_U32
26 def_bool n
27
28config ARCH_HAS_ILOG2_U64
29 def_bool n
30
31config GENERIC_FIND_NEXT_BIT
32 def_bool y
33
34config GENERIC_HWEIGHT
35 def_bool y
36
37config GENERIC_HARDIRQS
38 def_bool y
39
40config GENERIC_IRQ_PROBE
41 def_bool y
42
43config GENERIC_CALIBRATE_DELAY
44 def_bool y
45
46config GENERIC_TIME
47 def_bool y
48
49config GENERIC_TIME_VSYSCALL
50 def_bool n
51
52config GENERIC_CLOCKEVENTS
53 def_bool y
54
55config GENERIC_HARDIRQS_NO__DO_IRQ
56 def_bool y
57
6fa612b5
MS
58config GENERIC_GPIO
59 def_bool y
60
14f87389
RLB
61config GENERIC_CSUM
62 def_bool y
63
24b45a12
MS
64config STACKTRACE_SUPPORT
65 def_bool y
66
bf2d8096
MS
67config LOCKDEP_SUPPORT
68 def_bool y
69
fb5a32dc
MS
70config HAVE_LATENCYTOP_SUPPORT
71 def_bool y
72
575ca288 73config PCI
575ca288
MS
74 def_bool n
75
76config NO_DMA
f2224ff0 77 def_bool y
575ca288
MS
78
79source "init/Kconfig"
80
81source "kernel/Kconfig.freezer"
82
83source "arch/microblaze/platform/Kconfig.platform"
84
85menu "Processor type and features"
86
87source kernel/time/Kconfig
88
89source "kernel/Kconfig.preempt"
90
91source "kernel/Kconfig.hz"
92
93config MMU
a116f6d5
MS
94 bool "MMU support"
95 default n
575ca288
MS
96
97config NO_MMU
98 bool
99 depends on !MMU
100 default y
101
102comment "Boot options"
103
104config CMDLINE_BOOL
105 bool "Default bootloader kernel arguments"
106
107config CMDLINE
108 string "Default kernel command string"
109 depends on CMDLINE_BOOL
110 default "console=ttyUL0,115200"
111 help
112 On some architectures there is currently no way for the boot loader
113 to pass arguments to the kernel. For these architectures, you should
114 supply some command-line options at build time by entering them
115 here.
116
117config CMDLINE_FORCE
118 bool "Force default kernel command string"
119 depends on CMDLINE_BOOL
120 default n
121 help
122 Set this to have arguments from the default kernel command string
123 override those passed by the boot loader.
124
125config OF
126 def_bool y
127
575ca288
MS
128config PROC_DEVICETREE
129 bool "Support for device tree in /proc"
130 depends on PROC_FS
131 help
132 This option adds a device-tree directory under /proc which contains
133 an image of the device tree that the kernel copies from Open
134 Firmware or other boot firmware. If unsure, say Y here.
135
136endmenu
137
a116f6d5
MS
138menu "Advanced setup"
139
140config ADVANCED_OPTIONS
141 bool "Prompt for advanced kernel configuration options"
142 depends on MMU
143 help
144 This option will enable prompting for a variety of advanced kernel
145 configuration options. These options can cause the kernel to not
146 work if they are set incorrectly, but can be used to optimize certain
147 aspects of kernel memory management.
148
149 Unless you know what you are doing, say N here.
150
151comment "Default settings for advanced configuration options are used"
152 depends on !ADVANCED_OPTIONS
153
154config HIGHMEM_START_BOOL
155 bool "Set high memory pool address"
156 depends on ADVANCED_OPTIONS && HIGHMEM
157 help
158 This option allows you to set the base address of the kernel virtual
159 area used to map high memory pages. This can be useful in
160 optimizing the layout of kernel virtual memory.
161
162 Say N here unless you know what you are doing.
163
164config HIGHMEM_START
165 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
166 depends on MMU
167 default "0xfe000000"
168
169config LOWMEM_SIZE_BOOL
170 bool "Set maximum low memory"
171 depends on ADVANCED_OPTIONS
172 help
173 This option allows you to set the maximum amount of memory which
174 will be used as "low memory", that is, memory which the kernel can
175 access directly, without having to set up a kernel virtual mapping.
176 This can be useful in optimizing the layout of kernel virtual
177 memory.
178
179 Say N here unless you know what you are doing.
180
181config LOWMEM_SIZE
182 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
183 depends on MMU
184 default "0x30000000"
185
186config KERNEL_START_BOOL
187 bool "Set custom kernel base address"
188 depends on ADVANCED_OPTIONS
189 help
190 This option allows you to set the kernel virtual address at which
191 the kernel will map low memory (the kernel image will be linked at
192 this address). This can be useful in optimizing the virtual memory
193 layout of the system.
194
195 Say N here unless you know what you are doing.
196
197config KERNEL_START
198 hex "Virtual address of kernel base" if KERNEL_START_BOOL
199 default "0xc0000000" if MMU
200 default KERNEL_BASE_ADDR if !MMU
201
202config TASK_SIZE_BOOL
203 bool "Set custom user task size"
204 depends on ADVANCED_OPTIONS
205 help
206 This option allows you to set the amount of virtual address space
207 allocated to user tasks. This can be useful in optimizing the
208 virtual memory layout of the system.
209
210 Say N here unless you know what you are doing.
211
212config TASK_SIZE
213 hex "Size of user task space" if TASK_SIZE_BOOL
214 depends on MMU
215 default "0x80000000"
216
217config CONSISTENT_START_BOOL
218 bool "Set custom consistent memory pool address"
219 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
220 help
221 This option allows you to set the base virtual address
222 of the the consistent memory pool. This pool of virtual
223 memory is used to make consistent memory allocations.
224
225config CONSISTENT_START
226 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
227 depends on MMU
228 default "0xff100000" if NOT_COHERENT_CACHE
229
230config CONSISTENT_SIZE_BOOL
231 bool "Set custom consistent memory pool size"
232 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
233 help
234 This option allows you to set the size of the the
235 consistent memory pool. This pool of virtual memory
236 is used to make consistent memory allocations.
237
238config CONSISTENT_SIZE
239 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
240 depends on MMU
241 default "0x00200000" if NOT_COHERENT_CACHE
242
243endmenu
244
575ca288
MS
245source "mm/Kconfig"
246
247menu "Exectuable file formats"
248
249source "fs/Kconfig.binfmt"
250
251endmenu
252
253source "net/Kconfig"
254
255source "drivers/Kconfig"
256
257source "fs/Kconfig"
258
259source "arch/microblaze/Kconfig.debug"
260
261source "security/Kconfig"
262
263source "crypto/Kconfig"
264
265source "lib/Kconfig"