Lines Matching +full:halt +full:- +full:regs

1 // SPDX-License-Identifier: GPL-2.0
52 * Reboot options and system auto-detection code provided by
53 * Dell Inc. so their systems "just work". :-)
63 pr_info("%s series board detected. Selecting %s-method for reboots.\n", in set_acpi_reboot()
64 d->ident, "ACPI"); in set_acpi_reboot()
77 pr_info("%s series board detected. Selecting %s-method for reboots.\n", in set_bios_reboot()
78 d->ident, "BIOS"); in set_bios_reboot()
91 pr_info("%s series board detected. Selecting EFI-method for reboot.\n", d->ident); in set_efi_reboot()
103 * that's what this book in front of me says -- it may only apply to in machine_real_restart()
108 * safe side. (Yes, CMOS_WRITE does outb_p's. - Paul G.) in machine_real_restart()
119 /* Jump to the identity-mapped low memory code */ in machine_real_restart()
122 "rm" (real_mode_header->machine_real_restart_asm), in machine_real_restart()
126 "m" (real_mode_header->machine_real_restart_asm), in machine_real_restart()
143 pr_info("%s series board detected. Selecting %s-method for reboots.\n", in set_pci_reboot()
144 d->ident, "PCI"); in set_pci_reboot()
153 pr_info("%s series board detected. Selecting %s-method for reboot.\n", in set_kbd_reboot()
154 d->ident, "KBD"); in set_kbd_reboot()
173 { /* Handle reboot issue on Acer TravelMate X514-51T */
175 .ident = "Acer TravelMate X514-51T",
178 DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate X514-51T"),
233 { /* Handle problems with rebooting on ASRock Q1900DC-ITX */
235 .ident = "ASRock Q1900DC-ITX",
238 DMI_MATCH(DMI_BOARD_NAME, "Q1900DC-ITX"),
462 /* Hewlett-Packard */
467 DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
477 DMI_MATCH(DMI_PRODUCT_NAME, "ZBOX-CI327NANO-GS-01"),
482 { /* Handle problems with rebooting on Sony VGN-Z540N */
484 .ident = "Sony VGN-Z540N",
487 DMI_MATCH(DMI_PRODUCT_NAME, "VGN-Z540N"),
533 /* RCU-protected callback to disable virtualization prior to reboot. */
557 * reboot. VMX blocks INIT if the CPU is post-VMXON, and SVM blocks INIT if
587 * use NMIs as IPIs to tell the other CPUs to disable VMX/SVM and halt. in emergency_reboot_disable_virtualization()
596 /* Disable VMX/SVM and halt on other CPUs. */ in emergency_reboot_disable_virtualization()
738 * not receive the per-cpu timer interrupt which may trigger in native_machine_shutdown()
798 .halt = native_machine_halt,
826 machine_ops.halt(); in machine_halt()
830 void machine_crash_shutdown(struct pt_regs *regs) in machine_crash_shutdown() argument
832 machine_ops.crash_shutdown(regs); in machine_crash_shutdown()
837 int crashing_cpu = -1;
846 static int crash_nmi_callback(unsigned int val, struct pt_regs *regs) in crash_nmi_callback() argument
862 shootdown_callback(cpu, regs); in crash_nmi_callback()
872 halt(); in crash_nmi_callback()
880 * nmi_shootdown_cpus - Stop other CPUs via NMI
898 * Avoid certain doom if a shootdown already occurred; re-registering in nmi_shootdown_cpus()
910 atomic_set(&waiting_for_crash_ipi, num_online_cpus() - 1); in nmi_shootdown_cpus()
929 msecs--; in nmi_shootdown_cpus()
933 * Leave the nmi callback set, shootdown is a one-time thing. Clearing in nmi_shootdown_cpus()
950 void run_crash_ipi_callback(struct pt_regs *regs) in run_crash_ipi_callback() argument
953 crash_nmi_callback(0, regs); in run_crash_ipi_callback()
957 void __noreturn nmi_panic_self_stop(struct pt_regs *regs) in nmi_panic_self_stop() argument
961 run_crash_ipi_callback(regs); in nmi_panic_self_stop()
974 void run_crash_ipi_callback(struct pt_regs *regs) in run_crash_ipi_callback() argument