cputable.c (e22a22740c1ac23aaa10835f026b3549ee3e4e75) | cputable.c (ae744f3432d3872c51298d922728e13c24ccc068) |
---|---|
1/* 2 * Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org) 3 * 4 * Modifications for ppc64: 5 * Copyright (C) 2003 Dave Engebretsen <engebret@us.ibm.com> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 60 unchanged lines hidden (view full) --- 69extern void __setup_cpu_power7(unsigned long offset, struct cpu_spec* spec); 70extern void __restore_cpu_power7(void); 71extern void __setup_cpu_power8(unsigned long offset, struct cpu_spec* spec); 72extern void __restore_cpu_power8(void); 73extern void __restore_cpu_a2(void); 74extern void __flush_tlb_power7(unsigned long inval_selector); 75extern void __flush_tlb_power8(unsigned long inval_selector); 76extern long __machine_check_early_realmode_p7(struct pt_regs *regs); | 1/* 2 * Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org) 3 * 4 * Modifications for ppc64: 5 * Copyright (C) 2003 Dave Engebretsen <engebret@us.ibm.com> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 60 unchanged lines hidden (view full) --- 69extern void __setup_cpu_power7(unsigned long offset, struct cpu_spec* spec); 70extern void __restore_cpu_power7(void); 71extern void __setup_cpu_power8(unsigned long offset, struct cpu_spec* spec); 72extern void __restore_cpu_power8(void); 73extern void __restore_cpu_a2(void); 74extern void __flush_tlb_power7(unsigned long inval_selector); 75extern void __flush_tlb_power8(unsigned long inval_selector); 76extern long __machine_check_early_realmode_p7(struct pt_regs *regs); |
77extern long __machine_check_early_realmode_p8(struct pt_regs *regs); |
|
77#endif /* CONFIG_PPC64 */ 78#if defined(CONFIG_E500) 79extern void __setup_cpu_e5500(unsigned long offset, struct cpu_spec* spec); 80extern void __setup_cpu_e6500(unsigned long offset, struct cpu_spec* spec); 81extern void __restore_cpu_e5500(void); 82extern void __restore_cpu_e6500(void); 83#endif /* CONFIG_E500 */ 84 --- 372 unchanged lines hidden (view full) --- 457 .mmu_features = MMU_FTRS_POWER8, 458 .icache_bsize = 128, 459 .dcache_bsize = 128, 460 .oprofile_type = PPC_OPROFILE_INVALID, 461 .oprofile_cpu_type = "ppc64/ibm-compat-v1", 462 .cpu_setup = __setup_cpu_power8, 463 .cpu_restore = __restore_cpu_power8, 464 .flush_tlb = __flush_tlb_power8, | 78#endif /* CONFIG_PPC64 */ 79#if defined(CONFIG_E500) 80extern void __setup_cpu_e5500(unsigned long offset, struct cpu_spec* spec); 81extern void __setup_cpu_e6500(unsigned long offset, struct cpu_spec* spec); 82extern void __restore_cpu_e5500(void); 83extern void __restore_cpu_e6500(void); 84#endif /* CONFIG_E500 */ 85 --- 372 unchanged lines hidden (view full) --- 458 .mmu_features = MMU_FTRS_POWER8, 459 .icache_bsize = 128, 460 .dcache_bsize = 128, 461 .oprofile_type = PPC_OPROFILE_INVALID, 462 .oprofile_cpu_type = "ppc64/ibm-compat-v1", 463 .cpu_setup = __setup_cpu_power8, 464 .cpu_restore = __restore_cpu_power8, 465 .flush_tlb = __flush_tlb_power8, |
466 .machine_check_early = __machine_check_early_realmode_p8, |
|
465 .platform = "power8", 466 }, 467 { /* Power7 */ 468 .pvr_mask = 0xffff0000, 469 .pvr_value = 0x003f0000, 470 .cpu_name = "POWER7 (raw)", 471 .cpu_features = CPU_FTRS_POWER7, 472 .cpu_user_features = COMMON_USER_POWER7, --- 43 unchanged lines hidden (view full) --- 516 .dcache_bsize = 128, 517 .num_pmcs = 6, 518 .pmc_type = PPC_PMC_IBM, 519 .oprofile_cpu_type = "ppc64/power8", 520 .oprofile_type = PPC_OPROFILE_INVALID, 521 .cpu_setup = __setup_cpu_power8, 522 .cpu_restore = __restore_cpu_power8, 523 .flush_tlb = __flush_tlb_power8, | 467 .platform = "power8", 468 }, 469 { /* Power7 */ 470 .pvr_mask = 0xffff0000, 471 .pvr_value = 0x003f0000, 472 .cpu_name = "POWER7 (raw)", 473 .cpu_features = CPU_FTRS_POWER7, 474 .cpu_user_features = COMMON_USER_POWER7, --- 43 unchanged lines hidden (view full) --- 518 .dcache_bsize = 128, 519 .num_pmcs = 6, 520 .pmc_type = PPC_PMC_IBM, 521 .oprofile_cpu_type = "ppc64/power8", 522 .oprofile_type = PPC_OPROFILE_INVALID, 523 .cpu_setup = __setup_cpu_power8, 524 .cpu_restore = __restore_cpu_power8, 525 .flush_tlb = __flush_tlb_power8, |
526 .machine_check_early = __machine_check_early_realmode_p8, |
|
524 .platform = "power8", 525 }, 526 { /* Power8 */ 527 .pvr_mask = 0xffff0000, 528 .pvr_value = 0x004d0000, 529 .cpu_name = "POWER8 (raw)", 530 .cpu_features = CPU_FTRS_POWER8, 531 .cpu_user_features = COMMON_USER_POWER8, 532 .cpu_user_features2 = COMMON_USER2_POWER8, 533 .mmu_features = MMU_FTRS_POWER8, 534 .icache_bsize = 128, 535 .dcache_bsize = 128, 536 .num_pmcs = 6, 537 .pmc_type = PPC_PMC_IBM, 538 .oprofile_cpu_type = "ppc64/power8", 539 .oprofile_type = PPC_OPROFILE_INVALID, 540 .cpu_setup = __setup_cpu_power8, 541 .cpu_restore = __restore_cpu_power8, 542 .flush_tlb = __flush_tlb_power8, | 527 .platform = "power8", 528 }, 529 { /* Power8 */ 530 .pvr_mask = 0xffff0000, 531 .pvr_value = 0x004d0000, 532 .cpu_name = "POWER8 (raw)", 533 .cpu_features = CPU_FTRS_POWER8, 534 .cpu_user_features = COMMON_USER_POWER8, 535 .cpu_user_features2 = COMMON_USER2_POWER8, 536 .mmu_features = MMU_FTRS_POWER8, 537 .icache_bsize = 128, 538 .dcache_bsize = 128, 539 .num_pmcs = 6, 540 .pmc_type = PPC_PMC_IBM, 541 .oprofile_cpu_type = "ppc64/power8", 542 .oprofile_type = PPC_OPROFILE_INVALID, 543 .cpu_setup = __setup_cpu_power8, 544 .cpu_restore = __restore_cpu_power8, 545 .flush_tlb = __flush_tlb_power8, |
546 .machine_check_early = __machine_check_early_realmode_p8, |
|
543 .platform = "power8", 544 }, 545 { /* Cell Broadband Engine */ 546 .pvr_mask = 0xffff0000, 547 .pvr_value = 0x00700000, 548 .cpu_name = "Cell Broadband Engine", 549 .cpu_features = CPU_FTRS_CELL, 550 .cpu_user_features = COMMON_USER_PPC64 | --- 1722 unchanged lines hidden --- | 547 .platform = "power8", 548 }, 549 { /* Cell Broadband Engine */ 550 .pvr_mask = 0xffff0000, 551 .pvr_value = 0x00700000, 552 .cpu_name = "Cell Broadband Engine", 553 .cpu_features = CPU_FTRS_CELL, 554 .cpu_user_features = COMMON_USER_PPC64 | --- 1722 unchanged lines hidden --- |