forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/ia64/Kconfig
....@@ -8,13 +8,20 @@
88
99 config IA64
1010 bool
11
+ select ARCH_HAS_CPU_FINALIZE_INIT
12
+ select ARCH_HAS_DMA_MARK_CLEAN
1113 select ARCH_MIGHT_HAVE_PC_PARPORT
1214 select ARCH_MIGHT_HAVE_PC_SERIO
13
- select PCI if (!IA64_HP_SIM)
14
- select ACPI if (!IA64_HP_SIM)
15
- select ARCH_SUPPORTS_ACPI if (!IA64_HP_SIM)
15
+ select ACPI
16
+ select ACPI_NUMA if NUMA
17
+ select ARCH_SUPPORTS_ACPI
1618 select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
1719 select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
20
+ select FORCE_PCI
21
+ select PCI_DOMAINS if PCI
22
+ select PCI_MSI
23
+ select PCI_SYSCALL if PCI
24
+ select HAVE_ASM_MODVERSIONS
1825 select HAVE_UNSTABLE_SCHED_CLOCK
1926 select HAVE_EXIT_THREAD
2027 select HAVE_IDE
....@@ -26,14 +33,8 @@
2633 select HAVE_FUNCTION_TRACER
2734 select TTY
2835 select HAVE_ARCH_TRACEHOOK
29
- select HAVE_MEMBLOCK
30
- select HAVE_MEMBLOCK_NODE_MAP
31
- select NO_BOOTMEM
3236 select HAVE_VIRT_CPU_ACCOUNTING
33
- select ARCH_HAS_DMA_MARK_CLEAN
34
- select ARCH_HAS_SG_CHAIN
3537 select VIRT_TO_BUS
36
- select ARCH_DISCARD_MEMBLOCK
3738 select GENERIC_IRQ_PROBE
3839 select GENERIC_PENDING_IRQ if SMP
3940 select GENERIC_IRQ_SHOW
....@@ -46,6 +47,7 @@
4647 select ARCH_THREAD_STACK_ALLOCATOR
4748 select ARCH_CLOCKSOURCE_DATA
4849 select GENERIC_TIME_VSYSCALL
50
+ select SWIOTLB
4951 select SYSCTL_ARCH_UNALIGN_NO_WARN
5052 select HAVE_MOD_ARCH_SPECIFIC
5153 select MODULES_USE_ELF_RELA
....@@ -53,6 +55,9 @@
5355 select HAVE_ARCH_AUDITSYSCALL
5456 select NEED_DMA_MAP_STATE
5557 select NEED_SG_DMA_LENGTH
58
+ select NUMA if !FLATMEM
59
+ select PCI_MSI_ARCH_FALLBACKS if PCI_MSI
60
+ select SET_FS
5661 default y
5762 help
5863 The Itanium Processor Family is Intel's 64-bit successor to
....@@ -67,11 +72,6 @@
6772
6873 config ZONE_DMA32
6974 def_bool y
70
- depends on !IA64_SGI_SN2
71
-
72
-config QUICKLIST
73
- bool
74
- default y
7575
7676 config MMU
7777 bool
....@@ -82,10 +82,6 @@
8282
8383 config GENERIC_LOCKBREAK
8484 def_bool n
85
-
86
-config RWSEM_XCHGADD_ALGORITHM
87
- bool
88
- default y
8985
9086 config HUGETLB_PAGE_SIZE_VARIABLE
9187 bool
....@@ -124,87 +120,6 @@
124120 config AUDIT_ARCH
125121 bool
126122 default y
127
-
128
-choice
129
- prompt "System type"
130
- default IA64_GENERIC
131
-
132
-config IA64_GENERIC
133
- bool "generic"
134
- select NUMA
135
- select ACPI_NUMA
136
- select SWIOTLB
137
- select PCI_MSI
138
- help
139
- This selects the system type of your hardware. A "generic" kernel
140
- will run on any supported IA-64 system. However, if you configure
141
- a kernel for your specific system, it will be faster and smaller.
142
-
143
- generic For any supported IA-64 system
144
- DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
145
- DIG+Intel+IOMMU For DIG systems with Intel IOMMU
146
- HP-zx1/sx1000 For HP systems
147
- HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
148
- SGI-SN2 For SGI Altix systems
149
- SGI-UV For SGI UV systems
150
- Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
151
-
152
- If you don't know what to do, choose "generic".
153
-
154
-config IA64_DIG
155
- bool "DIG-compliant"
156
- select SWIOTLB
157
-
158
-config IA64_DIG_VTD
159
- bool "DIG+Intel+IOMMU"
160
- select INTEL_IOMMU
161
- select PCI_MSI
162
-
163
-config IA64_HP_ZX1
164
- bool "HP-zx1/sx1000"
165
- help
166
- Build a kernel that runs on HP zx1 and sx1000 systems. This adds
167
- support for the HP I/O MMU.
168
-
169
-config IA64_HP_ZX1_SWIOTLB
170
- bool "HP-zx1/sx1000 with software I/O TLB"
171
- select SWIOTLB
172
- help
173
- Build a kernel that runs on HP zx1 and sx1000 systems even when they
174
- have broken PCI devices which cannot DMA to full 32 bits. Apart
175
- from support for the HP I/O MMU, this includes support for the software
176
- I/O TLB, which allows supporting the broken devices at the expense of
177
- wasting some kernel memory (about 2MB by default).
178
-
179
-config IA64_SGI_SN2
180
- bool "SGI-SN2"
181
- select NUMA
182
- select ACPI_NUMA
183
- help
184
- Selecting this option will optimize the kernel for use on sn2 based
185
- systems, but the resulting kernel binary will not run on other
186
- types of ia64 systems. If you have an SGI Altix system, it's safe
187
- to select this option. If in doubt, select ia64 generic support
188
- instead.
189
-
190
-config IA64_SGI_UV
191
- bool "SGI-UV"
192
- select NUMA
193
- select ACPI_NUMA
194
- select SWIOTLB
195
- help
196
- Selecting this option will optimize the kernel for use on UV based
197
- systems, but the resulting kernel binary will not run on other
198
- types of ia64 systems. If you have an SGI UV system, it's safe
199
- to select this option. If in doubt, select ia64 generic support
200
- instead.
201
-
202
-config IA64_HP_SIM
203
- bool "Ski-simulator"
204
- select SWIOTLB
205
- depends on !PM
206
-
207
-endchoice
208123
209124 choice
210125 prompt "Processor type"
....@@ -257,14 +172,7 @@
257172
258173 endchoice
259174
260
-if IA64_HP_SIM
261
-config HZ
262
- default 32
263
-endif
264
-
265
-if !IA64_HP_SIM
266
-source kernel/Kconfig.hz
267
-endif
175
+source "kernel/Kconfig.hz"
268176
269177 config IA64_BRL_EMU
270178 bool
....@@ -277,16 +185,26 @@
277185 default "7" if MCKINLEY
278186 default "6" if ITANIUM
279187
188
+config IA64_SGI_UV
189
+ bool "SGI-UV support"
190
+ help
191
+ Selecting this option will add specific support for running on SGI
192
+ UV based systems. If you have an SGI UV system or are building a
193
+ distro kernel, select this option.
194
+
195
+config IA64_HP_SBA_IOMMU
196
+ bool "HP SBA IOMMU support"
197
+ select DMA_OPS
198
+ default y
199
+ help
200
+ Say Y here to add support for the SBA IOMMU found on HP zx1 and
201
+ sx1000 systems. If you're unsure, answer Y.
202
+
280203 config IA64_CYCLONE
281204 bool "Cyclone (EXA) Time Source support"
282205 help
283206 Say Y here to enable support for IBM EXA Cyclone time source.
284207 If you're unsure, answer N.
285
-
286
-config IOSAPIC
287
- bool
288
- depends on !IA64_HP_SIM
289
- default y
290208
291209 config FORCE_MAX_ZONEORDER
292210 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
....@@ -328,7 +246,7 @@
328246 bool "Support for hot-pluggable CPUs"
329247 depends on SMP
330248 default n
331
- ---help---
249
+ help
332250 Say Y here to experiment with turning CPUs off and on. CPUs
333251 can be controlled through /sys/devices/system/cpu/cpu#.
334252 Say N if you want to disable CPU hotplug.
....@@ -351,7 +269,7 @@
351269 bool "Support removal of Bootstrap Processor"
352270 depends on HOTPLUG_CPU
353271 default n
354
- ---help---
272
+ help
355273 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU
356274 support.
357275
....@@ -359,7 +277,7 @@
359277 bool "Force assumption that CPEI can be re-targeted"
360278 depends on PERMIT_BSP_REMOVE
361279 default n
362
- ---help---
280
+ help
363281 Say Y if you need to force the assumption that CPEI can be re-targeted to
364282 any cpu in the system. This hint is available via ACPI 3.0 specifications.
365283 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP.
....@@ -386,14 +304,13 @@
386304 select SPARSEMEM_VMEMMAP_ENABLE
387305
388306 config ARCH_DISCONTIGMEM_DEFAULT
389
- def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
307
+ def_bool y
390308 depends on ARCH_DISCONTIGMEM_ENABLE
391309
392310 config NUMA
393311 bool "NUMA support"
394
- depends on !IA64_HP_SIM && !FLATMEM
395
- default y if IA64_SGI_SN2
396
- select ACPI_NUMA if ACPI
312
+ depends on !FLATMEM
313
+ select SMP
397314 help
398315 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
399316 Access). This option is for configuring high-end multiprocessor
....@@ -414,7 +331,7 @@
414331 config VIRTUAL_MEM_MAP
415332 bool "Virtual mem map"
416333 depends on !SPARSEMEM
417
- default y if !IA64_HP_SIM
334
+ default y
418335 help
419336 Say Y to compile the kernel with support for a virtual mem map.
420337 This code also only takes effect if a memory hole of greater than
....@@ -445,16 +362,7 @@
445362 depends on PROC_KCORE
446363
447364 config IA64_MCA_RECOVERY
448
- tristate "MCA recovery from errors other than TLB."
449
-
450
-config PERFMON
451
- bool "Performance monitor support"
452
- depends on BROKEN
453
- help
454
- Selects whether support for the IA-64 performance monitor hardware
455
- is included in the kernel. This makes some kernel data-structures a
456
- little bigger and slows down execution a bit, but it is generally
457
- a good idea to turn this on. If you're unsure, say Y.
365
+ bool "MCA recovery from errors other than TLB."
458366
459367 config IA64_PALINFO
460368 tristate "/proc/pal support"
....@@ -477,9 +385,6 @@
477385
478386 If you're unsure, do not select this option.
479387
480
-config SGI_SN
481
- def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
482
-
483388 config IA64_ESI
484389 bool "ESI (Extensible SAL Interface) support"
485390 help
....@@ -498,11 +403,9 @@
498403 the "force" module parameter, e.g., with the "aml_nfw.force"
499404 kernel command line option.
500405
501
-source "drivers/sn/Kconfig"
502
-
503406 config KEXEC
504407 bool "kexec system call"
505
- depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
408
+ depends on !SMP || HOTPLUG_CPU
506409 select KEXEC_CORE
507410 help
508411 kexec is a system call that implements the ability to shutdown your
....@@ -520,7 +423,7 @@
520423
521424 config CRASH_DUMP
522425 bool "kernel crash dumps"
523
- depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
426
+ depends on IA64_MCA_RECOVERY && (!SMP || HOTPLUG_CPU)
524427 help
525428 Generate crash dump after being started by kexec.
526429
....@@ -541,32 +444,6 @@
541444 endif
542445
543446 endmenu
544
-
545
-if !IA64_HP_SIM
546
-
547
-menu "Bus options (PCI, PCMCIA)"
548
-
549
-config PCI
550
- bool "PCI support"
551
- help
552
- Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y
553
- here unless you are using a simulator without PCI support.
554
-
555
-config PCI_DOMAINS
556
- def_bool PCI
557
-
558
-config PCI_SYSCALL
559
- def_bool PCI
560
-
561
-source "drivers/pci/Kconfig"
562
-
563
-source "drivers/pcmcia/Kconfig"
564
-
565
-endmenu
566
-
567
-endif
568
-
569
-source "arch/ia64/hp/sim/Kconfig"
570447
571448 config MSPEC
572449 tristate "Memory special operations driver"