@@ -10,12 +10,14 @@ config IA64
1010 bool
1111 select ARCH_MIGHT_HAVE_PC_PARPORT
1212 select ARCH_MIGHT_HAVE_PC_SERIO
13- select ACPI if (!IA64_HP_SIM)
14- select ARCH_SUPPORTS_ACPI if (!IA64_HP_SIM)
13+ select ACPI
14+ select ACPI_NUMA if NUMA
15+ select ARCH_SUPPORTS_ACPI
1516 select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
1617 select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
17- select FORCE_PCI if (!IA64_HP_SIM)
18+ select FORCE_PCI
1819 select PCI_DOMAINS if PCI
20+ select PCI_MSI
1921 select PCI_SYSCALL if PCI
2022 select HAVE_UNSTABLE_SCHED_CLOCK
2123 select HAVE_EXIT_THREAD
@@ -30,8 +32,8 @@ config IA64
3032 select HAVE_ARCH_TRACEHOOK
3133 select HAVE_MEMBLOCK_NODE_MAP
3234 select HAVE_VIRT_CPU_ACCOUNTING
33- select ARCH_HAS_DMA_COHERENT_TO_PFN if SWIOTLB
34- select ARCH_HAS_SYNC_DMA_FOR_CPU if SWIOTLB
35+ select ARCH_HAS_DMA_COHERENT_TO_PFN
36+ select ARCH_HAS_SYNC_DMA_FOR_CPU
3537 select VIRT_TO_BUS
3638 select GENERIC_IRQ_PROBE
3739 select GENERIC_PENDING_IRQ if SMP
@@ -45,13 +47,15 @@ config IA64
4547 select ARCH_THREAD_STACK_ALLOCATOR
4648 select ARCH_CLOCKSOURCE_DATA
4749 select GENERIC_TIME_VSYSCALL
50+ select SWIOTLB
4851 select SYSCTL_ARCH_UNALIGN_NO_WARN
4952 select HAVE_MOD_ARCH_SPECIFIC
5053 select MODULES_USE_ELF_RELA
5154 select ARCH_USE_CMPXCHG_LOCKREF
5255 select HAVE_ARCH_AUDITSYSCALL
5356 select NEED_DMA_MAP_STATE
5457 select NEED_SG_DMA_LENGTH
58+ select NUMA if !FLATMEM
5559 default y
5660 help
5761 The Itanium Processor Family is Intel's 64-bit successor to
@@ -66,7 +70,6 @@ config 64BIT
6670
6771config ZONE_DMA32
6872 def_bool y
69- depends on !IA64_SGI_SN2
7073
7174config QUICKLIST
7275 bool
@@ -120,87 +123,6 @@ config AUDIT_ARCH
120123 bool
121124 default y
122125
123- choice
124- prompt "System type"
125- default IA64_GENERIC
126-
127- config IA64_GENERIC
128- bool "generic"
129- select NUMA
130- select ACPI_NUMA
131- select SWIOTLB
132- select PCI_MSI
133- help
134- This selects the system type of your hardware. A "generic" kernel
135- will run on any supported IA-64 system. However, if you configure
136- a kernel for your specific system, it will be faster and smaller.
137-
138- generic For any supported IA-64 system
139- DIG-compliant For DIG ("Developer's Interface Guide") compliant systems
140- DIG+Intel+IOMMU For DIG systems with Intel IOMMU
141- HP-zx1/sx1000 For HP systems
142- HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices.
143- SGI-SN2 For SGI Altix systems
144- SGI-UV For SGI UV systems
145- Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/>
146-
147- If you don't know what to do, choose "generic".
148-
149- config IA64_DIG
150- bool "DIG-compliant"
151- select SWIOTLB
152-
153- config IA64_DIG_VTD
154- bool "DIG+Intel+IOMMU"
155- select INTEL_IOMMU
156- select PCI_MSI
157-
158- config IA64_HP_ZX1
159- bool "HP-zx1/sx1000"
160- help
161- Build a kernel that runs on HP zx1 and sx1000 systems. This adds
162- support for the HP I/O MMU.
163-
164- config IA64_HP_ZX1_SWIOTLB
165- bool "HP-zx1/sx1000 with software I/O TLB"
166- select SWIOTLB
167- help
168- Build a kernel that runs on HP zx1 and sx1000 systems even when they
169- have broken PCI devices which cannot DMA to full 32 bits. Apart
170- from support for the HP I/O MMU, this includes support for the software
171- I/O TLB, which allows supporting the broken devices at the expense of
172- wasting some kernel memory (about 2MB by default).
173-
174- config IA64_SGI_SN2
175- bool "SGI-SN2"
176- select NUMA
177- select ACPI_NUMA
178- help
179- Selecting this option will optimize the kernel for use on sn2 based
180- systems, but the resulting kernel binary will not run on other
181- types of ia64 systems. If you have an SGI Altix system, it's safe
182- to select this option. If in doubt, select ia64 generic support
183- instead.
184-
185- config IA64_SGI_UV
186- bool "SGI-UV"
187- select NUMA
188- select ACPI_NUMA
189- select SWIOTLB
190- help
191- Selecting this option will optimize the kernel for use on UV based
192- systems, but the resulting kernel binary will not run on other
193- types of ia64 systems. If you have an SGI UV system, it's safe
194- to select this option. If in doubt, select ia64 generic support
195- instead.
196-
197- config IA64_HP_SIM
198- bool "Ski-simulator"
199- select SWIOTLB
200- depends on !PM
201-
202- endchoice
203-
204126choice
205127 prompt "Processor type"
206128 default ITANIUM
@@ -252,14 +174,7 @@ config IA64_PAGE_SIZE_64KB
252174
253175endchoice
254176
255- if IA64_HP_SIM
256- config HZ
257- default 32
258- endif
259-
260- if !IA64_HP_SIM
261177source "kernel/Kconfig.hz"
262- endif
263178
264179config IA64_BRL_EMU
265180 bool
@@ -272,17 +187,26 @@ config IA64_L1_CACHE_SHIFT
272187 default "7" if MCKINLEY
273188 default "6" if ITANIUM
274189
190+ config IA64_SGI_UV
191+ bool "SGI-UV support"
192+ help
193+ Selecting this option will add specific support for running on SGI
194+ UV based systems. If you have an SGI UV system or are building a
195+ distro kernel, select this option.
196+
197+ config IA64_HP_SBA_IOMMU
198+ bool "HP SBA IOMMU support"
199+ default y
200+ help
201+ Say Y here to add support for the SBA IOMMU found on HP zx1 and
202+ sx1000 systems. If you're unsure, answer Y.
203+
275204config IA64_CYCLONE
276205 bool "Cyclone (EXA) Time Source support"
277206 help
278207 Say Y here to enable support for IBM EXA Cyclone time source.
279208 If you're unsure, answer N.
280209
281- config IOSAPIC
282- bool
283- depends on !IA64_HP_SIM
284- default y
285-
286210config FORCE_MAX_ZONEORDER
287211 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE
288212 range 11 17 if !HUGETLB_PAGE
@@ -381,14 +305,12 @@ config ARCH_SPARSEMEM_ENABLE
381305 select SPARSEMEM_VMEMMAP_ENABLE
382306
383307config ARCH_DISCONTIGMEM_DEFAULT
384- def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB)
308+ def_bool y
385309 depends on ARCH_DISCONTIGMEM_ENABLE
386310
387311config NUMA
388312 bool "NUMA support"
389- depends on !IA64_HP_SIM && !FLATMEM
390- default y if IA64_SGI_SN2
391- select ACPI_NUMA if ACPI
313+ depends on !FLATMEM
392314 help
393315 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
394316 Access). This option is for configuring high-end multiprocessor
@@ -409,7 +331,7 @@ config NODES_SHIFT
409331config VIRTUAL_MEM_MAP
410332 bool "Virtual mem map"
411333 depends on !SPARSEMEM
412- default y if !IA64_HP_SIM
334+ default y
413335 help
414336 Say Y to compile the kernel with support for a virtual mem map.
415337 This code also only takes effect if a memory hole of greater than
@@ -472,9 +394,6 @@ config IA64_MC_ERR_INJECT
472394
473395 If you're unsure, do not select this option.
474396
475- config SGI_SN
476- def_bool y if (IA64_SGI_SN2 || IA64_GENERIC)
477-
478397config IA64_ESI
479398 bool "ESI (Extensible SAL Interface) support"
480399 help
@@ -493,11 +412,9 @@ config IA64_HP_AML_NFW
493412 the "force" module parameter, e.g., with the "aml_nfw.force"
494413 kernel command line option.
495414
496- source "drivers/sn/Kconfig"
497-
498415config KEXEC
499416 bool "kexec system call"
500- depends on !IA64_HP_SIM && (! SMP || HOTPLUG_CPU)
417+ depends on !SMP || HOTPLUG_CPU
501418 select KEXEC_CORE
502419 help
503420 kexec is a system call that implements the ability to shutdown your
@@ -515,7 +432,7 @@ config KEXEC
515432
516433config CRASH_DUMP
517434 bool "kernel crash dumps"
518- depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU)
435+ depends on IA64_MCA_RECOVERY && (!SMP || HOTPLUG_CPU)
519436 help
520437 Generate crash dump after being started by kexec.
521438
@@ -537,8 +454,6 @@ endif
537454
538455endmenu
539456
540- source "arch/ia64/hp/sim/Kconfig"
541-
542457config MSPEC
543458 tristate "Memory special operations driver"
544459 depends on IA64
0 commit comments