original_kernel/arch/mips/mm
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
..
Makefile
c-octeon.c
c-r3k.c
c-r4k.c MIPS: Print the actual detected I-cache associativity on bootup. 2009-05-14 13:50:25 +01:00
c-tx39.c
cache.c
cerr-sb1.c
cex-gen.S
cex-oct.S
cex-sb1.S
dma-default.c MIPS: Synchronize dma_map_page and dma_map_single 2009-05-14 13:50:26 +01:00
extable.c
fault.c
highmem.c MIPS: Fix highmem. 2009-05-14 13:50:29 +01:00
init.c MIPS: Fix highmem. 2009-05-14 13:50:29 +01:00
ioremap.c
page.c
pgtable-32.c
pgtable-64.c
sc-ip22.c
sc-mips.c
sc-r5k.c
sc-rm7k.c MIPS: IP32: Two symbols can become static 2009-05-14 13:50:24 +01:00
tlb-r3k.c MIPS: 64-bit: Fix system lockup. 2009-05-20 18:53:14 +01:00
tlb-r4k.c MIPS: 64-bit: Fix system lockup. 2009-05-20 18:53:14 +01:00
tlb-r8k.c MIPS: 64-bit: Fix system lockup. 2009-05-20 18:53:14 +01:00
tlbex-fault.S
tlbex.c MIPS: Alchemy: MIPS hazard workarounds are not required. 2009-03-30 14:49:46 +02:00
uasm.c
uasm.h