armv8: fsl-layerscape: Add support of disabling core prefetch
authorPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Fri, 10 Nov 2017 06:02:52 +0000 (11:32 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 6 Dec 2017 22:55:17 +0000 (14:55 -0800)
commit2db53cfe9601288d8b1c1dfb153afc644a954872
tree2f9382e8e04f02a50a615313b94f9711e586b3e8
parent6b6b7e8a6c228e9d717617b4b2a28c7fd0773bb0
armv8: fsl-layerscape: Add support of disabling core prefetch

Instruction prefetch feature is by default enabled during core
release. This patch add support of disabling instruction prefetch
by setting core mask in PPA. Here each core mask bit represents a
core and prefetch is disabled at the time of core release.

Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/fsl-layerscape/doc/README.core_prefetch [new file with mode: 0644]