linux/arch
Heiko Carstens e9b9a04796 [PATCH] s390: memory detection > 32GB
The kernel takes a very long time to boot if the memory size is bigger then
32767 MB.  The memory size is contained in a structure created by an sclp
call.  The kernel accesses the field with a LH instrution which performs a
sign extension of a 16 bit word.  In the case of a memory size with bit 2^15
set this results in a very large value and the memory detection just loops for
a long time.  In addition if more then 64 GB are used on a 64 bit system the
memory size is read from an incorrect storage location.

Use zero-extention to read the 16 bit memory size and the correct offset to
read the 4 byte memory size on 64 bit.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-21 19:07:34 -07:00
..
alpha [PATCH] alpha/osf_sys: use helper functions to convert between tv and jiffies 2005-05-17 07:59:21 -07:00
arm [PATCH] Avoiding mmap fragmentation 2005-06-21 18:46:16 -07:00
arm26 [PATCH] Driver Core: arch: update device attribute callbacks 2005-06-20 15:15:32 -07:00
cris [PATCH] convert that currently tests _NSIG directly to use valid_signal() 2005-05-01 08:59:14 -07:00
frv [PATCH] mm: remove PG_highmem 2005-06-21 18:46:17 -07:00
h8300 [PATCH] h8300 sleep problem 2005-05-31 14:54:17 -07:00
i386 [PATCH] kbuild: display compile version 2005-06-21 18:46:22 -07:00
ia64 [PATCH] ioc4: CONFIG split 2005-06-21 18:46:32 -07:00
m32r [PATCH] m32r: Update defconfig files 2005-06-21 19:07:31 -07:00
m68k [PATCH] M68k: Mark Sun-3 NCR5380 SCSI broken 2005-06-12 20:43:22 -07:00
m68knommu [PATCH] m68knommu: fix scheduling and race problems in idle loop 2005-06-03 08:16:17 -07:00
mips [PATCH] mm: remove PG_highmem 2005-06-21 18:46:17 -07:00
parisc [PATCH] Driver Core: arch: update device attribute callbacks 2005-06-20 15:15:32 -07:00
ppc [PATCH] ppc32: Kill embedded system.map, use kallsyms 2005-06-21 18:46:26 -07:00
ppc64 [PATCH] ppc64: set/clear SMT capable bit at boot 2005-06-21 18:46:31 -07:00
s390 [PATCH] s390: memory detection > 32GB 2005-06-21 19:07:34 -07:00
sh [PATCH] Avoiding mmap fragmentation 2005-06-21 18:46:16 -07:00
sh64 [PATCH] Hugepage consolidation 2005-06-21 18:46:15 -07:00
sparc [PATCH] mm: remove PG_highmem 2005-06-21 18:46:17 -07:00
sparc64 [PATCH] Avoiding mmap fragmentation 2005-06-21 18:46:16 -07:00
um [PATCH] uml: fix linkage of tt mode against NPTL 2005-06-21 19:07:32 -07:00
v850 [PATCH] convert that currently tests _NSIG directly to use valid_signal() 2005-05-01 08:59:14 -07:00
x86_64 [PATCH] Avoiding mmap fragmentation 2005-06-21 18:46:16 -07:00