hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/microblaze/Kconfig
....@@ -1,18 +1,21 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config MICROBLAZE
23 def_bool y
4
+ select ARCH_32BIT_OFF_T
35 select ARCH_NO_SWAP
6
+ select ARCH_HAS_BINFMT_FLAT if !MMU
7
+ select ARCH_HAS_DMA_PREP_COHERENT
48 select ARCH_HAS_GCOV_PROFILE_ALL
59 select ARCH_HAS_SYNC_DMA_FOR_CPU
610 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
11
+ select ARCH_HAS_DMA_SET_UNCACHED if !MMU
712 select ARCH_MIGHT_HAVE_PC_PARPORT
8
- select ARCH_NO_COHERENT_DMA_MMAP if !MMU
913 select ARCH_WANT_IPC_PARSE_VERSION
10
- select BUILDTIME_EXTABLE_SORT
14
+ select BUILDTIME_TABLE_SORT
1115 select TIMER_OF
1216 select CLONE_BACKWARDS3
1317 select COMMON_CLK
14
- select DMA_NONCOHERENT_OPS
15
- select DMA_NONCOHERENT_MMAP
18
+ select DMA_DIRECT_REMAP if MMU
1619 select GENERIC_ATOMIC64
1720 select GENERIC_CLOCKEVENTS
1821 select GENERIC_CPU_DEVICES
....@@ -23,23 +26,28 @@
2326 select GENERIC_SCHED_CLOCK
2427 select HAVE_ARCH_HASH
2528 select HAVE_ARCH_KGDB
29
+ select HAVE_ARCH_SECCOMP
2630 select HAVE_DEBUG_KMEMLEAK
31
+ select HAVE_DMA_CONTIGUOUS
2732 select HAVE_DYNAMIC_FTRACE
2833 select HAVE_FTRACE_MCOUNT_RECORD
2934 select HAVE_FUNCTION_GRAPH_TRACER
3035 select HAVE_FUNCTION_TRACER
31
- select NO_BOOTMEM
32
- select HAVE_MEMBLOCK
33
- select HAVE_MEMBLOCK_NODE_MAP
3436 select HAVE_OPROFILE
37
+ select HAVE_PCI
3538 select IRQ_DOMAIN
3639 select XILINX_INTC
3740 select MODULES_USE_ELF_RELA
3841 select OF
3942 select OF_EARLY_FLATTREE
43
+ select PCI_DOMAINS_GENERIC if PCI
44
+ select PCI_SYSCALL if PCI
4045 select TRACING_SUPPORT
4146 select VIRT_TO_BUS
4247 select CPU_NO_EFFICIENT_FFS
48
+ select MMU_GATHER_NO_RANGE if MMU
49
+ select SPARSE_IRQ
50
+ select SET_FS
4351
4452 # Endianness selection
4553 choice
....@@ -57,14 +65,8 @@
5765
5866 endchoice
5967
60
-config RWSEM_GENERIC_SPINLOCK
61
- def_bool y
62
-
6368 config ZONE_DMA
6469 def_bool y
65
-
66
-config RWSEM_XCHGADD_ALGORITHM
67
- bool
6870
6971 config ARCH_HAS_ILOG2_U32
7072 def_bool n
....@@ -119,23 +121,6 @@
119121 help
120122 Set this to have arguments from the default kernel command string
121123 override those passed by the boot loader.
122
-
123
-config SECCOMP
124
- bool "Enable seccomp to safely compute untrusted bytecode"
125
- depends on PROC_FS
126
- default y
127
- help
128
- This kernel feature is useful for number crunching applications
129
- that may need to compute untrusted bytecode during their
130
- execution. By using pipes or other transports made available to
131
- the process as file descriptors supporting the read/write
132
- syscalls, it's possible to isolate those applications in
133
- their own address space using seccomp. Once seccomp is
134
- enabled via /proc/<pid>/seccomp, it cannot be disabled
135
- and the task is only allowed to execute a few safe syscalls
136
- defined by each seccomp mode.
137
-
138
- If unsure, say Y. Only embedded should say N here.
139124
140125 endmenu
141126
....@@ -268,22 +253,8 @@
268253
269254 menu "Bus Options"
270255
271
-config PCI
272
- bool "PCI support"
273
-
274
-config PCI_DOMAINS
275
- def_bool PCI
276
-
277
-config PCI_DOMAINS_GENERIC
278
- def_bool PCI_DOMAINS
279
-
280
-config PCI_SYSCALL
281
- def_bool PCI
282
-
283256 config PCI_XILINX
284257 bool "Xilinx PCI host bridge support"
285258 depends on PCI
286
-
287
-source "drivers/pci/Kconfig"
288259
289260 endmenu