ARM: 6094/1: Extend cache-l2x0 to support the 16-way PL310
authorJason McMullan <jason.mcmullan@gmail.com>
Wed, 5 May 2010 17:59:37 +0000 (18:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 15 May 2010 14:03:50 +0000 (15:03 +0100)
commit64039be8226b9f6c80c704d94ac9891eee4a274c
tree60a675fdc5e5734a8f73b5c1081f4b966fea59e8
parenta2227120eead4ea7d2ea04d8ce0947f1dd23dedf
ARM: 6094/1: Extend cache-l2x0 to support the 16-way PL310

The L310 cache controller's interface is almost identical
to the L210. One major difference is that the PL310 can
have up to 16 ways.

This change uses the cache's part ID and the Associativity
bits in the AUX_CTRL register to determine the number of ways.

Also, this version prints out the CACHE_ID and AUX_CTRL registers.

Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Jason S. McMullan <jason.mcmullan@netronome.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/hardware/cache-l2x0.h
arch/arm/mm/cache-l2x0.c