Kconfig

CONFIG_CSKY

Unknown
Default
  • y

CONFIG_LOCKDEP_SUPPORT

On
Default
  • y

CONFIG_ARCH_SUPPORTS_UPROBES

On

CONFIG_CPU_HAS_CACHEV2

Unknown

CONFIG_CPU_HAS_FPUV2

Unknown

CONFIG_CPU_HAS_HILO

Unknown

CONFIG_CPU_HAS_TLBI

Unknown

CONFIG_CPU_HAS_LDSTEX

Unknown

For SMP, CPU needs "ldex&stex" instructions for atomic operations.

CONFIG_CPU_NEED_TLBSYNC

Unknown

CONFIG_CPU_NEED_SOFTALIGN

Unknown

CONFIG_CPU_NO_USER_BKPT

Unknown

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

On
Default
  • y

CONFIG_GENERIC_CSUM

On
Default
  • y

CONFIG_GENERIC_HWEIGHT

Unknown
Default
  • y

CONFIG_MMU

On
Default
  • y

CONFIG_STACKTRACE_SUPPORT

On
Default
  • y

CONFIG_TIME_LOW_RES

Unknown
Default
  • y

CONFIG_ARCH_MMAP_RND_BITS_MIN

28
Default
  • 8

CONFIG_ARCH_MMAP_RND_BITS_MAX

32
Default
  • 17

Processor type and features

CPU MODEL

End of CPU MODEL

PAGE OFFSET

CONFIG_PAGE_OFFSET_80000000 PAGE OFFSET 2G (user:kernel = 2:2)

Unknown

CONFIG_PAGE_OFFSET_A0000000 PAGE OFFSET 2.5G (user:kernel = 2.5:1.5)

Unknown
End of PAGE OFFSET

C-SKY PMU type

CONFIG_CPU_PMU_NONE None

Unknown

CONFIG_CSKY_PMU_V1 Performance Monitoring Unit Ver.1

Unknown
End of C-SKY PMU type

Power Manager Instruction (wait/doze/stop)

CONFIG_CPU_PM_NONE None

Unknown

CONFIG_CPU_PM_WAIT wait

Unknown

CONFIG_CPU_PM_DOZE doze

Unknown

CONFIG_CPU_PM_STOP stop

Unknown
End of Power Manager Instruction (wait/doze/stop)

CONFIG_HAVE_TCM Tightly-Coupled/Sram Memory

Unknown

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.

If

CONFIG_ITCM_RAM_BASE ITCM ram base

Unknown
Default
  • 0xffffffff

CONFIG_ITCM_NR_PAGES Page count of ITCM size: NR*4KB

Unknown
  • Range1 256
Default
  • 32

CONFIG_HAVE_DTCM DTCM Support

Unknown

CONFIG_DTCM_RAM_BASE DTCM ram base

Unknown
Default
  • 0xffffffff

CONFIG_DTCM_NR_PAGES Page count of DTCM size: NR*4KB

Unknown
Default
  • 32

CONFIG_CPU_HAS_VDSP CPU has VDSP coprocessor

Unknown

CONFIG_CPU_HAS_ICACHE_INS CPU has Icache invalidate instructions

Unknown

CONFIG_CPU_HAS_TEE CPU has Trusted Execution Environment

Unknown

CONFIG_SMP Symmetric Multi-Processing (SMP) support for C-SKY

On
Default
  • n

CONFIG_NR_CPUS Maximum number of CPUs (2-32)

  • Range2 32
  • Depends on
Default
  • "4"

CONFIG_DRAM_BASE DRAM start addr (the same with memory-section in dts)

Unknown
Default
  • 0x0

CONFIG_HOTPLUG_CPU Support for hot-pluggable CPUs

On

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.

CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS Enable EFFICIENT_UNALIGNED_STRING_OPS for abiv2

Unknown

Say Y here to enable EFFICIENT_UNALIGNED_STRING_OPS. Some CPU models could deal with unaligned access by hardware.

End of Processor type and features
Includearch/csky/Kconfig.platforms Open file
Includekernel/Kconfig.hz Open file
CONFIG_HAVE_TCM declarations