xref: /linux/arch/sparc/Kconfig (revision 5efad9eee33ee5fc4bf3059f74f3932a638534d1)
1761b6026SBastian Blankconfig 64BIT
2761b6026SBastian Blank	bool "64-bit kernel" if ARCH = "sparc"
3761b6026SBastian Blank	default ARCH = "sparc64"
4761b6026SBastian Blank	help
5761b6026SBastian Blank	  SPARC is a family of RISC microprocessors designed and marketed by
6761b6026SBastian Blank	  Sun Microsystems, incorporated.  They are very widely found in Sun
7761b6026SBastian Blank	  workstations and clones.
8761b6026SBastian Blank
9761b6026SBastian Blank	  Say yes to build a 64-bit kernel - formerly known as sparc64
10761b6026SBastian Blank	  Say no to build a 32-bit kernel - formerly known as sparc
11761b6026SBastian Blank
1235da3e39SSam Ravnborgconfig SPARC
1335da3e39SSam Ravnborg	bool
1435da3e39SSam Ravnborg	default y
15ff649a6fSMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT if SPARC64 && PCI
16a5252c28SMark Salter	select ARCH_MIGHT_HAVE_PC_SERIO
177b14c647SStephen Rothwell	select OF
183cfc535cSAndres Salomon	select OF_PROMTREE
1935da3e39SSam Ravnborg	select HAVE_IDE
2035da3e39SSam Ravnborg	select HAVE_OPROFILE
2126b4c912SSam Ravnborg	select HAVE_ARCH_KGDB if !SMP || SPARC64
2235da3e39SSam Ravnborg	select HAVE_ARCH_TRACEHOOK
235f56a5dfSJiri Slaby	select HAVE_EXIT_THREAD
247ac57a89SCatalin Marinas	select SYSCTL_EXCEPTION_TRACE
2535da3e39SSam Ravnborg	select RTC_CLASS
2635da3e39SSam Ravnborg	select RTC_DRV_M48T59
27460ea8d7SXunlei Pang	select RTC_SYSTOHC
28451d7400SFUJITA Tomonori	select HAVE_DMA_API_DEBUG
294f6500ffSPaul Gortmaker	select HAVE_ARCH_JUMP_LABEL if SPARC64
306baa9b20SSam Ravnborg	select GENERIC_IRQ_SHOW
31c1d7e01dSWill Deacon	select ARCH_WANT_IPC_PARSE_VERSION
32a21a2fd4SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
33d314d74cSCong Wang	select HAVE_NMI_WATCHDOG if SPARC64
347a12b503SDavid S. Miller	select HAVE_CBPF_JIT if SPARC32
357a12b503SDavid S. Miller	select HAVE_EBPF_JIT if SPARC64
369b2a60c4SCatalin Marinas	select HAVE_DEBUG_BUGVERBOSE
37f0a2bc7eSThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
38c7523a7cSLinus Torvalds	select GENERIC_CLOCKEVENTS
392922585bSDavid S. Miller	select GENERIC_STRNCPY_FROM_USER
402c66f623SDavid Miller	select GENERIC_STRNLEN_USER
41786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
42eaca6eaeSAl Viro	select ODD_RT_SIGACTION
4352ad6b3fSAl Viro	select OLD_SIGSUSPEND
44308c09f1SLaura Abbott	select ARCH_HAS_SG_CHAIN
45fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS
46395102dbSDaniel Jordan	select LOCKDEP_SMALL if LOCKDEP
4735da3e39SSam Ravnborg
4835da3e39SSam Ravnborgconfig SPARC32
49761b6026SBastian Blank	def_bool !64BIT
50aea1181bSSam Ravnborg	select GENERIC_ATOMIC64
51c6df4b17SDavid Miller	select CLZ_TAB
52af1839ebSCatalin Marinas	select HAVE_UID16
53a274bd49SAl Viro	select OLD_SIGACTION
5435da3e39SSam Ravnborg
5526b4c912SSam Ravnborgconfig SPARC64
56761b6026SBastian Blank	def_bool 64BIT
5726b4c912SSam Ravnborg	select HAVE_FUNCTION_TRACER
589960e9e8SDavid S. Miller	select HAVE_FUNCTION_GRAPH_TRACER
5926b4c912SSam Ravnborg	select HAVE_KRETPROBES
6026b4c912SSam Ravnborg	select HAVE_KPROBES
614a0100f7SDavid S. Miller	select HAVE_RCU_TABLE_FREE if SMP
6295f72d1eSYinghai Lu	select HAVE_MEMBLOCK
632a4814dfSTejun Heo	select HAVE_MEMBLOCK_NODE_MAP
64b9156ebbSDavid S. Miller	select HAVE_ARCH_TRANSPARENT_HUGEPAGE
659be12f9bSDavid S. Miller	select HAVE_DYNAMIC_FTRACE
669be12f9bSDavid S. Miller	select HAVE_FTRACE_MCOUNT_RECORD
67c658ad1bSDavid S. Miller	select HAVE_SYSCALL_TRACEPOINTS
68812cb83aSKirill Tkhai	select HAVE_CONTEXT_TRACKING
69b69ec42bSCatalin Marinas	select HAVE_DEBUG_KMEMLEAK
70ee6a9333Sbob picco	select SPARSE_IRQ
7126b4c912SSam Ravnborg	select RTC_DRV_CMOS
7226b4c912SSam Ravnborg	select RTC_DRV_BQ4802
7326b4c912SSam Ravnborg	select RTC_DRV_SUN4V
7426b4c912SSam Ravnborg	select RTC_DRV_STARFIRE
75cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
76906010b2SPeter Zijlstra	select PERF_USE_VMALLOC
77fcd8d4f4SThomas Gleixner	select IRQ_PREFLOW_FASTEOI
78df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
79178a2960SDavid S. Miller	select HAVE_C_RECORDMCOUNT
80625d693eSDavid S. Miller	select NO_BOOTMEM
817a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
824badad35SPeter Zijlstra	select ARCH_SUPPORTS_ATOMIC_RMW
8342a0bb3fSPetr Mladek	select HAVE_NMI
84b7c02b73SDavid S. Miller	select HAVE_REGS_AND_STACK_ACCESS_API
85a37594f1SBabu Moger	select ARCH_USE_QUEUED_RWLOCKS
86145d9785SBabu Moger	select ARCH_USE_QUEUED_SPINLOCKS
879a08862aSNagarathnam Muthusamy	select GENERIC_TIME_VSYSCALL
889a08862aSNagarathnam Muthusamy	select ARCH_CLOCKSOURCE_DATA
8926b4c912SSam Ravnborg
905e538790SSam Ravnborgconfig ARCH_DEFCONFIG
915e538790SSam Ravnborg	string
925e538790SSam Ravnborg	default "arch/sparc/configs/sparc32_defconfig" if SPARC32
935e538790SSam Ravnborg	default "arch/sparc/configs/sparc64_defconfig" if SPARC64
945e538790SSam Ravnborg
953c08158eSDavid S. Millerconfig ARCH_PROC_KCORE_TEXT
963c08158eSDavid S. Miller	def_bool y
973c08158eSDavid S. Miller
9897d9f969SBabu Mogerconfig CPU_BIG_ENDIAN
9997d9f969SBabu Moger	def_bool y
10097d9f969SBabu Moger
101c88c545bSDave Kleikampconfig ARCH_ATU
102c88c545bSDave Kleikamp	bool
103c88c545bSDave Kleikamp	default y if SPARC64
104c88c545bSDave Kleikamp
105d30a6b84STushar Daveconfig ARCH_DMA_ADDR_T_64BIT
106d30a6b84STushar Dave	bool
107d30a6b84STushar Dave	default y if ARCH_ATU
108d30a6b84STushar Dave
10926b4c912SSam Ravnborgconfig IOMMU_HELPER
11026b4c912SSam Ravnborg	bool
11126b4c912SSam Ravnborg	default y if SPARC64
11226b4c912SSam Ravnborg
11326b4c912SSam Ravnborgconfig STACKTRACE_SUPPORT
11426b4c912SSam Ravnborg	bool
11526b4c912SSam Ravnborg	default y if SPARC64
11626b4c912SSam Ravnborg
11726b4c912SSam Ravnborgconfig LOCKDEP_SUPPORT
11826b4c912SSam Ravnborg	bool
11926b4c912SSam Ravnborg	default y if SPARC64
12026b4c912SSam Ravnborg
121bdde6b3cSTkhai Kirillconfig ARCH_HIBERNATION_POSSIBLE
122bdde6b3cSTkhai Kirill	def_bool y if SPARC64
123bdde6b3cSTkhai Kirill
12426b4c912SSam Ravnborgconfig AUDIT_ARCH
12526b4c912SSam Ravnborg	bool
1267e7e93a2SDavid S. Miller	default y
12726b4c912SSam Ravnborg
12826b4c912SSam Ravnborgconfig HAVE_SETUP_PER_CPU_AREA
12926b4c912SSam Ravnborg	def_bool y if SPARC64
13026b4c912SSam Ravnborg
131bcb2107fSTejun Heoconfig NEED_PER_CPU_EMBED_FIRST_CHUNK
1324fd78a5fSDavid S. Miller	def_bool y if SPARC64
1334fd78a5fSDavid S. Miller
134a70c6913STejun Heoconfig NEED_PER_CPU_PAGE_FIRST_CHUNK
135a70c6913STejun Heo	def_bool y if SPARC64
136a70c6913STejun Heo
1371da177e4SLinus Torvaldsconfig MMU
1381da177e4SLinus Torvalds	bool
1391da177e4SLinus Torvalds	default y
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvaldsconfig HIGHMEM
1421da177e4SLinus Torvalds	bool
14326b4c912SSam Ravnborg	default y if SPARC32
1441da177e4SLinus Torvalds
1455ac6da66SChristoph Lameterconfig ZONE_DMA
1465ac6da66SChristoph Lameter	bool
14726b4c912SSam Ravnborg	default y if SPARC32
1485ac6da66SChristoph Lameter
149d15b51beSFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
150d15b51beSFUJITA Tomonori	def_bool y
151d15b51beSFUJITA Tomonori
15218e98307SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
15318e98307SFUJITA Tomonori	def_bool y
15418e98307SFUJITA Tomonori
1551da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
1561da177e4SLinus Torvalds	bool
15726b4c912SSam Ravnborg	default y if SPARC32
1581da177e4SLinus Torvalds
1596a11f75bSAkinobu Mitaconfig ARCH_SUPPORTS_DEBUG_PAGEALLOC
1606a11f75bSAkinobu Mita	def_bool y if SPARC64
1616a11f75bSAkinobu Mita
16281a2936cSKirill A. Shutemovconfig PGTABLE_LEVELS
16381a2936cSKirill A. Shutemov	default 4 if 64BIT
16481a2936cSKirill A. Shutemov	default 3
16581a2936cSKirill A. Shutemov
166e8f4aa60SAllen Paisconfig ARCH_SUPPORTS_UPROBES
167e8f4aa60SAllen Pais	def_bool y if SPARC64
168e8f4aa60SAllen Pais
1691da177e4SLinus Torvaldssource "init/Kconfig"
1701da177e4SLinus Torvalds
171dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
172dc52ddc0SMatt Helsley
17326b4c912SSam Ravnborgmenu "Processor type and features"
1741da177e4SLinus Torvalds
1751da177e4SLinus Torvaldsconfig SMP
1766b7679ddSDavid S. Miller	bool "Symmetric multi-processing support"
1771da177e4SLinus Torvalds	---help---
1781da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
1791da177e4SLinus Torvalds	  a system with only one CPU, say N. If you have a system with more
1801da177e4SLinus Torvalds	  than one CPU, say Y.
1811da177e4SLinus Torvalds
1824a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
1831da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
1841da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
1854a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
1861da177e4SLinus Torvalds	  will run faster if you say N here.
1871da177e4SLinus Torvalds
1881da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
1891da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
1901da177e4SLinus Torvalds	  Management" code will be disabled if you say Y here.
1911da177e4SLinus Torvalds
19203502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
19303502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvalds	  If you don't know what to do here, say N.
1961da177e4SLinus Torvalds
1971da177e4SLinus Torvaldsconfig NR_CPUS
19826b4c912SSam Ravnborg	int "Maximum number of CPUs"
1991da177e4SLinus Torvalds	depends on SMP
20026b4c912SSam Ravnborg	range 2 32 if SPARC32
201c79a1373SJane Chu	range 2 4096 if SPARC64
20226b4c912SSam Ravnborg	default 32 if SPARC32
203c79a1373SJane Chu	default 4096 if SPARC64
2041da177e4SLinus Torvalds
20526b4c912SSam Ravnborgsource kernel/Kconfig.hz
20626b4c912SSam Ravnborg
20726b4c912SSam Ravnborgconfig RWSEM_GENERIC_SPINLOCK
20826b4c912SSam Ravnborg	bool
20926b4c912SSam Ravnborg	default y if SPARC32
21026b4c912SSam Ravnborg
21126b4c912SSam Ravnborgconfig RWSEM_XCHGADD_ALGORITHM
21226b4c912SSam Ravnborg	bool
21326b4c912SSam Ravnborg	default y if SPARC64
21426b4c912SSam Ravnborg
21526b4c912SSam Ravnborgconfig GENERIC_HWEIGHT
21626b4c912SSam Ravnborg	bool
217e0b20296SPaul Bolle	default y
21826b4c912SSam Ravnborg
21926b4c912SSam Ravnborgconfig GENERIC_CALIBRATE_DELAY
22026b4c912SSam Ravnborg	bool
22126b4c912SSam Ravnborg	default y
22226b4c912SSam Ravnborg
22326b4c912SSam Ravnborgconfig ARCH_MAY_HAVE_PC_FDC
22426b4c912SSam Ravnborg	bool
22526b4c912SSam Ravnborg	default y
22626b4c912SSam Ravnborg
22726b4c912SSam Ravnborgconfig EMULATED_CMPXCHG
22826b4c912SSam Ravnborg	bool
22926b4c912SSam Ravnborg	default y if SPARC32
23026b4c912SSam Ravnborg	help
23126b4c912SSam Ravnborg	  Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
23226b4c912SSam Ravnborg	  is emulated, and therefore it is not completely atomic.
23326b4c912SSam Ravnborg
234d670bd4fSSam Ravnborg# Makefile helpers
235d670bd4fSSam Ravnborgconfig SPARC32_SMP
236d670bd4fSSam Ravnborg	bool
237d670bd4fSSam Ravnborg	default y
238d670bd4fSSam Ravnborg	depends on SPARC32 && SMP
239d670bd4fSSam Ravnborg
240d670bd4fSSam Ravnborgconfig SPARC64_SMP
241d670bd4fSSam Ravnborg	bool
242d670bd4fSSam Ravnborg	default y
243d670bd4fSSam Ravnborg	depends on SPARC64 && SMP
244d670bd4fSSam Ravnborg
245c57ec52fSDavid S. Millerconfig EARLYFB
246c57ec52fSDavid S. Miller	bool "Support for early boot text console"
247c57ec52fSDavid S. Miller	default y
248c57ec52fSDavid S. Miller	depends on SPARC64
249c57ec52fSDavid S. Miller	help
250c57ec52fSDavid S. Miller	  Say Y here to enable a faster early framebuffer boot console.
251c57ec52fSDavid S. Miller
25226b4c912SSam Ravnborgconfig SECCOMP
25326b4c912SSam Ravnborg	bool "Enable seccomp to safely compute untrusted bytecode"
25426b4c912SSam Ravnborg	depends on SPARC64 && PROC_FS
25526b4c912SSam Ravnborg	default y
25626b4c912SSam Ravnborg	help
25726b4c912SSam Ravnborg	  This kernel feature is useful for number crunching applications
25826b4c912SSam Ravnborg	  that may need to compute untrusted bytecode during their
25926b4c912SSam Ravnborg	  execution. By using pipes or other transports made available to
26026b4c912SSam Ravnborg	  the process as file descriptors supporting the read/write
26126b4c912SSam Ravnborg	  syscalls, it's possible to isolate those applications in
26226b4c912SSam Ravnborg	  their own address space using seccomp. Once seccomp is
26326b4c912SSam Ravnborg	  enabled via /proc/<pid>/seccomp, it cannot be disabled
26426b4c912SSam Ravnborg	  and the task is only allowed to execute a few safe syscalls
26526b4c912SSam Ravnborg	  defined by each seccomp mode.
26626b4c912SSam Ravnborg
26726b4c912SSam Ravnborg	  If unsure, say Y. Only embedded should say N here.
26826b4c912SSam Ravnborg
26926b4c912SSam Ravnborgconfig HOTPLUG_CPU
27026b4c912SSam Ravnborg	bool "Support for hot-pluggable CPUs"
27126b4c912SSam Ravnborg	depends on SPARC64 && SMP
27226b4c912SSam Ravnborg	help
27326b4c912SSam Ravnborg	  Say Y here to experiment with turning CPUs off and on.  CPUs
27426b4c912SSam Ravnborg	  can be controlled through /sys/devices/system/cpu/cpu#.
27526b4c912SSam Ravnborg	  Say N if you want to disable CPU hotplug.
27626b4c912SSam Ravnborg
27726b4c912SSam Ravnborgif SPARC64
27826b4c912SSam Ravnborgsource "drivers/cpufreq/Kconfig"
27926b4c912SSam Ravnborgendif
28026b4c912SSam Ravnborg
28126b4c912SSam Ravnborgconfig US3_MC
28226b4c912SSam Ravnborg	tristate "UltraSPARC-III Memory Controller driver"
28326b4c912SSam Ravnborg	depends on SPARC64
28426b4c912SSam Ravnborg	default y
28526b4c912SSam Ravnborg	help
28626b4c912SSam Ravnborg	  This adds a driver for the UltraSPARC-III memory controller.
28726b4c912SSam Ravnborg	  Loading this driver allows exact mnemonic strings to be
28826b4c912SSam Ravnborg	  printed in the event of a memory error, so that the faulty DIMM
28926b4c912SSam Ravnborg	  on the motherboard can be matched to the error.
29026b4c912SSam Ravnborg
29126b4c912SSam Ravnborg	  If in doubt, say Y, as this information can be very useful.
2921da177e4SLinus Torvalds
2931da177e4SLinus Torvalds# Global things across all Sun machines.
29426b4c912SSam Ravnborgconfig GENERIC_LOCKBREAK
29526b4c912SSam Ravnborg	bool
29626b4c912SSam Ravnborg	default y
29726b4c912SSam Ravnborg	depends on SPARC64 && SMP && PREEMPT
29826b4c912SSam Ravnborg
29926b4c912SSam Ravnborgconfig NUMA
30026b4c912SSam Ravnborg	bool "NUMA support"
30126b4c912SSam Ravnborg	depends on SPARC64 && SMP
30226b4c912SSam Ravnborg
30326b4c912SSam Ravnborgconfig NODES_SHIFT
3047485af89SJane Chu	int "Maximum NUMA Nodes (as a power of 2)"
3057485af89SJane Chu	range 4 5 if SPARC64
3067485af89SJane Chu	default "5"
30726b4c912SSam Ravnborg	depends on NEED_MULTIPLE_NODES
3087485af89SJane Chu	help
3097485af89SJane Chu	  Specify the maximum number of NUMA Nodes available on the target
3107485af89SJane Chu	  system.  Increases memory reserved to accommodate various tables.
31126b4c912SSam Ravnborg
31226b4c912SSam Ravnborg# Some NUMA nodes have memory ranges that span
31326b4c912SSam Ravnborg# other nodes.  Even though a pfn is valid and
31426b4c912SSam Ravnborg# between a node's start and end pfns, it may not
31526b4c912SSam Ravnborg# reside on that node.  See memmap_init_zone()
31626b4c912SSam Ravnborg# for details.
31726b4c912SSam Ravnborgconfig NODES_SPAN_OTHER_NODES
31826b4c912SSam Ravnborg	def_bool y
31926b4c912SSam Ravnborg	depends on NEED_MULTIPLE_NODES
32026b4c912SSam Ravnborg
32126b4c912SSam Ravnborgconfig ARCH_SELECT_MEMORY_MODEL
32226b4c912SSam Ravnborg	def_bool y if SPARC64
32326b4c912SSam Ravnborg
32426b4c912SSam Ravnborgconfig ARCH_SPARSEMEM_ENABLE
32526b4c912SSam Ravnborg	def_bool y if SPARC64
32626b4c912SSam Ravnborg	select SPARSEMEM_VMEMMAP_ENABLE
32726b4c912SSam Ravnborg
32826b4c912SSam Ravnborgconfig ARCH_SPARSEMEM_DEFAULT
32926b4c912SSam Ravnborg	def_bool y if SPARC64
33026b4c912SSam Ravnborg
331c88c545bSDave Kleikampconfig FORCE_MAX_ZONEORDER
332c88c545bSDave Kleikamp	int "Maximum zone order"
333c88c545bSDave Kleikamp	default "13"
334c88c545bSDave Kleikamp	help
335c88c545bSDave Kleikamp	  The kernel memory allocator divides physically contiguous memory
336c88c545bSDave Kleikamp	  blocks into "zones", where each zone is a power of two number of
337c88c545bSDave Kleikamp	  pages.  This option selects the largest power of two that the kernel
338c88c545bSDave Kleikamp	  keeps in the memory allocator.  If you need to allocate very large
339c88c545bSDave Kleikamp	  blocks of physically contiguous memory, then you may need to
340c88c545bSDave Kleikamp	  increase this value.
341c88c545bSDave Kleikamp
342c88c545bSDave Kleikamp	  This config option is actually maximum order plus one. For example,
343c88c545bSDave Kleikamp	  a value of 13 means that the largest free memory block is 2^12 pages.
344c88c545bSDave Kleikamp
34526b4c912SSam Ravnborgsource "mm/Kconfig"
34626b4c912SSam Ravnborg
347bdde6b3cSTkhai Kirillif SPARC64
348bdde6b3cSTkhai Kirillsource "kernel/power/Kconfig"
349bdde6b3cSTkhai Kirillendif
350bdde6b3cSTkhai Kirill
35126b4c912SSam Ravnborgconfig SCHED_SMT
35226b4c912SSam Ravnborg	bool "SMT (Hyperthreading) scheduler support"
35326b4c912SSam Ravnborg	depends on SPARC64 && SMP
35426b4c912SSam Ravnborg	default y
35526b4c912SSam Ravnborg	help
35626b4c912SSam Ravnborg	  SMT scheduler support improves the CPU scheduler's decision making
35726b4c912SSam Ravnborg	  when dealing with SPARC cpus at a cost of slightly increased overhead
35826b4c912SSam Ravnborg	  in some places. If unsure say N here.
35926b4c912SSam Ravnborg
36026b4c912SSam Ravnborgconfig SCHED_MC
36126b4c912SSam Ravnborg	bool "Multi-core scheduler support"
36226b4c912SSam Ravnborg	depends on SPARC64 && SMP
36326b4c912SSam Ravnborg	default y
36426b4c912SSam Ravnborg	help
36526b4c912SSam Ravnborg	  Multi-core scheduler support improves the CPU scheduler's decision
36626b4c912SSam Ravnborg	  making when dealing with multi-core CPU chips at a cost of slightly
36726b4c912SSam Ravnborg	  increased overhead in some places. If unsure say N here.
36826b4c912SSam Ravnborg
36926b4c912SSam Ravnborgsource "kernel/Kconfig.preempt"
37026b4c912SSam Ravnborg
37126b4c912SSam Ravnborgconfig CMDLINE_BOOL
37226b4c912SSam Ravnborg	bool "Default bootloader kernel arguments"
37326b4c912SSam Ravnborg	depends on SPARC64
37426b4c912SSam Ravnborg
37526b4c912SSam Ravnborgconfig CMDLINE
37626b4c912SSam Ravnborg	string "Initial kernel command string"
37726b4c912SSam Ravnborg	depends on CMDLINE_BOOL
37826b4c912SSam Ravnborg	default "console=ttyS0,9600 root=/dev/sda1"
37926b4c912SSam Ravnborg	help
38026b4c912SSam Ravnborg	  Say Y here if you want to be able to pass default arguments to
38126b4c912SSam Ravnborg	  the kernel. This will be overridden by the bootloader, if you
38226b4c912SSam Ravnborg	  use one (such as SILO). This is most useful if you want to boot
38326b4c912SSam Ravnborg	  a kernel from TFTP, and want default options to be available
38426b4c912SSam Ravnborg	  with having them passed on the command line.
38526b4c912SSam Ravnborg
38626b4c912SSam Ravnborg	  NOTE: This option WILL override the PROM bootargs setting!
38726b4c912SSam Ravnborg
38826b4c912SSam Ravnborgconfig SUN_PM
38926b4c912SSam Ravnborg	bool
39026b4c912SSam Ravnborg	default y if SPARC32
39126b4c912SSam Ravnborg	help
39226b4c912SSam Ravnborg	  Enable power management and CPU standby features on supported
39326b4c912SSam Ravnborg	  SPARC platforms.
39426b4c912SSam Ravnborg
39526b4c912SSam Ravnborgconfig SPARC_LED
39626b4c912SSam Ravnborg	tristate "Sun4m LED driver"
39726b4c912SSam Ravnborg	depends on SPARC32
39826b4c912SSam Ravnborg	help
39926b4c912SSam Ravnborg	  This driver toggles the front-panel LED on sun4m systems
40026b4c912SSam Ravnborg	  in a user-specifiable manner.  Its state can be probed
40126b4c912SSam Ravnborg	  by reading /proc/led and its blinking mode can be changed
40226b4c912SSam Ravnborg	  via writes to /proc/led
40326b4c912SSam Ravnborg
4041da177e4SLinus Torvaldsconfig SERIAL_CONSOLE
4051da177e4SLinus Torvalds	bool
40626b4c912SSam Ravnborg	depends on SPARC32
4071da177e4SLinus Torvalds	default y
4081da177e4SLinus Torvalds	---help---
4091da177e4SLinus Torvalds	  If you say Y here, it will be possible to use a serial port as the
4101da177e4SLinus Torvalds	  system console (the system console is the device which receives all
4111da177e4SLinus Torvalds	  kernel messages and warnings and which allows logins in single user
4121da177e4SLinus Torvalds	  mode). This could be useful if some terminal or printer is connected
4131da177e4SLinus Torvalds	  to that serial port.
4141da177e4SLinus Torvalds
4151da177e4SLinus Torvalds	  Even if you say Y here, the currently visible virtual console
4161da177e4SLinus Torvalds	  (/dev/tty0) will still be used as the system console by default, but
4171da177e4SLinus Torvalds	  you can alter that using a kernel command line option such as
4181da177e4SLinus Torvalds	  "console=ttyS1". (Try "man bootparam" or see the documentation of
4191da177e4SLinus Torvalds	  your boot loader (silo) about how to pass options to the kernel at
4201da177e4SLinus Torvalds	  boot time.)
4211da177e4SLinus Torvalds
4221da177e4SLinus Torvalds	  If you don't have a graphics card installed and you say Y here, the
4231da177e4SLinus Torvalds	  kernel will automatically use the first serial line, /dev/ttyS0, as
4241da177e4SLinus Torvalds	  system console.
4251da177e4SLinus Torvalds
4261da177e4SLinus Torvalds	  If unsure, say N.
4271da177e4SLinus Torvalds
4285213a780SKonrad Eiseleconfig SPARC_LEON
4295213a780SKonrad Eisele	bool "Sparc Leon processor family"
4305213a780SKonrad Eisele	depends on SPARC32
4319296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
4329296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_DESC
433*5efad9eeSJames Hogan	select USB_UHCI_BIG_ENDIAN_MMIO
434*5efad9eeSJames Hogan	select USB_UHCI_BIG_ENDIAN_DESC
4355213a780SKonrad Eisele	---help---
4365213a780SKonrad Eisele	  If you say Y here if you are running on a SPARC-LEON processor.
4375213a780SKonrad Eisele	  The LEON processor is a synthesizable VHDL model of the
4385213a780SKonrad Eisele	  SPARC-v8 standard. LEON is  part of the GRLIB collection of
4395213a780SKonrad Eisele	  IP cores that are distributed under GPL. GRLIB can be downloaded
4405213a780SKonrad Eisele	  from www.gaisler.com. You can download a sparc-linux cross-compilation
4415213a780SKonrad Eisele	  toolchain at www.gaisler.com.
4425213a780SKonrad Eisele
443684151a7SDaniel Hellstromif SPARC_LEON
444684151a7SDaniel Hellstrommenu "U-Boot options"
445684151a7SDaniel Hellstrom
446684151a7SDaniel Hellstromconfig UBOOT_LOAD_ADDR
447684151a7SDaniel Hellstrom	hex "uImage Load Address"
448684151a7SDaniel Hellstrom	default 0x40004000
449684151a7SDaniel Hellstrom	---help---
450684151a7SDaniel Hellstrom	 U-Boot kernel load address, the address in physical address space
451684151a7SDaniel Hellstrom	 where u-boot will place the Linux kernel before booting it.
452684151a7SDaniel Hellstrom	 This address is normally the base address of main memory + 0x4000.
453684151a7SDaniel Hellstrom
454684151a7SDaniel Hellstromconfig UBOOT_FLASH_ADDR
455684151a7SDaniel Hellstrom	hex "uImage.o Load Address"
456684151a7SDaniel Hellstrom	default 0x00080000
457684151a7SDaniel Hellstrom	---help---
458684151a7SDaniel Hellstrom	 Optional setting only affecting the uImage.o ELF-image used to
459684151a7SDaniel Hellstrom	 download the uImage file to the target using a ELF-loader other than
460684151a7SDaniel Hellstrom	 U-Boot. It may for example be used to download an uImage to FLASH with
461684151a7SDaniel Hellstrom	 the GRMON utility before even starting u-boot.
462684151a7SDaniel Hellstrom
463684151a7SDaniel Hellstromconfig UBOOT_ENTRY_ADDR
464684151a7SDaniel Hellstrom	hex "uImage Entry Address"
465684151a7SDaniel Hellstrom	default 0xf0004000
466684151a7SDaniel Hellstrom	---help---
467684151a7SDaniel Hellstrom	 Do not change this unless you know what you're doing. This is
468684151a7SDaniel Hellstrom	 hardcoded by the SPARC32 and LEON port.
469684151a7SDaniel Hellstrom
470684151a7SDaniel Hellstrom	 This is the virtual address u-boot jumps to when booting the Linux
471684151a7SDaniel Hellstrom	 Kernel.
472684151a7SDaniel Hellstrom
473684151a7SDaniel Hellstromendmenu
474684151a7SDaniel Hellstromendif
475684151a7SDaniel Hellstrom
4764b27e0e1SSam Ravnborgendmenu
4774b27e0e1SSam Ravnborg
4784b27e0e1SSam Ravnborgmenu "Bus options (PCI etc.)"
4794b27e0e1SSam Ravnborgconfig SBUS
4804b27e0e1SSam Ravnborg	bool
4814b27e0e1SSam Ravnborg	default y
4824b27e0e1SSam Ravnborg
4834b27e0e1SSam Ravnborgconfig SBUSCHAR
4844b27e0e1SSam Ravnborg	bool
4854b27e0e1SSam Ravnborg	default y
4864b27e0e1SSam Ravnborg
48726b4c912SSam Ravnborgconfig SUN_LDOMS
48826b4c912SSam Ravnborg	bool "Sun Logical Domains support"
48926b4c912SSam Ravnborg	depends on SPARC64
49026b4c912SSam Ravnborg	help
49126b4c912SSam Ravnborg	  Say Y here is you want to support virtual devices via
49226b4c912SSam Ravnborg	  Logical Domains.
49326b4c912SSam Ravnborg
4941da177e4SLinus Torvaldsconfig PCI
4951da177e4SLinus Torvalds	bool "Support for PCI and PS/2 keyboard/mouse"
4961da177e4SLinus Torvalds	help
49726b4c912SSam Ravnborg	  Find out whether your system includes a PCI bus. PCI is the name of
49826b4c912SSam Ravnborg	  a bus system, i.e. the way the CPU talks to the other stuff inside
49926b4c912SSam Ravnborg	  your box.  If you say Y here, the kernel will include drivers and
50026b4c912SSam Ravnborg	  infrastructure code to support PCI bus devices.
50126b4c912SSam Ravnborg
5021da177e4SLinus Torvalds	  CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
5031da177e4SLinus Torvalds	  CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
5041da177e4SLinus Torvalds	  All of these platforms are extremely obscure, so say N if unsure.
5051da177e4SLinus Torvalds
50626b4c912SSam Ravnborgconfig PCI_DOMAINS
50726b4c912SSam Ravnborg	def_bool PCI if SPARC64
50826b4c912SSam Ravnborg
50936e23590SMatthew Wilcoxconfig PCI_SYSCALL
51036e23590SMatthew Wilcox	def_bool PCI
51136e23590SMatthew Wilcox
512cfe3af5dSDaniel Hellstromconfig PCIC_PCI
513cfe3af5dSDaniel Hellstrom	bool
5148c47f8d0SDavid S. Miller	depends on PCI && SPARC32 && !SPARC_LEON
515cfe3af5dSDaniel Hellstrom	default y
516cfe3af5dSDaniel Hellstrom
51726893c13SDaniel Hellstromconfig LEON_PCI
51826893c13SDaniel Hellstrom	bool
51926893c13SDaniel Hellstrom	depends on PCI && SPARC_LEON
52026893c13SDaniel Hellstrom	default y
52126893c13SDaniel Hellstrom
522d8650106SDaniel Hellstromconfig SPARC_GRPCI1
523d8650106SDaniel Hellstrom	bool "GRPCI Host Bridge Support"
524d8650106SDaniel Hellstrom	depends on LEON_PCI
525d8650106SDaniel Hellstrom	default y
526d8650106SDaniel Hellstrom	help
527d8650106SDaniel Hellstrom	  Say Y here to include the GRPCI Host Bridge Driver. The GRPCI
528d8650106SDaniel Hellstrom	  PCI host controller is typically found in GRLIB SPARC32/LEON
529d8650106SDaniel Hellstrom	  systems. The driver has one property (all_pci_errors) controlled
530d8650106SDaniel Hellstrom	  from the bootloader that makes the GRPCI to generate interrupts
531d8650106SDaniel Hellstrom	  on detected PCI Parity and System errors.
532d8650106SDaniel Hellstrom
5331ab0a676SDaniel Hellstromconfig SPARC_GRPCI2
5345d07b786SDaniel Hellstrom	bool "GRPCI2 Host Bridge Support"
5355d07b786SDaniel Hellstrom	depends on LEON_PCI
5365d07b786SDaniel Hellstrom	default y
5375d07b786SDaniel Hellstrom	help
5385d07b786SDaniel Hellstrom	  Say Y here to include the GRPCI2 Host Bridge Driver.
5395d07b786SDaniel Hellstrom
5401da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
5411da177e4SLinus Torvalds
542c6afec5eSDavid S. Millersource "drivers/pcmcia/Kconfig"
543c6afec5eSDavid S. Miller
5441da177e4SLinus Torvaldsconfig SUN_OPENPROMFS
5451da177e4SLinus Torvalds	tristate "Openprom tree appears in /proc/openprom"
5461da177e4SLinus Torvalds	help
5471da177e4SLinus Torvalds	  If you say Y, the OpenPROM device tree will be available as a
5481da177e4SLinus Torvalds	  virtual file system, which you can mount to /proc/openprom by "mount
5491da177e4SLinus Torvalds	  -t openpromfs none /proc/openprom".
5501da177e4SLinus Torvalds
5511da177e4SLinus Torvalds	  To compile the /proc/openprom support as a module, choose M here: the
5521da177e4SLinus Torvalds	  module will be called openpromfs.
5531da177e4SLinus Torvalds
5541da177e4SLinus Torvalds	  Only choose N if you know in advance that you will not need to modify
5551da177e4SLinus Torvalds	  OpenPROM settings on the running system.
5561da177e4SLinus Torvalds
557a988fb80SThomas Petazzoni# Makefile helpers
558d670bd4fSSam Ravnborgconfig SPARC64_PCI
559d670bd4fSSam Ravnborg	bool
560d670bd4fSSam Ravnborg	default y
561d670bd4fSSam Ravnborg	depends on SPARC64 && PCI
56230aaa808SWilliam Lee Irwin III
563a988fb80SThomas Petazzoniconfig SPARC64_PCI_MSI
564a988fb80SThomas Petazzoni	bool
565a988fb80SThomas Petazzoni	default y
566a988fb80SThomas Petazzoni	depends on SPARC64_PCI && PCI_MSI
567a988fb80SThomas Petazzoni
56830aaa808SWilliam Lee Irwin IIIendmenu
56930aaa808SWilliam Lee Irwin III
57012e271a8SSam Ravnborgmenu "Executable file formats"
57112e271a8SSam Ravnborg
57212e271a8SSam Ravnborgsource "fs/Kconfig.binfmt"
57312e271a8SSam Ravnborg
57426b4c912SSam Ravnborgconfig COMPAT
57526b4c912SSam Ravnborg	bool
57626b4c912SSam Ravnborg	depends on SPARC64
57726b4c912SSam Ravnborg	default y
57826b4c912SSam Ravnborg	select COMPAT_BINFMT_ELF
579af1839ebSCatalin Marinas	select HAVE_UID16
58048b25c43SChris Metcalf	select ARCH_WANT_OLD_COMPAT_IPC
581a274bd49SAl Viro	select COMPAT_OLD_SIGACTION
58226b4c912SSam Ravnborg
58326b4c912SSam Ravnborgconfig SYSVIPC_COMPAT
58426b4c912SSam Ravnborg	bool
58526b4c912SSam Ravnborg	depends on COMPAT && SYSVIPC
58626b4c912SSam Ravnborg	default y
58726b4c912SSam Ravnborg
58812e271a8SSam Ravnborgendmenu
58912e271a8SSam Ravnborg
590d5950b43SSam Ravnborgsource "net/Kconfig"
591d5950b43SSam Ravnborg
59230aaa808SWilliam Lee Irwin IIIsource "drivers/Kconfig"
5931da177e4SLinus Torvalds
5941da177e4SLinus Torvaldssource "drivers/sbus/char/Kconfig"
5951da177e4SLinus Torvalds
5961da177e4SLinus Torvaldssource "fs/Kconfig"
5971da177e4SLinus Torvalds
5981da177e4SLinus Torvaldssource "arch/sparc/Kconfig.debug"
5991da177e4SLinus Torvalds
6001da177e4SLinus Torvaldssource "security/Kconfig"
6011da177e4SLinus Torvalds
6021da177e4SLinus Torvaldssource "crypto/Kconfig"
6031da177e4SLinus Torvalds
6041da177e4SLinus Torvaldssource "lib/Kconfig"
605