linux/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 MIPS: Hook up Cavium OCTEON in arch/mips. 2009-01-11 09:57:22 +00:00
c-octeon.c MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon. 2009-01-11 09:57:21 +00:00
c-r3k.c [MIPS] Fix WARNING: at kernel/smp.c:290 2008-09-05 21:24:11 +01:00
c-r4k.c MIPS: Print the actual detected I-cache associativity on bootup. 2009-05-14 13:50:25 +01:00
c-tx39.c [MIPS] TX39xx: Add missing local_flush_icache_range initialization 2008-09-05 21:24:12 +01:00
cache.c MIPS: CVE-2009-0029: Enable syscall wrappers. 2009-02-27 17:56:35 +00:00
cerr-sb1.c [MIPS] Sibyte: Replace use of removed IO_SPACE_BASE with IOADDR. 2007-11-15 23:21:49 +00:00
cex-gen.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cex-oct.S MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon. 2009-01-11 09:57:21 +00:00
cex-sb1.S [MIPS] Fix loads of section missmatches 2008-03-12 14:14:41 +00:00
dma-default.c MIPS: Synchronize dma_map_page and dma_map_single 2009-05-14 13:50:26 +01:00
extable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c MIPS: Port "mm: invoke oom-killer from page fault" from UML / x86 2009-01-30 21:32:57 +00:00
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 MIPS: Use BUG_ON() where possible. 2009-03-30 14:49:44 +02:00
page.c MIPS: NEC VR5500 processor support fixup 2009-03-11 21:11:07 +01:00
pgtable-32.c [MIPS] Add external declaration of pagetable_init() to pgalloc.h 2007-02-18 21:31:36 +00:00
pgtable-64.c [MIPS] Add external declaration of pagetable_init() to pgalloc.h 2007-02-18 21:31:36 +00:00
sc-ip22.c MIPS: IP22: Make indy_sc_ops variable static 2008-11-20 19:42:33 +00:00
sc-mips.c [MIPS] Fix loads of section missmatches 2008-03-12 14:14:41 +00:00
sc-r5k.c [MIPS] Fix loads of section missmatches 2008-03-12 14:14:41 +00:00
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 [MIPS] Stacktrace build-fix and improvement 2006-10-01 23:16:58 +01:00
tlbex.c MIPS: Alchemy: MIPS hazard workarounds are not required. 2009-03-30 14:49:46 +02:00
uasm.c [MIPS] Make two functions static 2008-07-15 18:44:29 +01:00
uasm.h [MIPS] Make two functions static 2008-07-15 18:44:29 +01:00