CONFIG_64BIT 64-bit kernel
SPARC is a family of RISC microprocessors designed and marketed by Sun Microsystems, incorporated. They are very widely found in Sun workstations and clones.
Say yes to build a 64-bit kernel - formerly known as sparc64 Say no to build a 32-bit kernel - formerly known as sparc
- Visible if
"$(ARCH)" = "sparc"
CONFIG_SPARC
- Selects
ARCH_HAS_CC_CAN_LINK - Selects
ARCH_HAS_CPU_CACHE_ALIASING - Selects
ARCH_HAS_DMA_OPS - Selects
ARCH_MIGHT_HAVE_PC_PARPORT if SPARC64 && PCI - Selects
ARCH_MIGHT_HAVE_PC_SERIO - Selects
OF - Selects
OF_PROMTREE - Selects
HAVE_ASM_MODVERSIONS - Selects
HAVE_ARCH_KGDB if ! || SPARC64 - Selects
HAVE_ARCH_TRACEHOOK - Selects
HAVE_ARCH_SECCOMP if SPARC64 - Selects
HAVE_EXIT_THREAD - Selects
HAVE_PCI - Selects
SYSCTL_EXCEPTION_TRACE - Selects
RTC_CLASS - Selects
RTC_DRV_M48T59 - Selects
RTC_SYSTOHC - Selects
HAVE_ARCH_JUMP_LABEL if SPARC64 - Selects
GENERIC_IRQ_SHOW - Selects
ARCH_WANT_IPC_PARSE_VERSION - Selects
GENERIC_PCI_IOMAP - Selects
HAS_IOPORT - Selects
HAVE_HARDLOCKUP_DETECTOR_SPARC64 if SPARC64 - Selects
HAVE_CBPF_JIT if SPARC32 - Selects
HAVE_EBPF_JIT if SPARC64 - Selects
HAVE_DEBUG_BUGVERBOSE - Selects
GENERIC_SMP_IDLE_THREAD - Selects
MODULES_USE_ELF_RELA - Selects
PCI_SYSCALL if PCI - Selects
PCI_MSI_ARCH_FALLBACKS if PCI_MSI - Selects
ODD_RT_SIGACTION - Selects
OLD_SIGSUSPEND - Selects
CPU_NO_EFFICIENT_FFS - Selects
LOCKDEP_SMALL if LOCKDEP - Selects
NEED_DMA_MAP_STATE - Selects
NEED_SG_DMA_LENGTH - Selects
TRACE_IRQFLAGS_SUPPORT
CONFIG_SPARC32
- Selects
ARCH_32BIT_OFF_T - Selects
ARCH_HAS_CPU_FINALIZE_INIT if ! - Selects
ARCH_HAS_SYNC_DMA_FOR_CPU - Selects
CLZ_TAB - Selects
DMA_DIRECT_REMAP - Selects
GENERIC_ATOMIC64 - Selects
GENERIC_LIB_CMPDI2 - Selects
GENERIC_LIB_UCMPDI2 - Selects
HAVE_UID16 - Selects
HAVE_PAGE_SIZE_4KB - Selects
LOCK_MM_AND_FIND_VMA - Selects
HAVE_ARCH_TLB_REMOVE_TABLE - Selects
OLD_SIGACTION - Selects
ZONE_DMA
CONFIG_SPARC64
- Selects
ALTERNATE_USER_ADDRESS_SPACE - Selects
ARCH_HAS_DELAY_TIMER - Selects
HAVE_FUNCTION_TRACER - Selects
HAVE_FUNCTION_GRAPH_TRACER - Selects
HAVE_KRETPROBES - Selects
HAVE_KPROBES - Selects
HAVE_ARCH_TLB_REMOVE_TABLE - Selects
MMU_GATHER_MERGE_VMAS - Selects
MMU_GATHER_NO_FLUSH_CACHE - Selects
HAVE_ARCH_TRANSPARENT_HUGEPAGE - Selects
HAVE_DYNAMIC_FTRACE - Selects
HAVE_PAGE_SIZE_8KB - Selects
HAVE_SYSCALL_TRACEPOINTS - Selects
HAVE_CONTEXT_TRACKING_USER - Selects
HAVE_TIF_NOHZ - Selects
HAVE_DEBUG_KMEMLEAK - Selects
IOMMU_HELPER - Selects
SPARSE_IRQ - Selects
RTC_DRV_CMOS - Selects
RTC_DRV_BQ4802 - Selects
RTC_DRV_SUN4V - Selects
RTC_DRV_STARFIRE - Selects
HAVE_PERF_EVENTS - Selects
PERF_USE_VMALLOC - Selects
ARCH_HAVE_NMI_SAFE_CMPXCHG - Selects
HAVE_C_RECORDMCOUNT - Selects
HAVE_ARCH_AUDITSYSCALL - Selects
ARCH_SUPPORTS_ATOMIC_RMW - Selects
ARCH_SUPPORTS_DEBUG_PAGEALLOC - Selects
ARCH_SUPPORTS_HUGETLBFS - Selects
HAVE_NMI - Selects
HAVE_REGS_AND_STACK_ACCESS_API - Selects
ARCH_USE_QUEUED_RWLOCKS - Selects
ARCH_USE_QUEUED_SPINLOCKS - Selects
ARCH_HAS_PTE_SPECIAL - Selects
PCI_DOMAINS if PCI - Selects
ARCH_HAS_GIGANTIC_PAGE - Selects
HAVE_SOFTIRQ_ON_OWN_STACK - Selects
HAVE_SETUP_PER_CPU_AREA - Selects
NEED_PER_CPU_EMBED_FIRST_CHUNK - Selects
NEED_PER_CPU_PAGE_FIRST_CHUNK - Selects
ARCH_SUPPORTS_SCHED_SMT if - Selects
ARCH_SUPPORTS_SCHED_MC if - Selects
ARCH_HAS_LAZY_MMU_MODE - Selects
GENERIC_GETTIMEOFDAY
CONFIG_ARCH_PROC_KCORE_TEXT
CONFIG_CPU_BIG_ENDIAN
CONFIG_STACKTRACE_SUPPORT
CONFIG_LOCKDEP_SUPPORT
CONFIG_ARCH_HIBERNATION_POSSIBLE
CONFIG_AUDIT_ARCH
CONFIG_MMU
CONFIG_HIGHMEM
- Selects
KMAP_LOCAL
CONFIG_PGTABLE_LEVELS
CONFIG_ARCH_SUPPORTS_UPROBES
Processor type and features
CONFIG_SMP Symmetric multi-processing support
This enables support for systems with more than one CPU. If you have a system with only one CPU, say N. If you have a system with more than one CPU, say Y.
If you say N here, the kernel will run on uni- and multiprocessor machines, but will use only one CPU of a multiprocessor machine. If you say Y here, the kernel will run on many, but not all, uniprocessor machines. On a uniprocessor machine, the kernel will run faster if you say N here.
People using multiprocessor machines who say Y here should also say Y to "Enhanced Real Time Clock Support", below. The "Advanced Power Management" code will be disabled if you say Y here.
See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO available at <https://www.tldp.org/docs.html#howto>.
If you don't know what to do here, say N.
CONFIG_NR_CPUS Maximum number of CPUs
CONFIG_GENERIC_HWEIGHT
CONFIG_GENERIC_CALIBRATE_DELAY
CONFIG_ARCH_MAY_HAVE_PC_FDC
CONFIG_EMULATED_CMPXCHG
Sparc32 does not have a CAS instruction like sparc64. cmpxchg() is emulated, and therefore it is not completely atomic.
CONFIG_SPARC32_SMP
- Depends on
SPARC32 &&
CONFIG_SPARC64_SMP
- Depends on
SPARC64 &&
CONFIG_EARLYFB Support for early boot text console
Say Y here to enable a faster early framebuffer boot console.
- Depends on
SPARC64 - Selects
FONT_SUN8x16 - Selects
FONT_SUPPORT
CONFIG_HOTPLUG_CPU Support for hot-pluggable CPUs
Say Y here to experiment with turning CPUs off and on. CPUs can be controlled through /sys/devices/system/cpu/cpu#. Say N if you want to disable CPU hotplug.
- Depends on
SPARC64 &&
If SPARC64
CONFIG_US3_MC UltraSPARC-III Memory Controller driver
- Off
- Module
- Built in
This adds a driver for the UltraSPARC-III memory controller. Loading this driver allows exact mnemonic strings to be printed in the event of a memory error, so that the faulty DIMM on the motherboard can be matched to the error.
If in doubt, say Y, as this information can be very useful.
- Depends on
SPARC64
CONFIG_GENERIC_LOCKBREAK
- Depends on
SPARC64 && && PREEMPTION
CONFIG_NUMA NUMA support
- Depends on
SPARC64 &&
CONFIG_NODES_SHIFT Maximum NUMA Nodes (as a power of 2)
Specify the maximum number of NUMA Nodes available on the target system. Increases memory reserved to accommodate various tables.
- Range
4 5 if SPARC64 - Depends on
CONFIG_ARCH_SPARSEMEM_ENABLE
- Selects
SPARSEMEM_VMEMMAP_ENABLE
CONFIG_ARCH_SPARSEMEM_DEFAULT
CONFIG_ARCH_FORCE_MAX_ORDER Order of maximal physically contiguous allocations
The kernel page allocator limits the size of maximal physically contiguous allocations. The limit is called MAX_PAGE_ORDER and it defines the maximal power of two of number of pages that can be allocated as a single contiguous block. This option allows overriding the default setting when ability to allocate very large blocks of physically contiguous memory is required.
Don't change if unsure.
If SPARC64 || COMPILE_TEST
CONFIG_CMDLINE_BOOL Default bootloader kernel arguments
- Depends on
SPARC64
CONFIG_CMDLINE Initial kernel command string
Say Y here if you want to be able to pass default arguments to the kernel. This will be overridden by the bootloader, if you use one (such as SILO). This is most useful if you want to boot a kernel from TFTP, and want default options to be available with having them passed on the command line.
NOTE: This option WILL override the PROM bootargs setting!
- Depends on
CONFIG_SUN_PM
Enable power management and CPU standby features on supported SPARC platforms.
CONFIG_SPARC_LED Sun4m LED driver
- Off
- Module
- Built in
This driver toggles the front-panel LED on sun4m systems in a user-specifiable manner. Its state can be probed by reading /proc/led and its blinking mode can be changed via writes to /proc/led
- Depends on
SPARC32
CONFIG_SPARC_LEON Sparc Leon processor family
If you say Y here if you are running on a SPARC-LEON processor. The LEON processor is a synthesizable VHDL model of the SPARC-v8 standard. LEON is part of the GRLIB collection of IP cores that are distributed under GPL. GRLIB can be downloaded from www.gaisler.com. You can download a sparc-linux cross-compilation toolchain at www.gaisler.com.
- Depends on
SPARC32 - Selects
USB_EHCI_BIG_ENDIAN_MMIO - Selects
USB_EHCI_BIG_ENDIAN_DESC - Selects
USB_UHCI_BIG_ENDIAN_MMIO - Selects
USB_UHCI_BIG_ENDIAN_DESC
If SPARC_LEON
U-Boot options
CONFIG_UBOOT_LOAD_ADDR uImage Load Address
U-Boot kernel load address, the address in physical address space where u-boot will place the Linux kernel before booting it. This address is normally the base address of main memory + 0x4000.
CONFIG_UBOOT_FLASH_ADDR uImage.o Load Address
Optional setting only affecting the uImage.o ELF-image used to download the uImage file to the target using a ELF-loader other than U-Boot. It may for example be used to download an uImage to FLASH with the GRMON utility before even starting u-boot.
CONFIG_UBOOT_ENTRY_ADDR uImage Entry Address
Do not change this unless you know what you're doing. This is hardcoded by the SPARC32 and LEON port.
This is the virtual address u-boot jumps to when booting the Linux Kernel.
Bus options (PCI etc.)
CONFIG_SBUS
CONFIG_SBUSCHAR
CONFIG_SUN_LDOMS Sun Logical Domains support
Say Y here is you want to support virtual devices via Logical Domains.
- Depends on
SPARC64
CONFIG_PCIC_PCI
- Depends on
PCI && SPARC32 && !SPARC_LEON
CONFIG_LEON_PCI
- Depends on
PCI && SPARC_LEON
CONFIG_SPARC_GRPCI1 GRPCI Host Bridge Support
Say Y here to include the GRPCI Host Bridge Driver. The GRPCI PCI host controller is typically found in GRLIB SPARC32/LEON systems. The driver has one property (all_pci_errors) controlled from the bootloader that makes the GRPCI to generate interrupts on detected PCI Parity and System errors.
- Depends on
LEON_PCI
CONFIG_SPARC_GRPCI2 GRPCI2 Host Bridge Support
Say Y here to include the GRPCI2 Host Bridge Driver.
- Depends on
LEON_PCI
CONFIG_SUN_OPENPROMFS Openprom tree appears in /proc/openprom
- Off
- Module
- Built in
If you say Y, the OpenPROM device tree will be available as a virtual file system, which you can mount to /proc/openprom by "mount -t openpromfs none /proc/openprom".
To compile the /proc/openprom support as a module, choose M here: the module will be called openpromfs.
Only choose N if you know in advance that you will not need to modify OpenPROM settings on the running system.
CONFIG_SPARC64_PCI
CONFIG_SPARC64_PCI_MSI
- Depends on
SPARC64_PCI && PCI_MSI
CONFIG_COMPAT
- Depends on
SPARC64 - Depends on
!LD_IS_LLD - Selects
HAVE_UID16 - Selects
ARCH_WANT_OLD_COMPAT_IPC - Selects
COMPAT_OLD_SIGACTION
CONFIG_ARCH_CC_CAN_LINK
CONFIG_ARCH_USERFLAGS
- arch/alpha/Kconfig:465
- arch/arc/Kconfig:167
- arch/arm/Kconfig:910
- arch/arm64/Kconfig:358
- arch/csky/Kconfig:313
- arch/hexagon/Kconfig:104
- arch/loongarch/Kconfig:513
- arch/mips/Kconfig:2700
- arch/openrisc/Kconfig:191
- arch/parisc/Kconfig:314
- arch/powerpc/platforms/Kconfig.cputype:550
- arch/riscv/Kconfig:437
- arch/s390/Kconfig:530
- arch/sh/Kconfig:560
- arch/sparc/Kconfig:158
- arch/um/Kconfig:97
- arch/x86/Kconfig:437
- arch/xtensa/Kconfig:245