cputable.c (920c634aff6cb66e7f352668521eb1313897e93c) cputable.c (7b9f71f974a12740e79e918cfd58c2fce0b5b580)
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

--- 63 unchanged lines hidden (view full) ---

72extern void __restore_cpu_power8(void);
73extern void __setup_cpu_power9(unsigned long offset, struct cpu_spec* spec);
74extern void __restore_cpu_power9(void);
75extern void __flush_tlb_power7(unsigned int action);
76extern void __flush_tlb_power8(unsigned int action);
77extern void __flush_tlb_power9(unsigned int action);
78extern long __machine_check_early_realmode_p7(struct pt_regs *regs);
79extern long __machine_check_early_realmode_p8(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

--- 63 unchanged lines hidden (view full) ---

72extern void __restore_cpu_power8(void);
73extern void __setup_cpu_power9(unsigned long offset, struct cpu_spec* spec);
74extern void __restore_cpu_power9(void);
75extern void __flush_tlb_power7(unsigned int action);
76extern void __flush_tlb_power8(unsigned int action);
77extern void __flush_tlb_power9(unsigned int action);
78extern long __machine_check_early_realmode_p7(struct pt_regs *regs);
79extern long __machine_check_early_realmode_p8(struct pt_regs *regs);
80extern long __machine_check_early_realmode_p9(struct pt_regs *regs);
80#endif /* CONFIG_PPC64 */
81#if defined(CONFIG_E500)
82extern void __setup_cpu_e5500(unsigned long offset, struct cpu_spec* spec);
83extern void __setup_cpu_e6500(unsigned long offset, struct cpu_spec* spec);
84extern void __restore_cpu_e5500(void);
85extern void __restore_cpu_e6500(void);
86#endif /* CONFIG_E500 */
87

--- 447 unchanged lines hidden (view full) ---

535 .dcache_bsize = 128,
536 .num_pmcs = 6,
537 .pmc_type = PPC_PMC_IBM,
538 .oprofile_cpu_type = "ppc64/power9",
539 .oprofile_type = PPC_OPROFILE_INVALID,
540 .cpu_setup = __setup_cpu_power9,
541 .cpu_restore = __restore_cpu_power9,
542 .flush_tlb = __flush_tlb_power9,
81#endif /* CONFIG_PPC64 */
82#if defined(CONFIG_E500)
83extern void __setup_cpu_e5500(unsigned long offset, struct cpu_spec* spec);
84extern void __setup_cpu_e6500(unsigned long offset, struct cpu_spec* spec);
85extern void __restore_cpu_e5500(void);
86extern void __restore_cpu_e6500(void);
87#endif /* CONFIG_E500 */
88

--- 447 unchanged lines hidden (view full) ---

536 .dcache_bsize = 128,
537 .num_pmcs = 6,
538 .pmc_type = PPC_PMC_IBM,
539 .oprofile_cpu_type = "ppc64/power9",
540 .oprofile_type = PPC_OPROFILE_INVALID,
541 .cpu_setup = __setup_cpu_power9,
542 .cpu_restore = __restore_cpu_power9,
543 .flush_tlb = __flush_tlb_power9,
544 .machine_check_early = __machine_check_early_realmode_p9,
543 .platform = "power9",
544 },
545 { /* Power9 */
546 .pvr_mask = 0xffff0000,
547 .pvr_value = 0x004e0000,
548 .cpu_name = "POWER9 (raw)",
549 .cpu_features = CPU_FTRS_POWER9,
550 .cpu_user_features = COMMON_USER_POWER9,
551 .cpu_user_features2 = COMMON_USER2_POWER9,
552 .mmu_features = MMU_FTRS_POWER9,
553 .icache_bsize = 128,
554 .dcache_bsize = 128,
555 .num_pmcs = 6,
556 .pmc_type = PPC_PMC_IBM,
557 .oprofile_cpu_type = "ppc64/power9",
558 .oprofile_type = PPC_OPROFILE_INVALID,
559 .cpu_setup = __setup_cpu_power9,
560 .cpu_restore = __restore_cpu_power9,
561 .flush_tlb = __flush_tlb_power9,
545 .platform = "power9",
546 },
547 { /* Power9 */
548 .pvr_mask = 0xffff0000,
549 .pvr_value = 0x004e0000,
550 .cpu_name = "POWER9 (raw)",
551 .cpu_features = CPU_FTRS_POWER9,
552 .cpu_user_features = COMMON_USER_POWER9,
553 .cpu_user_features2 = COMMON_USER2_POWER9,
554 .mmu_features = MMU_FTRS_POWER9,
555 .icache_bsize = 128,
556 .dcache_bsize = 128,
557 .num_pmcs = 6,
558 .pmc_type = PPC_PMC_IBM,
559 .oprofile_cpu_type = "ppc64/power9",
560 .oprofile_type = PPC_OPROFILE_INVALID,
561 .cpu_setup = __setup_cpu_power9,
562 .cpu_restore = __restore_cpu_power9,
563 .flush_tlb = __flush_tlb_power9,
564 .machine_check_early = __machine_check_early_realmode_p9,
562 .platform = "power9",
563 },
564 { /* Cell Broadband Engine */
565 .pvr_mask = 0xffff0000,
566 .pvr_value = 0x00700000,
567 .cpu_name = "Cell Broadband Engine",
568 .cpu_features = CPU_FTRS_CELL,
569 .cpu_user_features = COMMON_USER_PPC64 |

--- 1731 unchanged lines hidden ---
565 .platform = "power9",
566 },
567 { /* Cell Broadband Engine */
568 .pvr_mask = 0xffff0000,
569 .pvr_value = 0x00700000,
570 .cpu_name = "Cell Broadband Engine",
571 .cpu_features = CPU_FTRS_CELL,
572 .cpu_user_features = COMMON_USER_PPC64 |

--- 1731 unchanged lines hidden ---