~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/csky/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/csky/Kconfig (Version linux-6.12-rc7) and /arch/m68k/Kconfig (Version linux-6.3.13)


  1 # SPDX-License-Identifier: GPL-2.0-only        !!   1 # SPDX-License-Identifier: GPL-2.0
  2 config CSKY                                    !!   2 config M68K
  3         def_bool y                             !!   3         bool
                                                   >>   4         default y
  4         select ARCH_32BIT_OFF_T                     5         select ARCH_32BIT_OFF_T
  5         select ARCH_HAS_CPU_CACHE_ALIASING     !!   6         select ARCH_HAS_BINFMT_FLAT
  6         select ARCH_HAS_DMA_PREP_COHERENT      << 
  7         select ARCH_HAS_GCOV_PROFILE_ALL       << 
  8         select ARCH_HAS_SYNC_DMA_FOR_CPU       << 
  9         select ARCH_HAS_SYNC_DMA_FOR_DEVICE    << 
 10         select ARCH_USE_BUILTIN_BSWAP          << 
 11         select ARCH_USE_QUEUED_RWLOCKS         << 
 12         select ARCH_USE_QUEUED_SPINLOCKS       << 
 13         select ARCH_HAS_CURRENT_STACK_POINTER       7         select ARCH_HAS_CURRENT_STACK_POINTER
 14         select ARCH_INLINE_READ_LOCK if !PREEM !!   8         select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE
 15         select ARCH_INLINE_READ_LOCK_BH if !PR !!   9         select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
 16         select ARCH_INLINE_READ_LOCK_IRQ if !P !!  10         select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
 17         select ARCH_INLINE_READ_LOCK_IRQSAVE i !!  11         select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
 18         select ARCH_INLINE_READ_UNLOCK if !PRE !!  12         select ARCH_NO_PREEMPT if !COLDFIRE
 19         select ARCH_INLINE_READ_UNLOCK_BH if ! !!  13         select ARCH_USE_MEMTEST if MMU_MOTOROLA
 20         select ARCH_INLINE_READ_UNLOCK_IRQ if  !!  14         select ARCH_WANT_IPC_PARSE_VERSION
 21         select ARCH_INLINE_READ_UNLOCK_IRQREST !!  15         select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
 22         select ARCH_INLINE_WRITE_LOCK if !PREE !!  16         select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
 23         select ARCH_INLINE_WRITE_LOCK_BH if !P << 
 24         select ARCH_INLINE_WRITE_LOCK_IRQ if ! << 
 25         select ARCH_INLINE_WRITE_LOCK_IRQSAVE  << 
 26         select ARCH_INLINE_WRITE_UNLOCK if !PR << 
 27         select ARCH_INLINE_WRITE_UNLOCK_BH if  << 
 28         select ARCH_INLINE_WRITE_UNLOCK_IRQ if << 
 29         select ARCH_INLINE_WRITE_UNLOCK_IRQRES << 
 30         select ARCH_INLINE_SPIN_TRYLOCK if !PR << 
 31         select ARCH_INLINE_SPIN_TRYLOCK_BH if  << 
 32         select ARCH_INLINE_SPIN_LOCK if !PREEM << 
 33         select ARCH_INLINE_SPIN_LOCK_BH if !PR << 
 34         select ARCH_INLINE_SPIN_LOCK_IRQ if !P << 
 35         select ARCH_INLINE_SPIN_LOCK_IRQSAVE i << 
 36         select ARCH_INLINE_SPIN_UNLOCK if !PRE << 
 37         select ARCH_INLINE_SPIN_UNLOCK_BH if ! << 
 38         select ARCH_INLINE_SPIN_UNLOCK_IRQ if  << 
 39         select ARCH_INLINE_SPIN_UNLOCK_IRQREST << 
 40         select ARCH_NEED_CMPXCHG_1_EMU         << 
 41         select ARCH_WANT_FRAME_POINTERS if !CP << 
 42         select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_ << 
 43         select COMMON_CLK                      << 
 44         select CLKSRC_MMIO                     << 
 45         select CSKY_MPINTC if CPU_CK860        << 
 46         select CSKY_MP_TIMER if CPU_CK860      << 
 47         select CSKY_APB_INTC                   << 
 48         select DMA_DIRECT_REMAP                << 
 49         select IRQ_DOMAIN                      << 
 50         select DW_APB_TIMER_OF                 << 
 51         select GENERIC_IOREMAP                 << 
 52         select GENERIC_LIB_ASHLDI3             << 
 53         select GENERIC_LIB_ASHRDI3             << 
 54         select GENERIC_LIB_LSHRDI3             << 
 55         select GENERIC_LIB_MULDI3              << 
 56         select GENERIC_LIB_CMPDI2              << 
 57         select GENERIC_LIB_UCMPDI2             << 
 58         select GENERIC_ALLOCATOR               << 
 59         select GENERIC_ATOMIC64                    17         select GENERIC_ATOMIC64
 60         select GENERIC_CPU_DEVICES                 18         select GENERIC_CPU_DEVICES
 61         select GENERIC_IRQ_CHIP                !!  19         select GENERIC_IOMAP
 62         select GENERIC_IRQ_PROBE               << 
 63         select GENERIC_IRQ_SHOW                    20         select GENERIC_IRQ_SHOW
 64         select GENERIC_IRQ_MULTI_HANDLER       !!  21         select HAVE_ARCH_SECCOMP
 65         select GENERIC_SCHED_CLOCK             << 
 66         select GENERIC_SMP_IDLE_THREAD         << 
 67         select GENERIC_TIME_VSYSCALL           << 
 68         select GENERIC_VDSO_32                 << 
 69         select GENERIC_GETTIMEOFDAY            << 
 70         select GX6605S_TIMER if CPU_CK610      << 
 71         select HAVE_ARCH_TRACEHOOK             << 
 72         select HAVE_ARCH_AUDITSYSCALL          << 
 73         select HAVE_ARCH_JUMP_LABEL if !CPU_CK << 
 74         select HAVE_ARCH_JUMP_LABEL_RELATIVE   << 
 75         select HAVE_ARCH_MMAP_RND_BITS         << 
 76         select HAVE_ARCH_SECCOMP_FILTER            22         select HAVE_ARCH_SECCOMP_FILTER
 77         select HAVE_CONTEXT_TRACKING_USER      !!  23         select HAVE_ASM_MODVERSIONS
 78         select HAVE_VIRT_CPU_ACCOUNTING_GEN    << 
 79         select HAVE_DEBUG_BUGVERBOSE               24         select HAVE_DEBUG_BUGVERBOSE
 80         select HAVE_DEBUG_KMEMLEAK             !!  25         select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
 81         select HAVE_DYNAMIC_FTRACE             !!  26         select HAVE_MOD_ARCH_SPECIFIC
 82         select HAVE_DYNAMIC_FTRACE_WITH_REGS   !!  27         select HAVE_UID16
 83         select HAVE_GENERIC_VDSO               !!  28         select MMU_GATHER_NO_RANGE if MMU
 84         select HAVE_FUNCTION_TRACER            !!  29         select MODULES_USE_ELF_REL
 85         select HAVE_FUNCTION_GRAPH_TRACER      !!  30         select MODULES_USE_ELF_RELA
 86         select HAVE_FUNCTION_ERROR_INJECTION   !!  31         select NO_DMA if !MMU && !COLDFIRE
 87         select HAVE_FTRACE_MCOUNT_RECORD       !!  32         select OLD_SIGACTION
 88         select HAVE_KERNEL_GZIP                !!  33         select OLD_SIGSUSPEND3
 89         select HAVE_KERNEL_LZO                 !!  34         select UACCESS_MEMCPY if !MMU
 90         select HAVE_KERNEL_LZMA                !!  35         select ZONE_DMA
 91         select HAVE_KPROBES if !CPU_CK610      << 
 92         select HAVE_KPROBES_ON_FTRACE if !CPU_ << 
 93         select HAVE_KRETPROBES if !CPU_CK610   << 
 94         select HAVE_PAGE_SIZE_4KB              << 
 95         select HAVE_PERF_EVENTS                << 
 96         select HAVE_PERF_REGS                  << 
 97         select HAVE_PERF_USER_STACK_DUMP       << 
 98         select HAVE_DMA_CONTIGUOUS             << 
 99         select HAVE_REGS_AND_STACK_ACCESS_API  << 
