original_kernel/arch/mips
Greg Ungerer a5e696e5d0 MIPS: 64-bit: Fix system lockup.
The address range size calculation inside local_flush_tlb_kernel_range()
is being truncated by a too small size variable holder on 64-bit systems.
The truncated size can result in an erroneous tlbsize check that means we
sit spinning inside a loop trying to flush a hige number of TLB entries.
This is for all intents and purposes a system hang. Fix by using an
appropriately sized valiable to hold the size.

[Ralf: Greg's original patch submission identified the issue and fixed one
instance in tlb-r4k.c but there there were several more.  For consistency
I also modified tlb-r3k.c even though that file is only used on 32-bit.]

Signed-off-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-05-20 18:53:14 +01:00
..
alchemy
basler/excite
bcm47xx
boot
cavium-octeon
cobalt
configs
dec
emma
fw
gt64120/wrppmc
include/asm
jazz
kernel
lasat
lemote/lm2e
lib
math-emu
mipssim
mm MIPS: 64-bit: Fix system lockup. 2009-05-20 18:53:14 +01:00
mti-malta
nxp
oprofile
pci
pmc-sierra
rb532
sgi-ip22 MIPS: IP22: Fix hang in power button interrupt handler 2009-05-20 18:53:13 +01:00
sgi-ip27
sgi-ip32 MIPS: IP32: Fix hang on shutdown in power button interrupt handler. 2009-05-20 18:53:13 +01:00
sibyte
sni
txx9
vr41xx
Kconfig
Kconfig.debug
Makefile MIPS: IP28: Change to build with -mr10k-cache-barrier=store 2009-05-20 18:53:13 +01:00