linux_old1/arch/arm/include/asm/hardware
Srinivas Kandagatla 43c734be55 ARM: 7014/1: cache-l2x0: Fix L2 Cache size calculation.
This patch fixes L2 Cache size calculations for L2C-210, L2C-310 and
PL310, by changing the L2X0_AUX_CTRL_WAY_SIZE_MASK from 2 bits to 3
bits.

The Auxiliary Control Register for L2C-210, L2C-310 and PL310 has 3bits
[19:17] for Way size, however the existing code only uses 2 bits to
get this value. This results in incorrect cachesize calculations.

It also results in performing operations on the whole cache when we
erroneously decide that the range is big enough (due to l2x0_size being
too small) and also prints incorrect cachesize.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: stable@kernel.org
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-08-15 11:58:59 +01:00
..
arm_timer.h ARM: Improve documentation in arm_timer.h 2010-04-29 18:04:15 +01:00
cache-l2x0.h ARM: 7014/1: cache-l2x0: Fix L2 Cache size calculation. 2011-08-15 11:58:59 +01:00
cache-tauros2.h ARM: Add Tauros2 L2 cache controller support 2009-11-27 15:43:21 -05:00
clps7111.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
coresight.h ARM: 6293/1: coresight: cosmetic fixes 2010-10-04 20:20:44 +01:00
cs89712.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
debug-8250.S [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
debug-pl01x.S [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
dec21285.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
entry-macro-gic.S ARM: GIC: private a standard get_irqnr_preamble assembler macro 2010-12-14 19:21:47 +00:00
entry-macro-iomd.S [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
ep7211.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
ep7212.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
gic.h ARM: GIC: move gic_chip_data structure declaration to header 2011-07-20 23:28:22 +09:00
icst.h Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
ioc.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
iomd.h [ARM] clps7500: remove support 2008-11-27 12:38:11 +00:00
iop3xx-adma.h iop-adma: redundant/wrong tests in iop_*_count()? 2010-02-28 22:22:12 -07:00
iop3xx-gpio.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
iop3xx.h iop: enable generic time 2009-10-29 11:46:55 -07:00
iop_adma.h Merge branch 'dmaengine' into async-tx-next 2009-09-08 17:55:21 -07:00
it8152.h PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
linkup-l1110.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
locomo.h [ARM] locomo: allow cascaded IRQ base to be specified by platforms 2010-03-02 07:40:50 +08:00
memc.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
pci_v3.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
pl080.h Fix common misspellings 2011-03-31 11:26:23 -03:00
pl330.h ARM: 6132/1: PL330: Add common core driver 2010-05-15 15:03:50 +01:00
sa1111.h [ARM] sa1111: allow cascaded IRQs to be used by platforms 2010-03-02 07:40:51 +08:00
scoop.h ARM: scoop: drop pcmcia_init callback 2011-07-11 14:43:32 +08:00
sp810.h ARM: 6722/1: SPEAr: sp810: switch to slow mode before reset 2011-02-21 19:29:24 +00:00
ssp.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
timer-sp.h clockevents: ARM sp804: allow clockevent name to be specified 2011-05-23 18:04:53 +01:00
uengine.h [ARM] move include/asm-arm to arch/arm/include/asm 2008-08-02 21:32:35 +01:00
vic.h [ARM] VIC: Add power management device 2009-05-07 11:04:57 +01:00