1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # For a description of the syntax of this configuration file, 2 # !! 2 # see Documentation/kbuild/kconfig-language.txt. 3 # Copyright (C) 2004, 2007-2010, 2011-2012 Syn << 4 # 3 # 5 4 6 config ARC !! 5 mainmenu "Linux/SPARC Kernel Configuration" 7 def_bool y !! 6 8 select ARC_TIMERS !! 7 config 64BIT 9 select ARCH_HAS_CACHE_LINE_SIZE !! 8 bool "64-bit kernel" if ARCH = "sparc" 10 select ARCH_HAS_DEBUG_VM_PGTABLE !! 9 default ARCH = "sparc64" 11 select ARCH_HAS_DMA_PREP_COHERENT !! 10 help 12 select ARCH_HAS_PTE_SPECIAL !! 11 SPARC is a family of RISC microprocessors designed and marketed by 13 select ARCH_HAS_SETUP_DMA_OPS !! 12 Sun Microsystems, incorporated. They are very widely found in Sun 14 select ARCH_HAS_SYNC_DMA_FOR_CPU !! 13 workstations and clones. 15 select ARCH_HAS_SYNC_DMA_FOR_DEVICE !! 14 16 select ARCH_NEED_CMPXCHG_1_EMU !! 15 Say yes to build a 64-bit kernel - formerly known as sparc64 17 select ARCH_SUPPORTS_ATOMIC_RMW if ARC !! 16 Say no to build a 32-bit kernel - formerly known as sparc 18 select ARCH_32BIT_OFF_T !! 17 19 select BUILDTIME_TABLE_SORT !! 18 config SPARC 20 select CLONE_BACKWARDS !! 19 bool 21 select COMMON_CLK !! 20 default y 22 select DMA_DIRECT_REMAP !! 21 select HAVE_IDE 23 select GENERIC_ATOMIC64 if !ISA_ARCV2 !! 22 select HAVE_OPROFILE 24 # for now, we don't need GENERIC_IRQ_P !! 23 select HAVE_ARCH_KGDB if !SMP || SPARC64 25 select GENERIC_IRQ_SHOW << 26 select GENERIC_PCI_IOMAP << 27 select GENERIC_PENDING_IRQ if SMP << 28 select GENERIC_SCHED_CLOCK << 29 select GENERIC_SMP_IDLE_THREAD << 30 select GENERIC_IOREMAP << 31 select GENERIC_STRNCPY_FROM_USER if MM << 32 select GENERIC_STRNLEN_USER if MMU << 33 select HAVE_ARCH_KGDB << 34 select HAVE_ARCH_TRACEHOOK 24 select HAVE_ARCH_TRACEHOOK 35 select HAVE_ARCH_TRANSPARENT_HUGEPAGE !! 25 select ARCH_WANT_OPTIONAL_GPIOLIB 36 select HAVE_DEBUG_STACKOVERFLOW !! 26 select RTC_CLASS 37 select HAVE_DEBUG_KMEMLEAK !! 27 select RTC_DRV_M48T59 38 select HAVE_IOREMAP_PROT !! 28 select HAVE_PERF_EVENTS 39 select HAVE_KERNEL_GZIP !! 29 select PERF_USE_VMALLOC 40 select HAVE_KERNEL_LZMA !! 30 select HAVE_DMA_ATTRS 41 select HAVE_KPROBES !! 31 select HAVE_DMA_API_DEBUG >> 32 >> 33 config SPARC32 >> 34 def_bool !64BIT >> 35 >> 36 config SPARC64 >> 37 def_bool 64BIT >> 38 select ARCH_SUPPORTS_MSI >> 39 select HAVE_FUNCTION_TRACER 42 select HAVE_KRETPROBES 40 select HAVE_KRETPROBES 43 select HAVE_REGS_AND_STACK_ACCESS_API !! 41 select HAVE_KPROBES 44 select HAVE_MOD_ARCH_SPECIFIC !! 42 select HAVE_LMB >> 43 select HAVE_SYSCALL_WRAPPERS >> 44 select HAVE_DYNAMIC_FTRACE >> 45 select HAVE_FTRACE_MCOUNT_RECORD >> 46 select USE_GENERIC_SMP_HELPERS if SMP >> 47 select RTC_DRV_CMOS >> 48 select RTC_DRV_BQ4802 >> 49 select RTC_DRV_SUN4V >> 50 select RTC_DRV_STARFIRE 45 select HAVE_PERF_EVENTS 51 select HAVE_PERF_EVENTS 46 select HAVE_SYSCALL_TRACEPOINTS !! 52 select PERF_USE_VMALLOC 47 select IRQ_DOMAIN << 48 select LOCK_MM_AND_FIND_VMA << 49 select MODULES_USE_ELF_RELA << 50 select OF << 51 select OF_EARLY_FLATTREE << 52 select PCI_SYSCALL if PCI << 53 select HAVE_ARCH_JUMP_LABEL if ISA_ARC << 54 select TRACE_IRQFLAGS_SUPPORT << 55 select HAVE_EBPF_JIT if ISA_ARCV2 << 56 << 57 config LOCKDEP_SUPPORT << 58 def_bool y << 59 << 60 config SCHED_OMIT_FRAME_POINTER << 61 def_bool y << 62 53 63 config GENERIC_CSUM !! 54 config ARCH_DEFCONFIG 64 def_bool y !! 55 string >> 56 default "arch/sparc/configs/sparc32_defconfig" if SPARC32 >> 57 default "arch/sparc/configs/sparc64_defconfig" if SPARC64 >> 58 >> 59 # CONFIG_BITS can be used at source level to get 32/64 bits >> 60 config BITS >> 61 int >> 62 default 32 if SPARC32 >> 63 default 64 if SPARC64 >> 64 >> 65 config GENERIC_TIME >> 66 bool >> 67 default y if SPARC64 >> 68 >> 69 config GENERIC_CMOS_UPDATE >> 70 bool >> 71 default y if SPARC64 >> 72 >> 73 config GENERIC_CLOCKEVENTS >> 74 bool >> 75 default y if SPARC64 >> 76 >> 77 config IOMMU_HELPER >> 78 bool >> 79 default y if SPARC64 >> 80 >> 81 config QUICKLIST >> 82 bool >> 83 default y if SPARC64 65 84 66 config ARCH_FLATMEM_ENABLE !! 85 config STACKTRACE_SUPPORT 67 def_bool y !! 86 bool >> 87 default y if SPARC64 68 88 69 config MMU !! 89 config LOCKDEP_SUPPORT 70 def_bool y !! 90 bool >> 91 default y if SPARC64 71 92 72 config NO_IOPORT_MAP !! 93 config HAVE_LATENCYTOP_SUPPORT 73 def_bool y !! 94 bool >> 95 default y if SPARC64 74 96 75 config GENERIC_CALIBRATE_DELAY !! 97 config AUDIT_ARCH 76 def_bool y !! 98 bool >> 99 default y 77 100 78 config GENERIC_HWEIGHT !! 101 config HAVE_SETUP_PER_CPU_AREA 79 def_bool y !! 102 def_bool y if SPARC64 80 103 81 config STACKTRACE_SUPPORT !! 104 config NEED_PER_CPU_EMBED_FIRST_CHUNK 82 def_bool y !! 105 def_bool y if SPARC64 83 select STACKTRACE << 84 106 85 menu "ARC Architecture Configuration" !! 107 config NEED_PER_CPU_PAGE_FIRST_CHUNK >> 108 def_bool y if SPARC64 86 109 87 menu "ARC Platform/SoC/Board" !! 110 config GENERIC_HARDIRQS_NO__DO_IRQ >> 111 bool >> 112 def_bool y if SPARC64 88 113 89 source "arch/arc/plat-tb10x/Kconfig" !! 114 config MMU 90 source "arch/arc/plat-axs10x/Kconfig" !! 115 bool 91 source "arch/arc/plat-hsdk/Kconfig" !! 116 default y 92 117 93 endmenu !! 118 config HIGHMEM >> 119 bool >> 120 default y if SPARC32 94 121 95 choice !! 122 config ZONE_DMA 96 prompt "ARC Instruction Set" !! 123 bool 97 default ISA_ARCV2 !! 124 default y if SPARC32 98 125 99 config ISA_ARCOMPACT !! 126 config GENERIC_ISA_DMA 100 bool "ARCompact ISA" !! 127 bool 101 select CPU_NO_EFFICIENT_FFS !! 128 default y if SPARC32 102 help << 103 The original ARC ISA of ARC600/700 c << 104 129 105 config ISA_ARCV2 !! 130 config GENERIC_GPIO 106 bool "ARC ISA v2" !! 131 bool 107 select ARC_TIMERS_64BIT << 108 help 132 help 109 ISA for the Next Generation ARC-HS c !! 133 Generic GPIO API support 110 134 111 endchoice !! 135 config ARCH_NO_VIRT_TO_BUS >> 136 def_bool y 112 137 113 menu "ARC CPU Configuration" !! 138 config OF >> 139 def_bool y 114 140 115 choice !! 141 config ARCH_SUPPORTS_DEBUG_PAGEALLOC 116 prompt "ARC Core" !! 142 def_bool y if SPARC64 117 default ARC_CPU_770 if ISA_ARCOMPACT << 118 default ARC_CPU_HS if ISA_ARCV2 << 119 << 120 config ARC_CPU_770 << 121 bool "ARC770" << 122 depends on ISA_ARCOMPACT << 123 select ARC_HAS_SWAPE << 124 help << 125 Support for ARC770 core introduced w << 126 This core has a bunch of cool new fe << 127 -MMU-v3: Variable Page Sz (4k, 8k, 1 << 128 Shared Address Spaces (for << 129 -Caches: New Prog Model, Region Flus << 130 -Insns: endian swap, load-locked/sto << 131 << 132 config ARC_CPU_HS << 133 bool "ARC-HS" << 134 depends on ISA_ARCV2 << 135 help << 136 Support for ARC HS38x Cores based on << 137 The notable features are: << 138 - SMP configurations of up to 4 co << 139 - Optional L2 Cache and IO-Coheren << 140 - Revised Interrupt Architecture ( << 141 auto stack switch, auto regfil << 142 - MMUv4 (PIPT dcache, Huge Pages) << 143 - Instructions for << 144 * 64bit load/store: LDD, STD << 145 * Hardware assisted divide/rem << 146 * Function prologue/epilogue: << 147 * IRQ enable/disable: CLRI, SE << 148 * pop count: FFS, FLS << 149 * SETcc, BMSKN, XBFU... << 150 143 151 endchoice !! 144 source "init/Kconfig" 152 145 153 config ARC_TUNE_MCPU !! 146 source "kernel/Kconfig.freezer" 154 string "Override default -mcpu compile << 155 default "" << 156 help << 157 Override default -mcpu=xxx compiler << 158 the ISA version) with the specified << 159 NOTE: If specified flag isn't suppor << 160 ISA default value will be used as a << 161 147 162 config CPU_BIG_ENDIAN !! 148 menu "Processor type and features" 163 bool "Enable Big Endian Mode" << 164 help << 165 Build kernel for Big Endian Mode of << 166 149 167 config SMP 150 config SMP 168 bool "Symmetric Multi-Processing" !! 151 bool "Symmetric multi-processing support (does not work on sun4/sun4c)" 169 select ARC_MCIP if ISA_ARCV2 !! 152 ---help--- 170 help !! 153 This enables support for systems with more than one CPU. If you have 171 This enables support for systems wit !! 154 a system with only one CPU, say N. If you have a system with more >> 155 than one CPU, say Y. >> 156 >> 157 If you say N here, the kernel will run on single and multiprocessor >> 158 machines, but will use only one CPU of a multiprocessor machine. If >> 159 you say Y here, the kernel will run on many, but not all, >> 160 singleprocessor machines. On a singleprocessor machine, the kernel >> 161 will run faster if you say N here. >> 162 >> 163 People using multiprocessor machines who say Y here should also say >> 164 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power >> 165 Management" code will be disabled if you say Y here. 172 166 173 if SMP !! 167 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO >> 168 available at <http://www.tldp.org/docs.html#howto>. 174 169 175 config NR_CPUS !! 170 If you don't know what to do here, say N. 176 int "Maximum number of CPUs (2-4096)" << 177 range 2 4096 << 178 default "4" << 179 171 180 config ARC_SMP_HALT_ON_RESET !! 172 config NR_CPUS 181 bool "Enable Halt-on-reset boot mode" !! 173 int "Maximum number of CPUs" 182 help !! 174 depends on SMP 183 In SMP configuration cores can be co !! 175 range 2 32 if SPARC32 184 or they could all start at same time !! 176 range 2 1024 if SPARC64 185 masters are parked until Master kick !! 177 default 32 if SPARC32 186 at designated entry point. For other !! 178 default 64 if SPARC64 187 entry point and spin wait for Master !! 179 >> 180 source kernel/Kconfig.hz >> 181 >> 182 config RWSEM_GENERIC_SPINLOCK >> 183 bool >> 184 default y if SPARC32 >> 185 >> 186 config RWSEM_XCHGADD_ALGORITHM >> 187 bool >> 188 default y if SPARC64 188 189 189 endif #SMP !! 190 config GENERIC_FIND_NEXT_BIT >> 191 bool >> 192 default y 190 193 191 config ARC_MCIP !! 194 config GENERIC_HWEIGHT 192 bool "ARConnect Multicore IP (MCIP) Su !! 195 bool 193 depends on ISA_ARCV2 !! 196 default y if !ULTRA_HAS_POPULATION_COUNT 194 default y if SMP << 195 help << 196 This IP block enables SMP in ARC-HS3 << 197 It provides for cross-core interrupt << 198 hardware semaphores, shared memory,. << 199 197 200 menuconfig ARC_CACHE !! 198 config GENERIC_CALIBRATE_DELAY 201 bool "Enable Cache Support" !! 199 bool 202 default y 200 default y 203 201 204 if ARC_CACHE !! 202 config ARCH_MAY_HAVE_PC_FDC >> 203 bool >> 204 default y 205 205 206 config ARC_CACHE_LINE_SHIFT !! 206 config EMULATED_CMPXCHG 207 int "Cache Line Length (as power of 2) !! 207 bool 208 range 5 7 !! 208 default y if SPARC32 209 default "6" << 210 help 209 help 211 Starting with ARC700 4.9, Cache line !! 210 Sparc32 does not have a CAS instruction like sparc64. cmpxchg() 212 This option specifies "N", with Line !! 211 is emulated, and therefore it is not completely atomic. 213 So line lengths of 32, 64, 128 are s << 214 Linux only supports same line length << 215 212 216 config ARC_HAS_ICACHE !! 213 # Makefile helpers 217 bool "Use Instruction Cache" !! 214 config SPARC32_SMP >> 215 bool 218 default y 216 default y >> 217 depends on SPARC32 && SMP 219 218 220 config ARC_HAS_DCACHE !! 219 config SPARC64_SMP 221 bool "Use Data Cache" !! 220 bool 222 default y 221 default y >> 222 depends on SPARC64 && SMP 223 223 224 config ARC_CACHE_PAGES !! 224 choice 225 bool "Per Page Cache Control" !! 225 prompt "Kernel page size" if SPARC64 226 default y !! 226 default SPARC64_PAGE_SIZE_8KB 227 depends on ARC_HAS_ICACHE || ARC_HAS_D !! 227 >> 228 config SPARC64_PAGE_SIZE_8KB >> 229 bool "8KB" 228 help 230 help 229 This can be used to over-ride the gl !! 231 This lets you select the page size of the kernel. 230 per-page basis (but only for pages a !! 232 231 Kernel Virtual address or User Virtu !! 233 8KB and 64KB work quite well, since SPARC ELF sections 232 TLB entries have a per-page Cache En !! 234 provide for up to 64KB alignment. 233 Note that Global I/D ENABLE + Per Pa << 234 Global DISABLE + Per Page ENABLE won << 235 235 236 endif #ARC_CACHE !! 236 If you don't know what to do, choose 8KB. 237 237 238 config ARC_HAS_ICCM !! 238 config SPARC64_PAGE_SIZE_64KB 239 bool "Use ICCM" !! 239 bool "64KB" >> 240 >> 241 endchoice >> 242 >> 243 config SECCOMP >> 244 bool "Enable seccomp to safely compute untrusted bytecode" >> 245 depends on SPARC64 && PROC_FS >> 246 default y 240 help 247 help 241 Single Cycle RAMS to store Fast Path !! 248 This kernel feature is useful for number crunching applications >> 249 that may need to compute untrusted bytecode during their >> 250 execution. By using pipes or other transports made available to >> 251 the process as file descriptors supporting the read/write >> 252 syscalls, it's possible to isolate those applications in >> 253 their own address space using seccomp. Once seccomp is >> 254 enabled via /proc/<pid>/seccomp, it cannot be disabled >> 255 and the task is only allowed to execute a few safe syscalls >> 256 defined by each seccomp mode. 242 257 243 config ARC_ICCM_SZ !! 258 If unsure, say Y. Only embedded should say N here. 244 int "ICCM Size in KB" << 245 default "64" << 246 depends on ARC_HAS_ICCM << 247 259 248 config ARC_HAS_DCCM !! 260 config HOTPLUG_CPU 249 bool "Use DCCM" !! 261 bool "Support for hot-pluggable CPUs" >> 262 depends on SPARC64 && SMP >> 263 select HOTPLUG 250 help 264 help 251 Single Cycle RAMS to store Fast Path !! 265 Say Y here to experiment with turning CPUs off and on. CPUs >> 266 can be controlled through /sys/devices/system/cpu/cpu#. >> 267 Say N if you want to disable CPU hotplug. 252 268 253 config ARC_DCCM_SZ !! 269 config GENERIC_HARDIRQS 254 int "DCCM Size in KB" !! 270 bool 255 default "64" !! 271 default y if SPARC64 256 depends on ARC_HAS_DCCM << 257 272 258 config ARC_DCCM_BASE !! 273 source "kernel/time/Kconfig" 259 hex "DCCM map address" << 260 default "0xA0000000" << 261 depends on ARC_HAS_DCCM << 262 274 263 choice !! 275 if SPARC64 264 prompt "MMU Version" !! 276 source "drivers/cpufreq/Kconfig" 265 default ARC_MMU_V3 if ISA_ARCOMPACT << 266 default ARC_MMU_V4 if ISA_ARCV2 << 267 << 268 config ARC_MMU_V3 << 269 bool "MMU v3" << 270 depends on ISA_ARCOMPACT << 271 help << 272 Introduced with ARC700 4.10: New Fea << 273 Variable Page size (1k-16k), var JTL << 274 Shared Address Spaces (SASID) << 275 << 276 config ARC_MMU_V4 << 277 bool "MMU v4" << 278 depends on ISA_ARCV2 << 279 277 280 endchoice !! 278 config US3_FREQ >> 279 tristate "UltraSPARC-III CPU Frequency driver" >> 280 depends on CPU_FREQ >> 281 select CPU_FREQ_TABLE >> 282 help >> 283 This adds the CPUFreq driver for UltraSPARC-III processors. 281 284 >> 285 For details, take a look at <file:Documentation/cpu-freq>. 282 286 283 choice !! 287 If in doubt, say N. 284 prompt "MMU Page Size" << 285 default ARC_PAGE_SIZE_8K << 286 288 287 config ARC_PAGE_SIZE_8K !! 289 config US2E_FREQ 288 bool "8KB" !! 290 tristate "UltraSPARC-IIe CPU Frequency driver" 289 select HAVE_PAGE_SIZE_8KB !! 291 depends on CPU_FREQ >> 292 select CPU_FREQ_TABLE 290 help 293 help 291 Choose between 8k vs 16k !! 294 This adds the CPUFreq driver for UltraSPARC-IIe processors. 292 295 293 config ARC_PAGE_SIZE_16K !! 296 For details, take a look at <file:Documentation/cpu-freq>. 294 select HAVE_PAGE_SIZE_16KB << 295 bool "16KB" << 296 << 297 config ARC_PAGE_SIZE_4K << 298 bool "4KB" << 299 select HAVE_PAGE_SIZE_4KB << 300 depends on ARC_MMU_V3 || ARC_MMU_V4 << 301 297 302 endchoice !! 298 If in doubt, say N. 303 299 304 choice !! 300 endif 305 prompt "MMU Super Page Size" !! 301 306 depends on ISA_ARCV2 && TRANSPARENT_HU !! 302 config US3_MC 307 default ARC_HUGEPAGE_2M !! 303 tristate "UltraSPARC-III Memory Controller driver" >> 304 depends on SPARC64 >> 305 default y >> 306 help >> 307 This adds a driver for the UltraSPARC-III memory controller. >> 308 Loading this driver allows exact mnemonic strings to be >> 309 printed in the event of a memory error, so that the faulty DIMM >> 310 on the motherboard can be matched to the error. >> 311 >> 312 If in doubt, say Y, as this information can be very useful. 308 313 309 config ARC_HUGEPAGE_2M !! 314 # Global things across all Sun machines. 310 bool "2MB" !! 315 config GENERIC_LOCKBREAK >> 316 bool >> 317 default y >> 318 depends on SPARC64 && SMP && PREEMPT 311 319 312 config ARC_HUGEPAGE_16M !! 320 choice 313 bool "16MB" !! 321 prompt "SPARC64 Huge TLB Page Size" >> 322 depends on SPARC64 && HUGETLB_PAGE >> 323 default HUGETLB_PAGE_SIZE_4MB >> 324 >> 325 config HUGETLB_PAGE_SIZE_4MB >> 326 bool "4MB" >> 327 >> 328 config HUGETLB_PAGE_SIZE_512K >> 329 bool "512K" >> 330 >> 331 config HUGETLB_PAGE_SIZE_64K >> 332 depends on !SPARC64_PAGE_SIZE_64KB >> 333 bool "64K" 314 334 315 endchoice 335 endchoice 316 336 317 config PGTABLE_LEVELS !! 337 config NUMA 318 int "Number of Page table levels" !! 338 bool "NUMA support" 319 default 2 !! 339 depends on SPARC64 && SMP 320 340 321 config ARC_COMPACT_IRQ_LEVELS !! 341 config NODES_SHIFT 322 depends on ISA_ARCOMPACT !! 342 int 323 bool "Setup Timer IRQ as high Priority !! 343 default "4" 324 # if SMP, LV2 enabled ONLY if ARC impl !! 344 depends on NEED_MULTIPLE_NODES 325 depends on !SMP << 326 345 327 config ARC_FPU_SAVE_RESTORE !! 346 # Some NUMA nodes have memory ranges that span 328 bool "Enable FPU state persistence acr !! 347 # other nodes. Even though a pfn is valid and 329 help !! 348 # between a node's start and end pfns, it may not 330 ARCompact FPU has internal registers !! 349 # reside on that node. See memmap_init_zone() 331 Floating Point operations. There are !! 350 # for details. 332 for floating point exceptions and ro !! 351 config NODES_SPAN_OTHER_NODES 333 preserved across task context switch !! 352 def_bool y >> 353 depends on NEED_MULTIPLE_NODES 334 354 335 config ARC_CANT_LLSC !! 355 config ARCH_POPULATES_NODE_MAP 336 def_bool n !! 356 def_bool y if SPARC64 337 357 338 config ARC_HAS_LLSC !! 358 config ARCH_SELECT_MEMORY_MODEL 339 bool "Insn: LLOCK/SCOND (efficient ato !! 359 def_bool y if SPARC64 340 default y << 341 depends on !ARC_CANT_LLSC << 342 360 343 config ARC_HAS_SWAPE !! 361 config ARCH_SPARSEMEM_ENABLE 344 bool "Insn: SWAPE (endian-swap)" !! 362 def_bool y if SPARC64 345 default y !! 363 select SPARSEMEM_VMEMMAP_ENABLE 346 364 347 if ISA_ARCV2 !! 365 config ARCH_SPARSEMEM_DEFAULT >> 366 def_bool y if SPARC64 348 367 349 config ARC_USE_UNALIGNED_MEM_ACCESS !! 368 source "mm/Kconfig" 350 bool "Enable unaligned access in HW" !! 369 >> 370 config SCHED_SMT >> 371 bool "SMT (Hyperthreading) scheduler support" >> 372 depends on SPARC64 && SMP 351 default y 373 default y 352 select HAVE_EFFICIENT_UNALIGNED_ACCESS << 353 help 374 help 354 The ARC HS architecture supports una !! 375 SMT scheduler support improves the CPU scheduler's decision making 355 which is disabled by default. Enable !! 376 when dealing with SPARC cpus at a cost of slightly increased overhead 356 hardware and use software to use it !! 377 in some places. If unsure say N here. 357 378 358 config ARC_HAS_LL64 !! 379 config SCHED_MC 359 bool "Insn: 64bit LDD/STD" !! 380 bool "Multi-core scheduler support" 360 help !! 381 depends on SPARC64 && SMP 361 Enable gcc to generate 64-bit load/s << 362 ISA mandates even/odd registers to a << 363 dest operands with 2 possible source << 364 default y 382 default y >> 383 help >> 384 Multi-core scheduler support improves the CPU scheduler's decision >> 385 making when dealing with multi-core CPU chips at a cost of slightly >> 386 increased overhead in some places. If unsure say N here. >> 387 >> 388 if SPARC64 >> 389 source "kernel/Kconfig.preempt" >> 390 endif 365 391 366 config ARC_HAS_DIV_REM !! 392 config CMDLINE_BOOL 367 bool "Insn: div, divu, rem, remu" !! 393 bool "Default bootloader kernel arguments" >> 394 depends on SPARC64 >> 395 >> 396 config CMDLINE >> 397 string "Initial kernel command string" >> 398 depends on CMDLINE_BOOL >> 399 default "console=ttyS0,9600 root=/dev/sda1" >> 400 help >> 401 Say Y here if you want to be able to pass default arguments to >> 402 the kernel. This will be overridden by the bootloader, if you >> 403 use one (such as SILO). This is most useful if you want to boot >> 404 a kernel from TFTP, and want default options to be available >> 405 with having them passed on the command line. >> 406 >> 407 NOTE: This option WILL override the PROM bootargs setting! >> 408 >> 409 config SUN_PM >> 410 bool >> 411 default y if SPARC32 >> 412 help >> 413 Enable power management and CPU standby features on supported >> 414 SPARC platforms. >> 415 >> 416 config SPARC_LED >> 417 tristate "Sun4m LED driver" >> 418 depends on SPARC32 >> 419 help >> 420 This driver toggles the front-panel LED on sun4m systems >> 421 in a user-specifiable manner. Its state can be probed >> 422 by reading /proc/led and its blinking mode can be changed >> 423 via writes to /proc/led >> 424 >> 425 config SERIAL_CONSOLE >> 426 bool >> 427 depends on SPARC32 >> 428 default y >> 429 ---help--- >> 430 If you say Y here, it will be possible to use a serial port as the >> 431 system console (the system console is the device which receives all >> 432 kernel messages and warnings and which allows logins in single user >> 433 mode). This could be useful if some terminal or printer is connected >> 434 to that serial port. >> 435 >> 436 Even if you say Y here, the currently visible virtual console >> 437 (/dev/tty0) will still be used as the system console by default, but >> 438 you can alter that using a kernel command line option such as >> 439 "console=ttyS1". (Try "man bootparam" or see the documentation of >> 440 your boot loader (silo) about how to pass options to the kernel at >> 441 boot time.) >> 442 >> 443 If you don't have a graphics card installed and you say Y here, the >> 444 kernel will automatically use the first serial line, /dev/ttyS0, as >> 445 system console. >> 446 >> 447 If unsure, say N. >> 448 >> 449 config SPARC_LEON >> 450 bool "Sparc Leon processor family" >> 451 depends on SPARC32 >> 452 ---help--- >> 453 If you say Y here if you are running on a SPARC-LEON processor. >> 454 The LEON processor is a synthesizable VHDL model of the >> 455 SPARC-v8 standard. LEON is part of the GRLIB collection of >> 456 IP cores that are distributed under GPL. GRLIB can be downloaded >> 457 from www.gaisler.com. You can download a sparc-linux cross-compilation >> 458 toolchain at www.gaisler.com. >> 459 >> 460 endmenu >> 461 >> 462 menu "Bus options (PCI etc.)" >> 463 config SBUS >> 464 bool 368 default y 465 default y 369 466 370 config ARC_HAS_ACCL_REGS !! 467 config SBUSCHAR 371 bool "Reg Pair ACCL:ACCH (FPU and/or M !! 468 bool 372 default y 469 default y >> 470 >> 471 config SUN_LDOMS >> 472 bool "Sun Logical Domains support" >> 473 depends on SPARC64 373 help 474 help 374 Depending on the configuration, CPU !! 475 Say Y here is you want to support virtual devices via 375 (also referred to as r58:r59). These !! 476 Logical Domains. 376 kernel needs to save/restore per pro << 377 477 378 config ARC_DSP_HANDLED !! 478 config PCI 379 def_bool n !! 479 bool "Support for PCI and PS/2 keyboard/mouse" >> 480 help >> 481 Find out whether your system includes a PCI bus. PCI is the name of >> 482 a bus system, i.e. the way the CPU talks to the other stuff inside >> 483 your box. If you say Y here, the kernel will include drivers and >> 484 infrastructure code to support PCI bus devices. 380 485 381 config ARC_DSP_SAVE_RESTORE_REGS !! 486 CONFIG_PCI is needed for all JavaStation's (including MrCoffee), 382 def_bool n !! 487 CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC. >> 488 All of these platforms are extremely obscure, so say N if unsure. 383 489 384 choice !! 490 config PCI_DOMAINS 385 prompt "DSP support" !! 491 def_bool PCI if SPARC64 386 default ARC_DSP_NONE << 387 help << 388 Depending on the configuration, CPU << 389 (ACC0_GLO, ACC0_GHI, DSP_BFLY0, DSP_ << 390 Below are options describing how to << 391 interrupt entry / exit and in contex << 392 << 393 config ARC_DSP_NONE << 394 bool "No DSP extension presence in HW" << 395 help << 396 No DSP extension presence in HW << 397 << 398 config ARC_DSP_KERNEL << 399 bool "DSP extension in HW, no support << 400 select ARC_HAS_ACCL_REGS << 401 select ARC_DSP_HANDLED << 402 help << 403 DSP extension presence in HW, no sup << 404 applications. We don't save / restor << 405 some minimal preparations so userspa << 406 << 407 config ARC_DSP_USERSPACE << 408 bool "Support DSP for userspace apps" << 409 select ARC_HAS_ACCL_REGS << 410 select ARC_DSP_HANDLED << 411 select ARC_DSP_SAVE_RESTORE_REGS << 412 help << 413 DSP extension presence in HW, suppor << 414 run DSP-enabled userspace applicatio << 415 << 416 config ARC_DSP_AGU_USERSPACE << 417 bool "Support DSP with AGU for userspa << 418 select ARC_HAS_ACCL_REGS << 419 select ARC_DSP_HANDLED << 420 select ARC_DSP_SAVE_RESTORE_REGS << 421 help << 422 DSP and AGU extensions presence in H << 423 and AGU registers to run DSP-enabled << 424 endchoice << 425 492 426 config ARC_IRQ_NO_AUTOSAVE !! 493 config PCI_SYSCALL 427 bool "Disable hardware autosave regfil !! 494 def_bool PCI 428 default n << 429 help << 430 On HS cores, taken interrupt auto sa << 431 This is programmable and can be opti << 432 software INTERRUPT_PROLOGUE/EPILGUE << 433 << 434 config ARC_LPB_DISABLE << 435 bool "Disable loop buffer (LPB)" << 436 help << 437 On HS cores, loop buffer (LPB) is pr << 438 be optionally disabled. << 439 << 440 endif # ISA_ARCV2 << 441 << 442 endmenu # "ARC CPU Configuration" << 443 << 444 config LINUX_LINK_BASE << 445 hex "Kernel link address" << 446 default "0x80000000" << 447 help << 448 ARC700 divides the 32 bit phy addres << 449 -Lower 2G (0 - 0x7FFF_FFFF ) is user << 450 -Upper 2G (0x8000_0000 onwards) is u << 451 Typically Linux kernel is linked at << 452 hence the default value of 0x8zs. << 453 However some customers have peripher << 454 Linux needs to be scooted a bit. << 455 If you don't know what the above mea << 456 This needs to match memory start add << 457 << 458 config LINUX_RAM_BASE << 459 hex "RAM base address" << 460 default LINUX_LINK_BASE << 461 help << 462 By default Linux is linked at base o << 463 cases (such as HSDK), Linux can't be << 464 this option. << 465 495 466 config HIGHMEM !! 496 source "drivers/pci/Kconfig" 467 bool "High Memory Support" << 468 select HAVE_ARCH_PFN_VALID << 469 select KMAP_LOCAL << 470 help << 471 With ARC 2G:2G address split, only u << 472 kernel. Enable this to potentially a << 473 in future << 474 497 475 config ARC_HAS_PAE40 !! 498 source "drivers/pcmcia/Kconfig" 476 bool "Support for the 40-bit Physical << 477 depends on ISA_ARCV2 << 478 select HIGHMEM << 479 select PHYS_ADDR_T_64BIT << 480 help << 481 Enable access to physical memory bey << 482 ARC cores with 40 bit Physical Addre << 483 499 484 config ARC_KVADDR_SIZE !! 500 config SUN_OPENPROMFS 485 int "Kernel Virtual Address Space size !! 501 tristate "Openprom tree appears in /proc/openprom" 486 range 0 512 << 487 default "256" << 488 help 502 help 489 The kernel address space is carved o !! 503 If you say Y, the OpenPROM device tree will be available as a 490 space for catering to vmalloc, modul !! 504 virtual file system, which you can mount to /proc/openprom by "mount 491 not suffice vmalloc requirements of !! 505 -t openpromfs none /proc/openprom". 492 this to be stretched to 512 MB (by e !! 506 493 kernel-user gutter) !! 507 To compile the /proc/openprom support as a module, choose M here: the >> 508 module will be called openpromfs. >> 509 >> 510 Only choose N if you know in advance that you will not need to modify >> 511 OpenPROM settings on the running system. 494 512 495 config ARC_CURR_IN_REG !! 513 # Makefile helpers 496 bool "cache current task pointer in gp !! 514 config SPARC32_PCI >> 515 bool 497 default y 516 default y 498 help !! 517 depends on SPARC32 && PCI 499 This reserves gp register to point t << 500 kernel mode eliding memory access fo << 501 518 >> 519 config SPARC64_PCI >> 520 bool >> 521 default y >> 522 depends on SPARC64 && PCI 502 523 503 config ARC_EMUL_UNALIGNED !! 524 endmenu 504 bool "Emulate unaligned memory access << 505 select SYSCTL_ARCH_UNALIGN_NO_WARN << 506 select SYSCTL_ARCH_UNALIGN_ALLOW << 507 depends on ISA_ARCOMPACT << 508 help << 509 This enables misaligned 16 & 32 bit << 510 Use ONLY-IF-ABS-NECESSARY as it will << 511 potential bugs in code << 512 525 513 config HZ !! 526 menu "Executable file formats" 514 int "Timer Frequency" << 515 default 100 << 516 527 517 config ARC_METAWARE_HLINK !! 528 source "fs/Kconfig.binfmt" 518 bool "Support for Metaware debugger as << 519 help << 520 This options allows a Linux userland << 521 host file system (open/creat/read/wr << 522 Metaware Debugger. This can come in << 523 when there is no real usable periphe << 524 529 525 menuconfig ARC_DBG !! 530 config COMPAT 526 bool "ARC debugging" !! 531 bool >> 532 depends on SPARC64 527 default y 533 default y >> 534 select COMPAT_BINFMT_ELF 528 535 529 if ARC_DBG !! 536 config SYSVIPC_COMPAT 530 !! 537 bool 531 config ARC_DW2_UNWIND !! 538 depends on COMPAT && SYSVIPC 532 bool "Enable DWARF specific kernel sta << 533 default y 539 default y 534 select KALLSYMS << 535 help << 536 Compiles the kernel with DWARF unwin << 537 to get stack backtraces. << 538 540 539 If you say Y here the resulting kern !! 541 endmenu 540 but not slower, and it will give ver << 541 If you don't debug the kernel, you c << 542 to solve problems without frame unwi << 543 542 544 config ARC_DBG_JUMP_LABEL !! 543 source "net/Kconfig" 545 bool "Paranoid checks in Static Keys ( << 546 depends on JUMP_LABEL << 547 default y if STATIC_KEYS_SELFTEST << 548 help << 549 Enable paranoid checks and self-test << 550 part of static keys (jump labels) re << 551 endif << 552 544 553 config ARC_BUILTIN_DTB_NAME !! 545 source "drivers/Kconfig" 554 string "Built in DTB" !! 546 555 help !! 547 source "drivers/sbus/char/Kconfig" 556 Set the name of the DTB to embed in !! 548 557 Leaving it blank selects the "nsim_7 !! 549 source "fs/Kconfig" >> 550 >> 551 source "arch/sparc/Kconfig.debug" 558 552 559 endmenu # "ARC Architecture Configuration" !! 553 source "security/Kconfig" 560 554 561 config ARCH_FORCE_MAX_ORDER !! 555 source "crypto/Kconfig" 562 int "Maximum zone order" << 563 default "11" if ARC_HUGEPAGE_16M << 564 default "10" << 565 556 566 source "kernel/power/Kconfig" !! 557 source "lib/Kconfig"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.