]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Enable the DAWR on POWER9 DD2.3 and above
authorReza Arbab <arbab@linux.ibm.com>
Tue, 3 May 2022 17:01:52 +0000 (12:01 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:59:53 +0000 (15:59 +1000)
commitc2caad04952341b601a4f5186ef382fa55708748
tree0e125012179e76811b8edd4ccaffc3fc5a97b021
parent32ac8c89b26bbec51a4cbd11b96ab481455d752c
powerpc: Enable the DAWR on POWER9 DD2.3 and above

The hardware bug in POWER9 preventing use of the DAWR was fixed in
DD2.3. Set the CPU_FTR_DAWR feature bit on these newer systems to start
using it again, and update the documentation accordingly.

The CPU features for DD2.3 are currently determined by "DD2.2 or later"
logic. In adding DD2.3 as a discrete case for the first time here, I'm
carrying the quirks of DD2.2 forward to keep all behavior outside of
this DAWR change the same. This leaves the assessment and potential
removal of those quirks on DD2.3 for later.

Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220503170152.23412-1-arbab@linux.ibm.com
Documentation/powerpc/dawr-power9.rst
arch/powerpc/include/asm/cputable.h
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/dt_cpu_ftrs.c