100         select HAVE_STACKPROTECTOR             << 
101         select HAVE_SYSCALL_TRACEPOINTS        << 
102         select HOTPLUG_CORE_SYNC_DEAD if HOTPL << 
103         select LOCK_MM_AND_FIND_VMA            << 
104         select MAY_HAVE_SPARSE_IRQ             << 
105         select MODULES_USE_ELF_RELA if MODULES << 
106         select OF                              << 
107         select OF_EARLY_FLATTREE               << 
108         select PERF_USE_VMALLOC if CPU_CK610   << 
109         select RTC_LIB                         << 
110         select TIMER_OF                        << 
111         select GENERIC_PCI_IOMAP               << 
112         select HAVE_PCI                        << 
113         select PCI_DOMAINS_GENERIC if PCI      << 
114         select PCI_SYSCALL if PCI              << 
115         select PCI_MSI if PCI                  << 
116         select TRACE_IRQFLAGS_SUPPORT          << 
117                                                    36 
118 config LOCKDEP_SUPPORT                         !!  37 config CPU_BIG_ENDIAN
119         def_bool y                                 38         def_bool y
120                                                    39 
121 config ARCH_SUPPORTS_UPROBES                   !!  40 config ARCH_HAS_ILOG2_U32
122         def_bool y if !CPU_CK610               !!  41         bool
123                                                    42 
124 config CPU_HAS_CACHEV2                         !!  43 config ARCH_HAS_ILOG2_U64
125         bool                                       44         bool
126                                                    45 
127 config CPU_HAS_FPUV2                           !!  46 config GENERIC_HWEIGHT
128         bool                                       47         bool
                                                   >>  48         default y
