diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-25 13:49:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-25 13:49:30 -0500 |
commit | 9b83d851a2bdd021e2135999e5bce3eb8fef94e6 (patch) | |
tree | b8703e813b1d8d66fb262cd757f54f3c05966d50 /arch/xtensa/Kconfig | |
parent | 2d08cd0ef89a24f5eb6c6801c48cd06bca230d6d (diff) | |
parent | 9ed82c6866e2ab671935a75ea454047e8bddb177 (diff) |
Merge tag 'xtensa-next-20140123' of git://github.com/czankel/xtensa-linux
Pull Xtensa patches from Chris Zankel:
"The major changes are adding support for SMP for Xtensa, fixing and
cleaning up the ISS (simulator) network driver, and better support for
device trees"
* tag 'xtensa-next-20140123' of git://github.com/czankel/xtensa-linux: (40 commits)
xtensa: implement ndelay
xtensa: clean up udelay
xtensa: enable HAVE_PERF_EVENTS
xtensa: remap io area defined in device tree
xtensa: support default device tree buses
xtensa: initialize device tree clock sources
xtensa: xtfpga: fix definitions of platform devices
xtensa: standardize devicetree cpu compatible strings
xtensa: avoid duplicate of IO range definitions
xtensa: fix ATOMCTL register documentation
xtensa: Enable irqs after cpu is set online
xtensa: ISS: raise network polling rate to 10 times/sec
xtensa: remove unused XTENSA_ISS_NETWORK Kconfig parameter
xtensa: ISS: avoid simple_strtoul usage
xtensa: Switch to sched_clock_register()
xtensa: implement CPU hotplug
xtensa: add SMP support
xtensa: add MX irqchip
xtensa: clear timer IRQ unconditionally in its handler
xtensa: clean up do_interrupt/do_IRQ
...
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r-- | arch/xtensa/Kconfig | 52 |
1 files changed, 47 insertions, 5 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index f8df0cc70cb6..ba56e11cbf77 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig | |||
@@ -9,7 +9,6 @@ config XTENSA | |||
9 | select GENERIC_CLOCKEVENTS | 9 | select GENERIC_CLOCKEVENTS |
10 | select VIRT_TO_BUS | 10 | select VIRT_TO_BUS |
11 | select GENERIC_IRQ_SHOW | 11 | select GENERIC_IRQ_SHOW |
12 | select GENERIC_CPU_DEVICES | ||
13 | select GENERIC_SCHED_CLOCK | 12 | select GENERIC_SCHED_CLOCK |
14 | select MODULES_USE_ELF_RELA | 13 | select MODULES_USE_ELF_RELA |
15 | select GENERIC_PCI_IOMAP | 14 | select GENERIC_PCI_IOMAP |
@@ -19,6 +18,8 @@ config XTENSA | |||
19 | select IRQ_DOMAIN | 18 | select IRQ_DOMAIN |
20 | select HAVE_OPROFILE | 19 | select HAVE_OPROFILE |
21 | select HAVE_FUNCTION_TRACER | 20 | select HAVE_FUNCTION_TRACER |
21 | select HAVE_IRQ_TIME_ACCOUNTING | ||
22 | select HAVE_PERF_EVENTS | ||
22 | help | 23 | help |
23 | Xtensa processors are 32-bit RISC machines designed by Tensilica | 24 | Xtensa processors are 32-bit RISC machines designed by Tensilica |
24 | primarily for embedded systems. These processors are both | 25 | primarily for embedded systems. These processors are both |
@@ -67,6 +68,9 @@ config VARIANT_IRQ_SWITCH | |||
67 | config HAVE_XTENSA_GPIO32 | 68 | config HAVE_XTENSA_GPIO32 |
68 | def_bool n | 69 | def_bool n |
69 | 70 | ||
71 | config MAY_HAVE_SMP | ||
72 | def_bool n | ||
73 | |||
70 | menu "Processor type and features" | 74 | menu "Processor type and features" |
71 | 75 | ||
72 | choice | 76 | choice |
@@ -110,6 +114,48 @@ config XTENSA_UNALIGNED_USER | |||
110 | 114 | ||
111 | source "kernel/Kconfig.preempt" | 115 | source "kernel/Kconfig.preempt" |
112 | 116 | ||
117 | config HAVE_SMP | ||
118 | bool "System Supports SMP (MX)" | ||
119 | depends on MAY_HAVE_SMP | ||
120 | select XTENSA_MX | ||
121 | help | ||
122 | This option is use to indicate that the system-on-a-chip (SOC) | ||
123 | supports Multiprocessing. Multiprocessor support implemented above | ||
124 | the CPU core definition and currently needs to be selected manually. | ||
125 | |||
126 | Multiprocessor support in implemented with external cache and | ||
127 | interrupt controlers. | ||
128 | |||
129 | The MX interrupt distributer adds Interprocessor Interrupts | ||
130 | and causes the IRQ numbers to be increased by 4 for devices | ||
131 | like the open cores ethernet driver and the serial interface. | ||
132 | |||
133 | You still have to select "Enable SMP" to enable SMP on this SOC. | ||
134 | |||
135 | config SMP | ||
136 | bool "Enable Symmetric multi-processing support" | ||
137 | depends on HAVE_SMP | ||
138 | select USE_GENERIC_SMP_HELPERS | ||
139 | select GENERIC_SMP_IDLE_THREAD | ||
140 | help | ||
141 | Enabled SMP Software; allows more than one CPU/CORE | ||
142 | to be activated during startup. | ||
143 | |||
144 | config NR_CPUS | ||
145 | depends on SMP | ||
146 | int "Maximum number of CPUs (2-32)" | ||
147 | range 2 32 | ||
148 | default "4" | ||
149 | |||
150 | config HOTPLUG_CPU | ||
151 | bool "Enable CPU hotplug support" | ||
152 | depends on SMP | ||
153 | help | ||
154 | Say Y here to allow turning CPUs off and on. CPUs can be | ||
155 | controlled through /sys/devices/system/cpu. | ||
156 | |||
157 | Say N if you want to disable CPU hotplug. | ||
158 | |||
113 | config MATH_EMULATION | 159 | config MATH_EMULATION |
114 | bool "Math emulation" | 160 | bool "Math emulation" |
115 | help | 161 | help |
@@ -156,9 +202,6 @@ config XTENSA_CALIBRATE_CCOUNT | |||
156 | config SERIAL_CONSOLE | 202 | config SERIAL_CONSOLE |
157 | def_bool n | 203 | def_bool n |
158 | 204 | ||
159 | config XTENSA_ISS_NETWORK | ||
160 | def_bool n | ||
161 | |||
162 | menu "Bus options" | 205 | menu "Bus options" |
163 | 206 | ||
164 | config PCI | 207 | config PCI |
@@ -185,7 +228,6 @@ config XTENSA_PLATFORM_ISS | |||
185 | depends on TTY | 228 | depends on TTY |
186 | select XTENSA_CALIBRATE_CCOUNT | 229 | select XTENSA_CALIBRATE_CCOUNT |
187 | select SERIAL_CONSOLE | 230 | select SERIAL_CONSOLE |
188 | select XTENSA_ISS_NETWORK | ||
189 | help | 231 | help |
190 | ISS is an acronym for Tensilica's Instruction Set Simulator. | 232 | ISS is an acronym for Tensilica's Instruction Set Simulator. |
191 | 233 | ||