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

TOMOYO Linux Cross Reference
Linux/arch/parisc/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/parisc/Kconfig (Architecture alpha) and /arch/m68k/Kconfig (Architecture m68k)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 config PARISC                                  !!   2 config M68K
  3         def_bool y                             !!   3         bool
  4         select ALTERNATE_USER_ADDRESS_SPACE    !!   4         default y
  5         select ARCH_32BIT_OFF_T if !64BIT      !!   5         select ARCH_32BIT_OFF_T
  6         select ARCH_MIGHT_HAVE_PC_PARPORT      !!   6         select ARCH_HAS_BINFMT_FLAT
  7         select HAVE_FUNCTION_TRACER            << 
  8         select HAVE_FUNCTION_GRAPH_TRACER      << 
  9         select HAVE_SYSCALL_TRACEPOINTS        << 
 10         select ARCH_WANT_FRAME_POINTERS        << 
 11         select ARCH_HAS_CPU_CACHE_ALIASING          7         select ARCH_HAS_CPU_CACHE_ALIASING
 12         select ARCH_HAS_DMA_ALLOC if PA11      !!   8         select ARCH_HAS_CPU_FINALIZE_INIT if MMU
 13         select ARCH_HAS_DMA_OPS                !!   9         select ARCH_HAS_CURRENT_STACK_POINTER
 14         select ARCH_HAS_ELF_RANDOMIZE          !!  10         select ARCH_HAS_DMA_PREP_COHERENT if M68K_NONCOHERENT_DMA && !COLDFIRE
 15         select ARCH_HAS_STRICT_KERNEL_RWX      !!  11         select ARCH_HAS_SYNC_DMA_FOR_DEVICE if M68K_NONCOHERENT_DMA
 16         select ARCH_HAS_STRICT_MODULE_RWX      !!  12         select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
 17         select ARCH_HAS_UBSAN                  !!  13         select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
 18         select ARCH_HAS_PTE_SPECIAL            !!  14         select ARCH_NO_PREEMPT if !COLDFIRE
 19         select ARCH_NO_SG_CHAIN                !!  15         select ARCH_USE_MEMTEST if MMU_MOTOROLA
 20         select ARCH_SPLIT_ARG64 if !64BIT      !!  16         select ARCH_WANT_IPC_PARSE_VERSION
 21         select ARCH_SUPPORTS_HUGETLBFS if PA20 !!  17         select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
 22         select ARCH_SUPPORTS_MEMORY_FAILURE    !!  18         select DMA_DIRECT_REMAP if M68K_NONCOHERENT_DMA && !COLDFIRE
 23         select ARCH_STACKWALK                  !!  19         select GENERIC_ATOMIC64
 24         select ARCH_HAS_CACHE_LINE_SIZE        !!  20         select GENERIC_CPU_DEVICES
 25         select ARCH_HAS_DEBUG_VM_PGTABLE       !!  21         select GENERIC_IOMAP if HAS_IOPORT
 26         select HAVE_RELIABLE_STACKTRACE        !!  22         select GENERIC_IRQ_SHOW
 27         select RTC_CLASS                       !!  23         select GENERIC_LIB_ASHLDI3
 28         select RTC_DRV_GENERIC                 !!  24         select GENERIC_LIB_ASHRDI3
 29         select INIT_ALL_POSSIBLE               !!  25         select GENERIC_LIB_LSHRDI3
 30         select BUG                             !!  26         select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA
 31         select HAVE_KERNEL_UNCOMPRESSED        !!  27         select HAVE_ARCH_SECCOMP
 32         select HAVE_PCI                        !!  28         select HAVE_ARCH_SECCOMP_FILTER
 33         select HAVE_PERF_EVENTS                !!  29         select HAVE_ASM_MODVERSIONS
 34         select HAVE_KERNEL_BZIP2               !!  30         select HAVE_DEBUG_BUGVERBOSE
 35         select HAVE_KERNEL_GZIP                !!  31         select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
 36         select HAVE_KERNEL_LZ4                 << 
 37         select HAVE_KERNEL_LZMA                << 
 38         select HAVE_KERNEL_LZO                 << 
 39         select HAVE_KERNEL_XZ                  << 
 40         select GENERIC_ATOMIC64 if !64BIT      << 
 41         select GENERIC_IRQ_PROBE               << 
 42         select GENERIC_PCI_IOMAP               << 
 43         select GENERIC_IOREMAP                 << 
 44         select ARCH_HAVE_NMI_SAFE_CMPXCHG      << 
 45         select GENERIC_SMP_IDLE_THREAD         << 
 46         select GENERIC_ARCH_TOPOLOGY if SMP    << 
 47         select GENERIC_CPU_DEVICES if !SMP     << 
 48         select GENERIC_LIB_DEVMEM_IS_ALLOWED   << 
 49         select SYSCTL_ARCH_UNALIGN_ALLOW       << 
 50         select SYSCTL_ARCH_UNALIGN_NO_WARN     << 
 51         select SYSCTL_EXCEPTION_TRACE          << 
 52         select HAVE_MOD_ARCH_SPECIFIC              32         select HAVE_MOD_ARCH_SPECIFIC
                                                   >>  33         select HAVE_UID16
                                                   >>  34         select MMU_GATHER_NO_RANGE if MMU
                                                   >>  35         select MODULES_USE_ELF_REL
 53         select MODULES_USE_ELF_RELA                36         select MODULES_USE_ELF_RELA
 54         select CLONE_BACKWARDS                 !!  37         select NO_DMA if !MMU && !COLDFIRE
 55         select TTY # Needed for pdc_cons.c     !!  38         select OLD_SIGACTION
 56         select HAS_IOPORT if PCI || EISA       !!  39         select OLD_SIGSUSPEND3
 57         select HAVE_DEBUG_STACKOVERFLOW        !!  40         select UACCESS_MEMCPY if !MMU
 58         select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_ !!  41         select ZONE_DMA
 59         select HAVE_ARCH_MMAP_RND_COMPAT_BITS  << 
 60         select HAVE_ARCH_MMAP_RND_BITS         << 
 61         select HAVE_ARCH_AUDITSYSCALL          << 
 62         select HAVE_ARCH_HASH                  << 
 63         select HAVE_ARCH_JUMP_LABEL            << 
 64         select HAVE_ARCH_JUMP_LABEL_RELATIVE   << 
 65         select HAVE_ARCH_KFENCE                << 
 66         select HAVE_ARCH_SECCOMP_FILTER        << 
 67         select HAVE_ARCH_TRACEHOOK             << 
 68         select HAVE_EBPF_JIT                   << 
 69         select ARCH_WANT_DEFAULT_BPF_JIT       << 
 70         select HAVE_REGS_AND_STACK_ACCESS_API  << 
 71         select HOTPLUG_CORE_SYNC_DEAD if HOTPL << 
 72         select GENERIC_SCHED_CLOCK             << 
 73         select GENERIC_IRQ_MIGRATION if SMP    << 
 74         select HAVE_UNSTABLE_SCHED_CLOCK if SM << 
 75         select GENERIC_CLOCKEVENTS             << 
 76         select CPU_NO_EFFICIENT_FFS            << 
 77         select THREAD_INFO_IN_TASK             << 
 78         select NEED_DMA_MAP_STATE              << 
 79         select NEED_SG_DMA_LENGTH              << 
 80         select HAVE_ARCH_KGDB                  << 
 81         select HAVE_KPROBES                    << 
 82         select HAVE_KRETPROBES                 << 
 83         select HAVE_DYNAMIC_FTRACE if $(cc-opt << 
 84         select HAVE_FTRACE_MCOUNT_RECORD if HA << 
 85         select FTRACE_MCOUNT_USE_PATCHABLE_FUN << 
 86         select HAVE_KPROBES_ON_FTRACE          << 
 87         select HAVE_DYNAMIC_FTRACE_WITH_REGS   << 
 88         select HAVE_SOFTIRQ_ON_OWN_STACK if IR << 
 89         select TRACE_IRQFLAGS_SUPPORT          << 
 90         select HAVE_FUNCTION_DESCRIPTORS if 64 << 
 91         select PCI_MSI_ARCH_FALLBACKS if PCI_M << 
 92                                                << 
 93         help                                   << 
 94           The PA-RISC microprocessor is design << 
 95           in many of their workstations & serv << 
 96           and later HP3000 series).  The PA-RI << 
 97           at <https://parisc.wiki.kernel.org>. << 
 98                                                    42 
 99 config CPU_BIG_ENDIAN                              43 config CPU_BIG_ENDIAN
