|
@@ -71,6 +71,8 @@ extern void __restore_cpu_power7(void);
|
|
|
extern void __setup_cpu_power8(unsigned long offset, struct cpu_spec* spec);
|
|
|
extern void __restore_cpu_power8(void);
|
|
|
extern void __restore_cpu_a2(void);
|
|
|
+extern void __flush_tlb_power7(unsigned long inval_selector);
|
|
|
+extern void __flush_tlb_power8(unsigned long inval_selector);
|
|
|
#endif /* CONFIG_PPC64 */
|
|
|
#if defined(CONFIG_E500)
|
|
|
extern void __setup_cpu_e5500(unsigned long offset, struct cpu_spec* spec);
|
|
@@ -440,6 +442,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
|
|
.oprofile_cpu_type = "ppc64/ibm-compat-v1",
|
|
|
.cpu_setup = __setup_cpu_power7,
|
|
|
.cpu_restore = __restore_cpu_power7,
|
|
|
+ .flush_tlb = __flush_tlb_power7,
|
|
|
.platform = "power7",
|
|
|
},
|
|
|
{ /* 2.07-compliant processor, i.e. Power8 "architected" mode */
|
|
@@ -456,6 +459,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
|
|
.oprofile_cpu_type = "ppc64/ibm-compat-v1",
|
|
|
.cpu_setup = __setup_cpu_power8,
|
|
|
.cpu_restore = __restore_cpu_power8,
|
|
|
+ .flush_tlb = __flush_tlb_power8,
|
|
|
.platform = "power8",
|
|
|
},
|
|
|
{ /* Power7 */
|
|
@@ -474,6 +478,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
|
|
.oprofile_type = PPC_OPROFILE_POWER4,
|
|
|
.cpu_setup = __setup_cpu_power7,
|
|
|
.cpu_restore = __restore_cpu_power7,
|
|
|
+ .flush_tlb = __flush_tlb_power7,
|
|
|
.platform = "power7",
|
|
|
},
|
|
|
{ /* Power7+ */
|
|
@@ -492,6 +497,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
|
|
.oprofile_type = PPC_OPROFILE_POWER4,
|
|
|
.cpu_setup = __setup_cpu_power7,
|
|
|
.cpu_restore = __restore_cpu_power7,
|
|
|
+ .flush_tlb = __flush_tlb_power7,
|
|
|
.platform = "power7+",
|
|
|
},
|
|
|
{ /* Power8E */
|
|
@@ -510,6 +516,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
|
|
.oprofile_type = PPC_OPROFILE_INVALID,
|
|
|
.cpu_setup = __setup_cpu_power8,
|
|
|
.cpu_restore = __restore_cpu_power8,
|
|
|
+ .flush_tlb = __flush_tlb_power8,
|
|
|
.platform = "power8",
|
|
|
},
|
|
|
{ /* Power8 */
|
|
@@ -528,6 +535,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
|
|
.oprofile_type = PPC_OPROFILE_INVALID,
|
|
|
.cpu_setup = __setup_cpu_power8,
|
|
|
.cpu_restore = __restore_cpu_power8,
|
|
|
+ .flush_tlb = __flush_tlb_power8,
|
|
|
.platform = "power8",
|
|
|
},
|
|
|
{ /* Cell Broadband Engine */
|