Skip to content

Commit 622aa35

Browse files
mikeympe
authored andcommitted
powerpc: Disable DAWR on POWER9 via CPU feature quirk
This disables the DAWR on all POWER9 CPUs via cpu feature quirk. Using the DAWR on POWER9 can cause xstops, hence we need to disable it. Signed-off-by: Michael Neuling <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
1 parent b53221e commit 622aa35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/powerpc/kernel/dt_cpu_ftrs.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,9 @@ static __init void cpufeatures_cpu_quirks(void)
713713
else if ((version & 0xffffefff) == 0x004e0202)
714714
cur_cpu_spec->cpu_features |= CPU_FTR_P9_TM_HV_ASSIST |
715715
CPU_FTR_P9_TM_XER_SO_BUG;
716+
717+
if ((version & 0xffff0000) == 0x004e0000)
718+
cur_cpu_spec->cpu_features &= ~(CPU_FTR_DAWR);
716719
}
717720

718721
static void __init cpufeatures_setup_finished(void)

0 commit comments

Comments
 (0)