diff options
| -rw-r--r-- | arch/powerpc/boot/.gitignore | 1 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/iommu.h | 1 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/mmu-hash64.h | 12 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/smp.h | 1 | ||||
| -rw-r--r-- | arch/powerpc/include/asm/udbg.h | 1 | ||||
| -rw-r--r-- | arch/powerpc/kernel/irq.c | 4 | ||||
| -rw-r--r-- | arch/powerpc/kernel/prom_init.c | 2 | ||||
| -rw-r--r-- | arch/powerpc/kernel/udbg.c | 3 | ||||
| -rw-r--r-- | arch/powerpc/kernel/vdso.c | 4 | ||||
| -rw-r--r-- | arch/powerpc/platforms/cell/beat_htab.c | 2 |
10 files changed, 5 insertions, 26 deletions
diff --git a/arch/powerpc/boot/.gitignore b/arch/powerpc/boot/.gitignore index 12da77ec0228..1c1aadc8c48f 100644 --- a/arch/powerpc/boot/.gitignore +++ b/arch/powerpc/boot/.gitignore | |||
| @@ -27,7 +27,6 @@ zImage.bin.* | |||
| 27 | zImage.chrp | 27 | zImage.chrp |
| 28 | zImage.coff | 28 | zImage.coff |
| 29 | zImage.holly | 29 | zImage.holly |
| 30 | zImage.iseries | ||
| 31 | zImage.*lds | 30 | zImage.*lds |
| 32 | zImage.miboot | 31 | zImage.miboot |
| 33 | zImage.pmac | 32 | zImage.pmac |
diff --git a/arch/powerpc/include/asm/iommu.h b/arch/powerpc/include/asm/iommu.h index edfc9803ec91..957a83f43646 100644 --- a/arch/powerpc/include/asm/iommu.h +++ b/arch/powerpc/include/asm/iommu.h | |||
| @@ -112,7 +112,6 @@ extern void iommu_unmap_page(struct iommu_table *tbl, dma_addr_t dma_handle, | |||
| 112 | struct dma_attrs *attrs); | 112 | struct dma_attrs *attrs); |
| 113 | 113 | ||
| 114 | extern void iommu_init_early_pSeries(void); | 114 | extern void iommu_init_early_pSeries(void); |
| 115 | extern void iommu_init_early_iSeries(void); | ||
| 116 | extern void iommu_init_early_dart(void); | 115 | extern void iommu_init_early_dart(void); |
| 117 | extern void iommu_init_early_pasemi(void); | 116 | extern void iommu_init_early_pasemi(void); |
| 118 | 117 | ||
diff --git a/arch/powerpc/include/asm/mmu-hash64.h b/arch/powerpc/include/asm/mmu-hash64.h index 412ba493cb98..e06794ac8d27 100644 --- a/arch/powerpc/include/asm/mmu-hash64.h +++ b/arch/powerpc/include/asm/mmu-hash64.h | |||
| @@ -267,7 +267,6 @@ extern void demote_segment_4k(struct mm_struct *mm, unsigned long addr); | |||
| 267 | 267 | ||
| 268 | extern void hpte_init_native(void); | 268 | extern void hpte_init_native(void); |
| 269 | extern void hpte_init_lpar(void); | 269 | extern void hpte_init_lpar(void); |
| 270 | extern void hpte_init_iSeries(void); | ||
| 271 | extern void hpte_init_beat(void); | 270 | extern void hpte_init_beat(void); |
| 272 | extern void hpte_init_beat_v3(void); | 271 | extern void hpte_init_beat_v3(void); |
| 273 | 272 | ||
| @@ -325,9 +324,6 @@ extern void slb_set_size(u16 size); | |||
| 325 | * WARNING - If you change these you must make sure the asm | 324 | * WARNING - If you change these you must make sure the asm |
| 326 | * implementations in slb_allocate (slb_low.S), do_stab_bolted | 325 | * implementations in slb_allocate (slb_low.S), do_stab_bolted |
| 327 | * (head.S) and ASM_VSID_SCRAMBLE (below) are changed accordingly. | 326 | * (head.S) and ASM_VSID_SCRAMBLE (below) are changed accordingly. |
| 328 | * | ||
| 329 | * You'll also need to change the precomputed VSID values in head.S | ||
| 330 | * which are used by the iSeries firmware. | ||
| 331 | */ | 327 | */ |
| 332 | 328 | ||
| 333 | #define VSID_MULTIPLIER_256M ASM_CONST(200730139) /* 28-bit prime */ | 329 | #define VSID_MULTIPLIER_256M ASM_CONST(200730139) /* 28-bit prime */ |
| @@ -484,14 +480,6 @@ static inline unsigned long get_vsid(unsigned long context, unsigned long ea, | |||
| 484 | | (ea >> SID_SHIFT_1T), 1T); | 480 | | (ea >> SID_SHIFT_1T), 1T); |
| 485 | } | 481 | } |
| 486 | 482 | ||
| 487 | /* | ||
| 488 | * This is only used on legacy iSeries in lparmap.c, | ||
| 489 | * hence the 256MB segment assumption. | ||
| 490 | */ | ||
| 491 | #define VSID_SCRAMBLE(pvsid) (((pvsid) * VSID_MULTIPLIER_256M) % \ | ||
| 492 | VSID_MODULUS_256M) | ||
| 493 | #define KERNEL_VSID(ea) VSID_SCRAMBLE(GET_ESID(ea)) | ||
| 494 | |||
| 495 | #endif /* __ASSEMBLY__ */ | 483 | #endif /* __ASSEMBLY__ */ |
| 496 | 484 | ||
| 497 | #endif /* _ASM_POWERPC_MMU_HASH64_H_ */ | 485 | #endif /* _ASM_POWERPC_MMU_HASH64_H_ */ |
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h index adba970ce918..ebc24dc5b1a1 100644 --- a/arch/powerpc/include/asm/smp.h +++ b/arch/powerpc/include/asm/smp.h | |||
| @@ -122,7 +122,6 @@ extern void smp_muxed_ipi_set_data(int cpu, unsigned long data); | |||
| 122 | extern void smp_muxed_ipi_message_pass(int cpu, int msg); | 122 | extern void smp_muxed_ipi_message_pass(int cpu, int msg); |
| 123 | extern irqreturn_t smp_ipi_demux(void); | 123 | extern irqreturn_t smp_ipi_demux(void); |
| 124 | 124 | ||
| 125 | void smp_init_iSeries(void); | ||
| 126 | void smp_init_pSeries(void); | 125 | void smp_init_pSeries(void); |
| 127 | void smp_init_cell(void); | 126 | void smp_init_cell(void); |
| 128 | void smp_init_celleb(void); | 127 | void smp_init_celleb(void); |
diff --git a/arch/powerpc/include/asm/udbg.h b/arch/powerpc/include/asm/udbg.h index 8338aef5a4d3..b3038817b8dc 100644 --- a/arch/powerpc/include/asm/udbg.h +++ b/arch/powerpc/include/asm/udbg.h | |||
| @@ -44,7 +44,6 @@ extern void __init udbg_init_debug_lpar_hvsi(void); | |||
| 44 | extern void __init udbg_init_pmac_realmode(void); | 44 | extern void __init udbg_init_pmac_realmode(void); |
| 45 | extern void __init udbg_init_maple_realmode(void); | 45 | extern void __init udbg_init_maple_realmode(void); |
| 46 | extern void __init udbg_init_pas_realmode(void); | 46 | extern void __init udbg_init_pas_realmode(void); |
| 47 | extern void __init udbg_init_iseries(void); | ||
| 48 | extern void __init udbg_init_rtas_panel(void); | 47 | extern void __init udbg_init_rtas_panel(void); |
| 49 | extern void __init udbg_init_rtas_console(void); | 48 | extern void __init udbg_init_rtas_console(void); |
| 50 | extern void __init udbg_init_debug_beat(void); | 49 | extern void __init udbg_init_debug_beat(void); |
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index 46ce5f733511..cea2d9f3ae4e 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
| @@ -208,8 +208,8 @@ notrace void arch_local_irq_restore(unsigned long en) | |||
| 208 | * we are checking the "new" CPU instead of the old one. This | 208 | * we are checking the "new" CPU instead of the old one. This |
| 209 | * is only a problem if an event happened on the "old" CPU. | 209 | * is only a problem if an event happened on the "old" CPU. |
| 210 | * | 210 | * |
| 211 | * External interrupt events on non-iseries will have caused | 211 | * External interrupt events will have caused interrupts to |
| 212 | * interrupts to be hard-disabled, so there is no problem, we | 212 | * be hard-disabled, so there is no problem, we |
| 213 | * cannot have preempted. | 213 | * cannot have preempted. |
| 214 | */ | 214 | */ |
| 215 | irq_happened = get_irq_happened(); | 215 | irq_happened = get_irq_happened(); |
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index e2d599048142..ea4e311e09d2 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
| @@ -447,7 +447,7 @@ static void __init __attribute__((noreturn)) prom_panic(const char *reason) | |||
| 447 | if (RELOC(of_platform) == PLATFORM_POWERMAC) | 447 | if (RELOC(of_platform) == PLATFORM_POWERMAC) |
| 448 | asm("trap\n"); | 448 | asm("trap\n"); |
| 449 | 449 | ||
| 450 | /* ToDo: should put up an SRC here on p/iSeries */ | 450 | /* ToDo: should put up an SRC here on pSeries */ |
| 451 | call_prom("exit", 0, 0); | 451 | call_prom("exit", 0, 0); |
| 452 | 452 | ||
| 453 | for (;;) /* should never get here */ | 453 | for (;;) /* should never get here */ |
diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c index 57fa2c0a531c..c39c1ca77f46 100644 --- a/arch/powerpc/kernel/udbg.c +++ b/arch/powerpc/kernel/udbg.c | |||
| @@ -46,9 +46,6 @@ void __init udbg_early_init(void) | |||
| 46 | #elif defined(CONFIG_PPC_EARLY_DEBUG_MAPLE) | 46 | #elif defined(CONFIG_PPC_EARLY_DEBUG_MAPLE) |
| 47 | /* Maple real mode debug */ | 47 | /* Maple real mode debug */ |
| 48 | udbg_init_maple_realmode(); | 48 | udbg_init_maple_realmode(); |
| 49 | #elif defined(CONFIG_PPC_EARLY_DEBUG_ISERIES) | ||
| 50 | /* For iSeries - hit Ctrl-x Ctrl-x to see the output */ | ||
| 51 | udbg_init_iseries(); | ||
| 52 | #elif defined(CONFIG_PPC_EARLY_DEBUG_BEAT) | 49 | #elif defined(CONFIG_PPC_EARLY_DEBUG_BEAT) |
| 53 | udbg_init_debug_beat(); | 50 | udbg_init_debug_beat(); |
| 54 | #elif defined(CONFIG_PPC_EARLY_DEBUG_PAS_REALMODE) | 51 | #elif defined(CONFIG_PPC_EARLY_DEBUG_PAS_REALMODE) |
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index d36ee1055f88..972cca278f98 100644 --- a/arch/powerpc/kernel/vdso.c +++ b/arch/powerpc/kernel/vdso.c | |||
| @@ -721,10 +721,10 @@ static int __init vdso_init(void) | |||
| 721 | vdso_data->version.minor = SYSTEMCFG_MINOR; | 721 | vdso_data->version.minor = SYSTEMCFG_MINOR; |
| 722 | vdso_data->processor = mfspr(SPRN_PVR); | 722 | vdso_data->processor = mfspr(SPRN_PVR); |
| 723 | /* | 723 | /* |
| 724 | * Fake the old platform number for pSeries and iSeries and add | 724 | * Fake the old platform number for pSeries and add |
| 725 | * in LPAR bit if necessary | 725 | * in LPAR bit if necessary |
| 726 | */ | 726 | */ |
| 727 | vdso_data->platform = machine_is(iseries) ? 0x200 : 0x100; | 727 | vdso_data->platform = 0x100; |
| 728 | if (firmware_has_feature(FW_FEATURE_LPAR)) | 728 | if (firmware_has_feature(FW_FEATURE_LPAR)) |
| 729 | vdso_data->platform |= 1; | 729 | vdso_data->platform |= 1; |
| 730 | vdso_data->physicalMemorySize = memblock_phys_mem_size(); | 730 | vdso_data->physicalMemorySize = memblock_phys_mem_size(); |
diff --git a/arch/powerpc/platforms/cell/beat_htab.c b/arch/powerpc/platforms/cell/beat_htab.c index 2516c1cf8467..943c9d39aa16 100644 --- a/arch/powerpc/platforms/cell/beat_htab.c +++ b/arch/powerpc/platforms/cell/beat_htab.c | |||
| @@ -95,7 +95,6 @@ static long beat_lpar_hpte_insert(unsigned long hpte_group, | |||
| 95 | unsigned long lpar_rc; | 95 | unsigned long lpar_rc; |
| 96 | u64 hpte_v, hpte_r, slot; | 96 | u64 hpte_v, hpte_r, slot; |
| 97 | 97 | ||
| 98 | /* same as iseries */ | ||
| 99 | if (vflags & HPTE_V_SECONDARY) | 98 | if (vflags & HPTE_V_SECONDARY) |
| 100 | return -1; | 99 | return -1; |
| 101 | 100 | ||
| @@ -319,7 +318,6 @@ static long beat_lpar_hpte_insert_v3(unsigned long hpte_group, | |||
| 319 | unsigned long lpar_rc; | 318 | unsigned long lpar_rc; |
| 320 | u64 hpte_v, hpte_r, slot; | 319 | u64 hpte_v, hpte_r, slot; |
| 321 | 320 | ||
| 322 | /* same as iseries */ | ||
| 323 | if (vflags & HPTE_V_SECONDARY) | 321 | if (vflags & HPTE_V_SECONDARY) |
| 324 | return -1; | 322 | return -1; |
| 325 | 323 | ||
