android_kernel_xiaomi_sm8350/arch
Dave Hansen f014a556e7 [PATCH] fixup bogus e820 entry with mem=
This was reported because someone was getting oopses reading /proc/iomem.
It was tracked down to a zero-sized 'struct resource' entry which was
located right at 4GB.

You need two conditions to hit this bug: a BIOS E820_RAM area starting at
exactly the boundary where you specify mem= (to get a zero-sized entry),
and for the legacy_init_iomem_resources() loop to skip that resource (which
only happens at exactly 4G).

I think the killing zero-sized e820 entry is the easiest way to fix this.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:12 -08:00
..
alpha [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
arm [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
arm26 [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
cris [PATCH] mm: cris v32 mmu_context_lock 2005-10-29 21:40:42 -07:00
frv [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
h8300
i386 [PATCH] fixup bogus e820 entry with mem= 2005-10-30 17:37:12 -08:00
ia64 [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
m32r [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
m68k [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
m68knommu [PATCH] m68knommu: startup code for the Drangen Engine 68328 based board 2005-09-12 20:04:15 -07:00
mips [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
parisc [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
ppc [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
ppc64 [PATCH] memory hotplug: ppc64 specific hot-add functions 2005-10-29 21:40:45 -07:00
s390 [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
sh [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sh64 [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sparc [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
sparc64 [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
um [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
v850 [PATCH] V850: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
x86_64 [PATCH] FPU context corrupted after resume 2005-10-30 17:37:11 -08:00
xtensa [PATCH] gfp_t: dma-mapping (xtensa) 2005-10-28 08:16:49 -07:00