[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] [IA64] Kdump: Use the machine address for the boot params region



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1190925442 21600
# Node ID 2b2bd05413fd53e580daf566e6ad6fe56fbdcc74
# Parent  610fcb6013ef9b32e79e0de9534aa0c7df3d1ecf
[IA64] Kdump: Use the machine address for the boot params region

The boot params region needs to be placed using the machine
address not the physical address. This is because it represents
an area of memory that is reserved in the hypervisor and it is
critical that the same area of machine memory is not trampled
over during kexec.

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
 arch/ia64/kernel/setup.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 610fcb6013ef -r 2b2bd05413fd arch/ia64/kernel/setup.c
--- a/arch/ia64/kernel/setup.c  Thu Sep 27 14:34:42 2007 -0600
+++ b/arch/ia64/kernel/setup.c  Thu Sep 27 14:37:22 2007 -0600
@@ -345,7 +345,7 @@ reserve_memory (void)
                efi_memmap_res.start = ia64_boot_param->efi_memmap;
                 efi_memmap_res.end = efi_memmap_res.start +
                         ia64_boot_param->efi_memmap_size;
-                boot_param_res.start = __pa(ia64_boot_param);
+                boot_param_res.start = kexec_virt_to_phys(ia64_boot_param);
                 boot_param_res.end = boot_param_res.start +
                         sizeof(*ia64_boot_param);
        }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.