1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # SPDX-License-Identifier: GPL-2.0 2 # !! 2 config ALPHA 3 # Copyright (C) 2004, 2007-2010, 2011-2012 Syn !! 3 bool 4 # !! 4 default y 5 !! 5 select ARCH_32BIT_USTAT_F_TINODE 6 config ARC !! 6 select ARCH_HAS_CURRENT_STACK_POINTER 7 def_bool y !! 7 select ARCH_HAS_DMA_OPS if PCI 8 select ARC_TIMERS !! 8 select ARCH_MIGHT_HAVE_PC_PARPORT 9 select ARCH_HAS_CACHE_LINE_SIZE !! 9 select ARCH_MIGHT_HAVE_PC_SERIO 10 select ARCH_HAS_DEBUG_VM_PGTABLE !! 10 select ARCH_NO_PREEMPT 11 select ARCH_HAS_DMA_PREP_COHERENT !! 11 select ARCH_NO_SG_CHAIN 12 select ARCH_HAS_PTE_SPECIAL !! 12 select ARCH_USE_CMPXCHG_LOCKREF 13 select ARCH_HAS_SETUP_DMA_OPS !! 13 select FORCE_PCI 14 select ARCH_HAS_SYNC_DMA_FOR_CPU !! 14 select PCI_DOMAINS if PCI 15 select ARCH_HAS_SYNC_DMA_FOR_DEVICE !! 15 select PCI_SYSCALL if PCI 16 select ARCH_NEED_CMPXCHG_1_EMU !! 16 select HAVE_ASM_MODVERSIONS 17 select ARCH_SUPPORTS_ATOMIC_RMW if ARC !! 17 select HAVE_PAGE_SIZE_8KB 18 select ARCH_32BIT_OFF_T !! 18 select HAVE_PCSPKR_PLATFORM 19 select BUILDTIME_TABLE_SORT !! 19 select HAVE_PERF_EVENTS 20 select CLONE_BACKWARDS !! 20 select NEED_DMA_MAP_STATE 21 select COMMON_CLK !! 21 select NEED_SG_DMA_LENGTH 22 select DMA_DIRECT_REMAP !! 22 select GENERIC_IRQ_PROBE 23 select GENERIC_ATOMIC64 if !ISA_ARCV2 << 24 # for now, we don't need GENERIC_IRQ_P << 25 select GENERIC_IRQ_SHOW << 26 select GENERIC_PCI_IOMAP 23 select GENERIC_PCI_IOMAP 27 select GENERIC_PENDING_IRQ if SMP !! 24 select AUTO_IRQ_AFFINITY if SMP 28 select GENERIC_SCHED_CLOCK !! 25 select GENERIC_IRQ_SHOW >> 26 select ARCH_WANT_IPC_PARSE_VERSION >> 27 select ARCH_HAVE_NMI_SAFE_CMPXCHG >> 28 select AUDIT_ARCH >> 29 select GENERIC_CPU_VULNERABILITIES 29 select GENERIC_SMP_IDLE_THREAD 30 select GENERIC_SMP_IDLE_THREAD 30 select GENERIC_IOREMAP !! 31 select HAS_IOPORT 31 select GENERIC_STRNCPY_FROM_USER if MM !! 32 select HAVE_ARCH_AUDITSYSCALL 32 select GENERIC_STRNLEN_USER if MMU << 33 select HAVE_ARCH_KGDB << 34 select HAVE_ARCH_TRACEHOOK << 35 select HAVE_ARCH_TRANSPARENT_HUGEPAGE << 36 select HAVE_DEBUG_STACKOVERFLOW << 37 select HAVE_DEBUG_KMEMLEAK << 38 select HAVE_IOREMAP_PROT << 39 select HAVE_KERNEL_GZIP << 40 select HAVE_KERNEL_LZMA << 41 select HAVE_KPROBES << 42 select HAVE_KRETPROBES << 43 select HAVE_REGS_AND_STACK_ACCESS_API << 44 select HAVE_MOD_ARCH_SPECIFIC 33 select HAVE_MOD_ARCH_SPECIFIC 45 select HAVE_PERF_EVENTS << 46 select HAVE_SYSCALL_TRACEPOINTS << 47 select IRQ_DOMAIN << 48 select LOCK_MM_AND_FIND_VMA 34 select LOCK_MM_AND_FIND_VMA 49 select MODULES_USE_ELF_RELA 35 select MODULES_USE_ELF_RELA 50 select OF !! 36 select ODD_RT_SIGACTION 51 select OF_EARLY_FLATTREE !! 37 select OLD_SIGSUSPEND 52 select PCI_SYSCALL if PCI !! 38 select CPU_NO_EFFICIENT_FFS if !ALPHA_EV67 53 select HAVE_ARCH_JUMP_LABEL if ISA_ARC !! 39 select MMU_GATHER_NO_RANGE 54 select TRACE_IRQFLAGS_SUPPORT !! 40 select SPARSEMEM_EXTREME if SPARSEMEM 55 select HAVE_EBPF_JIT if ISA_ARCV2 !! 41 select ZONE_DMA 56 !! 42 help 57 config LOCKDEP_SUPPORT !! 43 The Alpha is a 64-bit general-purpose processor designed and 58 def_bool y !! 44 marketed by the Digital Equipment Corporation of blessed memory, 59 !! 45 now Hewlett-Packard. The Alpha Linux project has a home page at 60 config SCHED_OMIT_FRAME_POINTER !! 46 <http://www.alphalinux.org/>. 61 def_bool y << 62 47 63 config GENERIC_CSUM !! 48 config 64BIT 64 def_bool y << 65 << 66 config ARCH_FLATMEM_ENABLE << 67 def_bool y 49 def_bool y 68 50 69 config MMU 51 config MMU 70 def_bool y !! 52 bool 71 !! 53 default y 72 config NO_IOPORT_MAP << 73 def_bool y << 74 54 75 config GENERIC_CALIBRATE_DELAY !! 55 config ARCH_HAS_ILOG2_U32 76 def_bool y !! 56 bool >> 57 default n 77 58 78 config GENERIC_HWEIGHT !! 59 config ARCH_HAS_ILOG2_U64 79 def_bool y !! 60 bool >> 61 default n 80 62 81 config STACKTRACE_SUPPORT !! 63 config GENERIC_CALIBRATE_DELAY 82 def_bool y !! 64 bool 83 select STACKTRACE !! 65 default y 84 66 85 menu "ARC Architecture Configuration" !! 67 config GENERIC_ISA_DMA >> 68 bool >> 69 default y 86 70 87 menu "ARC Platform/SoC/Board" !! 71 config PGTABLE_LEVELS >> 72 int >> 73 default 3 88 74 89 source "arch/arc/plat-tb10x/Kconfig" !! 75 config AUDIT_ARCH 90 source "arch/arc/plat-axs10x/Kconfig" !! 76 bool 91 source "arch/arc/plat-hsdk/Kconfig" << 92 77 93 endmenu !! 78 menu "System setup" 94 79 95 choice 80 choice 96 prompt "ARC Instruction Set" !! 81 prompt "Alpha system type" 97 default ISA_ARCV2 !! 82 default ALPHA_GENERIC 98 << 99 config ISA_ARCOMPACT << 100 bool "ARCompact ISA" << 101 select CPU_NO_EFFICIENT_FFS << 102 help 83 help 103 The original ARC ISA of ARC600/700 c !! 84 This is the system type of your hardware. A "generic" kernel will >> 85 run on any supported Alpha system. However, if you configure a >> 86 kernel for your specific system, it will be faster and smaller. 104 87 105 config ISA_ARCV2 !! 88 To find out what type of Alpha system you have, you may want to 106 bool "ARC ISA v2" !! 89 check out the Linux/Alpha FAQ, accessible on the WWW from 107 select ARC_TIMERS_64BIT !! 90 <http://www.alphalinux.org/>. In summary: 108 help << 109 ISA for the Next Generation ARC-HS c << 110 91 111 endchoice !! 92 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366 >> 93 DP264 DP264 / DS20 / ES40 / DS10 / DS10L >> 94 LX164 AlphaPC164-LX >> 95 Miata Personal Workstation 433/500/600 a/au >> 96 Marvel AlphaServer ES47 / ES80 / GS1280 >> 97 Mikasa AS 1000 >> 98 Noritake AS 1000A, AS 600A, AS 800 >> 99 PC164 AlphaPC164 >> 100 Rawhide AS 1200, AS 4000, AS 4100 >> 101 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX >> 102 SX164 AlphaPC164-SX >> 103 Sable AS 2000, AS 2100 >> 104 Shark DS 20L >> 105 Takara Takara (OEM) >> 106 Titan AlphaServer ES45 / DS25 / DS15 >> 107 Wildfire AlphaServer GS 40/80/160/320 112 108 113 menu "ARC CPU Configuration" !! 109 If you don't know what to do, choose "generic". 114 110 115 choice !! 111 config ALPHA_GENERIC 116 prompt "ARC Core" !! 112 bool "Generic" 117 default ARC_CPU_770 if ISA_ARCOMPACT !! 113 depends on TTY 118 default ARC_CPU_HS if ISA_ARCV2 !! 114 select HAVE_EISA 119 !! 115 help 120 config ARC_CPU_770 !! 116 A generic kernel will run on all supported Alpha hardware. 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 117 151 endchoice !! 118 config ALPHA_ALCOR >> 119 bool "Alcor/Alpha-XLT" >> 120 select HAVE_EISA >> 121 help >> 122 For systems using the Digital ALCOR chipset: 5 chips (4, 64-bit data >> 123 slices (Data Switch, DSW) - 208-pin PQFP and 1 control (Control, I/O >> 124 Address, CIA) - a 383 pin plastic PGA). It provides a DRAM >> 125 controller (256-bit memory bus) and a PCI interface. It also does >> 126 all the work required to support an external Bcache and to maintain >> 127 memory coherence when a PCI device DMAs into (or out of) memory. 152 128 153 config ARC_TUNE_MCPU !! 129 config ALPHA_DP264 154 string "Override default -mcpu compile !! 130 bool "DP264" 155 default "" !! 131 help 156 help !! 132 Various 21264 systems with the tsunami core logic chipset. 157 Override default -mcpu=xxx compiler !! 133 API Networks: 264DP, UP2000(+), CS20; 158 the ISA version) with the specified !! 134 Compaq: DS10(E,L), XP900, XP1000, DS20(E), ES40. 159 NOTE: If specified flag isn't suppor << 160 ISA default value will be used as a << 161 135 162 config CPU_BIG_ENDIAN !! 136 config ALPHA_EIGER 163 bool "Enable Big Endian Mode" !! 137 bool "Eiger" 164 help 138 help 165 Build kernel for Big Endian Mode of !! 139 Apparently an obscure OEM single-board computer based on the >> 140 Typhoon/Tsunami chipset family. Information on it is scanty. 166 141 167 config SMP !! 142 config ALPHA_LX164 168 bool "Symmetric Multi-Processing" !! 143 bool "LX164" 169 select ARC_MCIP if ISA_ARCV2 << 170 help 144 help 171 This enables support for systems wit !! 145 A technical overview of this board is available at >> 146 <http://www.unix-ag.org/Linux-Alpha/Architectures/LX164.html>. 172 147 173 if SMP !! 148 config ALPHA_MARVEL >> 149 bool "Marvel" >> 150 help >> 151 AlphaServer ES47 / ES80 / GS1280 based on EV7. 174 152 175 config NR_CPUS !! 153 config ALPHA_MIATA 176 int "Maximum number of CPUs (2-4096)" !! 154 bool "Miata" 177 range 2 4096 !! 155 select HAVE_EISA 178 default "4" << 179 << 180 config ARC_SMP_HALT_ON_RESET << 181 bool "Enable Halt-on-reset boot mode" << 182 help << 183 In SMP configuration cores can be co << 184 or they could all start at same time << 185 masters are parked until Master kick << 186 at designated entry point. For other << 187 entry point and spin wait for Master << 188 << 189 endif #SMP << 190 << 191 config ARC_MCIP << 192 bool "ARConnect Multicore IP (MCIP) Su << 193 depends on ISA_ARCV2 << 194 default y if SMP << 195 help 156 help 196 This IP block enables SMP in ARC-HS3 !! 157 The Digital PersonalWorkStation (PWS 433a, 433au, 500a, 500au, 600a, 197 It provides for cross-core interrupt !! 158 or 600au). 198 hardware semaphores, shared memory,. << 199 159 200 menuconfig ARC_CACHE !! 160 config ALPHA_MIKASA 201 bool "Enable Cache Support" !! 161 bool "Mikasa" 202 default y !! 162 help >> 163 AlphaServer 1000-based Alpha systems. 203 164 204 if ARC_CACHE !! 165 config ALPHA_NAUTILUS >> 166 bool "Nautilus" >> 167 help >> 168 Alpha systems based on the AMD 751 & ALI 1543C chipsets. 205 169 206 config ARC_CACHE_LINE_SHIFT !! 170 config ALPHA_NORITAKE 207 int "Cache Line Length (as power of 2) !! 171 bool "Noritake" 208 range 5 7 !! 172 select HAVE_EISA 209 default "6" << 210 help 173 help 211 Starting with ARC700 4.9, Cache line !! 174 AlphaServer 1000A, AlphaServer 600A, and AlphaServer 800-based 212 This option specifies "N", with Line !! 175 systems. 213 So line lengths of 32, 64, 128 are s << 214 Linux only supports same line length << 215 176 216 config ARC_HAS_ICACHE !! 177 config ALPHA_PC164 217 bool "Use Instruction Cache" !! 178 bool "PC164" 218 default y << 219 179 220 config ARC_HAS_DCACHE !! 180 config ALPHA_RAWHIDE 221 bool "Use Data Cache" !! 181 bool "Rawhide" 222 default y !! 182 select HAVE_EISA >> 183 help >> 184 AlphaServer 1200, AlphaServer 4000 and AlphaServer 4100 machines. >> 185 See HOWTO at >> 186 <http://www.alphalinux.org/docs/rawhide/4100_install.shtml>. 223 187 224 config ARC_CACHE_PAGES !! 188 config ALPHA_RUFFIAN 225 bool "Per Page Cache Control" !! 189 bool "Ruffian" 226 default y << 227 depends on ARC_HAS_ICACHE || ARC_HAS_D << 228 help 190 help 229 This can be used to over-ride the gl !! 191 Samsung APC164UX. There is a page on known problems and workarounds 230 per-page basis (but only for pages a !! 192 at <http://www.alphalinux.org/faq/FAQ-11.html>. 231 Kernel Virtual address or User Virtu << 232 TLB entries have a per-page Cache En << 233 Note that Global I/D ENABLE + Per Pa << 234 Global DISABLE + Per Page ENABLE won << 235 193 236 endif #ARC_CACHE !! 194 config ALPHA_RX164 >> 195 bool "RX164" 237 196 238 config ARC_HAS_ICCM !! 197 config ALPHA_SX164 239 bool "Use ICCM" !! 198 bool "SX164" >> 199 >> 200 config ALPHA_SABLE >> 201 bool "Sable" >> 202 select HAVE_EISA 240 help 203 help 241 Single Cycle RAMS to store Fast Path !! 204 Digital AlphaServer 2000 and 2100-based systems. 242 205 243 config ARC_ICCM_SZ !! 206 config ALPHA_SHARK 244 int "ICCM Size in KB" !! 207 bool "Shark" 245 default "64" << 246 depends on ARC_HAS_ICCM << 247 208 248 config ARC_HAS_DCCM !! 209 config ALPHA_TAKARA 249 bool "Use DCCM" !! 210 bool "Takara" 250 help 211 help 251 Single Cycle RAMS to store Fast Path !! 212 Alpha 11164-based OEM single-board computer. 252 << 253 config ARC_DCCM_SZ << 254 int "DCCM Size in KB" << 255 default "64" << 256 depends on ARC_HAS_DCCM << 257 213 258 config ARC_DCCM_BASE !! 214 config ALPHA_TITAN 259 hex "DCCM map address" !! 215 bool "Titan" 260 default "0xA0000000" !! 216 help 261 depends on ARC_HAS_DCCM !! 217 AlphaServer ES45/DS25 SMP based on EV68 and Titan chipset. 262 218 263 choice !! 219 config ALPHA_WILDFIRE 264 prompt "MMU Version" !! 220 bool "Wildfire" 265 default ARC_MMU_V3 if ISA_ARCOMPACT !! 221 help 266 default ARC_MMU_V4 if ISA_ARCV2 !! 222 AlphaServer GS 40/80/160/320 SMP based on the EV67 core. 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 223 280 endchoice 224 endchoice 281 225 282 !! 226 # clear all implied options (don't want default values for those): 283 choice !! 227 # Most of these machines have ISA slots; not exactly sure which don't, 284 prompt "MMU Page Size" !! 228 # and this doesn't activate hordes of code, so do it always. 285 default ARC_PAGE_SIZE_8K !! 229 config ISA 286 !! 230 bool 287 config ARC_PAGE_SIZE_8K !! 231 default y 288 bool "8KB" << 289 select HAVE_PAGE_SIZE_8KB << 290 help 232 help 291 Choose between 8k vs 16k !! 233 Find out whether you have ISA slots on your motherboard. ISA is the >> 234 name of a bus system, i.e. the way the CPU talks to the other stuff >> 235 inside your box. Other bus systems are PCI, EISA, MicroChannel >> 236 (MCA) or VESA. ISA is an older system, now being displaced by PCI; >> 237 newer boards don't support it. If you have ISA, say Y, otherwise N. 292 238 293 config ARC_PAGE_SIZE_16K !! 239 config ISA_DMA_API 294 select HAVE_PAGE_SIZE_16KB !! 240 bool 295 bool "16KB" !! 241 default y 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 << 302 endchoice << 303 242 304 choice !! 243 config ALPHA_CIA 305 prompt "MMU Super Page Size" !! 244 bool 306 depends on ISA_ARCV2 && TRANSPARENT_HU !! 245 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR 307 default ARC_HUGEPAGE_2M !! 246 default y 308 247 309 config ARC_HUGEPAGE_2M !! 248 config ALPHA_EV56 310 bool "2MB" !! 249 bool >> 250 default y if ALPHA_ALCOR || ALPHA_RX164 || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN || ALPHA_PC164 || ALPHA_TAKARA || ALPHA_NORITAKE || ALPHA_MIKASA || ALPHA_RAWHIDE || ALPHA_SABLE 311 251 312 config ARC_HUGEPAGE_16M !! 252 config ALPHA_T2 313 bool "16MB" !! 253 bool >> 254 depends on ALPHA_SABLE >> 255 default y 314 256 315 endchoice !! 257 config ALPHA_PYXIS >> 258 bool >> 259 depends on ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_RUFFIAN >> 260 default y 316 261 317 config PGTABLE_LEVELS !! 262 config ALPHA_EV6 318 int "Number of Page table levels" !! 263 bool 319 default 2 !! 264 depends on ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER || ALPHA_MARVEL >> 265 default y 320 266 321 config ARC_COMPACT_IRQ_LEVELS !! 267 config ALPHA_TSUNAMI 322 depends on ISA_ARCOMPACT !! 268 bool 323 bool "Setup Timer IRQ as high Priority !! 269 depends on ALPHA_SHARK || ALPHA_DP264 || ALPHA_EIGER 324 # if SMP, LV2 enabled ONLY if ARC impl !! 270 default y 325 depends on !SMP << 326 271 327 config ARC_FPU_SAVE_RESTORE !! 272 config ALPHA_EV67 328 bool "Enable FPU state persistence acr !! 273 bool "EV67 (or later) CPU (speed > 600MHz)?" if ALPHA_DP264 || ALPHA_EIGER >> 274 default y if ALPHA_NAUTILUS || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL 329 help 275 help 330 ARCompact FPU has internal registers !! 276 Is this a machine based on the EV67 core? If in doubt, select N here 331 Floating Point operations. There are !! 277 and the machine will be treated as an EV6. 332 for floating point exceptions and ro << 333 preserved across task context switch << 334 278 335 config ARC_CANT_LLSC !! 279 config ALPHA_MCPCIA 336 def_bool n !! 280 bool >> 281 depends on ALPHA_RAWHIDE >> 282 default y 337 283 338 config ARC_HAS_LLSC !! 284 config ALPHA_POLARIS 339 bool "Insn: LLOCK/SCOND (efficient ato !! 285 bool >> 286 depends on ALPHA_RX164 340 default y 287 default y 341 depends on !ARC_CANT_LLSC << 342 288 343 config ARC_HAS_SWAPE !! 289 config ALPHA_IRONGATE 344 bool "Insn: SWAPE (endian-swap)" !! 290 bool >> 291 depends on ALPHA_NAUTILUS 345 default y 292 default y 346 293 347 if ISA_ARCV2 !! 294 config GENERIC_HWEIGHT >> 295 bool >> 296 default y if !ALPHA_EV67 348 297 349 config ARC_USE_UNALIGNED_MEM_ACCESS !! 298 config ALPHA_BROKEN_IRQ_MASK 350 bool "Enable unaligned access in HW" !! 299 bool >> 300 depends on ALPHA_GENERIC || ALPHA_PC164 351 default y 301 default y 352 select HAVE_EFFICIENT_UNALIGNED_ACCESS << 353 help << 354 The ARC HS architecture supports una << 355 which is disabled by default. Enable << 356 hardware and use software to use it << 357 302 358 config ARC_HAS_LL64 !! 303 config VGA_HOSE 359 bool "Insn: 64bit LDD/STD" !! 304 bool 360 help !! 305 depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI) 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 306 default y >> 307 help >> 308 Support VGA on an arbitrary hose; needed for several platforms >> 309 which always have multiple hoses, and whose consoles support it. 365 310 366 config ARC_HAS_DIV_REM << 367 bool "Insn: div, divu, rem, remu" << 368 default y << 369 311 370 config ARC_HAS_ACCL_REGS !! 312 config ALPHA_QEMU 371 bool "Reg Pair ACCL:ACCH (FPU and/or M !! 313 bool "Run under QEMU emulation" 372 default y !! 314 depends on !ALPHA_GENERIC 373 help 315 help 374 Depending on the configuration, CPU !! 316 Assume the presence of special features supported by QEMU PALcode 375 (also referred to as r58:r59). These !! 317 that reduce the overhead of system emulation. 376 kernel needs to save/restore per pro << 377 318 378 config ARC_DSP_HANDLED !! 319 Generic kernels will auto-detect QEMU. But when building a 379 def_bool n !! 320 system-specific kernel, the assumption is that we want to >> 321 eliminate as many runtime tests as possible. 380 322 381 config ARC_DSP_SAVE_RESTORE_REGS !! 323 If unsure, say N. 382 def_bool n << 383 324 384 choice << 385 prompt "DSP support" << 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 325 426 config ARC_IRQ_NO_AUTOSAVE !! 326 config ALPHA_SRM 427 bool "Disable hardware autosave regfil !! 327 bool "Use SRM as bootloader" if ALPHA_PC164 || ALPHA_TAKARA || ALPHA_ALCOR || ALPHA_MIATA || ALPHA_LX164 || ALPHA_SX164 || ALPHA_NAUTILUS 428 default n !! 328 depends on TTY >> 329 default y if ALPHA_MIKASA || ALPHA_SABLE || ALPHA_NORITAKE || ALPHA_DP264 || ALPHA_RAWHIDE || ALPHA_EIGER || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_SHARK || ALPHA_MARVEL 429 help 330 help 430 On HS cores, taken interrupt auto sa !! 331 There are two different types of booting firmware on Alphas: SRM, 431 This is programmable and can be opti !! 332 which is command line driven, and ARC, which uses menus and arrow 432 software INTERRUPT_PROLOGUE/EPILGUE !! 333 keys. Details about the Linux/Alpha booting process are contained in 433 !! 334 the Linux/Alpha FAQ, accessible on the WWW from 434 config ARC_LPB_DISABLE !! 335 <http://www.alphalinux.org/>. 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 << 466 config HIGHMEM << 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 << 475 config ARC_HAS_PAE40 << 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 << 484 config ARC_KVADDR_SIZE << 485 int "Kernel Virtual Address Space size << 486 range 0 512 << 487 default "256" << 488 help << 489 The kernel address space is carved o << 490 space for catering to vmalloc, modul << 491 not suffice vmalloc requirements of << 492 this to be stretched to 512 MB (by e << 493 kernel-user gutter) << 494 << 495 config ARC_CURR_IN_REG << 496 bool "cache current task pointer in gp << 497 default y << 498 help << 499 This reserves gp register to point t << 500 kernel mode eliding memory access fo << 501 << 502 << 503 config ARC_EMUL_UNALIGNED << 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 336 513 config HZ !! 337 The usual way to load Linux on an Alpha machine is to use MILO 514 int "Timer Frequency" !! 338 (a bootloader that lets you pass command line parameters to the 515 default 100 !! 339 kernel just like lilo does for the x86 architecture) which can be >> 340 loaded either from ARC or can be installed directly as a permanent >> 341 firmware replacement from floppy (which requires changing a certain >> 342 jumper on the motherboard). If you want to do either of these, say N >> 343 here. If MILO doesn't work on your system (true for Jensen >> 344 motherboards), you can bypass it altogether and boot Linux directly >> 345 from an SRM console; say Y here in order to do that. Note that you >> 346 won't be able to boot from an IDE disk using SRM. >> 347 >> 348 If unsure, say N. >> 349 >> 350 config ARCH_MAY_HAVE_PC_FDC >> 351 def_bool y 516 352 517 config ARC_METAWARE_HLINK !! 353 config SMP 518 bool "Support for Metaware debugger as !! 354 bool "Symmetric multi-processing support" >> 355 depends on ALPHA_SABLE || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL 519 help 356 help 520 This options allows a Linux userland !! 357 This enables support for systems with more than one CPU. If you have 521 host file system (open/creat/read/wr !! 358 a system with only one CPU, say N. If you have a system with more 522 Metaware Debugger. This can come in !! 359 than one CPU, say Y. 523 when there is no real usable periphe !! 360 >> 361 If you say N here, the kernel will run on uni- and multiprocessor >> 362 machines, but will use only one CPU of a multiprocessor machine. If >> 363 you say Y here, the kernel will run on many, but not all, >> 364 uniprocessor machines. On a uniprocessor machine, the kernel >> 365 will run faster if you say N here. 524 366 525 menuconfig ARC_DBG !! 367 See also the SMP-HOWTO available at 526 bool "ARC debugging" !! 368 <https://www.tldp.org/docs.html#howto>. 527 default y << 528 369 529 if ARC_DBG !! 370 If you don't know what to do here, say N. 530 371 531 config ARC_DW2_UNWIND !! 372 config NR_CPUS 532 bool "Enable DWARF specific kernel sta !! 373 int "Maximum number of CPUs (2-32)" 533 default y !! 374 range 2 32 534 select KALLSYMS !! 375 depends on SMP >> 376 default "32" if ALPHA_GENERIC || ALPHA_MARVEL >> 377 default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL >> 378 help >> 379 MARVEL support can handle a maximum of 32 CPUs, all the others >> 380 with working support have a maximum of 4 CPUs. >> 381 >> 382 config ARCH_SPARSEMEM_ENABLE >> 383 bool "Sparse Memory Support" >> 384 help >> 385 Say Y to support efficient handling of discontiguous physical memory, >> 386 for systems that have huge holes in the physical address space. >> 387 >> 388 config ALPHA_WTINT >> 389 bool "Use WTINT" if ALPHA_SRM || ALPHA_GENERIC >> 390 default y if ALPHA_QEMU >> 391 default n if ALPHA_EV56 >> 392 default n if !ALPHA_SRM && !ALPHA_GENERIC >> 393 default y if SMP 535 help 394 help 536 Compiles the kernel with DWARF unwin !! 395 The Wait for Interrupt (WTINT) PALcall attempts to place the CPU 537 to get stack backtraces. !! 396 to sleep until the next interrupt. This may reduce the power >> 397 consumed, and the heat produced by the computer. However, it has >> 398 the side effect of making the cycle counter unreliable as a timing >> 399 device across the sleep. >> 400 >> 401 For emulation under QEMU, definitely say Y here, as we have other >> 402 mechanisms for measuring time than the cycle counter. >> 403 >> 404 For EV4 (but not LCA), EV5 and EV56 systems, or for systems running >> 405 MILO, sleep mode is not supported so you might as well say N here. >> 406 >> 407 For SMP systems we cannot use the cycle counter for timing anyway, >> 408 so you might as well say Y here. >> 409 >> 410 If unsure, say N. >> 411 >> 412 # LARGE_VMALLOC is racy, if you *really* need it then fix it first >> 413 config ALPHA_LARGE_VMALLOC >> 414 bool >> 415 help >> 416 Process creation and other aspects of virtual memory management can >> 417 be streamlined if we restrict the kernel to one PGD for all vmalloc >> 418 allocations. This equates to about 8GB. >> 419 >> 420 Under normal circumstances, this is so far and above what is needed >> 421 as to be laughable. However, there are certain applications (such >> 422 as benchmark-grade in-kernel web serving) that can make use of as >> 423 much vmalloc space as is available. >> 424 >> 425 Say N unless you know you need gobs and gobs of vmalloc space. >> 426 >> 427 config VERBOSE_MCHECK >> 428 bool "Verbose Machine Checks" >> 429 >> 430 config VERBOSE_MCHECK_ON >> 431 int "Verbose Printing Mode (0=off, 1=on, 2=all)" >> 432 depends on VERBOSE_MCHECK >> 433 default 1 >> 434 help >> 435 This option allows the default printing mode to be set, and then >> 436 possibly overridden by a boot command argument. >> 437 >> 438 For example, if one wanted the option of printing verbose >> 439 machine checks, but wanted the default to be as if verbose >> 440 machine check printing was turned off, then one would choose >> 441 the printing mode to be 0. Then, upon reboot, one could add >> 442 the boot command line "verbose_mcheck=1" to get the normal >> 443 verbose machine check printing, or "verbose_mcheck=2" to get >> 444 the maximum information available. 538 445 539 If you say Y here the resulting kern !! 446 Take the default (1) unless you want more control or more info. 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 447 544 config ARC_DBG_JUMP_LABEL !! 448 choice 545 bool "Paranoid checks in Static Keys ( !! 449 prompt "Timer interrupt frequency (HZ)?" 546 depends on JUMP_LABEL !! 450 default HZ_128 if ALPHA_QEMU 547 default y if STATIC_KEYS_SELFTEST !! 451 default HZ_1200 if ALPHA_RAWHIDE 548 help !! 452 default HZ_1024 549 Enable paranoid checks and self-test !! 453 help 550 part of static keys (jump labels) re !! 454 The frequency at which timer interrupts occur. A high frequency 551 endif !! 455 minimizes latency, whereas a low frequency minimizes overhead of >> 456 process accounting. The later effect is especially significant >> 457 when being run under QEMU. >> 458 >> 459 Note that some Alpha hardware cannot change the interrupt frequency >> 460 of the timer. If unsure, say 1024 (or 1200 for Rawhide). >> 461 >> 462 config HZ_32 >> 463 bool "32 Hz" >> 464 config HZ_64 >> 465 bool "64 Hz" >> 466 config HZ_128 >> 467 bool "128 Hz" >> 468 config HZ_256 >> 469 bool "256 Hz" >> 470 config HZ_1024 >> 471 bool "1024 Hz" >> 472 config HZ_1200 >> 473 bool "1200 Hz" >> 474 endchoice 552 475 553 config ARC_BUILTIN_DTB_NAME !! 476 config HZ 554 string "Built in DTB" !! 477 int 555 help !! 478 default 32 if HZ_32 556 Set the name of the DTB to embed in !! 479 default 64 if HZ_64 557 Leaving it blank selects the "nsim_7 !! 480 default 128 if HZ_128 >> 481 default 256 if HZ_256 >> 482 default 1200 if HZ_1200 >> 483 default 1024 >> 484 >> 485 config SRM_ENV >> 486 tristate "SRM environment through procfs" >> 487 depends on PROC_FS >> 488 help >> 489 If you enable this option, a subdirectory inside /proc called >> 490 /proc/srm_environment will give you access to the all important >> 491 SRM environment variables (those which have a name) and also >> 492 to all others (by their internal number). >> 493 >> 494 SRM is something like a BIOS for Alpha machines. There are some >> 495 other such BIOSes, like AlphaBIOS, which this driver cannot >> 496 support (hey, that's not SRM!). >> 497 >> 498 Despite the fact that this driver doesn't work on all Alphas (but >> 499 only on those which have SRM as their firmware), it's save to >> 500 build it even if your particular machine doesn't know about SRM >> 501 (or if you intend to compile a generic kernel). It will simply >> 502 not create those subdirectory in /proc (and give you some warning, >> 503 of course). 558 504 559 endmenu # "ARC Architecture Configuration" !! 505 This driver is also available as a module and will be called >> 506 srm_env then. 560 507 561 config ARCH_FORCE_MAX_ORDER !! 508 endmenu 562 int "Maximum zone order" << 563 default "11" if ARC_HUGEPAGE_16M << 564 default "10" << 565 509 566 source "kernel/power/Kconfig" !! 510 # DUMMY_CONSOLE may be defined in drivers/video/console/Kconfig >> 511 # but we also need it if VGA_HOSE is set >> 512 config DUMMY_CONSOLE >> 513 bool >> 514 depends on VGA_HOSE >> 515 default y
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.