CONFIG_SUPERH
The SuperH is a RISC processor targeted for use in embedded systems and consumer electronics; it was also used in the Sega Dreamcast gaming console. The SuperH port has a home page at <http://www.linux-sh.org/>.
- Selects
ARCH_32BIT_OFF_T - Selects
ARCH_HAS_CPU_CACHE_ALIASING - Selects
ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) - Selects
ARCH_HAS_BINFMT_FLAT if ! - Selects
ARCH_HAS_CPU_FINALIZE_INIT - Selects
ARCH_HAS_CURRENT_STACK_POINTER - Selects
ARCH_HAS_GIGANTIC_PAGE - Selects
ARCH_HAS_GCOV_PROFILE_ALL - Selects
ARCH_HAS_PTE_SPECIAL - Selects
ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST - Selects
if - Selects
ARCH_MIGHT_HAVE_PC_PARPORT - Selects
ARCH_WANT_IPC_PARSE_VERSION - Selects
ARCH_NEED_CMPXCHG_1_EMU - Selects
BINFMT_FLAT_NO_DATA_START_OFFSET if ! - Selects
CPU_NO_EFFICIENT_FFS - Selects
DMA_DECLARE_COHERENT - Selects
GENERIC_ATOMIC64 - Selects
GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST - Selects
GENERIC_IDLE_POLL_SETUP - Selects
GENERIC_IRQ_SHOW - Selects
GENERIC_LIB_ASHLDI3 - Selects
GENERIC_LIB_ASHRDI3 - Selects
GENERIC_LIB_LSHRDI3 - Selects
GENERIC_PCI_IOMAP if PCI - Selects
GENERIC_SCHED_CLOCK - Selects
GENERIC_SMP_IDLE_THREAD - Selects
GUP_GET_PXX_LOW_HIGH if X2TLB - Selects
HAS_IOPORT if HAS_IOPORT_MAP - Selects
GENERIC_IOREMAP if - Selects
HAVE_ARCH_AUDITSYSCALL - Selects
HAVE_ARCH_KGDB - Selects
HAVE_ARCH_SECCOMP_FILTER - Selects
HAVE_ARCH_TLB_REMOVE_TABLE if X2TLB - Selects
HAVE_ARCH_TRACEHOOK - Selects
HAVE_DEBUG_BUGVERBOSE - Selects
HAVE_DEBUG_KMEMLEAK - Selects
HAVE_DYNAMIC_FTRACE - Selects
HAVE_GUP_FAST if - Selects
HAVE_FUNCTION_GRAPH_TRACER - Selects
HAVE_FUNCTION_TRACER - Selects
HAVE_HW_BREAKPOINT - Selects
HAVE_IOREMAP_PROT if && !X2TLB - Selects
HAVE_KERNEL_BZIP2 - Selects
HAVE_KERNEL_GZIP - Selects
HAVE_KERNEL_LZMA - Selects
HAVE_KERNEL_LZO - Selects
HAVE_KERNEL_XZ - Selects
HAVE_KPROBES - Selects
HAVE_KRETPROBES - Selects
HAVE_MIXED_BREAKPOINTS_REGS - Selects
HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER - Selects
HAVE_NMI - Selects
HAVE_PATA_PLATFORM - Selects
HAVE_PERF_EVENTS - Selects
HAVE_REGS_AND_STACK_ACCESS_API - Selects
HAVE_UID16 - Selects
HAVE_SOFTIRQ_ON_OWN_STACK if - Selects
HAVE_STACKPROTECTOR - Selects
HAVE_SYSCALL_TRACEPOINTS - Selects
IRQ_FORCED_THREADING - Selects
LOCK_MM_AND_FIND_VMA - Selects
MODULES_USE_ELF_RELA - Selects
NEED_SG_DMA_LENGTH - Selects
NO_DMA if ! && !DMA_COHERENT - Selects
NO_GENERIC_PCI_IOPORT_MAP if PCI - Selects
OLD_SIGACTION - Selects
OLD_SIGSUSPEND - Selects
PCI_DOMAINS if PCI - Selects
PERF_EVENTS - Selects
PERF_USE_VMALLOC - Selects
RTC_LIB - Selects
SPARSE_IRQ - Selects
TRACE_IRQFLAGS_SUPPORT
CONFIG_GENERIC_BUG
- Depends on
BUG
CONFIG_GENERIC_HWEIGHT
CONFIG_GENERIC_CALIBRATE_DELAY
CONFIG_GENERIC_LOCKBREAK
- Depends on
&& PREEMPTION
CONFIG_ARCH_SUSPEND_POSSIBLE
CONFIG_ARCH_HIBERNATION_POSSIBLE
CONFIG_SYS_SUPPORTS_APM_EMULATION
- Selects
CONFIG_SYS_SUPPORTS_SMP
CONFIG_STACKTRACE_SUPPORT
CONFIG_LOCKDEP_SUPPORT
CONFIG_ARCH_HAS_ILOG2_U32
CONFIG_ARCH_HAS_ILOG2_U64
CONFIG_NO_IOPORT_MAP
- Depends on
!SH_SHMIN && !SH_HP6XX && !SH_SOLUTION_ENGINE && !SH_DREAMCAST
CONFIG_IO_TRAPPED
CONFIG_SWAP_IO_SPACE
CONFIG_DMA_COHERENT
CONFIG_DMA_NONCOHERENT
- Selects
ARCH_HAS_DMA_PREP_COHERENT - Selects
ARCH_HAS_SYNC_DMA_FOR_DEVICE - Selects
DMA_DIRECT_REMAP
CONFIG_PGTABLE_LEVELS
System type
CONFIG_CPU_SH2
- Selects
SH_INTC
CONFIG_CPU_SH2A
- Selects
CPU_SH2 - Selects
UNCACHED_MAPPING
CONFIG_CPU_J2
- Selects
CPU_SH2 - Selects
OF - Selects
OF_EARLY_FLATTREE
CONFIG_CPU_SH3
- Selects
CPU_HAS_INTEVT - Selects
CPU_HAS_SR_RB - Selects
SH_INTC - Selects
SYS_SUPPORTS_SH_TMU
CONFIG_CPU_SH4
- Selects
ARCH_SUPPORTS_HUGETLBFS if - Selects
CPU_HAS_INTEVT - Selects
CPU_HAS_SR_RB - Selects
if !CPU_SH4AL_DSP - Selects
SH_INTC - Selects
SYS_SUPPORTS_SH_TMU
CONFIG_CPU_SH4A
- Selects
CPU_SH4
CONFIG_CPU_SH4AL_DSP
- Selects
CPU_SH4A - Selects
CPU_HAS_DSP
CONFIG_CPU_SHX2
CONFIG_CPU_SHX3
- Selects
DMA_COHERENT - Selects
CONFIG_ARCH_SHMOBILE
- Selects
- Selects
CONFIG_CPU_HAS_PMU
Processor sub-type selection
CONFIG_CPU_SUBTYPE_SH7619 Support SH7619 processor
- Selects
CPU_SH2 - Selects
SYS_SUPPORTS_SH_CMT
CONFIG_CPU_SUBTYPE_J2 Support J2 processor
- Selects
CPU_J2 - Selects
- Selects
GENERIC_CLOCKEVENTS_BROADCAST if
CONFIG_CPU_SUBTYPE_SH7201 Support SH7201 processor
- Selects
CPU_SH2A - Selects
- Selects
SYS_SUPPORTS_SH_MTU2
CONFIG_CPU_SUBTYPE_SH7203 Support SH7203 processor
- Selects
CPU_SH2A - Selects
- Selects
SYS_SUPPORTS_SH_CMT - Selects
SYS_SUPPORTS_SH_MTU2 - Selects
PINCTRL
CONFIG_CPU_SUBTYPE_SH7206 Support SH7206 processor
- Selects
CPU_SH2A - Selects
SYS_SUPPORTS_SH_CMT - Selects
SYS_SUPPORTS_SH_MTU2
CONFIG_CPU_SUBTYPE_SH7263 Support SH7263 processor
- Selects
CPU_SH2A - Selects
- Selects
SYS_SUPPORTS_SH_CMT - Selects
SYS_SUPPORTS_SH_MTU2
CONFIG_CPU_SUBTYPE_SH7264 Support SH7264 processor
- Selects
CPU_SH2A - Selects
- Selects
SYS_SUPPORTS_SH_CMT - Selects
SYS_SUPPORTS_SH_MTU2 - Selects
PINCTRL
CONFIG_CPU_SUBTYPE_SH7269 Support SH7269 processor
- Selects
CPU_SH2A - Selects
- Selects
SYS_SUPPORTS_SH_CMT - Selects
SYS_SUPPORTS_SH_MTU2 - Selects
PINCTRL
CONFIG_CPU_SUBTYPE_MXG Support MX-G processor
Select MX-G if running on an R8A03022BG part.
- Selects
CPU_SH2A - Selects
SYS_SUPPORTS_SH_MTU2
CONFIG_CPU_SUBTYPE_SH7705 Support SH7705 processor
- Selects
CPU_SH3
CONFIG_CPU_SUBTYPE_SH7706 Support SH7706 processor
Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
- Selects
CPU_SH3
CONFIG_CPU_SUBTYPE_SH7707 Support SH7707 processor
Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
- Selects
CPU_SH3
CONFIG_CPU_SUBTYPE_SH7708 Support SH7708 processor
Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or if you have a 100 Mhz SH-3 HD6417708R CPU.
- Selects
CPU_SH3
CONFIG_CPU_SUBTYPE_SH7709 Support SH7709 processor
Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
- Selects
CPU_SH3
CONFIG_CPU_SUBTYPE_SH7710 Support SH7710 processor
Select SH7710 if you have a SH3-DSP SH7710 CPU.
- Selects
CPU_SH3 - Selects
CPU_HAS_DSP
CONFIG_CPU_SUBTYPE_SH7712 Support SH7712 processor
Select SH7712 if you have a SH3-DSP SH7712 CPU.
- Selects
CPU_SH3 - Selects
CPU_HAS_DSP
CONFIG_CPU_SUBTYPE_SH7720 Support SH7720 processor
Select SH7720 if you have a SH3-DSP SH7720 CPU.
- Selects
CPU_SH3 - Selects
CPU_HAS_DSP - Selects
SYS_SUPPORTS_SH_CMT - Selects
USB_OHCI_SH if USB_OHCI_HCD - Selects
PINCTRL
CONFIG_CPU_SUBTYPE_SH7721 Support SH7721 processor
Select SH7721 if you have a SH3-DSP SH7721 CPU.
- Selects
CPU_SH3 - Selects
CPU_HAS_DSP - Selects
SYS_SUPPORTS_SH_CMT - Selects
USB_OHCI_SH if USB_OHCI_HCD
CONFIG_CPU_SUBTYPE_SH7750 Support SH7750 processor
Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
- Selects
CPU_SH4
CONFIG_CPU_SUBTYPE_SH7091 Support SH7091 processor
Select SH7091 if you have an SH-4 based Sega device (such as the Dreamcast, Naomi, and Naomi 2).
- Selects
CPU_SH4
CONFIG_CPU_SUBTYPE_SH7750R Support SH7750R processor
- Selects
CPU_SH4
CONFIG_CPU_SUBTYPE_SH7750S Support SH7750S processor
- Selects
CPU_SH4
CONFIG_CPU_SUBTYPE_SH7751 Support SH7751 processor
Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, or if you have a HD6417751R CPU.
- Selects
CPU_SH4
CONFIG_CPU_SUBTYPE_SH7751R Support SH7751R processor
- Selects
CPU_SH4
CONFIG_CPU_SUBTYPE_SH7760 Support SH7760 processor
- Selects
CPU_SH4
CONFIG_CPU_SUBTYPE_SH7723 Support SH7723 processor
Select SH7723 if you have an SH-MobileR2 CPU.
- Selects
CPU_SH4A - Selects
CPU_SHX2 - Selects
ARCH_SHMOBILE - Selects
SYS_SUPPORTS_SH_CMT - Selects
PINCTRL
CONFIG_CPU_SUBTYPE_SH7724 Support SH7724 processor
Select SH7724 if you have an SH-MobileR2R CPU.
- Selects
CPU_SH4A - Selects
CPU_SHX2 - Selects
ARCH_SHMOBILE - Selects
SYS_SUPPORTS_SH_CMT - Selects
PINCTRL
CONFIG_CPU_SUBTYPE_SH7734 Support SH7734 processor
Select SH7734 if you have a SH4A SH7734 CPU.
CONFIG_CPU_SUBTYPE_SH7757 Support SH7757 processor
Select SH7757 if you have a SH4A SH7757 CPU.
CONFIG_CPU_SUBTYPE_SH7763 Support SH7763 processor
Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
- Selects
CPU_SH4A - Selects
USB_OHCI_SH if USB_OHCI_HCD
CONFIG_CPU_SUBTYPE_SH7770 Support SH7770 processor
- Selects
CPU_SH4A
CONFIG_CPU_SUBTYPE_SH7780 Support SH7780 processor
- Selects
CPU_SH4A
CONFIG_CPU_SUBTYPE_SH7785 Support SH7785 processor
CONFIG_CPU_SUBTYPE_SH7786 Support SH7786 processor
- Selects
CPU_SH4A - Selects
CPU_SHX3 - Selects
CPU_HAS_PTEAEX - Selects
GENERIC_CLOCKEVENTS_BROADCAST if - Selects
USB_OHCI_SH if USB_OHCI_HCD - Selects
USB_EHCI_SH if USB_EHCI_HCD - Selects
PINCTRL
CONFIG_CPU_SUBTYPE_SHX3 Support SH-X3 processor
- Selects
CPU_SH4A - Selects
CPU_SHX3 - Selects
GENERIC_CLOCKEVENTS_BROADCAST if - Selects
GPIOLIB - Selects
GPIOLIB_LEGACY - Selects
PINCTRL
CONFIG_CPU_SUBTYPE_SH7343 Support SH7343 processor
- Selects
CPU_SH4AL_DSP - Selects
ARCH_SHMOBILE - Selects
SYS_SUPPORTS_SH_CMT
CONFIG_CPU_SUBTYPE_SH7722 Support SH7722 processor
- Selects
CPU_SH4AL_DSP - Selects
CPU_SHX2 - Selects
ARCH_SHMOBILE - Selects
SYS_SUPPORTS_SH_CMT - Selects
PINCTRL
CONFIG_CPU_SUBTYPE_SH7366 Support SH7366 processor
- Selects
CPU_SH4AL_DSP - Selects
CPU_SHX2 - Selects
ARCH_SHMOBILE - Selects
SYS_SUPPORTS_SH_CMT
Timer and clock configuration
CONFIG_SH_PCLK_FREQ Peripheral clock frequency (in Hz)
This option is used to specify the peripheral clock frequency. This is necessary for determining the reference clock value on platforms lacking an RTC.
- Depends on
SH_CLK_CPG_LEGACY
CONFIG_SH_CLK_CPG
CONFIG_SH_CLK_CPG_LEGACY
- Depends on
SH_CLK_CPG
CPU Frequency scaling
Kernel features
CONFIG_ARCH_SUPPORTS_KEXEC
CONFIG_ARCH_SUPPORTS_CRASH_DUMP
CONFIG_ARCH_DEFAULT_CRASH_DUMP
CONFIG_ARCH_SUPPORTS_KEXEC_JUMP
CONFIG_PHYSICAL_START Physical address where the kernel is loaded
This gives the physical address where the kernel is loaded and is ordinarily the same as MEMORY_START.
Different values are primarily used in the case of kexec on panic where the fail safe kernel needs to run at a different address than the panic-ed kernel.
- Visible if
(EXPERT || CRASH_DUMP)
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.
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.
- Depends on
CONFIG_NR_CPUS Maximum number of CPUs (2-32)
This allows you to specify the maximum number of CPUs which this kernel will support. The maximum supported value is 32 and the minimum value which makes sense is 2.
This is purely to save memory - each supported CPU adds approximately eight kilobytes to the kernel image.
- Range
2 32 - Depends on
CONFIG_HOTPLUG_CPU Support for hot-pluggable CPUs (EXPERIMENTAL)
Say Y here to experiment with turning CPUs off and on. CPUs can be controlled through /sys/devices/system/cpu.
- Depends on
CONFIG_GUSA
This enables support for gUSA (general UserSpace Atomicity). This is the default implementation for both UP and non-ll/sc CPUs, and is used by the libc, amongst others.
For additional information, design information can be found in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
This should only be disabled for special cases where alternate atomicity implementations exist.
- Depends on
!
CONFIG_GUSA_RB Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)
Enabling this option will allow the kernel to implement some atomic operations using a software implementation of load-locked/ store-conditional (LLSC). On machines which do not have hardware LLSC, this should be more efficient than the other alternative of disabling interrupts around the atomic sequence.
CONFIG_HW_PERF_EVENTS Enable hardware performance counter support for perf events
Enable hardware performance counter support for perf events. If disabled, perf events will use software events only.
- Depends on
PERF_EVENTS && CPU_HAS_PMU
Boot options
CONFIG_BUILTIN_DTB Use builtin DTB
Link a device tree blob for particular hardware into the kernel, suppressing use of the DTB pointer provided by the bootloader. This option should only be used with legacy bootloaders that are not capable of providing a DTB to the kernel, or for experimental hardware without stable device tree bindings.
- Depends on
SH_DEVICE_TREE - Selects
GENERIC_BUILTIN_DTB
CONFIG_BUILTIN_DTB_NAME Source file for builtin DTB
Base name (without suffix, relative to arch/sh/boot/dts) for the a DTS file that will be used to produce the DTB linked into the kernel.
- Depends on
CONFIG_ZERO_PAGE_OFFSET
This sets the default offset of zero page.
CONFIG_BOOT_LINK_OFFSET
This option allows you to set the link address offset of the zImage. This can be useful if you are on a board which has a small amount of memory.
CONFIG_ENTRY_OFFSET
CONFIG_ROMIMAGE_MMCIF Include MMCIF loader in romImage (EXPERIMENTAL)
Say Y here to include experimental MMCIF loading code in romImage. With this enabled it is possible to write the romImage kernel image to an MMC card and boot the kernel straight from the reset vector. At reset the processor Mask ROM will load the first part of the romImage which in turn loads the rest the kernel image to RAM using the MMCIF hardware block.
- Depends on
CPU_SUBTYPE_SH7724
Kernel command line
Setting this option allows the kernel command line arguments to be set.
CONFIG_CMDLINE_OVERWRITE Overwrite bootloader kernel arguments
Given string will overwrite any arguments passed in by a bootloader.
CONFIG_CMDLINE_EXTEND Extend bootloader kernel arguments
Given string will be concatenated with arguments passed in by a bootloader.
CONFIG_CMDLINE_FROM_BOOTLOADER Use bootloader kernel arguments
Uses the command-line options passed by the boot loader.
CONFIG_CMDLINE Kernel command line arguments string
- Depends on
CMDLINE_OVERWRITE ||
Bus options
CONFIG_MAPLE Maple Bus support
The Maple Bus is SEGA's serial communication bus for peripherals on the Dreamcast. Without this bus support you won't be able to get your Dreamcast keyboard etc to work, so most users probably want to say 'Y' here, unless you are only using the Dreamcast with a serial line terminal or a remote network connection.
- Depends on
SH_DREAMCAST
Power management options (EXPERIMENTAL)
- arch/alpha/Kconfig:89
- arch/arc/Kconfig:70
- arch/arm/Kconfig:319
- arch/arm64/Kconfig:278
- arch/csky/Kconfig:160
- arch/hexagon/Kconfig:57
- arch/loongarch/Kconfig:787
- arch/m68k/Kconfig:84
- arch/microblaze/Kconfig:93
- arch/mips/Kconfig:3046
- arch/nios2/Kconfig:69
- arch/openrisc/Kconfig:54
- arch/parisc/Kconfig:106
- arch/powerpc/Kconfig:30
- arch/riscv/Kconfig:292
- arch/s390/Kconfig:2
- arch/sh/mm/Kconfig:4
- arch/sparc/Kconfig:140
- arch/um/Kconfig:52
- arch/x86/Kconfig:356
- arch/xtensa/Kconfig:94
- 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