]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] kexec fails on systems with blocks of uncached memory
authorJay Lan <jlan@sgi.com>
Mon, 22 Sep 2008 21:21:19 +0000 (14:21 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 22 Sep 2008 21:21:19 +0000 (14:21 -0700)
commita8c22d9ddac9c7dccada7014c0f674e79818d0cc
tree9e03bdfc3693e8db2d9785593c4ebd750202b12c
parent4ec686663e3525789974b00790eb4dd45bd6090d
[IA64] kexec fails on systems with blocks of uncached memory

Currently a memory segment in memory map with attribute of EFI_MEMORY_UC
is denoted as "System RAM" in /proc/iomem, while memory of attribute
(EFI_MEMORY_WB|EFI_MEMORY_UC) is also labeled the same.

The kexec utility then includes uncached memory as part of vmcore. The
kdump kernel MCA'ed when it tries to save the vmcore to a disk. A normal
"cached" access may cause MCAs.

This patch would label memory with attribute of EFI_MEMORY_UC only as
"Uncached RAM" so that kexec would know not to include it in the vmcore.
I will submit a separate kexec-tools patch to the kexec list.

Signed-off-by: Jay Lan <jlan@sgi.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/efi.c