]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7547/2: cache-l2x0: add support for Aurora L2 cache ctrl
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 23 Oct 2012 10:17:28 +0000 (11:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 29 Oct 2012 10:00:45 +0000 (10:00 +0000)
commitaa60eaaa122ad62bfe6ccd9e55311c11f33edd71
tree91bc6b145fd14b3f349b25a88f9914fee772a2af
parentc3545236e8740ab556022f87685d18503c86e187
ARM: 7547/2: cache-l2x0: add support for Aurora L2 cache ctrl

Aurora Cache Controller was designed to be compatible with the ARM L2
Cache Controller. It comes with some difference or improvement such
as:
- no cache id part number available through hardware (need to get it
  by the DT).
- always write through mode available.
- two flavors of the controller outer cache and system cache (meaning
  maintenance operations on L1 are broadcasted to the L2 and L2
  performs the same operation).
- in outer cache mode, the cache maintenance operations are improved and
  can be done on a range inside a page and are not limited to a cache
  line.

Tested-and-Reviewed-by: Lior Amsalem <alior@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Yehuda Yitschak <yehuday@marvell.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/hardware/cache-l2x0.h
arch/arm/mm/cache-aurora-l2.h [new file with mode: 0644]
arch/arm/mm/cache-l2x0.c