powerpc: Add new CPU feature: CPU_FTR_CP_USE_DCBTZ
authorMark Nelson <markn@au1.ibm.com>
Fri, 22 Aug 2008 04:36:19 +0000 (14:36 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 15 Sep 2008 18:07:38 +0000 (11:07 -0700)
commit2a9294369bd020db89bfdf78b84c3615b39a5c84
treefff7367780a53e7e9bd85d5003f28195dda0fc5f
parent1b3c83e6d3b4d3001e42a9cf800c0071adf8e2c9
powerpc: Add new CPU feature: CPU_FTR_CP_USE_DCBTZ

Add a new CPU feature bit, CPU_FTR_CP_USE_DCBTZ, to be added to the
64bit powerpc chips that benefit from having dcbt and dcbz
instructions used in their memory copy routines.

This will be used in a subsequent patch that updates copy_4K_page().
The new bit is added to Cell, PPC970 and Power4 because they show
better performance with the new copy_4K_page() when dcbt and dcbz
instructions are used.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/cputable.h