kernel_optimize_test/arch/x86/kernel
Glauber Costa 1e977aa12d x86: KVM guest: disable clock before rebooting.
This patch writes 0 (actually, what really matters is that the
LSB is cleared) to the system time msr before shutting down
the machine for kexec.

Without it, we can have a random memory location being written
when the guest comes back

It overrides the functions shutdown, used in the path of kernel_kexec() (sys.c)
and crash_shutdown, used in the path of crash_kexec() (kexec.c)

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-04-27 12:00:31 +03:00
..
acpi
cpu
.gitignore
alternative.c
aperture_64.c
apic_32.c
apic_64.c
apm_32.c
asm-offsets_32.c
asm-offsets_64.c
asm-offsets.c
audit_64.c
bootflag.c
bugs_64.c
cpuid.c
crash_dump_32.c
crash_dump_64.c
crash.c x86: allow machine_crash_shutdown to be replaced 2008-04-27 12:00:29 +03:00
doublefault_32.c
ds.c
e820_32.c
e820_64.c
early_printk.c
early-quirks.c
efi_32.c
efi_64.c
efi_stub_32.S
efi_stub_64.S
efi.c
entry_32.S
entry_64.S
genapic_64.c
genapic_flat_64.c
genx2apic_uv_x.c
geode_32.c
head32.c
head64.c
head_32.S
head_64.S
hpet.c
i386_ksyms_32.c
i387.c
i8237.c
i8253.c
i8259_32.c
i8259_64.c
init_task.c
io_apic_32.c
io_apic_64.c
io_delay.c
ioport.c
ipi.c
irq_32.c
irq_64.c
k8.c
kdebugfs.c
kgdb.c
kprobes.c
kvm.c x86: KVM guest: hypercall batching 2008-04-27 12:00:28 +03:00
kvmclock.c x86: KVM guest: disable clock before rebooting. 2008-04-27 12:00:31 +03:00
ldt.c
machine_kexec_32.c
machine_kexec_64.c
Makefile
mca_32.c
mfgpt_32.c
microcode.c
module_32.c
module_64.c
mpparse.c
msr.c
nmi_32.c
nmi_64.c
numaq_32.c
paravirt_patch_32.c
paravirt_patch_64.c
paravirt.c
pci-calgary_64.c
pci-dma.c
pci-gart_64.c
pci-nommu.c
pci-swiotlb_64.c
pcspeaker.c
pmtimer_64.c
process_32.c
process_64.c
process.c
ptrace.c
quirks.c
reboot_fixups_32.c
reboot.c x86: make native_machine_shutdown non-static 2008-04-27 12:00:30 +03:00
relocate_kernel_32.S
relocate_kernel_64.S
rtc.c
scx200_32.c
setup64.c
setup_32.c
setup_64.c
setup.c
sigframe.h
signal_32.c
signal_64.c
smp.c
smpboot.c
smpcommon_32.c
smpcommon.c
srat_32.c
stacktrace.c
step.c
summit_32.c
sys_i386_32.c
sys_x86_64.c
syscall_64.c
syscall_table_32.S
tce_64.c
test_nx.c
test_rodata.c
time_32.c
time_64.c
tlb_32.c
tlb_64.c
tls.c
tls.h
topology.c
trampoline_32.S
trampoline_64.S
trampoline.c
traps_32.c
traps_64.c
tsc_32.c
tsc_64.c
tsc_sync.c
verify_cpu_64.S
vm86_32.c
vmi_32.c
vmiclock_32.c
vmlinux_32.lds.S
vmlinux_64.lds.S
vmlinux.lds.S
vsmp_64.c
vsyscall_64.c
x8664_ksyms_64.c