100         def_bool y                                 44         def_bool y
101                                                    45 
102 config MMU                                     << 
103         def_bool y                             << 
104                                                << 
105 config STACK_GROWSUP                           << 
106         def_bool y                             << 
107                                                << 
108 config GENERIC_LOCKBREAK                       << 
109         bool                                   << 
110         default y                              << 
111         depends on SMP && PREEMPTION           << 
112                                                << 
113 config ARCH_HAS_ILOG2_U32                          46 config ARCH_HAS_ILOG2_U32
114         bool                                       47         bool
115         default n                              << 
116                                                    48 
117 config ARCH_HAS_ILOG2_U64                          49 config ARCH_HAS_ILOG2_U64
118         bool                                       50         bool
119         default n                              << 
120                                                << 
121 config GENERIC_BUG                             << 
122         def_bool y                             << 
123         depends on BUG                         << 
124         select GENERIC_BUG_RELATIVE_POINTERS i << 
125                                                << 
126 config GENERIC_BUG_RELATIVE_POINTERS           << 
127         bool                                   << 
128                                                    51 
129 config GENERIC_HWEIGHT                             52 config GENERIC_HWEIGHT
130         bool                                       53         bool
131         default y                                  54         default y
132                                                    55 
133 config GENERIC_CALIBRATE_DELAY                     56 config GENERIC_CALIBRATE_DELAY
134         bool                                       57         bool
135         default y                                  58         default y
136                                                    59 
137 config TIME_LOW_RES                            !!  60 config GENERIC_CSUM
138         bool                                       61         bool
139         depends on SMP                         << 
140         default y                              << 
141                                                << 
142 config ARCH_MMAP_RND_BITS_MIN                  << 
143         default 18 if 64BIT                    << 
144         default 8                              << 
145                                                << 
146 config ARCH_MMAP_RND_COMPAT_BITS_MIN           << 
147         default 8                              << 
148                                                    62 
149 config ARCH_MMAP_RND_BITS_MAX                  !!  63 config TIME_LOW_RES
150         default 18 if 64BIT                    << 
151         default 13                             << 
152                                                << 
153 config ARCH_MMAP_RND_COMPAT_BITS_MAX           << 
154         default 13                             << 
155                                                << 
156 # unless you want to implement ACPI on PA-RISC << 
157 config PM                                      << 
158         bool                                   << 
159                                                << 
160 config STACKTRACE_SUPPORT                      << 
161         def_bool y                             << 
162                                                << 
163 config LOCKDEP_SUPPORT                         << 
164         bool                                   << 
165         default y                              << 
166                                                << 
167 config ISA_DMA_API                             << 
168         bool                                   << 
169                                                << 
170 config ARCH_MAY_HAVE_PC_FDC                    << 
171         bool                                       64         bool
172         depends on BROKEN                      << 
173         default y                                  65         default y
174                                                    66 
175 config PGTABLE_LEVELS                          !!  67 config NO_IOPORT_MAP
176         int                                    << 
177         default 3 if 64BIT && PARISC_PAGE_SIZE << 
178         default 2                              << 
179                                                << 
180 menu "Processor type and features"             << 
181                                                << 
182 choice                                         << 
183         prompt "Processor type"                << 
184         default PA7000 if "$(ARCH)" = "parisc" << 
185                                                << 
186 config PA7000                                  << 
187         bool "PA7000/PA7100" if "$(ARCH)" = "p << 
188         help                                   << 
189           This is the processor type of your C << 
190           used for optimizing purposes.  In or << 
191           that can run on all 32-bit PA CPUs ( << 
192           you can specify "PA7000" here.       << 
193                                                << 
194           Specifying "PA8000" here will allow  << 
195           which is required on some machines.  << 
196                                                << 
197 config PA7100LC                                << 
198         bool "PA7100LC" if "$(ARCH)" = "parisc << 
199         help                                   << 
200           Select this option for the PCX-L pro << 
201           712, 715/64, 715/80, 715/100, 715/10 << 
202           D200, D210, D300, D310 and E-class   << 
203                                                << 
204 config PA7200                                  << 
205         bool "PA7200" if "$(ARCH)" = "parisc"  << 
206         help                                   << 
207           Select this option for the PCX-T' pr << 
208           C100, C110, J100, J110, J210XC, D250 << 
209           K100, K200, K210, K220, K400, K410 a << 
210                                                << 
211 config PA7300LC                                << 
212         bool "PA7300LC" if "$(ARCH)" = "parisc << 
213         help                                   << 
214           Select this option for the PCX-L2 pr << 
215           744, A180, B132L, B160L, B180L, C132 << 
216           D220, D230, D320 and D330.           << 
217                                                << 
218 config PA8X00                                  << 
219         bool "PA8000 and up"                   << 
220         help                                   << 
221           Select this option for PCX-U to PCX- << 
222                                                << 
223 endchoice                                      << 
224                                                << 
225 # Define implied options from the CPU selectio << 
226                                                << 
227 config PA20                                    << 
228         def_bool y                                 68         def_bool y
229         depends on PA8X00                      << 
230                                                    69 
231 config PA11                                    !!  70 config HZ
232         def_bool y                             !!  71         int
233         depends on PA7000 || PA7100LC || PA720 !!  72         default 1000 if CLEOPATRA
234         select ARCH_HAS_SYNC_DMA_FOR_CPU       !!  73         default 100
235         select ARCH_HAS_SYNC_DMA_FOR_DEVICE    << 
236                                                << 
237 config PREFETCH                                << 
238         def_bool y                             << 
239         depends on PA8X00 || PA7200            << 
240                                                    74 
241 config PARISC_HUGE_KERNEL                      !!  75 config PGTABLE_LEVELS
242         def_bool y if !MODULES || UBSAN || FTR !!  76         default 2 if SUN3 || COLDFIRE
                                                   >>  77         default 3
243                                                    78 
244 config MLONGCALLS                              !!  79 config MMU
245         bool "Enable the -mlong-calls compiler !!  80         bool "MMU-based Paged Memory Management Support"
246         depends on PA8X00                      !!  81         default y
247         default PARISC_HUGE_KERNEL             << 
248         help                                   << 
249           If you configure the kernel to inclu << 
250           as modules, the kernel executable ma << 
251           linker will not be able to resolve s << 
252           your vmlinux kernel. In that case en << 
253           to overcome this limit by using the  << 
254                                                << 
255           Usually you want to say N here, unle << 
256           a kernel which includes all necessar << 
257           be used for TFTP booting without the << 
258                                                << 
259           Enabling this option will probably s << 
260                                                << 
261 config 64BIT                                   << 
262         bool "64-bit kernel" if "$(ARCH)" = "p << 
263         depends on PA8X00                      << 
264         default "$(ARCH)" = "parisc64"         << 
265         help                                       82         help
266           Enable this if you want to support 6 !!  83           Select if you want MMU-based virtualised addressing space
267                                                !!  84           support by paged memory management. If unsure, say 'Y'.
268           At the moment, only people willing t << 
269           or having a 64bit-only capable PA-RI << 
270                                                    85 
271           Since there is no 64bit userland on  !!  86 config MMU_MOTOROLA
272           enable this option otherwise. The 64 !!  87         bool
273           and slower than the 32bit one.       << 
274                                                << 
275 choice                                         << 
276         prompt "Kernel page size"              << 
277         default PARISC_PAGE_SIZE_4KB           << 
278                                                << 
279 config PARISC_PAGE_SIZE_4KB                    << 
280         bool "4KB"                             << 
281         select HAVE_PAGE_SIZE_4KB                  88         select HAVE_PAGE_SIZE_4KB
282         help                                   << 
283           This lets you select the page size o << 
284           performance, a page size of 16KB is  << 
285           compatibility with 32bit application << 
286           selected (the vast majority of 32bit << 
287           with a larger page size).            << 
288                                                << 
289           4KB                For best 32bit co << 
290           16KB               For best performa << 
291           64KB               For best performa << 
292                                                << 
293           If you don't know what to do, choose << 
294                                                << 
295 config PARISC_PAGE_SIZE_16KB                   << 
296         bool "16KB"                            << 
297         select HAVE_PAGE_SIZE_16KB             << 
298         depends on PA8X00 && BROKEN && !KFENCE << 
299                                                << 
300 config PARISC_PAGE_SIZE_64KB                   << 
301         bool "64KB"                            << 
302         select HAVE_PAGE_SIZE_64KB             << 
303         depends on PA8X00 && BROKEN && !KFENCE << 
304                                                << 
305 endchoice                                      << 
306                                                    89 
307 config SMP                                     !!  90 config MMU_COLDFIRE
308         bool "Symmetric multi-processing suppo !!  91         select HAVE_PAGE_SIZE_8KB
309         help                                   !!  92         bool
310           This enables support for systems wit << 
311           a system with only one CPU, say N. I << 
312           than one CPU, say Y.                 << 
313                                                << 
314           If you say N here, the kernel will r << 
315           machines, but will use only one CPU  << 
316           On a uniprocessor machine, the kerne << 
317                                                << 
318           See also <file:Documentation/admin-g << 
319           available at <https://www.tldp.org/d << 
320                                                << 
321           If you don't know what to do here, s << 
322                                                << 
323 config SCHED_MC                                << 
324         bool "Multi-core scheduler support"    << 
325         depends on GENERIC_ARCH_TOPOLOGY && PA << 
326         help                                   << 
327           Multi-core scheduler support improve << 
328           making when dealing with multi-core  << 
329           increased overhead in some places. I << 
330                                                << 
331 config IRQSTACKS                               << 
332         bool "Use separate kernel stacks when  << 
333         default y                              << 
334         help                                   << 
335           If you say Y here the kernel will us << 
336           for handling hard and soft interrupt << 
337           overflowing the process kernel stack << 
338                                                    93 
339 config HOTPLUG_CPU                             !!  94 config MMU_SUN3
340         bool                                       95         bool
341         default y if SMP                       !!  96         select HAVE_PAGE_SIZE_8KB
                                                   >>  97         depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
342                                                    98 
343 config ARCH_SELECT_MEMORY_MODEL                !!  99 config ARCH_SUPPORTS_KEXEC
344         def_bool y                             !! 100         def_bool M68KCLASSIC && MMU
345         depends on 64BIT                       << 
346                                                   101 
347 config ARCH_SPARSEMEM_ENABLE                   !! 102 config BOOTINFO_PROC
348         def_bool y                             !! 103         bool "Export bootinfo in procfs"
349         depends on 64BIT                       !! 104         depends on KEXEC && M68KCLASSIC
                                                   >> 105         help
                                                   >> 106           Say Y to export the bootinfo used to boot the kernel in a
                                                   >> 107           "bootinfo" file in procfs.  This is useful with kexec.
350                                                   108 
351 config ARCH_FLATMEM_ENABLE                     !! 109 menu "Platform setup"
352         def_bool y                             << 
353                                                   110 
354 config ARCH_SPARSEMEM_DEFAULT                  !! 111 source "arch/m68k/Kconfig.cpu"
355         def_bool y                             << 
356         depends on ARCH_SPARSEMEM_ENABLE       << 
357                                                   112 
358 source "kernel/Kconfig.hz"                     !! 113 source "arch/m68k/Kconfig.machine"
359                                                   114 
360 config COMPAT                                  !! 115 source "arch/m68k/Kconfig.bus"
361         def_bool y                             << 
362         depends on 64BIT                       << 
363                                                   116 
364 config AUDIT_ARCH                              !! 117 endmenu
365         def_bool y                             << 
366                                                   118 
367 config NR_CPUS                                 !! 119 menu "Kernel Features"
368         int "Maximum number of CPUs (2-32)"    << 
369         range 2 32                             << 
370         depends on SMP                         << 
371         default "8" if 64BIT                   << 
372         default "16"                           << 
373                                                   120 
374 endmenu                                           121 endmenu
375                                                   122 
376 config ARCH_SUPPORTS_KEXEC                     !! 123 if !MMU
377         def_bool y                             !! 124 menu "Power management options"
378                                                   125 
379 config ARCH_SUPPORTS_KEXEC_FILE                !! 126 config PM
380         def_bool y                             !! 127         bool "Power Management support"
                                                   >> 128         help
                                                   >> 129           Support processor power management modes
381                                                   130 
382 config ARCH_SELECTS_KEXEC_FILE                 !! 131 endmenu
383         def_bool y                             !! 132 endif
384         depends on KEXEC_FILE                  << 
385         select KEXEC_ELF                       << 
386                                                   133 
387 source "drivers/parisc/Kconfig"                !! 134 source "arch/m68k/Kconfig.devices"
                                                      

~ [ 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