CONFIG_CSKY
- Selects
ARCH_32BIT_OFF_T - Selects
ARCH_HAS_CPU_CACHE_ALIASING - Selects
ARCH_HAS_DMA_PREP_COHERENT - Selects
ARCH_HAS_GCOV_PROFILE_ALL - Selects
ARCH_HAS_SYNC_DMA_FOR_CPU - Selects
ARCH_HAS_SYNC_DMA_FOR_DEVICE - Selects
ARCH_USE_BUILTIN_BSWAP - Selects
ARCH_USE_QUEUED_RWLOCKS - Selects
ARCH_USE_QUEUED_SPINLOCKS - Selects
ARCH_HAS_CURRENT_STACK_POINTER - Selects
ARCH_INLINE_READ_LOCK if !PREEMPTION - Selects
ARCH_INLINE_READ_LOCK_BH if !PREEMPTION - Selects
ARCH_INLINE_READ_LOCK_IRQ if !PREEMPTION - Selects
ARCH_INLINE_READ_LOCK_IRQSAVE if !PREEMPTION - Selects
ARCH_INLINE_READ_UNLOCK if !PREEMPTION - Selects
ARCH_INLINE_READ_UNLOCK_BH if !PREEMPTION - Selects
ARCH_INLINE_READ_UNLOCK_IRQ if !PREEMPTION - Selects
ARCH_INLINE_READ_UNLOCK_IRQRESTORE if !PREEMPTION - Selects
ARCH_INLINE_WRITE_LOCK if !PREEMPTION - Selects
ARCH_INLINE_WRITE_LOCK_BH if !PREEMPTION - Selects
ARCH_INLINE_WRITE_LOCK_IRQ if !PREEMPTION - Selects
ARCH_INLINE_WRITE_LOCK_IRQSAVE if !PREEMPTION - Selects
ARCH_INLINE_WRITE_UNLOCK if !PREEMPTION - Selects
ARCH_INLINE_WRITE_UNLOCK_BH if !PREEMPTION - Selects
ARCH_INLINE_WRITE_UNLOCK_IRQ if !PREEMPTION - Selects
ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPTION - Selects
ARCH_INLINE_SPIN_TRYLOCK if !PREEMPTION - Selects
ARCH_INLINE_SPIN_TRYLOCK_BH if !PREEMPTION - Selects
ARCH_INLINE_SPIN_LOCK if !PREEMPTION - Selects
ARCH_INLINE_SPIN_LOCK_BH if !PREEMPTION - Selects
ARCH_INLINE_SPIN_LOCK_IRQ if !PREEMPTION - Selects
ARCH_INLINE_SPIN_LOCK_IRQSAVE if !PREEMPTION - Selects
ARCH_INLINE_SPIN_UNLOCK if !PREEMPTION - Selects
ARCH_INLINE_SPIN_UNLOCK_BH if !PREEMPTION - Selects
ARCH_INLINE_SPIN_UNLOCK_IRQ if !PREEMPTION - Selects
ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE if !PREEMPTION - Selects
ARCH_NEED_CMPXCHG_1_EMU - Selects
ARCH_WANT_FRAME_POINTERS if !CPU_CK610 && $(cc-option,-mbacktrace) - Selects
ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT - Selects
COMMON_CLK - Selects
CLKSRC_MMIO - Selects
CSKY_MPINTC if CPU_CK860 - Selects
CSKY_MP_TIMER if CPU_CK860 - Selects
CSKY_APB_INTC - Selects
DMA_DIRECT_REMAP - Selects
IRQ_DOMAIN - Selects
DW_APB_TIMER_OF - Selects
GENERIC_IOREMAP - Selects
GENERIC_LIB_ASHLDI3 - Selects
GENERIC_LIB_ASHRDI3 - Selects
GENERIC_LIB_LSHRDI3 - Selects
GENERIC_LIB_MULDI3 - Selects
GENERIC_LIB_CMPDI2 - Selects
GENERIC_LIB_UCMPDI2 - Selects
GENERIC_ALLOCATOR - Selects
GENERIC_ATOMIC64 - Selects
GENERIC_CPU_DEVICES - Selects
GENERIC_IRQ_CHIP - Selects
GENERIC_IRQ_PROBE - Selects
GENERIC_IRQ_SHOW - Selects
GENERIC_IRQ_MULTI_HANDLER - Selects
GENERIC_SCHED_CLOCK - Selects
GENERIC_SMP_IDLE_THREAD - Selects
GX6605S_TIMER if CPU_CK610 - Selects
HAVE_ARCH_TRACEHOOK - Selects
HAVE_ARCH_AUDITSYSCALL - Selects
HAVE_ARCH_JUMP_LABEL if !CPU_CK610 - Selects
HAVE_ARCH_JUMP_LABEL_RELATIVE - Selects
HAVE_ARCH_MMAP_RND_BITS - Selects
HAVE_ARCH_SECCOMP_FILTER - Selects
HAVE_CONTEXT_TRACKING_USER - Selects
HAVE_VIRT_CPU_ACCOUNTING_GEN - Selects
HAVE_DEBUG_BUGVERBOSE - Selects
HAVE_DEBUG_KMEMLEAK - Selects
HAVE_DYNAMIC_FTRACE - Selects
HAVE_DYNAMIC_FTRACE_WITH_REGS - Selects
HAVE_FUNCTION_TRACER - Selects
HAVE_FUNCTION_GRAPH_TRACER - Selects
HAVE_FUNCTION_ERROR_INJECTION - Selects
HAVE_KERNEL_GZIP - Selects
HAVE_KERNEL_LZO - Selects
HAVE_KERNEL_LZMA - Selects
HAVE_KPROBES if !CPU_CK610 - Selects
HAVE_KPROBES_ON_FTRACE if !CPU_CK610 - Selects
HAVE_KRETPROBES if !CPU_CK610 - Selects
HAVE_PAGE_SIZE_4KB - Selects
HAVE_PERF_EVENTS - Selects
HAVE_PERF_REGS - Selects
HAVE_PERF_USER_STACK_DUMP - Selects
HAVE_DMA_CONTIGUOUS - Selects
HAVE_REGS_AND_STACK_ACCESS_API - Selects
HAVE_STACKPROTECTOR - Selects
HAVE_SYSCALL_TRACEPOINTS - Selects
HOTPLUG_CORE_SYNC_DEAD if - Selects
LOCK_MM_AND_FIND_VMA - Selects
MAY_HAVE_SPARSE_IRQ - Selects
MODULES_USE_ELF_RELA if - Selects
OF - Selects
OF_EARLY_FLATTREE - Selects
PERF_USE_VMALLOC if CPU_CK610 - Selects
RTC_LIB - Selects
TIMER_OF - Selects
GENERIC_PCI_IOMAP - Selects
HAVE_PCI - Selects
PCI_DOMAINS_GENERIC if PCI - Selects
PCI_SYSCALL if PCI - Selects
PCI_MSI if PCI - Selects
TRACE_IRQFLAGS_SUPPORT
CONFIG_LOCKDEP_SUPPORT
CONFIG_ARCH_SUPPORTS_UPROBES
CONFIG_CPU_HAS_CACHEV2
CONFIG_CPU_HAS_FPUV2
CONFIG_CPU_HAS_HILO
CONFIG_CPU_HAS_TLBI
CONFIG_CPU_HAS_LDSTEX
For SMP, CPU needs "ldex&stex" instructions for atomic operations.
CONFIG_CPU_NEED_TLBSYNC
CONFIG_CPU_NEED_SOFTALIGN
CONFIG_CPU_NO_USER_BKPT
For abiv2 we couldn't use "trap 1" as user space bkpt in gdbserver, because abiv2 is 16/32bit instruction set and "trap 1" is 32bit. So we need a 16bit instruction as user space bkpt, and it will cause an illegal instruction exception. In kernel we parse the *regs->pc to determine whether to send SIGTRAP or not.
CONFIG_GENERIC_CALIBRATE_DELAY
CONFIG_GENERIC_CSUM
CONFIG_GENERIC_HWEIGHT
CONFIG_MMU
CONFIG_STACKTRACE_SUPPORT
CONFIG_TIME_LOW_RES
CONFIG_CPU_ASID_BITS
CONFIG_L1_CACHE_SHIFT
CONFIG_ARCH_MMAP_RND_BITS_MIN
CONFIG_ARCH_MMAP_RND_BITS_MAX
Processor type and features
CPU MODEL
CONFIG_CPU_CK610 CSKY CPU ck610
- Selects
CPU_NEED_TLBSYNC - Selects
CPU_NEED_SOFTALIGN - Selects
CPU_NO_USER_BKPT
CONFIG_CPU_CK810 CSKY CPU ck810
- Selects
CPU_HAS_HILO - Selects
CPU_NEED_TLBSYNC
CONFIG_CPU_CK807 CSKY CPU ck807
- Selects
CPU_HAS_HILO
CONFIG_CPU_CK860 CSKY CPU ck860
- Selects
CPU_HAS_TLBI - Selects
CPU_HAS_CACHEV2 - Selects
CPU_HAS_LDSTEX - Selects
CPU_HAS_FPUV2
PAGE OFFSET
CONFIG_PAGE_OFFSET_80000000 PAGE OFFSET 2G (user:kernel = 2:2)
CONFIG_PAGE_OFFSET_A0000000 PAGE OFFSET 2.5G (user:kernel = 2.5:1.5)
CONFIG_PAGE_OFFSET
C-SKY PMU type
- Depends on
PERF_EVENTS - Depends on
CPU_CK807 || CPU_CK810 || CPU_CK860
CONFIG_CPU_PMU_NONE None
CONFIG_CSKY_PMU_V1 Performance Monitoring Unit Ver.1
Power Manager Instruction (wait/doze/stop)
CONFIG_CPU_PM_NONE None
CONFIG_CPU_PM_WAIT wait
CONFIG_CPU_PM_DOZE doze
CONFIG_CPU_PM_STOP stop
CONFIG_HAVE_TCM Tightly-Coupled/Sram Memory
The implementation are not only used by TCM (Tightly-Coupled Memory) but also used by sram on SOC bus. It follow existed linux tcm software interface, so that old tcm application codes could be re-used directly.
- Depends on
!COMPILE_TEST
If
CONFIG_CPU_HAS_VDSP CPU has VDSP coprocessor
- Depends on
&& CPU_HAS_FPUV2
CONFIG_CPU_HAS_FPU CPU has FPU coprocessor
CONFIG_CPU_HAS_ICACHE_INS CPU has Icache invalidate instructions
- Depends on
CPU_HAS_CACHEV2
CONFIG_CPU_HAS_TEE CPU has Trusted Execution Environment
- Depends on
CPU_CK810
CONFIG_SMP Symmetric Multi-Processing (SMP) support for C-SKY
- Depends on
CPU_CK860
CONFIG_NR_CPUS Maximum number of CPUs (2-32)
- Range
2 32 - Depends on
CONFIG_HIGHMEM High Memory Support
- Depends on
!CPU_CK610 - Selects
KMAP_LOCAL
CONFIG_DRAM_BASE DRAM start addr (the same with memory-section in dts)
CONFIG_HOTPLUG_CPU Support for hot-pluggable CPUs
Say Y here to allow turning CPUs off and on. CPUs can be controlled through /sys/devices/system/cpu/cpu1/hotplug/target.
Say N if you want to disable CPU hotplug.
- Selects
GENERIC_IRQ_MIGRATION - Depends on
CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS Enable EFFICIENT_UNALIGNED_STRING_OPS for abiv2
Say Y here to enable EFFICIENT_UNALIGNED_STRING_OPS. Some CPU models could deal with unaligned access by hardware.
- 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