Merge branch 'fixes' into next
Merge our fixes branch from the 4.16 cycle. There were a number of important fixes merged, in particular some Power9 workarounds that we want in next for testing purposes. There's also been some conflicting changes in the CPU features code which are best merged and tested before going upstream.
This commit is contained in:
@@ -714,8 +714,10 @@ static __init void cpufeatures_cpu_quirks(void)
|
||||
cur_cpu_spec->cpu_features |= CPU_FTR_P9_TM_HV_ASSIST |
|
||||
CPU_FTR_P9_TM_XER_SO_BUG;
|
||||
|
||||
if ((version & 0xffff0000) == 0x004e0000)
|
||||
if ((version & 0xffff0000) == 0x004e0000) {
|
||||
cur_cpu_spec->cpu_features &= ~(CPU_FTR_DAWR);
|
||||
cur_cpu_spec->cpu_features |= CPU_FTR_P9_TLBIE_BUG;
|
||||
}
|
||||
}
|
||||
|
||||
static void __init cpufeatures_setup_finished(void)
|
||||
@@ -727,6 +729,9 @@ static void __init cpufeatures_setup_finished(void)
|
||||
cur_cpu_spec->cpu_features |= CPU_FTR_HVMODE;
|
||||
}
|
||||
|
||||
/* Make sure powerpc_base_platform is non-NULL */
|
||||
powerpc_base_platform = cur_cpu_spec->platform;
|
||||
|
||||
system_registers.lpcr = mfspr(SPRN_LPCR);
|
||||
system_registers.hfscr = mfspr(SPRN_HFSCR);
|
||||
system_registers.fscr = mfspr(SPRN_FSCR);
|
||||
|
Reference in New Issue
Block a user