| .. | .. |
|---|
| 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 |
|---|
| 53 | 59 | select ARCH_HAS_SYNC_DMA_FOR_CPU |
|---|
| 54 | | - select DMA_NONCOHERENT_OPS |
|---|
| 55 | 60 | select GENERIC_ATOMIC64 |
|---|
| 56 | 61 | select CLZ_TAB |
|---|
| 57 | 62 | select HAVE_UID16 |
|---|
| .. | .. |
|---|
| 63 | 68 | select HAVE_FUNCTION_GRAPH_TRACER |
|---|
| 64 | 69 | select HAVE_KRETPROBES |
|---|
| 65 | 70 | select HAVE_KPROBES |
|---|
| 66 | | - select HAVE_RCU_TABLE_FREE if SMP |
|---|
| 67 | | - select HAVE_MEMBLOCK_NODE_MAP |
|---|
| 71 | + select MMU_GATHER_RCU_TABLE_FREE if SMP |
|---|
| 68 | 72 | select HAVE_ARCH_TRANSPARENT_HUGEPAGE |
|---|
| 69 | 73 | select HAVE_DYNAMIC_FTRACE |
|---|
| 70 | 74 | select HAVE_FTRACE_MCOUNT_RECORD |
|---|
| 71 | 75 | select HAVE_SYSCALL_TRACEPOINTS |
|---|
| 72 | 76 | select HAVE_CONTEXT_TRACKING |
|---|
| 77 | + select HAVE_TIF_NOHZ |
|---|
| 73 | 78 | select HAVE_DEBUG_KMEMLEAK |
|---|
| 74 | 79 | select IOMMU_HELPER |
|---|
| 75 | 80 | select SPARSE_IRQ |
|---|
| .. | .. |
|---|
| 79 | 84 | select RTC_DRV_STARFIRE |
|---|
| 80 | 85 | select HAVE_PERF_EVENTS |
|---|
| 81 | 86 | select PERF_USE_VMALLOC |
|---|
| 82 | | - select IRQ_PREFLOW_FASTEOI |
|---|
| 83 | 87 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
|---|
| 84 | 88 | select HAVE_C_RECORDMCOUNT |
|---|
| 85 | 89 | select HAVE_ARCH_AUDITSYSCALL |
|---|
| .. | .. |
|---|
| 91 | 95 | select GENERIC_TIME_VSYSCALL |
|---|
| 92 | 96 | select ARCH_CLOCKSOURCE_DATA |
|---|
| 93 | 97 | 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 |
|---|
| 98 | + select PCI_DOMAINS if PCI |
|---|
| 99 | + select ARCH_HAS_GIGANTIC_PAGE |
|---|
| 99 | 100 | |
|---|
| 100 | 101 | config ARCH_PROC_KCORE_TEXT |
|---|
| 101 | 102 | def_bool y |
|---|
| .. | .. |
|---|
| 161 | 162 | |
|---|
| 162 | 163 | config SMP |
|---|
| 163 | 164 | bool "Symmetric multi-processing support" |
|---|
| 164 | | - ---help--- |
|---|
| 165 | + help |
|---|
| 165 | 166 | This enables support for systems with more than one CPU. If you have |
|---|
| 166 | 167 | a system with only one CPU, say N. If you have a system with more |
|---|
| 167 | 168 | than one CPU, say Y. |
|---|
| .. | .. |
|---|
| 176 | 177 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power |
|---|
| 177 | 178 | Management" code will be disabled if you say Y here. |
|---|
| 178 | 179 | |
|---|
| 179 | | - See also <file:Documentation/lockup-watchdogs.txt> and the SMP-HOWTO |
|---|
| 180 | + See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO |
|---|
| 180 | 181 | available at <http://www.tldp.org/docs.html#howto>. |
|---|
| 181 | 182 | |
|---|
| 182 | 183 | If you don't know what to do here, say N. |
|---|
| .. | .. |
|---|
| 189 | 190 | default 32 if SPARC32 |
|---|
| 190 | 191 | default 4096 if SPARC64 |
|---|
| 191 | 192 | |
|---|
| 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 |
|---|
| 193 | +source "kernel/Kconfig.hz" |
|---|
| 201 | 194 | |
|---|
| 202 | 195 | config GENERIC_HWEIGHT |
|---|
| 203 | 196 | bool |
|---|
| .. | .. |
|---|
| 236 | 229 | help |
|---|
| 237 | 230 | Say Y here to enable a faster early framebuffer boot console. |
|---|
| 238 | 231 | |
|---|
| 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 | 232 | config HOTPLUG_CPU |
|---|
| 257 | 233 | bool "Support for hot-pluggable CPUs" |
|---|
| 258 | 234 | depends on SPARC64 && SMP |
|---|
| .. | .. |
|---|
| 281 | 257 | config GENERIC_LOCKBREAK |
|---|
| 282 | 258 | bool |
|---|
| 283 | 259 | default y |
|---|
| 284 | | - depends on SPARC64 && SMP && PREEMPT |
|---|
| 260 | + depends on SPARC64 && SMP && PREEMPTION |
|---|
| 285 | 261 | |
|---|
| 286 | 262 | config NUMA |
|---|
| 287 | 263 | bool "NUMA support" |
|---|
| .. | .. |
|---|
| 295 | 271 | help |
|---|
| 296 | 272 | Specify the maximum number of NUMA Nodes available on the target |
|---|
| 297 | 273 | 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 | 274 | |
|---|
| 311 | 275 | config ARCH_SPARSEMEM_ENABLE |
|---|
| 312 | 276 | def_bool y if SPARC64 |
|---|
| .. | .. |
|---|
| 388 | 352 | bool |
|---|
| 389 | 353 | depends on SPARC32 |
|---|
| 390 | 354 | default y |
|---|
| 391 | | - ---help--- |
|---|
| 355 | + help |
|---|
| 392 | 356 | If you say Y here, it will be possible to use a serial port as the |
|---|
| 393 | 357 | system console (the system console is the device which receives all |
|---|
| 394 | 358 | kernel messages and warnings and which allows logins in single user |
|---|
| .. | .. |
|---|
| 415 | 379 | select USB_EHCI_BIG_ENDIAN_DESC |
|---|
| 416 | 380 | select USB_UHCI_BIG_ENDIAN_MMIO |
|---|
| 417 | 381 | select USB_UHCI_BIG_ENDIAN_DESC |
|---|
| 418 | | - ---help--- |
|---|
| 382 | + help |
|---|
| 419 | 383 | If you say Y here if you are running on a SPARC-LEON processor. |
|---|
| 420 | 384 | The LEON processor is a synthesizable VHDL model of the |
|---|
| 421 | 385 | SPARC-v8 standard. LEON is part of the GRLIB collection of |
|---|
| .. | .. |
|---|
| 429 | 393 | config UBOOT_LOAD_ADDR |
|---|
| 430 | 394 | hex "uImage Load Address" |
|---|
| 431 | 395 | default 0x40004000 |
|---|
| 432 | | - ---help--- |
|---|
| 396 | + help |
|---|
| 433 | 397 | U-Boot kernel load address, the address in physical address space |
|---|
| 434 | 398 | where u-boot will place the Linux kernel before booting it. |
|---|
| 435 | 399 | This address is normally the base address of main memory + 0x4000. |
|---|
| .. | .. |
|---|
| 437 | 401 | config UBOOT_FLASH_ADDR |
|---|
| 438 | 402 | hex "uImage.o Load Address" |
|---|
| 439 | 403 | default 0x00080000 |
|---|
| 440 | | - ---help--- |
|---|
| 404 | + help |
|---|
| 441 | 405 | Optional setting only affecting the uImage.o ELF-image used to |
|---|
| 442 | 406 | download the uImage file to the target using a ELF-loader other than |
|---|
| 443 | 407 | U-Boot. It may for example be used to download an uImage to FLASH with |
|---|
| .. | .. |
|---|
| 446 | 410 | config UBOOT_ENTRY_ADDR |
|---|
| 447 | 411 | hex "uImage Entry Address" |
|---|
| 448 | 412 | default 0xf0004000 |
|---|
| 449 | | - ---help--- |
|---|
| 413 | + help |
|---|
| 450 | 414 | Do not change this unless you know what you're doing. This is |
|---|
| 451 | 415 | hardcoded by the SPARC32 and LEON port. |
|---|
| 452 | 416 | |
|---|
| .. | .. |
|---|
| 473 | 437 | help |
|---|
| 474 | 438 | Say Y here is you want to support virtual devices via |
|---|
| 475 | 439 | 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 | 440 | |
|---|
| 495 | 441 | config PCIC_PCI |
|---|
| 496 | 442 | bool |
|---|
| .. | .. |
|---|
| 519 | 465 | default y |
|---|
| 520 | 466 | help |
|---|
| 521 | 467 | Say Y here to include the GRPCI2 Host Bridge Driver. |
|---|
| 522 | | - |
|---|
| 523 | | -source "drivers/pci/Kconfig" |
|---|
| 524 | | - |
|---|
| 525 | | -source "drivers/pcmcia/Kconfig" |
|---|
| 526 | 468 | |
|---|
| 527 | 469 | config SUN_OPENPROMFS |
|---|
| 528 | 470 | tristate "Openprom tree appears in /proc/openprom" |
|---|