cputable.c (0440705049b041d84268ea57f6e90e2f16618897) | cputable.c (e22a22740c1ac23aaa10835f026b3549ee3e4e75) |
---|---|
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 --- 59 unchanged lines hidden (view full) --- 68extern void __restore_cpu_ppc970(void); 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); | 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 --- 59 unchanged lines hidden (view full) --- 68extern void __restore_cpu_ppc970(void); 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); |
|
76#endif /* CONFIG_PPC64 */ 77#if defined(CONFIG_E500) 78extern void __setup_cpu_e5500(unsigned long offset, struct cpu_spec* spec); 79extern void __setup_cpu_e6500(unsigned long offset, struct cpu_spec* spec); 80extern void __restore_cpu_e5500(void); 81extern void __restore_cpu_e6500(void); 82#endif /* CONFIG_E500 */ 83 --- 354 unchanged lines hidden (view full) --- 438 .mmu_features = MMU_FTRS_POWER7, 439 .icache_bsize = 128, 440 .dcache_bsize = 128, 441 .oprofile_type = PPC_OPROFILE_POWER4, 442 .oprofile_cpu_type = "ppc64/ibm-compat-v1", 443 .cpu_setup = __setup_cpu_power7, 444 .cpu_restore = __restore_cpu_power7, 445 .flush_tlb = __flush_tlb_power7, | 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 --- 354 unchanged lines hidden (view full) --- 439 .mmu_features = MMU_FTRS_POWER7, 440 .icache_bsize = 128, 441 .dcache_bsize = 128, 442 .oprofile_type = PPC_OPROFILE_POWER4, 443 .oprofile_cpu_type = "ppc64/ibm-compat-v1", 444 .cpu_setup = __setup_cpu_power7, 445 .cpu_restore = __restore_cpu_power7, 446 .flush_tlb = __flush_tlb_power7, |
447 .machine_check_early = __machine_check_early_realmode_p7, |
|
446 .platform = "power7", 447 }, 448 { /* 2.07-compliant processor, i.e. Power8 "architected" mode */ 449 .pvr_mask = 0xffffffff, 450 .pvr_value = 0x0f000004, 451 .cpu_name = "POWER8 (architected)", 452 .cpu_features = CPU_FTRS_POWER8, 453 .cpu_user_features = COMMON_USER_POWER8, --- 20 unchanged lines hidden (view full) --- 474 .dcache_bsize = 128, 475 .num_pmcs = 6, 476 .pmc_type = PPC_PMC_IBM, 477 .oprofile_cpu_type = "ppc64/power7", 478 .oprofile_type = PPC_OPROFILE_POWER4, 479 .cpu_setup = __setup_cpu_power7, 480 .cpu_restore = __restore_cpu_power7, 481 .flush_tlb = __flush_tlb_power7, | 448 .platform = "power7", 449 }, 450 { /* 2.07-compliant processor, i.e. Power8 "architected" mode */ 451 .pvr_mask = 0xffffffff, 452 .pvr_value = 0x0f000004, 453 .cpu_name = "POWER8 (architected)", 454 .cpu_features = CPU_FTRS_POWER8, 455 .cpu_user_features = COMMON_USER_POWER8, --- 20 unchanged lines hidden (view full) --- 476 .dcache_bsize = 128, 477 .num_pmcs = 6, 478 .pmc_type = PPC_PMC_IBM, 479 .oprofile_cpu_type = "ppc64/power7", 480 .oprofile_type = PPC_OPROFILE_POWER4, 481 .cpu_setup = __setup_cpu_power7, 482 .cpu_restore = __restore_cpu_power7, 483 .flush_tlb = __flush_tlb_power7, |
484 .machine_check_early = __machine_check_early_realmode_p7, |
|
482 .platform = "power7", 483 }, 484 { /* Power7+ */ 485 .pvr_mask = 0xffff0000, 486 .pvr_value = 0x004A0000, 487 .cpu_name = "POWER7+ (raw)", 488 .cpu_features = CPU_FTRS_POWER7, 489 .cpu_user_features = COMMON_USER_POWER7, 490 .cpu_user_features2 = COMMON_USER2_POWER7, 491 .mmu_features = MMU_FTRS_POWER7, 492 .icache_bsize = 128, 493 .dcache_bsize = 128, 494 .num_pmcs = 6, 495 .pmc_type = PPC_PMC_IBM, 496 .oprofile_cpu_type = "ppc64/power7", 497 .oprofile_type = PPC_OPROFILE_POWER4, 498 .cpu_setup = __setup_cpu_power7, 499 .cpu_restore = __restore_cpu_power7, 500 .flush_tlb = __flush_tlb_power7, | 485 .platform = "power7", 486 }, 487 { /* Power7+ */ 488 .pvr_mask = 0xffff0000, 489 .pvr_value = 0x004A0000, 490 .cpu_name = "POWER7+ (raw)", 491 .cpu_features = CPU_FTRS_POWER7, 492 .cpu_user_features = COMMON_USER_POWER7, 493 .cpu_user_features2 = COMMON_USER2_POWER7, 494 .mmu_features = MMU_FTRS_POWER7, 495 .icache_bsize = 128, 496 .dcache_bsize = 128, 497 .num_pmcs = 6, 498 .pmc_type = PPC_PMC_IBM, 499 .oprofile_cpu_type = "ppc64/power7", 500 .oprofile_type = PPC_OPROFILE_POWER4, 501 .cpu_setup = __setup_cpu_power7, 502 .cpu_restore = __restore_cpu_power7, 503 .flush_tlb = __flush_tlb_power7, |
504 .machine_check_early = __machine_check_early_realmode_p7, |
|
501 .platform = "power7+", 502 }, 503 { /* Power8E */ 504 .pvr_mask = 0xffff0000, 505 .pvr_value = 0x004b0000, 506 .cpu_name = "POWER8E (raw)", 507 .cpu_features = CPU_FTRS_POWER8, 508 .cpu_user_features = COMMON_USER_POWER8, --- 1760 unchanged lines hidden --- | 505 .platform = "power7+", 506 }, 507 { /* Power8E */ 508 .pvr_mask = 0xffff0000, 509 .pvr_value = 0x004b0000, 510 .cpu_name = "POWER8E (raw)", 511 .cpu_features = CPU_FTRS_POWER8, 512 .cpu_user_features = COMMON_USER_POWER8, --- 1760 unchanged lines hidden --- |