129                                                    49 
130 config CPU_HAS_HILO                            !!  50 config GENERIC_CALIBRATE_DELAY
131         bool                                       51         bool
                                                   >>  52         default y
132                                                    53 
133 config CPU_HAS_TLBI                            !!  54 config GENERIC_CSUM
134         bool                                       55         bool
135                                                    56 
136 config CPU_HAS_LDSTEX                          !!  57 config TIME_LOW_RES
137         bool                                       58         bool
                                                   >>  59         default y
                                                   >>  60 
                                                   >>  61 config NO_IOPORT_MAP
                                                   >>  62         def_bool y
                                                   >>  63 
                                                   >>  64 config HZ
                                                   >>  65         int
                                                   >>  66         default 1000 if CLEOPATRA
                                                   >>  67         default 100
                                                   >>  68 
                                                   >>  69 config PGTABLE_LEVELS
                                                   >>  70         default 2 if SUN3 || COLDFIRE
                                                   >>  71         default 3
                                                   >>  72 
                                                   >>  73 config MMU
                                                   >>  74         bool "MMU-based Paged Memory Management Support"
                                                   >>  75         default y
138         help                                       76         help
139           For SMP, CPU needs "ldex&stex" instr !!  77           Select if you want MMU-based virtualised addressing space
                                                   >>  78           support by paged memory management. If unsure, say 'Y'.
140                                                    79 
141 config CPU_NEED_TLBSYNC                        !!  80 config MMU_MOTOROLA
142         bool                                       81         bool
143                                                    82 
144 config CPU_NEED_SOFTALIGN                      !!  83 config MMU_COLDFIRE
145         bool                                       84         bool
146                                                    85 
147 config CPU_NO_USER_BKPT                        !!  86 config MMU_SUN3
148         bool                                       87         bool
149         help                                   !!  88         depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
150           For abiv2 we couldn't use "trap 1" a << 
151           abiv2 is 16/32bit instruction set an << 
152           So we need a 16bit instruction as us << 
153           instruction exception.               << 
154           In kernel we parse the *regs->pc to  << 
155                                                << 
156 config GENERIC_CALIBRATE_DELAY                 << 
157         def_bool y                             << 
158                                                    89 
159 config GENERIC_CSUM                            !!  90 config KEXEC
160         def_bool y                             !!  91         bool "kexec system call"
161                                                !!  92         depends on M68KCLASSIC && MMU
162 config GENERIC_HWEIGHT                         !!  93         select KEXEC_CORE
163         def_bool y                             !!  94         help
                                                   >>  95           kexec is a system call that implements the ability to shutdown your
                                                   >>  96           current kernel, and to start another kernel.  It is like a reboot
                                                   >>  97           but it is independent of the system firmware.   And like a reboot
                                                   >>  98           you can start any kernel with it, not just Linux.
                                                   >>  99 
                                                   >> 100           The name comes from the similarity to the exec system call.
                                                   >> 101 
                                                   >> 102           It is an ongoing process to be certain the hardware in a machine
                                                   >> 103           is properly shutdown, so do not be surprised if this code does not
                                                   >> 104           initially work for you.  As of this writing the exact hardware
                                                   >> 105           interface is strongly in flux, so no good recommendation can be
                                                   >> 106           made.
                                                   >> 107 
                                                   >> 108 config BOOTINFO_PROC
                                                   >> 109         bool "Export bootinfo in procfs"
                                                   >> 110         depends on KEXEC && M68KCLASSIC
                                                   >> 111         help
                                                   >> 112           Say Y to export the bootinfo used to boot the kernel in a
                                                   >> 113           "bootinfo" file in procfs.  This is useful with kexec.
