]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: 64-bit: Detect virtual memory size
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 2 Feb 2010 16:52:20 +0000 (08:52 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 2 Feb 2010 18:56:23 +0000 (19:56 +0100)
commite45600cb70878fc349ecef9768c664d2c57b87f2
tree21c75672185153084a5ac8e38ca3938ca0cf4ac1
parent677bb8e277ce73cecd23d6bdfd323cbb0352cbab
MIPS: 64-bit: Detect virtual memory size

Linux kernel 2.6.32 and later allocate address space from the top of the
kernel virtual memory address space.

This patch implements virtual memory size detection for 64 bit MIPS CPUs
to avoid resulting crashes.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/935/
Reviewed-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu-features.h
arch/mips/include/asm/cpu-info.h
arch/mips/include/asm/pgtable-64.h
arch/mips/kernel/cpu-probe.c