]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 6411/1: vexpress: set RAM latencies to 1 cycle for PL310 on ct-ca9x4 tile
authorWill Deacon <will.deacon@arm.com>
Mon, 27 Sep 2010 13:55:15 +0000 (14:55 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 27 Sep 2010 13:57:36 +0000 (14:57 +0100)
commitda9b5bbc1a0ae532d561791a64ff6ec6dc2c4d2f
treeb7d5e28e4da11607c74a7ed99c3bd2f93473a8fd
parent3a4d6afda26310d0801b5a72bdfdbf7e08986876
ARM: 6411/1: vexpress: set RAM latencies to 1 cycle for PL310 on ct-ca9x4 tile

The PL310 on the ct-ca9x4 tile for the Versatile Express does not need
to add additional latency when accessing its cache RAMs. Unfortunately,
the boot monitor sets this up for an 8-cycle delay on reads and writes,
resulting in greatly reduced memory performance when the L2 cache is
enabled.

This patch sets the L2 RAM latencies to the correct value of 1 cycle
on the ct-ca9x4 tile before enabling the L2 cache.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-vexpress/ct-ca9x4.c