KVM: PPC: Book3S HV: Fix CR0 setting in TM emulation
[linux-2.6-block.git] / arch / nds32 / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
e71ea3ba
GH
2#
3# For a description of the syntax of this configuration file,
4# see Documentation/kbuild/kconfig-language.txt.
5#
6
7config NDS32
32ee500f 8 def_bool y
942fa985 9 select ARCH_32BIT_OFF_T
267d2e18
CH
10 select ARCH_HAS_SYNC_DMA_FOR_CPU
11 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
e71ea3ba
GH
12 select ARCH_WANT_FRAME_POINTERS if FTRACE
13 select CLKSRC_MMIO
14 select CLONE_BACKWARDS
15 select COMMON_CLK
16 select GENERIC_ATOMIC64
17 select GENERIC_CPU_DEVICES
18 select GENERIC_CLOCKEVENTS
19 select GENERIC_IRQ_CHIP
20 select GENERIC_IRQ_SHOW
a78945c3
GR
21 select GENERIC_LIB_ASHLDI3
22 select GENERIC_LIB_ASHRDI3
23 select GENERIC_LIB_CMPDI2
24 select GENERIC_LIB_LSHRDI3
25 select GENERIC_LIB_MULDI3
26 select GENERIC_LIB_UCMPDI2
e71ea3ba
GH
27 select GENERIC_STRNCPY_FROM_USER
28 select GENERIC_STRNLEN_USER
29 select GENERIC_TIME_VSYSCALL
30 select HANDLE_DOMAIN_IRQ
31 select HAVE_ARCH_TRACEHOOK
32 select HAVE_DEBUG_KMEMLEAK
e46bf83c 33 select HAVE_EXIT_THREAD
e71ea3ba 34 select HAVE_REGS_AND_STACK_ACCESS_API
ebd09753 35 select HAVE_PERF_EVENTS
e71ea3ba
GH
36 select IRQ_DOMAIN
37 select LOCKDEP_SUPPORT
38 select MODULES_USE_ELF_RELA
39 select OF
40 select OF_EARLY_FLATTREE
e71ea3ba
GH
41 select NO_IOPORT_MAP
42 select RTC_LIB
43 select THREAD_INFO_IN_TASK
a1808257 44 select HAVE_FUNCTION_TRACER
1e9b14c0 45 select HAVE_FUNCTION_GRAPH_TRACER
fbf58a52 46 select HAVE_FTRACE_MCOUNT_RECORD
6b1d6d2f 47 select HAVE_DYNAMIC_FTRACE
e71ea3ba
GH
48 help
49 Andes(nds32) Linux support.
50
51config GENERIC_CALIBRATE_DELAY
52 def_bool y
53
54config GENERIC_CSUM
32ee500f 55 def_bool y
e71ea3ba
GH
56
57config GENERIC_HWEIGHT
32ee500f 58 def_bool y
e71ea3ba
GH
59
60config GENERIC_LOCKBREAK
32ee500f 61 def_bool y
e71ea3ba
GH
62 depends on PREEMPT
63
e71ea3ba
GH
64config TRACE_IRQFLAGS_SUPPORT
65 def_bool y
66
67config STACKTRACE_SUPPORT
32ee500f 68 def_bool y
e71ea3ba
GH
69
70config FIX_EARLYCON_MEM
71 def_bool y
72
73config PGTABLE_LEVELS
74 default 2
75
e71ea3ba
GH
76menu "System Type"
77source "arch/nds32/Kconfig.cpu"
78config NR_CPUS
79 int
80 default 1
81
82config MMU
32ee500f 83 def_bool y
e71ea3ba
GH
84
85config NDS32_BUILTIN_DTB
32ee500f
EWI
86 string "Builtin DTB"
87 default ""
e71ea3ba
GH
88 help
89 User can use it to specify the dts of the SoC
90endmenu
91
92menu "Kernel Features"
e71ea3ba
GH
93source "kernel/Kconfig.hz"
94endmenu
7938e631
NH
95
96menu "Power management options"
97config SYS_SUPPORTS_APM_EMULATION
98 bool
99
100config ARCH_SUSPEND_POSSIBLE
101 def_bool y
102
103source "kernel/power/Kconfig"
104endmenu