diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2013-12-05 13:47:27 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-12-10 19:11:07 -0500 |
commit | d52eefb47d4eb6fe40d4c92bc711dd34a8ce1747 (patch) | |
tree | f2966b8f3b47998d850769256e2c8980bdc26ac3 /arch/ia64/kernel | |
parent | 374b105797c3d4f29c685f3be535c35f5689b30e (diff) |
ia64/xen: Remove Xen support for ia64
ia64 has not been supported by Xen since 4.2 so it's time to drop
Xen/ia64 from Linux as well.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 3 | ||||
-rw-r--r-- | arch/ia64/kernel/asm-offsets.c | 32 | ||||
-rw-r--r-- | arch/ia64/kernel/head.S | 3 | ||||
-rw-r--r-- | arch/ia64/kernel/nr-irqs.c | 4 | ||||
-rw-r--r-- | arch/ia64/kernel/paravirt_inst.h | 3 | ||||
-rw-r--r-- | arch/ia64/kernel/paravirt_patchlist.h | 4 | ||||
-rw-r--r-- | arch/ia64/kernel/vmlinux.lds.S | 6 |
7 files changed, 0 insertions, 55 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 59d52e3aef12..bfa19311e09c 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -53,7 +53,6 @@ | |||
53 | #include <asm/numa.h> | 53 | #include <asm/numa.h> |
54 | #include <asm/sal.h> | 54 | #include <asm/sal.h> |
55 | #include <asm/cyclone.h> | 55 | #include <asm/cyclone.h> |
56 | #include <asm/xen/hypervisor.h> | ||
57 | 56 | ||
58 | #define BAD_MADT_ENTRY(entry, end) ( \ | 57 | #define BAD_MADT_ENTRY(entry, end) ( \ |
59 | (!entry) || (unsigned long)entry + sizeof(*entry) > end || \ | 58 | (!entry) || (unsigned long)entry + sizeof(*entry) > end || \ |
@@ -120,8 +119,6 @@ acpi_get_sysname(void) | |||
120 | return "uv"; | 119 | return "uv"; |
121 | else | 120 | else |
122 | return "sn2"; | 121 | return "sn2"; |
123 | } else if (xen_pv_domain() && !strcmp(hdr->oem_id, "XEN")) { | ||
124 | return "xen"; | ||
125 | } | 122 | } |
126 | 123 | ||
127 | #ifdef CONFIG_INTEL_IOMMU | 124 | #ifdef CONFIG_INTEL_IOMMU |
diff --git a/arch/ia64/kernel/asm-offsets.c b/arch/ia64/kernel/asm-offsets.c index 46c9e3007315..60ef83e6db71 100644 --- a/arch/ia64/kernel/asm-offsets.c +++ b/arch/ia64/kernel/asm-offsets.c | |||
@@ -16,9 +16,6 @@ | |||
16 | #include <asm/sigcontext.h> | 16 | #include <asm/sigcontext.h> |
17 | #include <asm/mca.h> | 17 | #include <asm/mca.h> |
18 | 18 | ||
19 | #include <asm/xen/interface.h> | ||
20 | #include <asm/xen/hypervisor.h> | ||
21 | |||
22 | #include "../kernel/sigframe.h" | 19 | #include "../kernel/sigframe.h" |
23 | #include "../kernel/fsyscall_gtod_data.h" | 20 | #include "../kernel/fsyscall_gtod_data.h" |
24 | 21 | ||
@@ -290,33 +287,4 @@ void foo(void) | |||
290 | DEFINE(IA64_ITC_LASTCYCLE_OFFSET, | 287 | DEFINE(IA64_ITC_LASTCYCLE_OFFSET, |
291 | offsetof (struct itc_jitter_data_t, itc_lastcycle)); | 288 | offsetof (struct itc_jitter_data_t, itc_lastcycle)); |
292 | 289 | ||
293 | #ifdef CONFIG_XEN | ||
294 | BLANK(); | ||
295 | |||
296 | DEFINE(XEN_NATIVE_ASM, XEN_NATIVE); | ||
297 | DEFINE(XEN_PV_DOMAIN_ASM, XEN_PV_DOMAIN); | ||
298 | |||
299 | #define DEFINE_MAPPED_REG_OFS(sym, field) \ | ||
300 | DEFINE(sym, (XMAPPEDREGS_OFS + offsetof(struct mapped_regs, field))) | ||
301 | |||
302 | DEFINE_MAPPED_REG_OFS(XSI_PSR_I_ADDR_OFS, interrupt_mask_addr); | ||
303 | DEFINE_MAPPED_REG_OFS(XSI_IPSR_OFS, ipsr); | ||
304 | DEFINE_MAPPED_REG_OFS(XSI_IIP_OFS, iip); | ||
305 | DEFINE_MAPPED_REG_OFS(XSI_IFS_OFS, ifs); | ||
306 | DEFINE_MAPPED_REG_OFS(XSI_PRECOVER_IFS_OFS, precover_ifs); | ||
307 | DEFINE_MAPPED_REG_OFS(XSI_ISR_OFS, isr); | ||
308 | DEFINE_MAPPED_REG_OFS(XSI_IFA_OFS, ifa); | ||
309 | DEFINE_MAPPED_REG_OFS(XSI_IIPA_OFS, iipa); | ||
310 | DEFINE_MAPPED_REG_OFS(XSI_IIM_OFS, iim); | ||
311 | DEFINE_MAPPED_REG_OFS(XSI_IHA_OFS, iha); | ||
312 | DEFINE_MAPPED_REG_OFS(XSI_ITIR_OFS, itir); | ||
313 | DEFINE_MAPPED_REG_OFS(XSI_PSR_IC_OFS, interrupt_collection_enabled); | ||
314 | DEFINE_MAPPED_REG_OFS(XSI_BANKNUM_OFS, banknum); | ||
315 | DEFINE_MAPPED_REG_OFS(XSI_BANK0_R16_OFS, bank0_regs[0]); | ||
316 | DEFINE_MAPPED_REG_OFS(XSI_BANK1_R16_OFS, bank1_regs[0]); | ||
317 | DEFINE_MAPPED_REG_OFS(XSI_B0NATS_OFS, vbnat); | ||
318 | DEFINE_MAPPED_REG_OFS(XSI_B1NATS_OFS, vnat); | ||
319 | DEFINE_MAPPED_REG_OFS(XSI_ITC_OFFSET_OFS, itc_offset); | ||
320 | DEFINE_MAPPED_REG_OFS(XSI_ITC_LAST_OFS, itc_last); | ||
321 | #endif /* CONFIG_XEN */ | ||
322 | } | 290 | } |
diff --git a/arch/ia64/kernel/head.S b/arch/ia64/kernel/head.S index 991ca336b8a2..e6f80fcf013b 100644 --- a/arch/ia64/kernel/head.S +++ b/arch/ia64/kernel/head.S | |||
@@ -416,8 +416,6 @@ start_ap: | |||
416 | 416 | ||
417 | default_setup_hook = 0 // Currently nothing needs to be done. | 417 | default_setup_hook = 0 // Currently nothing needs to be done. |
418 | 418 | ||
419 | .weak xen_setup_hook | ||
420 | |||
421 | .global hypervisor_type | 419 | .global hypervisor_type |
422 | hypervisor_type: | 420 | hypervisor_type: |
423 | data8 PARAVIRT_HYPERVISOR_TYPE_DEFAULT | 421 | data8 PARAVIRT_HYPERVISOR_TYPE_DEFAULT |
@@ -426,7 +424,6 @@ hypervisor_type: | |||
426 | 424 | ||
427 | hypervisor_setup_hooks: | 425 | hypervisor_setup_hooks: |
428 | data8 default_setup_hook | 426 | data8 default_setup_hook |
429 | data8 xen_setup_hook | ||
430 | num_hypervisor_hooks = (. - hypervisor_setup_hooks) / 8 | 427 | num_hypervisor_hooks = (. - hypervisor_setup_hooks) / 8 |
431 | .previous | 428 | .previous |
432 | 429 | ||
diff --git a/arch/ia64/kernel/nr-irqs.c b/arch/ia64/kernel/nr-irqs.c index ee564575148e..f6769cd54bd9 100644 --- a/arch/ia64/kernel/nr-irqs.c +++ b/arch/ia64/kernel/nr-irqs.c | |||
@@ -10,15 +10,11 @@ | |||
10 | #include <linux/kbuild.h> | 10 | #include <linux/kbuild.h> |
11 | #include <linux/threads.h> | 11 | #include <linux/threads.h> |
12 | #include <asm/native/irq.h> | 12 | #include <asm/native/irq.h> |
13 | #include <asm/xen/irq.h> | ||
14 | 13 | ||
15 | void foo(void) | 14 | void foo(void) |
16 | { | 15 | { |
17 | union paravirt_nr_irqs_max { | 16 | union paravirt_nr_irqs_max { |
18 | char ia64_native_nr_irqs[IA64_NATIVE_NR_IRQS]; | 17 | char ia64_native_nr_irqs[IA64_NATIVE_NR_IRQS]; |
19 | #ifdef CONFIG_XEN | ||
20 | char xen_nr_irqs[XEN_NR_IRQS]; | ||
21 | #endif | ||
22 | }; | 18 | }; |
23 | 19 | ||
24 | DEFINE(NR_IRQS, sizeof (union paravirt_nr_irqs_max)); | 20 | DEFINE(NR_IRQS, sizeof (union paravirt_nr_irqs_max)); |
diff --git a/arch/ia64/kernel/paravirt_inst.h b/arch/ia64/kernel/paravirt_inst.h index 64d6d810c64b..1ad7512b5f65 100644 --- a/arch/ia64/kernel/paravirt_inst.h +++ b/arch/ia64/kernel/paravirt_inst.h | |||
@@ -22,9 +22,6 @@ | |||
22 | 22 | ||
23 | #ifdef __IA64_ASM_PARAVIRTUALIZED_PVCHECK | 23 | #ifdef __IA64_ASM_PARAVIRTUALIZED_PVCHECK |
24 | #include <asm/native/pvchk_inst.h> | 24 | #include <asm/native/pvchk_inst.h> |
25 | #elif defined(__IA64_ASM_PARAVIRTUALIZED_XEN) | ||
26 | #include <asm/xen/inst.h> | ||
27 | #include <asm/xen/minstate.h> | ||
28 | #else | 25 | #else |
29 | #include <asm/native/inst.h> | 26 | #include <asm/native/inst.h> |
30 | #endif | 27 | #endif |
diff --git a/arch/ia64/kernel/paravirt_patchlist.h b/arch/ia64/kernel/paravirt_patchlist.h index 0684aa6c6507..67cffc3643a3 100644 --- a/arch/ia64/kernel/paravirt_patchlist.h +++ b/arch/ia64/kernel/paravirt_patchlist.h | |||
@@ -20,9 +20,5 @@ | |||
20 | * | 20 | * |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #if defined(__IA64_GATE_PARAVIRTUALIZED_XEN) | ||
24 | #include <asm/xen/patchlist.h> | ||
25 | #else | ||
26 | #include <asm/native/patchlist.h> | 23 | #include <asm/native/patchlist.h> |
27 | #endif | ||
28 | 24 | ||
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S index 0ccb28fab27e..84f8a52ac5ae 100644 --- a/arch/ia64/kernel/vmlinux.lds.S +++ b/arch/ia64/kernel/vmlinux.lds.S | |||
@@ -182,12 +182,6 @@ SECTIONS { | |||
182 | __start_gate_section = .; | 182 | __start_gate_section = .; |
183 | *(.data..gate) | 183 | *(.data..gate) |
184 | __stop_gate_section = .; | 184 | __stop_gate_section = .; |
185 | #ifdef CONFIG_XEN | ||
186 | . = ALIGN(PAGE_SIZE); | ||
187 | __xen_start_gate_section = .; | ||
188 | *(.data..gate.xen) | ||
189 | __xen_stop_gate_section = .; | ||
190 | #endif | ||
191 | } | 185 | } |
192 | /* | 186 | /* |
193 | * make sure the gate page doesn't expose | 187 | * make sure the gate page doesn't expose |