Lines Matching +full:ipmi +full:- +full:ipmb

1 // SPDX-License-Identifier: GPL-2.0+
5 * MontaVista IPMI Poweroff extension to sys_reboot
15 #define pr_fmt(fmt) "IPMI poweroff: " fmt
24 #include <linux/ipmi.h>
31 * conveniently matches the IPMI chassis control values. */
35 /* the IPMI data command */
38 /* Which interface to use, -1 means the first we see. */
39 static int ifnum_to_use = -1;
66 "timer. Setting to -1 defaults to the first registered "
72 " Set to non-zero to enable power cycle instead of power"
85 * thing is single-threaded, anyway, so multiple messages are not
107 struct completion *comp = recv_msg->user_msg_data; in receive_handler()
186 * Configure IPMI address for local access in pps_poweroff_atca()
202 pr_err("Unable to send ATCA, IPMI error 0x%x\n", rv); in pps_poweroff_atca()
215 * Configure IPMI address for local access in ipmi_atca_detect()
250 * Configure IPMI address for local access in ipmi_poweroff_atca()
279 pr_err("Unable to send ATCA powerdown message, IPMI error 0x%x\n", in ipmi_poweroff_atca()
325 * Configure IPMI address for local access in ipmi_poweroff_cpi1()
334 * Get IPMI ipmb address in ipmi_poweroff_cpi1()
364 * Setup IPMB address target instead of local target in ipmi_poweroff_cpi1()
416 * Dell systems with IPMI < 1.5 don't set the chassis capability bit
435 * HP PA-RISC servers rp3410/rp3440, the C8000 workstation and the rx2600 and
436 * zx6000 machines support IPMI vers 1 and don't set the chassis capability bit
472 * Configure IPMI address for local access in ipmi_poweroff_chassis()
479 pr_info("Powering %s via IPMI chassis control command\n", in ipmi_poweroff_chassis()
499 pr_err("Unable to send chassis power cycle message, IPMI error 0x%x\n", in ipmi_poweroff_chassis()
505 pr_err("Unable to send chassis power down message, IPMI error 0x%x\n", in ipmi_poweroff_chassis()
546 /* Use run-to-completion mode, since interrupts may be off. */ in ipmi_poweroff_function()
550 /* Wait for an IPMI interface to be installed, the first one installed
568 pr_err("could not create IPMI user, error %d\n", rv); in ipmi_po_new_smi()
590 pr_err("Unable to send IPMI get device id info, IPMI error 0x%x\n", in ipmi_po_new_smi()
596 pr_err("(chassis) IPMI get device id info too short, was %d bytes, needed %d bytes\n", in ipmi_po_new_smi()
663 { .procname = "ipmi",
686 pr_info("Copyright (C) 2004 MontaVista Software - IPMI Powerdown via sys_reboot\n"); in ipmi_poweroff_init()
695 rv = -ENOMEM; in ipmi_poweroff_init()
728 pr_err("could not cleanup the IPMI user: 0x%x\n", rv); in ipmi_poweroff_cleanup()
738 MODULE_DESCRIPTION("IPMI Poweroff extension to sys_reboot");