aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/kexec.h
AgeCommit message (Collapse)AuthorFilesLines
2013-01-29x86, kexec: Remove 1024G limitation for kexec buffer on 64bitYinghai Lu1-3/+3
Now 64bit kernel supports more than 1T ram and kexec tools could find buffer above 1T, remove that obsolete limitation. and use MAXMEM instead. Tested on system with more than 1024G ram. Signed-off-by: Yinghai Lu <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Cc: Eric W. Biederman <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
2012-12-11x86/kexec: crash_vmclear_local_vmcss needs __rcuZhang Yanfei1-1/+2
This removes the sparse warning: arch/x86/kernel/crash.c:49:32: sparse: incompatible types in comparison expression (different address spaces) Reported-by: kbuild test robot <[email protected]> Signed-off-by: Zhang Yanfei <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
2012-12-06x86/kexec: VMCLEAR VMCSs loaded on all cpus if necessaryZhang Yanfei1-0/+2
This patch provides a way to VMCLEAR VMCSs related to guests on all cpus before executing the VMXOFF when doing kdump. This is used to ensure the VMCSs in the vmcore updated and non-corrupted. Signed-off-by: Zhang Yanfei <[email protected]> Acked-by: Eric W. Biederman <[email protected]> Signed-off-by: Gleb Natapov <[email protected]>
2009-03-10x86, kexec: x86_64: add kexec jump support for x86_64Huang Ying1-6/+7
Impact: New major feature This patch add kexec jump support for x86_64. More information about kexec jump can be found in corresponding x86_32 support patch. Signed-off-by: Huang Ying <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
2009-02-03x86: kexec: Use one page table in x86_64 machine_kexecHuang Ying1-18/+9
Impact: reduce kernel BSS size by 7 pages, improve code readability Two page tables are used in current x86_64 kexec implementation. One is used to jump from kernel virtual address to identity map address, the other is used to map all physical memory. In fact, on x86_64, there is no conflict between kernel virtual address space and physical memory space, so just one page table is sufficient. The page table pages used to map control page are dynamically allocated to save memory if kexec image is not loaded. ASM code used to map control page is replaced by C code too. Signed-off-by: Huang Ying <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
2008-10-31kexec/i386: setup kexec page table in CHuang Ying1-15/+2
Impact: change the kexec bootstrap code implementation from assembly to C This patch transforms the kexec page tables setup code from assembler code to C code in machine_kexec_prepare. This improves readability and reduces code line number. Signed-off-by: Huang Ying <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2008-10-31kexec/i386: allocate page table pages dynamicallyHuang Ying1-0/+14
Impact: save .text size when kexec is built in but not loaded This patch adds an architecture specific struct kimage_arch into struct kimage. The pointers to page table pages used by kexec are added to struct kimage_arch. The page tables pages are dynamically allocated in machine_kexec_prepare instead of statically from BSS segment. This will save up to 20k memory when kexec image is not loaded. Signed-off-by: Huang Ying <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2008-10-22x86: Fix ASM_X86__ header guardsH. Peter Anvin1-3/+3
Change header guards named "ASM_X86__*" to "_ASM_X86_*" since: a. the double underscore is ugly and pointless. b. no leading underscore violates namespace constraints. Signed-off-by: H. Peter Anvin <[email protected]>
2008-10-22x86, um: ... and asm-x86 moveAl Viro1-0/+175
Signed-off-by: Al Viro <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>