164                                                   114 
165 config MMU                                     !! 115 menu "Platform setup"
166         def_bool y                             << 
167                                                   116 
168 config STACKTRACE_SUPPORT                      !! 117 source "arch/m68k/Kconfig.cpu"
169         def_bool y                             << 
170                                                   118 
171 config TIME_LOW_RES                            !! 119 source "arch/m68k/Kconfig.machine"
172         def_bool y                             << 
173                                                   120 
174 config CPU_ASID_BITS                           !! 121 source "arch/m68k/Kconfig.bus"
175         int                                    << 
176         default "8"     if (CPU_CK610 || CPU_C << 
177         default "12"    if (CPU_CK860)         << 
178                                                   122 
179 config L1_CACHE_SHIFT                          !! 123 endmenu
180         int                                    << 
181         default "4"     if (CPU_CK610)         << 
182         default "5"     if (CPU_CK807 || CPU_C << 
183         default "6"     if (CPU_CK860)         << 
184                                                << 
185 config ARCH_MMAP_RND_BITS_MIN                  << 
186         default 8                              << 
187                                                << 
188 # max bits determined by the following formula << 
189 #  VA_BITS - PAGE_SHIFT - 3                    << 
190 config ARCH_MMAP_RND_BITS_MAX                  << 
191         default 17                             << 
192                                                << 
193 menu "Processor type and features"             << 
194                                                << 
195 choice                                         << 
196         prompt "CPU MODEL"                     << 
197         default CPU_CK807                      << 
198                                                << 
199 config CPU_CK610                               << 
200         bool "CSKY CPU ck610"                  << 
201         select CPU_NEED_TLBSYNC                << 
202         select CPU_NEED_SOFTALIGN              << 
203         select CPU_NO_USER_BKPT                << 
204                                                << 
205 config CPU_CK810                               << 
206         bool "CSKY CPU ck810"                  << 
207         select CPU_HAS_HILO                    << 
208         select CPU_NEED_TLBSYNC                << 
209                                                << 
210 config CPU_CK807                               << 
211         bool "CSKY CPU ck807"                  << 
212         select CPU_HAS_HILO                    << 
213                                                << 
214 config CPU_CK860                               << 
215         bool "CSKY CPU ck860"                  << 
216         select CPU_HAS_TLBI                    << 
217         select CPU_HAS_CACHEV2                 << 
218         select CPU_HAS_LDSTEX                  << 
219         select CPU_HAS_FPUV2                   << 
220 endchoice                                      << 
221                                                << 
222 choice                                         << 
223         prompt "PAGE OFFSET"                   << 
224         default PAGE_OFFSET_80000000           << 
225                                                << 
226 config PAGE_OFFSET_80000000                    << 
227         bool "PAGE OFFSET 2G (user:kernel = 2: << 
228                                                << 
229 config PAGE_OFFSET_A0000000                    << 
230         bool "PAGE OFFSET 2.5G (user:kernel =  << 
231 endchoice                                      << 
232                                                << 
233 config PAGE_OFFSET                             << 
234         hex                                    << 
235         default 0x80000000 if PAGE_OFFSET_8000 << 
236         default 0xa0000000 if PAGE_OFFSET_A000 << 
237 choice                                         << 
238                                                << 
239         prompt "C-SKY PMU type"                << 
240         depends on PERF_EVENTS                 << 
241         depends on CPU_CK807 || CPU_CK810 || C << 
242                                                << 
243 config CPU_PMU_NONE                            << 
244         bool "None"                            << 
245                                                << 
246 config CSKY_PMU_V1                             << 
247         bool "Performance Monitoring Unit Ver. << 
248                                                << 
249 endchoice                                      << 
250                                                << 
251 choice                                         << 
252         prompt "Power Manager Instruction (wai << 
253         default CPU_PM_NONE                    << 
254                                                << 
255 config CPU_PM_NONE                             << 
256         bool "None"                            << 
257                                                << 
258 config CPU_PM_WAIT                             << 
259         bool "wait"                            << 
260                                                << 
261 config CPU_PM_DOZE                             << 
262         bool "doze"                            << 
263                                                << 
264 config CPU_PM_STOP                             << 
265         bool "stop"                            << 
266 endchoice                                      << 
267                                                << 
268 menuconfig HAVE_TCM                            << 
269         bool "Tightly-Coupled/Sram Memory"     << 
270         depends on !COMPILE_TEST               << 
271         help                                   << 
272           The implementation are not only used << 
273           but also used by sram on SOC bus. It << 
274           software interface, so that old tcm  << 
275           re-used directly.                    << 
276                                                << 
277 if HAVE_TCM                                    << 
278 config ITCM_RAM_BASE                           << 
279         hex "ITCM ram base"                    << 
280         default 0xffffffff                     << 
281                                                << 
282 config ITCM_NR_PAGES                           << 
283         int "Page count of ITCM size: NR*4KB"  << 
284         range 1 256                            << 
285         default 32                             << 
286                                                << 
287 config HAVE_DTCM                               << 
288         bool "DTCM Support"                    << 
289                                                << 
290 config DTCM_RAM_BASE                           << 
291         hex "DTCM ram base"                    << 
292         depends on HAVE_DTCM                   << 
293         default 0xffffffff                     << 
294                                                << 
295 config DTCM_NR_PAGES                           << 
296         int "Page count of DTCM size: NR*4KB"  << 
297         depends on HAVE_DTCM                   << 
298         range 1 256                            << 
299         default 32                             << 
300 endif                                          << 
301                                                   124 
302 config CPU_HAS_VDSP                            !! 125 menu "Kernel Features"
303         bool "CPU has VDSP coprocessor"        << 
304         depends on CPU_HAS_FPU && CPU_HAS_FPUV << 
305                                                << 
306 config CPU_HAS_FPU                             << 
307         bool "CPU has FPU coprocessor"         << 
308         depends on CPU_CK807 || CPU_CK810 || C << 
309                                                << 
310 config CPU_HAS_ICACHE_INS                      << 
311         bool "CPU has Icache invalidate instru << 
312         depends on CPU_HAS_CACHEV2             << 
313                                                << 
314 config CPU_HAS_TEE                             << 
315         bool "CPU has Trusted Execution Enviro << 
316         depends on CPU_CK810                   << 
317                                                << 
318 config SMP                                     << 
319         bool "Symmetric Multi-Processing (SMP) << 
320         depends on CPU_CK860                   << 
321         default n                              << 
322                                                << 
323 config NR_CPUS                                 << 
324         int "Maximum number of CPUs (2-32)"    << 
325         range 2 32                             << 
326         depends on SMP                         << 
327         default "4"                            << 
328                                                << 
329 config HIGHMEM                                 << 
330         bool "High Memory Support"             << 
331         depends on !CPU_CK610                  << 
332         select KMAP_LOCAL                      << 
333         default y                              << 
334                                                   126 
335 config DRAM_BASE                               !! 127 endmenu
336         hex "DRAM start addr (the same with me << 
337         default 0x0                            << 
338                                                << 
339 config HOTPLUG_CPU                             << 
340         bool "Support for hot-pluggable CPUs"  << 
341         select GENERIC_IRQ_MIGRATION           << 
342         depends on SMP                         << 
343         help                                   << 
344           Say Y here to allow turning CPUs off << 
345           controlled through /sys/devices/syst << 
346                                                   128 
347           Say N if you want to disable CPU hot !! 129 if !MMU
                                                   >> 130 menu "Power management options"
348                                                   131 
349 config HAVE_EFFICIENT_UNALIGNED_STRING_OPS     !! 132 config PM
350         bool "Enable EFFICIENT_UNALIGNED_STRIN !! 133         bool "Power Management support"
351         depends on CPU_CK807 || CPU_CK810 || C << 
352         help                                      134         help
353           Say Y here to enable EFFICIENT_UNALI !! 135           Support processor power management modes
354           deal with unaligned access by hardwa << 
355                                                   136 
356 endmenu                                           137 endmenu
                                                   >> 138 endif
357                                                   139 
358 source "arch/csky/Kconfig.platforms"           !! 140 source "arch/m68k/Kconfig.devices"
359                                                << 
360 source "kernel/Kconfig.hz"                     << 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php