search for: machine_real_restart

Displaying 3 results from an estimated 3 matches for "machine_real_restart".

2007 Sep 08
4
[PATCH] Unified shutdown code
...*unused) -{ - for ( ; ; ) - __asm__ __volatile__ ( "hlt" ); -} - -void machine_halt(void) -{ - watchdog_disable(); - console_start_sync(); - smp_call_function(__machine_halt, NULL, 1, 0); - __machine_halt(NULL); } #ifdef __i386__ @@ -197,32 +187,71 @@ static void machine_real_restart(const u #endif -void machine_restart(char *cmd) +/* + * generic teardown (i.e. kill watchdog, disable hvm, disable IO APIC, etc.) + * + * will teardown APs and leave in hlt loop + * will teardown BSP and reboot or halt + * + * TEARDOWN_TYPE_EARLY is used by __start_xen (in EARLY_FAIL()) before...
2008 Mar 18
3
[PATCH 0/3 - resend] kvmclock reboot
Avi, Hope this series is okay now. Thanks for the testing
2019 Mar 30
1
[PATCH 2/5] x86: Convert some slow-path static_cpu_has() callers to boot_cpu_has()
...(!cpu_has(c, X86_FEATURE_MWAIT) || boot_cpu_has_bug(X86_BUG_MONITOR)) return 0; return 1; diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 725624b6c0c0..d62ebbc5ec78 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -108,7 +108,7 @@ void __noreturn machine_real_restart(unsigned int type) write_cr3(real_mode_header->trampoline_pgd); /* Exiting long mode will fail if CR4.PCIDE is set. */ - if (static_cpu_has(X86_FEATURE_PCID)) + if (boot_cpu_has(X86_FEATURE_PCID)) cr4_clear_bits(X86_CR4_PCIDE); #endif diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86...