162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciconfig PARISC
362306a36Sopenharmony_ci	def_bool y
462306a36Sopenharmony_ci	select ALTERNATE_USER_ADDRESS_SPACE
562306a36Sopenharmony_ci	select ARCH_32BIT_OFF_T if !64BIT
662306a36Sopenharmony_ci	select ARCH_MIGHT_HAVE_PC_PARPORT
762306a36Sopenharmony_ci	select HAVE_FUNCTION_TRACER
862306a36Sopenharmony_ci	select HAVE_FUNCTION_GRAPH_TRACER
962306a36Sopenharmony_ci	select HAVE_SYSCALL_TRACEPOINTS
1062306a36Sopenharmony_ci	select ARCH_WANT_FRAME_POINTERS
1162306a36Sopenharmony_ci	select ARCH_HAS_ELF_RANDOMIZE
1262306a36Sopenharmony_ci	select ARCH_HAS_STRICT_KERNEL_RWX
1362306a36Sopenharmony_ci	select ARCH_HAS_STRICT_MODULE_RWX
1462306a36Sopenharmony_ci	select ARCH_HAS_UBSAN_SANITIZE_ALL
1562306a36Sopenharmony_ci	select ARCH_HAS_PTE_SPECIAL
1662306a36Sopenharmony_ci	select ARCH_NO_SG_CHAIN
1762306a36Sopenharmony_ci	select ARCH_SUPPORTS_HUGETLBFS if PA20
1862306a36Sopenharmony_ci	select ARCH_SUPPORTS_MEMORY_FAILURE
1962306a36Sopenharmony_ci	select ARCH_STACKWALK
2062306a36Sopenharmony_ci	select ARCH_HAS_DEBUG_VM_PGTABLE
2162306a36Sopenharmony_ci	select HAVE_RELIABLE_STACKTRACE
2262306a36Sopenharmony_ci	select DMA_OPS
2362306a36Sopenharmony_ci	select RTC_CLASS
2462306a36Sopenharmony_ci	select RTC_DRV_GENERIC
2562306a36Sopenharmony_ci	select INIT_ALL_POSSIBLE
2662306a36Sopenharmony_ci	select BUG
2762306a36Sopenharmony_ci	select HAVE_PCI
2862306a36Sopenharmony_ci	select HAVE_PERF_EVENTS
2962306a36Sopenharmony_ci	select HAVE_KERNEL_BZIP2
3062306a36Sopenharmony_ci	select HAVE_KERNEL_GZIP
3162306a36Sopenharmony_ci	select HAVE_KERNEL_LZ4
3262306a36Sopenharmony_ci	select HAVE_KERNEL_LZMA
3362306a36Sopenharmony_ci	select HAVE_KERNEL_LZO
3462306a36Sopenharmony_ci	select HAVE_KERNEL_XZ
3562306a36Sopenharmony_ci	select GENERIC_ATOMIC64 if !64BIT
3662306a36Sopenharmony_ci	select GENERIC_IRQ_PROBE
3762306a36Sopenharmony_ci	select GENERIC_PCI_IOMAP
3862306a36Sopenharmony_ci	select GENERIC_IOREMAP
3962306a36Sopenharmony_ci	select ARCH_HAVE_NMI_SAFE_CMPXCHG
4062306a36Sopenharmony_ci	select GENERIC_SMP_IDLE_THREAD
4162306a36Sopenharmony_ci	select GENERIC_ARCH_TOPOLOGY if SMP
4262306a36Sopenharmony_ci	select GENERIC_CPU_DEVICES if !SMP
4362306a36Sopenharmony_ci	select GENERIC_LIB_DEVMEM_IS_ALLOWED
4462306a36Sopenharmony_ci	select SYSCTL_ARCH_UNALIGN_ALLOW
4562306a36Sopenharmony_ci	select SYSCTL_EXCEPTION_TRACE
4662306a36Sopenharmony_ci	select HAVE_MOD_ARCH_SPECIFIC
4762306a36Sopenharmony_ci	select MODULES_USE_ELF_RELA
4862306a36Sopenharmony_ci	select CLONE_BACKWARDS
4962306a36Sopenharmony_ci	select TTY # Needed for pdc_cons.c
5062306a36Sopenharmony_ci	select HAS_IOPORT if PCI || EISA
5162306a36Sopenharmony_ci	select HAVE_DEBUG_STACKOVERFLOW
5262306a36Sopenharmony_ci	select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
5362306a36Sopenharmony_ci	select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT
5462306a36Sopenharmony_ci	select HAVE_ARCH_MMAP_RND_BITS
5562306a36Sopenharmony_ci	select HAVE_ARCH_AUDITSYSCALL
5662306a36Sopenharmony_ci	select HAVE_ARCH_HASH
5762306a36Sopenharmony_ci	select HAVE_ARCH_JUMP_LABEL
5862306a36Sopenharmony_ci	select HAVE_ARCH_JUMP_LABEL_RELATIVE
5962306a36Sopenharmony_ci	select HAVE_ARCH_KFENCE
6062306a36Sopenharmony_ci	select HAVE_ARCH_SECCOMP_FILTER
6162306a36Sopenharmony_ci	select HAVE_ARCH_TRACEHOOK
6262306a36Sopenharmony_ci	select HAVE_EBPF_JIT
6362306a36Sopenharmony_ci	select ARCH_WANT_DEFAULT_BPF_JIT
6462306a36Sopenharmony_ci	select HAVE_REGS_AND_STACK_ACCESS_API
6562306a36Sopenharmony_ci	select HOTPLUG_CORE_SYNC_DEAD if HOTPLUG_CPU
6662306a36Sopenharmony_ci	select GENERIC_SCHED_CLOCK
6762306a36Sopenharmony_ci	select GENERIC_IRQ_MIGRATION if SMP
6862306a36Sopenharmony_ci	select HAVE_UNSTABLE_SCHED_CLOCK if SMP
6962306a36Sopenharmony_ci	select LEGACY_TIMER_TICK
7062306a36Sopenharmony_ci	select CPU_NO_EFFICIENT_FFS
7162306a36Sopenharmony_ci	select THREAD_INFO_IN_TASK
7262306a36Sopenharmony_ci	select NEED_DMA_MAP_STATE
7362306a36Sopenharmony_ci	select NEED_SG_DMA_LENGTH
7462306a36Sopenharmony_ci	select HAVE_ARCH_KGDB
7562306a36Sopenharmony_ci	select HAVE_KPROBES
7662306a36Sopenharmony_ci	select HAVE_KRETPROBES
7762306a36Sopenharmony_ci	select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1)
7862306a36Sopenharmony_ci	select HAVE_FTRACE_MCOUNT_RECORD if HAVE_DYNAMIC_FTRACE
7962306a36Sopenharmony_ci	select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if DYNAMIC_FTRACE
8062306a36Sopenharmony_ci	select HAVE_KPROBES_ON_FTRACE
8162306a36Sopenharmony_ci	select HAVE_DYNAMIC_FTRACE_WITH_REGS
8262306a36Sopenharmony_ci	select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS
8362306a36Sopenharmony_ci	select TRACE_IRQFLAGS_SUPPORT
8462306a36Sopenharmony_ci	select HAVE_FUNCTION_DESCRIPTORS if 64BIT
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ci	help
8762306a36Sopenharmony_ci	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
8862306a36Sopenharmony_ci	  in many of their workstations & servers (HP9000 700 and 800 series,
8962306a36Sopenharmony_ci	  and later HP3000 series).  The PA-RISC Linux project home page is
9062306a36Sopenharmony_ci	  at <https://parisc.wiki.kernel.org>.
9162306a36Sopenharmony_ci
9262306a36Sopenharmony_ciconfig CPU_BIG_ENDIAN
9362306a36Sopenharmony_ci	def_bool y
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ciconfig MMU
9662306a36Sopenharmony_ci	def_bool y
9762306a36Sopenharmony_ci
9862306a36Sopenharmony_ciconfig STACK_GROWSUP
9962306a36Sopenharmony_ci	def_bool y
10062306a36Sopenharmony_ci
10162306a36Sopenharmony_ciconfig GENERIC_LOCKBREAK
10262306a36Sopenharmony_ci	bool
10362306a36Sopenharmony_ci	default y
10462306a36Sopenharmony_ci	depends on SMP && PREEMPTION
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_ciconfig ARCH_HAS_ILOG2_U32
10762306a36Sopenharmony_ci	bool
10862306a36Sopenharmony_ci	default n
10962306a36Sopenharmony_ci
11062306a36Sopenharmony_ciconfig ARCH_HAS_ILOG2_U64
11162306a36Sopenharmony_ci	bool
11262306a36Sopenharmony_ci	default n
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_ciconfig GENERIC_BUG
11562306a36Sopenharmony_ci	def_bool y
11662306a36Sopenharmony_ci	depends on BUG
11762306a36Sopenharmony_ci	select GENERIC_BUG_RELATIVE_POINTERS if 64BIT
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ciconfig GENERIC_BUG_RELATIVE_POINTERS
12062306a36Sopenharmony_ci	bool
12162306a36Sopenharmony_ci
12262306a36Sopenharmony_ciconfig GENERIC_HWEIGHT
12362306a36Sopenharmony_ci	bool
12462306a36Sopenharmony_ci	default y
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ciconfig GENERIC_CALIBRATE_DELAY
12762306a36Sopenharmony_ci	bool
12862306a36Sopenharmony_ci	default y
12962306a36Sopenharmony_ci
13062306a36Sopenharmony_ciconfig TIME_LOW_RES
13162306a36Sopenharmony_ci	bool
13262306a36Sopenharmony_ci	depends on SMP
13362306a36Sopenharmony_ci	default y
13462306a36Sopenharmony_ci
13562306a36Sopenharmony_ciconfig ARCH_MMAP_RND_BITS_MIN
13662306a36Sopenharmony_ci	default 18 if 64BIT
13762306a36Sopenharmony_ci	default 8
13862306a36Sopenharmony_ci
13962306a36Sopenharmony_ciconfig ARCH_MMAP_RND_COMPAT_BITS_MIN
14062306a36Sopenharmony_ci	default 8
14162306a36Sopenharmony_ci
14262306a36Sopenharmony_ciconfig ARCH_MMAP_RND_BITS_MAX
14362306a36Sopenharmony_ci	default 18 if 64BIT
14462306a36Sopenharmony_ci	default 13
14562306a36Sopenharmony_ci
14662306a36Sopenharmony_ciconfig ARCH_MMAP_RND_COMPAT_BITS_MAX
14762306a36Sopenharmony_ci	default 13
14862306a36Sopenharmony_ci
14962306a36Sopenharmony_ci# unless you want to implement ACPI on PA-RISC ... ;-)
15062306a36Sopenharmony_ciconfig PM
15162306a36Sopenharmony_ci	bool
15262306a36Sopenharmony_ci
15362306a36Sopenharmony_ciconfig STACKTRACE_SUPPORT
15462306a36Sopenharmony_ci	def_bool y
15562306a36Sopenharmony_ci
15662306a36Sopenharmony_ciconfig LOCKDEP_SUPPORT
15762306a36Sopenharmony_ci	bool
15862306a36Sopenharmony_ci	default y
15962306a36Sopenharmony_ci
16062306a36Sopenharmony_ciconfig ISA_DMA_API
16162306a36Sopenharmony_ci	bool
16262306a36Sopenharmony_ci
16362306a36Sopenharmony_ciconfig ARCH_MAY_HAVE_PC_FDC
16462306a36Sopenharmony_ci	bool
16562306a36Sopenharmony_ci	depends on BROKEN
16662306a36Sopenharmony_ci	default y
16762306a36Sopenharmony_ci
16862306a36Sopenharmony_ciconfig PGTABLE_LEVELS
16962306a36Sopenharmony_ci	int
17062306a36Sopenharmony_ci	default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
17162306a36Sopenharmony_ci	default 2
17262306a36Sopenharmony_ci
17362306a36Sopenharmony_cimenu "Processor type and features"
17462306a36Sopenharmony_ci
17562306a36Sopenharmony_cichoice
17662306a36Sopenharmony_ci	prompt "Processor type"
17762306a36Sopenharmony_ci	default PA7000 if "$(ARCH)" = "parisc"
17862306a36Sopenharmony_ci
17962306a36Sopenharmony_ciconfig PA7000
18062306a36Sopenharmony_ci	bool "PA7000/PA7100" if "$(ARCH)" = "parisc"
18162306a36Sopenharmony_ci	help
18262306a36Sopenharmony_ci	  This is the processor type of your CPU.  This information is
18362306a36Sopenharmony_ci	  used for optimizing purposes.  In order to compile a kernel
18462306a36Sopenharmony_ci	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
18562306a36Sopenharmony_ci	  you can specify "PA7000" here.
18662306a36Sopenharmony_ci
18762306a36Sopenharmony_ci	  Specifying "PA8000" here will allow you to select a 64-bit kernel
18862306a36Sopenharmony_ci	  which is required on some machines.
18962306a36Sopenharmony_ci
19062306a36Sopenharmony_ciconfig PA7100LC
19162306a36Sopenharmony_ci	bool "PA7100LC" if "$(ARCH)" = "parisc"
19262306a36Sopenharmony_ci	help
19362306a36Sopenharmony_ci	  Select this option for the PCX-L processor, as used in the
19462306a36Sopenharmony_ci	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
19562306a36Sopenharmony_ci	  D200, D210, D300, D310 and E-class
19662306a36Sopenharmony_ci
19762306a36Sopenharmony_ciconfig PA7200
19862306a36Sopenharmony_ci	bool "PA7200" if "$(ARCH)" = "parisc"
19962306a36Sopenharmony_ci	help
20062306a36Sopenharmony_ci	  Select this option for the PCX-T' processor, as used in the
20162306a36Sopenharmony_ci	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
20262306a36Sopenharmony_ci	  K100, K200, K210, K220, K400, K410 and K420
20362306a36Sopenharmony_ci
20462306a36Sopenharmony_ciconfig PA7300LC
20562306a36Sopenharmony_ci	bool "PA7300LC" if "$(ARCH)" = "parisc"
20662306a36Sopenharmony_ci	help
20762306a36Sopenharmony_ci	  Select this option for the PCX-L2 processor, as used in the
20862306a36Sopenharmony_ci	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
20962306a36Sopenharmony_ci	  D220, D230, D320 and D330.
21062306a36Sopenharmony_ci
21162306a36Sopenharmony_ciconfig PA8X00
21262306a36Sopenharmony_ci	bool "PA8000 and up"
21362306a36Sopenharmony_ci	help
21462306a36Sopenharmony_ci	  Select this option for PCX-U to PCX-W2 processors.
21562306a36Sopenharmony_ci
21662306a36Sopenharmony_ciendchoice
21762306a36Sopenharmony_ci
21862306a36Sopenharmony_ci# Define implied options from the CPU selection here
21962306a36Sopenharmony_ci
22062306a36Sopenharmony_ciconfig PA20
22162306a36Sopenharmony_ci	def_bool y
22262306a36Sopenharmony_ci	depends on PA8X00
22362306a36Sopenharmony_ci
22462306a36Sopenharmony_ciconfig PA11
22562306a36Sopenharmony_ci	def_bool y
22662306a36Sopenharmony_ci	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
22762306a36Sopenharmony_ci	select ARCH_HAS_SYNC_DMA_FOR_CPU
22862306a36Sopenharmony_ci	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
22962306a36Sopenharmony_ci
23062306a36Sopenharmony_ciconfig PREFETCH
23162306a36Sopenharmony_ci	def_bool y
23262306a36Sopenharmony_ci	depends on PA8X00 || PA7200
23362306a36Sopenharmony_ci
23462306a36Sopenharmony_ciconfig PARISC_HUGE_KERNEL
23562306a36Sopenharmony_ci	def_bool y if !MODULES || UBSAN || FTRACE || COMPILE_TEST
23662306a36Sopenharmony_ci
23762306a36Sopenharmony_ciconfig MLONGCALLS
23862306a36Sopenharmony_ci	def_bool y if PARISC_HUGE_KERNEL
23962306a36Sopenharmony_ci	bool "Enable the -mlong-calls compiler option for big kernels" if !PARISC_HUGE_KERNEL
24062306a36Sopenharmony_ci	depends on PA8X00
24162306a36Sopenharmony_ci	help
24262306a36Sopenharmony_ci	  If you configure the kernel to include many drivers built-in instead
24362306a36Sopenharmony_ci	  as modules, the kernel executable may become too big, so that the
24462306a36Sopenharmony_ci	  linker will not be able to resolve some long branches and fails to link
24562306a36Sopenharmony_ci	  your vmlinux kernel. In that case enabling this option will help you
24662306a36Sopenharmony_ci	  to overcome this limit by using the -mlong-calls compiler option.
24762306a36Sopenharmony_ci
24862306a36Sopenharmony_ci	  Usually you want to say N here, unless you e.g. want to build
24962306a36Sopenharmony_ci	  a kernel which includes all necessary drivers built-in and which can
25062306a36Sopenharmony_ci	  be used for TFTP booting without the need to have an initrd ramdisk.
25162306a36Sopenharmony_ci
25262306a36Sopenharmony_ci	  Enabling this option will probably slow down your kernel.
25362306a36Sopenharmony_ci
25462306a36Sopenharmony_ciconfig 64BIT
25562306a36Sopenharmony_ci	def_bool y if "$(ARCH)" = "parisc64"
25662306a36Sopenharmony_ci	bool "64-bit kernel" if "$(ARCH)" = "parisc"
25762306a36Sopenharmony_ci	depends on PA8X00
25862306a36Sopenharmony_ci	help
25962306a36Sopenharmony_ci	  Enable this if you want to support 64bit kernel on PA-RISC platform.
26062306a36Sopenharmony_ci
26162306a36Sopenharmony_ci	  At the moment, only people willing to use more than 2GB of RAM,
26262306a36Sopenharmony_ci	  or having a 64bit-only capable PA-RISC machine should say Y here.
26362306a36Sopenharmony_ci
26462306a36Sopenharmony_ci	  Since there is no 64bit userland on PA-RISC, there is no point to
26562306a36Sopenharmony_ci	  enable this option otherwise. The 64bit kernel is significantly bigger
26662306a36Sopenharmony_ci	  and slower than the 32bit one.
26762306a36Sopenharmony_ci
26862306a36Sopenharmony_cichoice
26962306a36Sopenharmony_ci	prompt "Kernel page size"
27062306a36Sopenharmony_ci	default PARISC_PAGE_SIZE_4KB
27162306a36Sopenharmony_ci
27262306a36Sopenharmony_ciconfig PARISC_PAGE_SIZE_4KB
27362306a36Sopenharmony_ci	bool "4KB"
27462306a36Sopenharmony_ci	help
27562306a36Sopenharmony_ci	  This lets you select the page size of the kernel.  For best
27662306a36Sopenharmony_ci	  performance, a page size of 16KB is recommended.  For best
27762306a36Sopenharmony_ci	  compatibility with 32bit applications, a page size of 4KB should be
27862306a36Sopenharmony_ci	  selected (the vast majority of 32bit binaries work perfectly fine
27962306a36Sopenharmony_ci	  with a larger page size).
28062306a36Sopenharmony_ci
28162306a36Sopenharmony_ci	  4KB                For best 32bit compatibility
28262306a36Sopenharmony_ci	  16KB               For best performance
28362306a36Sopenharmony_ci	  64KB               For best performance, might give more overhead.
28462306a36Sopenharmony_ci
28562306a36Sopenharmony_ci	  If you don't know what to do, choose 4KB.
28662306a36Sopenharmony_ci
28762306a36Sopenharmony_ciconfig PARISC_PAGE_SIZE_16KB
28862306a36Sopenharmony_ci	bool "16KB"
28962306a36Sopenharmony_ci	depends on PA8X00 && BROKEN && !KFENCE
29062306a36Sopenharmony_ci
29162306a36Sopenharmony_ciconfig PARISC_PAGE_SIZE_64KB
29262306a36Sopenharmony_ci	bool "64KB"
29362306a36Sopenharmony_ci	depends on PA8X00 && BROKEN && !KFENCE
29462306a36Sopenharmony_ci
29562306a36Sopenharmony_ciendchoice
29662306a36Sopenharmony_ci
29762306a36Sopenharmony_ciconfig SMP
29862306a36Sopenharmony_ci	bool "Symmetric multi-processing support"
29962306a36Sopenharmony_ci	help
30062306a36Sopenharmony_ci	  This enables support for systems with more than one CPU. If you have
30162306a36Sopenharmony_ci	  a system with only one CPU, say N. If you have a system with more
30262306a36Sopenharmony_ci	  than one CPU, say Y.
30362306a36Sopenharmony_ci
30462306a36Sopenharmony_ci	  If you say N here, the kernel will run on uni- and multiprocessor
30562306a36Sopenharmony_ci	  machines, but will use only one CPU of a multiprocessor machine.
30662306a36Sopenharmony_ci	  On a uniprocessor machine, the kernel will run faster if you say N.
30762306a36Sopenharmony_ci
30862306a36Sopenharmony_ci	  See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
30962306a36Sopenharmony_ci	  available at <https://www.tldp.org/docs.html#howto>.
31062306a36Sopenharmony_ci
31162306a36Sopenharmony_ci	  If you don't know what to do here, say N.
31262306a36Sopenharmony_ci
31362306a36Sopenharmony_ciconfig SCHED_MC
31462306a36Sopenharmony_ci	bool "Multi-core scheduler support"
31562306a36Sopenharmony_ci	depends on GENERIC_ARCH_TOPOLOGY && PA8X00
31662306a36Sopenharmony_ci	help
31762306a36Sopenharmony_ci	  Multi-core scheduler support improves the CPU scheduler's decision
31862306a36Sopenharmony_ci	  making when dealing with multi-core CPU chips at a cost of slightly
31962306a36Sopenharmony_ci	  increased overhead in some places. If unsure say N here.
32062306a36Sopenharmony_ci
32162306a36Sopenharmony_ciconfig IRQSTACKS
32262306a36Sopenharmony_ci	bool "Use separate kernel stacks when processing interrupts"
32362306a36Sopenharmony_ci	default y
32462306a36Sopenharmony_ci	help
32562306a36Sopenharmony_ci	  If you say Y here the kernel will use separate kernel stacks
32662306a36Sopenharmony_ci	  for handling hard and soft interrupts.  This can help avoid
32762306a36Sopenharmony_ci	  overflowing the process kernel stacks.
32862306a36Sopenharmony_ci
32962306a36Sopenharmony_ciconfig HOTPLUG_CPU
33062306a36Sopenharmony_ci	bool
33162306a36Sopenharmony_ci	default y if SMP
33262306a36Sopenharmony_ci
33362306a36Sopenharmony_ciconfig ARCH_SELECT_MEMORY_MODEL
33462306a36Sopenharmony_ci	def_bool y
33562306a36Sopenharmony_ci	depends on 64BIT
33662306a36Sopenharmony_ci
33762306a36Sopenharmony_ciconfig ARCH_SPARSEMEM_ENABLE
33862306a36Sopenharmony_ci	def_bool y
33962306a36Sopenharmony_ci	depends on 64BIT
34062306a36Sopenharmony_ci
34162306a36Sopenharmony_ciconfig ARCH_FLATMEM_ENABLE
34262306a36Sopenharmony_ci	def_bool y
34362306a36Sopenharmony_ci
34462306a36Sopenharmony_ciconfig ARCH_SPARSEMEM_DEFAULT
34562306a36Sopenharmony_ci	def_bool y
34662306a36Sopenharmony_ci	depends on ARCH_SPARSEMEM_ENABLE
34762306a36Sopenharmony_ci
34862306a36Sopenharmony_cisource "kernel/Kconfig.hz"
34962306a36Sopenharmony_ci
35062306a36Sopenharmony_ciconfig COMPAT
35162306a36Sopenharmony_ci	def_bool y
35262306a36Sopenharmony_ci	depends on 64BIT
35362306a36Sopenharmony_ci
35462306a36Sopenharmony_ciconfig AUDIT_ARCH
35562306a36Sopenharmony_ci	def_bool y
35662306a36Sopenharmony_ci
35762306a36Sopenharmony_ciconfig NR_CPUS
35862306a36Sopenharmony_ci	int "Maximum number of CPUs (2-32)"
35962306a36Sopenharmony_ci	range 2 32
36062306a36Sopenharmony_ci	depends on SMP
36162306a36Sopenharmony_ci	default "8" if 64BIT
36262306a36Sopenharmony_ci	default "16"
36362306a36Sopenharmony_ci
36462306a36Sopenharmony_ciendmenu
36562306a36Sopenharmony_ci
36662306a36Sopenharmony_ciconfig ARCH_SUPPORTS_KEXEC
36762306a36Sopenharmony_ci	def_bool y
36862306a36Sopenharmony_ci
36962306a36Sopenharmony_ciconfig ARCH_SUPPORTS_KEXEC_FILE
37062306a36Sopenharmony_ci	def_bool y
37162306a36Sopenharmony_ci
37262306a36Sopenharmony_ciconfig ARCH_SELECTS_KEXEC_FILE
37362306a36Sopenharmony_ci	def_bool y
37462306a36Sopenharmony_ci	depends on KEXEC_FILE
37562306a36Sopenharmony_ci	select KEXEC_ELF
37662306a36Sopenharmony_ci
37762306a36Sopenharmony_cisource "drivers/parisc/Kconfig"
378