]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
ARM: zynq: Turn on PL310 L2 cache prefetching
authorThomas Betker <thomas.betker@rohde-schwarz.com>
Mon, 11 May 2015 19:21:18 +0000 (21:21 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 12 May 2015 06:13:33 +0000 (08:13 +0200)
commitdda52ddca3e375d949a669177d6f5063cdcf713e
tree00c980bc8e7c4a900475ffb49d1c87a270885135
parent39371574f8efa8474fde29bdeb3b54c8242b04aa
ARM: zynq: Turn on PL310 L2 cache prefetching

This patch was originally authored by John Linn on 22-Sep-2011 for
linux-xlnx.git, but got lost somehow. It turns on L2 cache prefetching
when XILINX_PREFETCH (formerly XILINX_L2_PREFETCH) is enabled.

The original patch also set the Auxiliary Control Register bit "Early
BRESP enable" (in addition to "Instruction prefetch enable" and "Data
prefetch enable"), but for Cortex-A9, this bit is now set automatically
by l2c310_enable().

Suggested-by: John Linn <john.linn@xilinx.com>
Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/common.c