^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) config 64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) bool "64-bit kernel" if "$(ARCH)" = "sparc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) default "$(ARCH)" = "sparc64"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) SPARC is a family of RISC microprocessors designed and marketed by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Sun Microsystems, incorporated. They are very widely found in Sun
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) workstations and clones.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Say yes to build a 64-bit kernel - formerly known as sparc64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Say no to build a 32-bit kernel - formerly known as sparc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) config SPARC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) select ARCH_MIGHT_HAVE_PC_PARPORT if SPARC64 && PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) select ARCH_MIGHT_HAVE_PC_SERIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select DMA_OPS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) select OF_PROMTREE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) select HAVE_ASM_MODVERSIONS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select HAVE_IDE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) select HAVE_OPROFILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) select HAVE_ARCH_KGDB if !SMP || SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) select HAVE_ARCH_TRACEHOOK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) select HAVE_ARCH_SECCOMP if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) select HAVE_EXIT_THREAD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) select HAVE_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) select SYSCTL_EXCEPTION_TRACE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) select RTC_CLASS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) select RTC_DRV_M48T59
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) select RTC_SYSTOHC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) select HAVE_ARCH_JUMP_LABEL if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) select GENERIC_IRQ_SHOW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) select ARCH_WANT_IPC_PARSE_VERSION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) select GENERIC_PCI_IOMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) select HAVE_NMI_WATCHDOG if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) select HAVE_CBPF_JIT if SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) select HAVE_EBPF_JIT if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) select HAVE_DEBUG_BUGVERBOSE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) select GENERIC_SMP_IDLE_THREAD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) select GENERIC_CLOCKEVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) select GENERIC_STRNCPY_FROM_USER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) select GENERIC_STRNLEN_USER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) select MODULES_USE_ELF_RELA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) select PCI_SYSCALL if PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) select PCI_MSI_ARCH_FALLBACKS if PCI_MSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) select ODD_RT_SIGACTION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) select OLD_SIGSUSPEND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) select CPU_NO_EFFICIENT_FFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) select LOCKDEP_SMALL if LOCKDEP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) select NEED_DMA_MAP_STATE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) select NEED_SG_DMA_LENGTH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) select SET_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) config SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) def_bool !64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) select ARCH_32BIT_OFF_T
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) select ARCH_HAS_SYNC_DMA_FOR_CPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) select GENERIC_ATOMIC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) select CLZ_TAB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) select HAVE_UID16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) select OLD_SIGACTION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) config SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) def_bool 64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) select HAVE_FUNCTION_TRACER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) select HAVE_FUNCTION_GRAPH_TRACER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) select HAVE_KRETPROBES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) select HAVE_KPROBES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) select MMU_GATHER_RCU_TABLE_FREE if SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) select HAVE_ARCH_TRANSPARENT_HUGEPAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) select HAVE_DYNAMIC_FTRACE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) select HAVE_FTRACE_MCOUNT_RECORD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) select HAVE_SYSCALL_TRACEPOINTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) select HAVE_CONTEXT_TRACKING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) select HAVE_TIF_NOHZ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) select HAVE_DEBUG_KMEMLEAK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) select IOMMU_HELPER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) select SPARSE_IRQ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) select RTC_DRV_CMOS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) select RTC_DRV_BQ4802
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) select RTC_DRV_SUN4V
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) select RTC_DRV_STARFIRE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) select HAVE_PERF_EVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) select PERF_USE_VMALLOC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) select ARCH_HAVE_NMI_SAFE_CMPXCHG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) select HAVE_C_RECORDMCOUNT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) select HAVE_ARCH_AUDITSYSCALL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) select ARCH_SUPPORTS_ATOMIC_RMW
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) select HAVE_NMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) select HAVE_REGS_AND_STACK_ACCESS_API
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) select ARCH_USE_QUEUED_RWLOCKS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) select ARCH_USE_QUEUED_SPINLOCKS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) select GENERIC_TIME_VSYSCALL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) select ARCH_CLOCKSOURCE_DATA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) select ARCH_HAS_PTE_SPECIAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) select PCI_DOMAINS if PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) select ARCH_HAS_GIGANTIC_PAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) config ARCH_PROC_KCORE_TEXT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) config CPU_BIG_ENDIAN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) config ARCH_ATU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) default y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) config STACKTRACE_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) default y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) config LOCKDEP_SUPPORT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) default y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) config ARCH_HIBERNATION_POSSIBLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) def_bool y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) config AUDIT_ARCH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) config HAVE_SETUP_PER_CPU_AREA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) def_bool y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) config NEED_PER_CPU_EMBED_FIRST_CHUNK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) def_bool y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) config NEED_PER_CPU_PAGE_FIRST_CHUNK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) def_bool y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) config MMU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) config HIGHMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) default y if SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) config ZONE_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) default y if SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) config GENERIC_ISA_DMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) default y if SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) config ARCH_SUPPORTS_DEBUG_PAGEALLOC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) def_bool y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) config PGTABLE_LEVELS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) default 4 if 64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) default 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) config ARCH_SUPPORTS_UPROBES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) def_bool y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) menu "Processor type and features"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) config SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) bool "Symmetric multi-processing support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) This enables support for systems with more than one CPU. If you have
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) a system with only one CPU, say N. If you have a system with more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) than one CPU, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) If you say N here, the kernel will run on uni- and multiprocessor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) machines, but will use only one CPU of a multiprocessor machine. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) you say Y here, the kernel will run on many, but not all,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) uniprocessor machines. On a uniprocessor machine, the kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) will run faster if you say N here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) People using multiprocessor machines who say Y here should also say
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) Management" code will be disabled if you say Y here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) available at <http://www.tldp.org/docs.html#howto>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) If you don't know what to do here, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) config NR_CPUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) int "Maximum number of CPUs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) depends on SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) range 2 32 if SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) range 2 4096 if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) default 32 if SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) default 4096 if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) source "kernel/Kconfig.hz"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) config GENERIC_HWEIGHT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) config GENERIC_CALIBRATE_DELAY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) config ARCH_MAY_HAVE_PC_FDC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) config EMULATED_CMPXCHG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) default y if SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) is emulated, and therefore it is not completely atomic.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) # Makefile helpers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) config SPARC32_SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) depends on SPARC32 && SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) config SPARC64_SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) depends on SPARC64 && SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) config EARLYFB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) bool "Support for early boot text console"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) depends on SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) Say Y here to enable a faster early framebuffer boot console.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) config HOTPLUG_CPU
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) bool "Support for hot-pluggable CPUs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) depends on SPARC64 && SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) Say Y here to experiment with turning CPUs off and on. CPUs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) can be controlled through /sys/devices/system/cpu/cpu#.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) Say N if you want to disable CPU hotplug.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) source "drivers/cpufreq/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) config US3_MC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) tristate "UltraSPARC-III Memory Controller driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246) depends on SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) This adds a driver for the UltraSPARC-III memory controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) Loading this driver allows exact mnemonic strings to be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) printed in the event of a memory error, so that the faulty DIMM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) on the motherboard can be matched to the error.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) If in doubt, say Y, as this information can be very useful.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256) # Global things across all Sun machines.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) config GENERIC_LOCKBREAK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) depends on SPARC64 && SMP && PREEMPTION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) config NUMA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) bool "NUMA support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) depends on SPARC64 && SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) config NODES_SHIFT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267) int "Maximum NUMA Nodes (as a power of 2)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) range 4 5 if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) default "5"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) depends on NEED_MULTIPLE_NODES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) Specify the maximum number of NUMA Nodes available on the target
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) system. Increases memory reserved to accommodate various tables.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) config ARCH_SPARSEMEM_ENABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276) def_bool y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) select SPARSEMEM_VMEMMAP_ENABLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) config ARCH_SPARSEMEM_DEFAULT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) def_bool y if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) config FORCE_MAX_ZONEORDER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) int "Maximum zone order"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) default "13"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286) The kernel memory allocator divides physically contiguous memory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) blocks into "zones", where each zone is a power of two number of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288) pages. This option selects the largest power of two that the kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 289) keeps in the memory allocator. If you need to allocate very large
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 290) blocks of physically contiguous memory, then you may need to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 291) increase this value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 292)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 293) This config option is actually maximum order plus one. For example,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 294) a value of 13 means that the largest free memory block is 2^12 pages.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 295)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 296) if SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 297) source "kernel/power/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 298) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 299)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 300) config SCHED_SMT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 301) bool "SMT (Hyperthreading) scheduler support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 302) depends on SPARC64 && SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 303) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 304) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 305) SMT scheduler support improves the CPU scheduler's decision making
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 306) when dealing with SPARC cpus at a cost of slightly increased overhead
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 307) in some places. If unsure say N here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 308)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 309) config SCHED_MC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 310) bool "Multi-core scheduler support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 311) depends on SPARC64 && SMP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 312) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 313) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 314) Multi-core scheduler support improves the CPU scheduler's decision
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 315) making when dealing with multi-core CPU chips at a cost of slightly
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 316) increased overhead in some places. If unsure say N here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 317)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 318) config CMDLINE_BOOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 319) bool "Default bootloader kernel arguments"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 320) depends on SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 321)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 322) config CMDLINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 323) string "Initial kernel command string"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 324) depends on CMDLINE_BOOL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 325) default "console=ttyS0,9600 root=/dev/sda1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 326) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 327) Say Y here if you want to be able to pass default arguments to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 328) the kernel. This will be overridden by the bootloader, if you
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 329) use one (such as SILO). This is most useful if you want to boot
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 330) a kernel from TFTP, and want default options to be available
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 331) with having them passed on the command line.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 332)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 333) NOTE: This option WILL override the PROM bootargs setting!
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 334)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 335) config SUN_PM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 336) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 337) default y if SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 338) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 339) Enable power management and CPU standby features on supported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 340) SPARC platforms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 341)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 342) config SPARC_LED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 343) tristate "Sun4m LED driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 344) depends on SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 345) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 346) This driver toggles the front-panel LED on sun4m systems
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 347) in a user-specifiable manner. Its state can be probed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 348) by reading /proc/led and its blinking mode can be changed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 349) via writes to /proc/led
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 350)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 351) config SERIAL_CONSOLE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 352) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 353) depends on SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 354) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 355) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 356) If you say Y here, it will be possible to use a serial port as the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 357) system console (the system console is the device which receives all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 358) kernel messages and warnings and which allows logins in single user
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 359) mode). This could be useful if some terminal or printer is connected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 360) to that serial port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 361)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 362) Even if you say Y here, the currently visible virtual console
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 363) (/dev/tty0) will still be used as the system console by default, but
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 364) you can alter that using a kernel command line option such as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 365) "console=ttyS1". (Try "man bootparam" or see the documentation of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 366) your boot loader (silo) about how to pass options to the kernel at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 367) boot time.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 368)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 369) If you don't have a graphics card installed and you say Y here, the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 370) kernel will automatically use the first serial line, /dev/ttyS0, as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 371) system console.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 372)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 373) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 374)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 375) config SPARC_LEON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 376) bool "Sparc Leon processor family"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 377) depends on SPARC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 378) select USB_EHCI_BIG_ENDIAN_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 379) select USB_EHCI_BIG_ENDIAN_DESC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 380) select USB_UHCI_BIG_ENDIAN_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 381) select USB_UHCI_BIG_ENDIAN_DESC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 382) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 383) If you say Y here if you are running on a SPARC-LEON processor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 384) The LEON processor is a synthesizable VHDL model of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 385) SPARC-v8 standard. LEON is part of the GRLIB collection of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 386) IP cores that are distributed under GPL. GRLIB can be downloaded
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 387) from www.gaisler.com. You can download a sparc-linux cross-compilation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 388) toolchain at www.gaisler.com.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 389)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 390) if SPARC_LEON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 391) menu "U-Boot options"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 392)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 393) config UBOOT_LOAD_ADDR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 394) hex "uImage Load Address"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 395) default 0x40004000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 396) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 397) U-Boot kernel load address, the address in physical address space
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 398) where u-boot will place the Linux kernel before booting it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 399) This address is normally the base address of main memory + 0x4000.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 400)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 401) config UBOOT_FLASH_ADDR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 402) hex "uImage.o Load Address"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 403) default 0x00080000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 404) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 405) Optional setting only affecting the uImage.o ELF-image used to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 406) download the uImage file to the target using a ELF-loader other than
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 407) U-Boot. It may for example be used to download an uImage to FLASH with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 408) the GRMON utility before even starting u-boot.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 409)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 410) config UBOOT_ENTRY_ADDR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 411) hex "uImage Entry Address"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 412) default 0xf0004000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 413) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 414) Do not change this unless you know what you're doing. This is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 415) hardcoded by the SPARC32 and LEON port.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 416)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 417) This is the virtual address u-boot jumps to when booting the Linux
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 418) Kernel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 419)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 420) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 421) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 422)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 423) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 424)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 425) menu "Bus options (PCI etc.)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 426) config SBUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 427) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 428) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 429)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 430) config SBUSCHAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 431) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 432) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 433)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 434) config SUN_LDOMS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 435) bool "Sun Logical Domains support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 436) depends on SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 437) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 438) Say Y here is you want to support virtual devices via
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 439) Logical Domains.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 440)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 441) config PCIC_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 442) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 443) depends on PCI && SPARC32 && !SPARC_LEON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 444) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 445)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 446) config LEON_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 447) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 448) depends on PCI && SPARC_LEON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 449) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 450)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 451) config SPARC_GRPCI1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 452) bool "GRPCI Host Bridge Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 453) depends on LEON_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 454) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 455) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 456) Say Y here to include the GRPCI Host Bridge Driver. The GRPCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 457) PCI host controller is typically found in GRLIB SPARC32/LEON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 458) systems. The driver has one property (all_pci_errors) controlled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 459) from the bootloader that makes the GRPCI to generate interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 460) on detected PCI Parity and System errors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 461)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 462) config SPARC_GRPCI2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 463) bool "GRPCI2 Host Bridge Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 464) depends on LEON_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 465) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 466) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 467) Say Y here to include the GRPCI2 Host Bridge Driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 468)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 469) config SUN_OPENPROMFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 470) tristate "Openprom tree appears in /proc/openprom"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 471) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 472) If you say Y, the OpenPROM device tree will be available as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 473) virtual file system, which you can mount to /proc/openprom by "mount
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 474) -t openpromfs none /proc/openprom".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 475)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 476) To compile the /proc/openprom support as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 477) module will be called openpromfs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 478)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 479) Only choose N if you know in advance that you will not need to modify
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 480) OpenPROM settings on the running system.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 481)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 482) # Makefile helpers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 483) config SPARC64_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 484) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 485) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 486) depends on SPARC64 && PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 487)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 488) config SPARC64_PCI_MSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 489) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 490) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 491) depends on SPARC64_PCI && PCI_MSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 492)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 493) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 494)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 495) config COMPAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 496) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 497) depends on SPARC64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 498) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 499) select COMPAT_BINFMT_ELF if BINFMT_ELF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 500) select HAVE_UID16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 501) select ARCH_WANT_OLD_COMPAT_IPC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 502) select COMPAT_OLD_SIGACTION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 503)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 504) config SYSVIPC_COMPAT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 505) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 506) depends on COMPAT && SYSVIPC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 507) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 508)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 509) source "drivers/sbus/char/Kconfig"