.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | config 64BIT |
---|
2 | 3 | bool "64-bit kernel" if "$(ARCH)" = "sparc" |
---|
3 | 4 | default "$(ARCH)" = "sparc64" |
---|
.. | .. |
---|
14 | 15 | default y |
---|
15 | 16 | select ARCH_MIGHT_HAVE_PC_PARPORT if SPARC64 && PCI |
---|
16 | 17 | select ARCH_MIGHT_HAVE_PC_SERIO |
---|
| 18 | + select DMA_OPS |
---|
17 | 19 | select OF |
---|
18 | 20 | select OF_PROMTREE |
---|
| 21 | + select HAVE_ASM_MODVERSIONS |
---|
19 | 22 | select HAVE_IDE |
---|
20 | 23 | select HAVE_OPROFILE |
---|
21 | 24 | select HAVE_ARCH_KGDB if !SMP || SPARC64 |
---|
22 | 25 | select HAVE_ARCH_TRACEHOOK |
---|
| 26 | + select HAVE_ARCH_SECCOMP if SPARC64 |
---|
23 | 27 | select HAVE_EXIT_THREAD |
---|
| 28 | + select HAVE_PCI |
---|
24 | 29 | select SYSCTL_EXCEPTION_TRACE |
---|
25 | 30 | select RTC_CLASS |
---|
26 | 31 | select RTC_DRV_M48T59 |
---|
.. | .. |
---|
38 | 43 | select GENERIC_STRNCPY_FROM_USER |
---|
39 | 44 | select GENERIC_STRNLEN_USER |
---|
40 | 45 | select MODULES_USE_ELF_RELA |
---|
| 46 | + select PCI_SYSCALL if PCI |
---|
| 47 | + select PCI_MSI_ARCH_FALLBACKS if PCI_MSI |
---|
41 | 48 | select ODD_RT_SIGACTION |
---|
42 | 49 | select OLD_SIGSUSPEND |
---|
43 | | - select ARCH_HAS_SG_CHAIN |
---|
44 | 50 | select CPU_NO_EFFICIENT_FFS |
---|
45 | 51 | select LOCKDEP_SMALL if LOCKDEP |
---|
46 | 52 | select NEED_DMA_MAP_STATE |
---|
47 | 53 | select NEED_SG_DMA_LENGTH |
---|
48 | | - select HAVE_MEMBLOCK |
---|
49 | | - select NO_BOOTMEM |
---|
| 54 | + select SET_FS |
---|
50 | 55 | |
---|
51 | 56 | config SPARC32 |
---|
52 | 57 | def_bool !64BIT |
---|
| 58 | + select ARCH_32BIT_OFF_T |
---|
| 59 | + select ARCH_HAS_CPU_FINALIZE_INIT if !SMP |
---|
53 | 60 | select ARCH_HAS_SYNC_DMA_FOR_CPU |
---|
54 | | - select DMA_NONCOHERENT_OPS |
---|
55 | 61 | select GENERIC_ATOMIC64 |
---|
56 | 62 | select CLZ_TAB |
---|
57 | 63 | select HAVE_UID16 |
---|
.. | .. |
---|
63 | 69 | select HAVE_FUNCTION_GRAPH_TRACER |
---|
64 | 70 | select HAVE_KRETPROBES |
---|
65 | 71 | select HAVE_KPROBES |
---|
66 | | - select HAVE_RCU_TABLE_FREE if SMP |
---|
67 | | - select HAVE_MEMBLOCK_NODE_MAP |
---|
| 72 | + select MMU_GATHER_RCU_TABLE_FREE if SMP |
---|
68 | 73 | select HAVE_ARCH_TRANSPARENT_HUGEPAGE |
---|
69 | 74 | select HAVE_DYNAMIC_FTRACE |
---|
70 | 75 | select HAVE_FTRACE_MCOUNT_RECORD |
---|
71 | 76 | select HAVE_SYSCALL_TRACEPOINTS |
---|
72 | 77 | select HAVE_CONTEXT_TRACKING |
---|
| 78 | + select HAVE_TIF_NOHZ |
---|
73 | 79 | select HAVE_DEBUG_KMEMLEAK |
---|
74 | 80 | select IOMMU_HELPER |
---|
75 | 81 | select SPARSE_IRQ |
---|
.. | .. |
---|
79 | 85 | select RTC_DRV_STARFIRE |
---|
80 | 86 | select HAVE_PERF_EVENTS |
---|
81 | 87 | select PERF_USE_VMALLOC |
---|
82 | | - select IRQ_PREFLOW_FASTEOI |
---|
83 | 88 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
---|
84 | 89 | select HAVE_C_RECORDMCOUNT |
---|
85 | 90 | select HAVE_ARCH_AUDITSYSCALL |
---|
.. | .. |
---|
91 | 96 | select GENERIC_TIME_VSYSCALL |
---|
92 | 97 | select ARCH_CLOCKSOURCE_DATA |
---|
93 | 98 | select ARCH_HAS_PTE_SPECIAL |
---|
94 | | - |
---|
95 | | -config ARCH_DEFCONFIG |
---|
96 | | - string |
---|
97 | | - default "arch/sparc/configs/sparc32_defconfig" if SPARC32 |
---|
98 | | - default "arch/sparc/configs/sparc64_defconfig" if SPARC64 |
---|
| 99 | + select PCI_DOMAINS if PCI |
---|
| 100 | + select ARCH_HAS_GIGANTIC_PAGE |
---|
99 | 101 | |
---|
100 | 102 | config ARCH_PROC_KCORE_TEXT |
---|
101 | 103 | def_bool y |
---|
.. | .. |
---|
161 | 163 | |
---|
162 | 164 | config SMP |
---|
163 | 165 | bool "Symmetric multi-processing support" |
---|
164 | | - ---help--- |
---|
| 166 | + help |
---|
165 | 167 | This enables support for systems with more than one CPU. If you have |
---|
166 | 168 | a system with only one CPU, say N. If you have a system with more |
---|
167 | 169 | than one CPU, say Y. |
---|
.. | .. |
---|
176 | 178 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power |
---|
177 | 179 | Management" code will be disabled if you say Y here. |
---|
178 | 180 | |
---|
179 | | - See also <file:Documentation/lockup-watchdogs.txt> and the SMP-HOWTO |
---|
| 181 | + See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO |
---|
180 | 182 | available at <http://www.tldp.org/docs.html#howto>. |
---|
181 | 183 | |
---|
182 | 184 | If you don't know what to do here, say N. |
---|
.. | .. |
---|
189 | 191 | default 32 if SPARC32 |
---|
190 | 192 | default 4096 if SPARC64 |
---|
191 | 193 | |
---|
192 | | -source kernel/Kconfig.hz |
---|
193 | | - |
---|
194 | | -config RWSEM_GENERIC_SPINLOCK |
---|
195 | | - bool |
---|
196 | | - default y if SPARC32 |
---|
197 | | - |
---|
198 | | -config RWSEM_XCHGADD_ALGORITHM |
---|
199 | | - bool |
---|
200 | | - default y if SPARC64 |
---|
| 194 | +source "kernel/Kconfig.hz" |
---|
201 | 195 | |
---|
202 | 196 | config GENERIC_HWEIGHT |
---|
203 | 197 | bool |
---|
.. | .. |
---|
236 | 230 | help |
---|
237 | 231 | Say Y here to enable a faster early framebuffer boot console. |
---|
238 | 232 | |
---|
239 | | -config SECCOMP |
---|
240 | | - bool "Enable seccomp to safely compute untrusted bytecode" |
---|
241 | | - depends on SPARC64 && PROC_FS |
---|
242 | | - default y |
---|
243 | | - help |
---|
244 | | - This kernel feature is useful for number crunching applications |
---|
245 | | - that may need to compute untrusted bytecode during their |
---|
246 | | - execution. By using pipes or other transports made available to |
---|
247 | | - the process as file descriptors supporting the read/write |
---|
248 | | - syscalls, it's possible to isolate those applications in |
---|
249 | | - their own address space using seccomp. Once seccomp is |
---|
250 | | - enabled via /proc/<pid>/seccomp, it cannot be disabled |
---|
251 | | - and the task is only allowed to execute a few safe syscalls |
---|
252 | | - defined by each seccomp mode. |
---|
253 | | - |
---|
254 | | - If unsure, say Y. Only embedded should say N here. |
---|
255 | | - |
---|
256 | 233 | config HOTPLUG_CPU |
---|
257 | 234 | bool "Support for hot-pluggable CPUs" |
---|
258 | 235 | depends on SPARC64 && SMP |
---|
.. | .. |
---|
281 | 258 | config GENERIC_LOCKBREAK |
---|
282 | 259 | bool |
---|
283 | 260 | default y |
---|
284 | | - depends on SPARC64 && SMP && PREEMPT |
---|
| 261 | + depends on SPARC64 && SMP && PREEMPTION |
---|
285 | 262 | |
---|
286 | 263 | config NUMA |
---|
287 | 264 | bool "NUMA support" |
---|
.. | .. |
---|
295 | 272 | help |
---|
296 | 273 | Specify the maximum number of NUMA Nodes available on the target |
---|
297 | 274 | system. Increases memory reserved to accommodate various tables. |
---|
298 | | - |
---|
299 | | -# Some NUMA nodes have memory ranges that span |
---|
300 | | -# other nodes. Even though a pfn is valid and |
---|
301 | | -# between a node's start and end pfns, it may not |
---|
302 | | -# reside on that node. See memmap_init_zone() |
---|
303 | | -# for details. |
---|
304 | | -config NODES_SPAN_OTHER_NODES |
---|
305 | | - def_bool y |
---|
306 | | - depends on NEED_MULTIPLE_NODES |
---|
307 | | - |
---|
308 | | -config ARCH_SELECT_MEMORY_MODEL |
---|
309 | | - def_bool y if SPARC64 |
---|
310 | 275 | |
---|
311 | 276 | config ARCH_SPARSEMEM_ENABLE |
---|
312 | 277 | def_bool y if SPARC64 |
---|
.. | .. |
---|
329 | 294 | This config option is actually maximum order plus one. For example, |
---|
330 | 295 | a value of 13 means that the largest free memory block is 2^12 pages. |
---|
331 | 296 | |
---|
332 | | -if SPARC64 |
---|
| 297 | +if SPARC64 || COMPILE_TEST |
---|
333 | 298 | source "kernel/power/Kconfig" |
---|
334 | 299 | endif |
---|
335 | 300 | |
---|
.. | .. |
---|
388 | 353 | bool |
---|
389 | 354 | depends on SPARC32 |
---|
390 | 355 | default y |
---|
391 | | - ---help--- |
---|
| 356 | + help |
---|
392 | 357 | If you say Y here, it will be possible to use a serial port as the |
---|
393 | 358 | system console (the system console is the device which receives all |
---|
394 | 359 | kernel messages and warnings and which allows logins in single user |
---|
.. | .. |
---|
415 | 380 | select USB_EHCI_BIG_ENDIAN_DESC |
---|
416 | 381 | select USB_UHCI_BIG_ENDIAN_MMIO |
---|
417 | 382 | select USB_UHCI_BIG_ENDIAN_DESC |
---|
418 | | - ---help--- |
---|
| 383 | + help |
---|
419 | 384 | If you say Y here if you are running on a SPARC-LEON processor. |
---|
420 | 385 | The LEON processor is a synthesizable VHDL model of the |
---|
421 | 386 | SPARC-v8 standard. LEON is part of the GRLIB collection of |
---|
.. | .. |
---|
429 | 394 | config UBOOT_LOAD_ADDR |
---|
430 | 395 | hex "uImage Load Address" |
---|
431 | 396 | default 0x40004000 |
---|
432 | | - ---help--- |
---|
| 397 | + help |
---|
433 | 398 | U-Boot kernel load address, the address in physical address space |
---|
434 | 399 | where u-boot will place the Linux kernel before booting it. |
---|
435 | 400 | This address is normally the base address of main memory + 0x4000. |
---|
.. | .. |
---|
437 | 402 | config UBOOT_FLASH_ADDR |
---|
438 | 403 | hex "uImage.o Load Address" |
---|
439 | 404 | default 0x00080000 |
---|
440 | | - ---help--- |
---|
| 405 | + help |
---|
441 | 406 | Optional setting only affecting the uImage.o ELF-image used to |
---|
442 | 407 | download the uImage file to the target using a ELF-loader other than |
---|
443 | 408 | U-Boot. It may for example be used to download an uImage to FLASH with |
---|
.. | .. |
---|
446 | 411 | config UBOOT_ENTRY_ADDR |
---|
447 | 412 | hex "uImage Entry Address" |
---|
448 | 413 | default 0xf0004000 |
---|
449 | | - ---help--- |
---|
| 414 | + help |
---|
450 | 415 | Do not change this unless you know what you're doing. This is |
---|
451 | 416 | hardcoded by the SPARC32 and LEON port. |
---|
452 | 417 | |
---|
.. | .. |
---|
473 | 438 | help |
---|
474 | 439 | Say Y here is you want to support virtual devices via |
---|
475 | 440 | Logical Domains. |
---|
476 | | - |
---|
477 | | -config PCI |
---|
478 | | - bool "Support for PCI and PS/2 keyboard/mouse" |
---|
479 | | - help |
---|
480 | | - Find out whether your system includes a PCI bus. PCI is the name of |
---|
481 | | - a bus system, i.e. the way the CPU talks to the other stuff inside |
---|
482 | | - your box. If you say Y here, the kernel will include drivers and |
---|
483 | | - infrastructure code to support PCI bus devices. |
---|
484 | | - |
---|
485 | | - CONFIG_PCI is needed for all JavaStation's (including MrCoffee), |
---|
486 | | - CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC. |
---|
487 | | - All of these platforms are extremely obscure, so say N if unsure. |
---|
488 | | - |
---|
489 | | -config PCI_DOMAINS |
---|
490 | | - def_bool PCI if SPARC64 |
---|
491 | | - |
---|
492 | | -config PCI_SYSCALL |
---|
493 | | - def_bool PCI |
---|
494 | 441 | |
---|
495 | 442 | config PCIC_PCI |
---|
496 | 443 | bool |
---|
.. | .. |
---|
519 | 466 | default y |
---|
520 | 467 | help |
---|
521 | 468 | Say Y here to include the GRPCI2 Host Bridge Driver. |
---|
522 | | - |
---|
523 | | -source "drivers/pci/Kconfig" |
---|
524 | | - |
---|
525 | | -source "drivers/pcmcia/Kconfig" |
---|
526 | 469 | |
---|
527 | 470 | config SUN_OPENPROMFS |
---|
528 | 471 | tristate "Openprom tree appears in /proc/openprom" |
---|