[PATCH] ARM: dts: socfpga: enable the data and instruction prefetch for the l2 cache
dinguyen at opensource.altera.com
dinguyen at opensource.altera.com
Thu Jul 16 14:14:28 PDT 2015
From: Dinh Nguyen <dinguyen at opensource.altera.com>
Just in case the firmware did not enable data and instruction prefetch in
the L2 cache controller, we enable it in the kernel.
Signed-off-by: Dinh Nguyen <dinguyen at opensource.altera.com>
---
arch/arm/boot/dts/socfpga.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 80f924d..1e3c833 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -639,6 +639,8 @@
cache-level = <2>;
arm,tag-latency = <1 1 1>;
arm,data-latency = <2 1 1>;
+ prefetch-data = <1>;
+ prefetch-instr = <1>;
};
mmc: dwmmc0 at ff704000 {
--
2.4.5
More information about the linux-arm-kernel
mailing list