Home
last modified time | relevance | path

Searched full:ipmi (Results 1 – 25 of 80) sorted by relevance

1234

/Linux-v5.10/drivers/char/ipmi/
DKconfig3 # IPMI device configuration
7 tristate 'IPMI top-level message handler'
11 This enables the central IPMI message handler, required for IPMI
14 IPMI is a standard for managing sensors (temperature,
17 See <file:Documentation/driver-api/ipmi.rst> for more details on the driver.
33 When a panic occurs, this will cause the IPMI message handler to,
34 by default, generate an IPMI event describing the panic to each
44 When a panic occurs, this will cause the IPMI message handler to,
45 by default, generate IPMI OEM type f0 events holding the IPMB
57 tristate 'Device interface for IPMI'
[all …]
Dipmi_powernv.c3 * PowerNV OPAL IPMI driver
8 #define pr_fmt(fmt) "ipmi-powernv: " fmt
155 pr_warn("unexpected IPMI message size %lld\n", size); in ipmi_powernv_recv()
161 pr_warn("unexpected IPMI message format (version %d)\n", in ipmi_powernv_recv()
213 struct ipmi_smi_powernv *ipmi; in ipmi_powernv_probe() local
223 ipmi = devm_kzalloc(dev, sizeof(*ipmi), GFP_KERNEL); in ipmi_powernv_probe()
224 if (!ipmi) in ipmi_powernv_probe()
227 spin_lock_init(&ipmi->msg_lock); in ipmi_powernv_probe()
229 rc = of_property_read_u32(dev->of_node, "ibm,ipmi-interface-id", in ipmi_powernv_probe()
235 ipmi->interface_id = prop; in ipmi_powernv_probe()
[all …]
Dipmi_poweroff.c5 * 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 */
190 * Configure IPMI address for local access in pps_poweroff_atca()
206 pr_err("Unable to send ATCA, IPMI error 0x%x\n", rv); in pps_poweroff_atca()
219 * Configure IPMI address for local access in ipmi_atca_detect()
254 * Configure IPMI address for local access in ipmi_poweroff_atca()
283 pr_err("Unable to send ATCA powerdown message, IPMI error 0x%x\n", in ipmi_poweroff_atca()
[all …]
Dipmi_plat_data.c4 * Add an IPMI platform device.
35 pr[pidx++] = PROPERTY_ENTRY_U8("ipmi-type", p->type); in ipmi_platform_add()
50 pr_err("Error allocating IPMI platform device %s.%d\n", in ipmi_platform_add()
61 * the IPMI platform code. in ipmi_platform_add()
71 r[0].name = "IPMI Address 1"; in ipmi_platform_add()
77 r[1].name = "IPMI Address 2"; in ipmi_platform_add()
85 r[2].name = "IPMI Address 3"; in ipmi_platform_add()
93 r[num_r].name = "IPMI IRQ"; in ipmi_platform_add()
Dipmi_dmi.c4 * allow autoloading of the IPMI drive based on SMBIOS entries.
7 #define pr_fmt(fmt) "%s" fmt, "ipmi:dmi: "
10 #include <linux/ipmi.h>
48 name = "dmi-ipmi-si"; in dmi_add_platform_ipmi()
52 name = "dmi-ipmi-ssif"; in dmi_add_platform_ipmi()
66 pr_err("Invalid IPMI type: %d\n", type); in dmi_add_platform_ipmi()
96 * prefer using ACPI so the ACPI code can use the IPMI namespace.
97 * This function allows an ACPI-specified IPMI device to look up the
144 pr_err("Base address is zero, assuming no IPMI interface\n"); in dmi_decode_ipmi()
Dipmi_si_platform.c5 * Handling for platform devices in IPMI (ACPI, OF, and things
156 rv = device_property_read_u8(&pdev->dev, "ipmi-type", &type); in platform_ipmi_probe()
174 dev_err(&pdev->dev, "ipmi-type property is invalid\n"); in platform_ipmi_probe()
217 { .type = "ipmi", .compatible = "ipmi-kcs",
219 { .type = "ipmi", .compatible = "ipmi-smic",
221 { .type = "ipmi", .compatible = "ipmi-bt",
344 "Could not find ACPI IPMI interface type\n"); in acpi_ipmi_probe()
362 dev_info(&pdev->dev, "unknown IPMI type %lld\n", tmp); in acpi_ipmi_probe()
454 { "dmi-ipmi-si", 0 },
455 { "hardcode-ipmi-si", 0 },
[all …]
Dipmi_watchdog.c5 * A watchdog timer based upon the IPMI interface.
14 #define pr_fmt(fmt) "IPMI Watchdog: " fmt
18 #include <linux/ipmi.h>
43 * that can reasonably support the IPMI NMI watchdog timeout at this
56 * The IPMI command/response information for the watchdog timer.
322 /* IPMI version of the BMC. */
376 /* This is an IPMI 1.5-only feature. */ in __ipmi_set_timeout()
380 * In ipmi 1.0, setting the timer stops the watchdog, we in __ipmi_set_timeout()
521 * is the only CPU and the only thing that will be going is these IPMI
591 pr_err("Unable to restore the IPMI watchdog's settings, giving up\n"); in __ipmi_heartbeat()
[all …]
Dipmi_si_hardcode.c61 MODULE_PARM_DESC(regsizes, "The size of the specific IPMI register in bytes."
64 " the 8-bit IPMI register has to be read from a larger"
68 " IPMI register, in bits. For instance, if the data"
69 " is read from a 32-bit word and the IPMI data is in"
113 ipmi_platform_add("hardcode-ipmi-si", i, &p); in ipmi_hardcode_init_one()
152 ipmi_remove_platform_device_by_name("hardcode-ipmi-si"); in ipmi_si_hardcode_exit()
Dipmi_si_hotmod.c5 * Handling for dynamically adding/removing IPMI devices through
12 #include <linux/ipmi.h>
21 " Documentation/driver-api/ipmi.rst in the kernel sources for the"
220 ipmi_platform_add("hotmod-ipmi-si", in hotmod_handler()
231 if (strcmp(pdev->name, "hotmod-ipmi-si") == 0) in hotmod_handler()
246 ipmi_remove_platform_device_by_name("hotmod-ipmi-si"); in ipmi_si_hotmod_exit()
Dipmi_devintf.c5 * Linux device interface for the IPMI message handler.
21 #include <linux/ipmi.h>
661 * Define some helper functions for copying IPMI data
795 MODULE_PARM_DESC(ipmi_major, "Sets the major number of the IPMI device. By"
818 pr_err("ipmi_devintf: Unable to create the ipmi class device link\n"); in ipmi_new_smi()
824 device_create(ipmi_class, device, dev, NULL, "ipmi%d", if_num); in ipmi_new_smi()
860 pr_info("ipmi device interface\n"); in init_ipmi_devintf()
862 ipmi_class = class_create(THIS_MODULE, "ipmi"); in init_ipmi_devintf()
864 pr_err("ipmi: can't register device class\n"); in init_ipmi_devintf()
871 pr_err("ipmi: can't get major %d\n", ipmi_major); in init_ipmi_devintf()
[all …]
Dkcs_bmc.h23 * BMC is waiting the response from the upper IPMI service.
49 /* IPMI 2.0 - Table 9-4, KCS Interface Status Codes */
58 /* IPMI 2.0 - 9.5, KCS Interface Registers
Dipmi_plat_data.h4 * Generic code to add IPMI platform devices.
7 #include <linux/ipmi.h>
/Linux-v5.10/drivers/acpi/
Dacpi_ipmi.c3 * acpi_ipmi.c - ACPI IPMI opregion
12 #include <linux/ipmi.h>
16 MODULE_DESCRIPTION("ACPI IPMI Opregion driver");
22 /* the IPMI timeout is 5s */
30 /* the IPMI request message list */
37 int ipmi_ifnum; /* IPMI interface number */
50 * NOTE: IPMI System Interface Selection
51 * There is no system interface specified by the IPMI operation
53 * handle set. IPMI messages passed from the ACPI codes are sent
54 * to this selected global IPMI system interface.
[all …]
/Linux-v5.10/Documentation/driver-api/
Dipmi.rst2 The Linux IPMI Driver
7 The Intelligent Platform Management Interface, or IPMI, is a
15 To use this, you need an interface to an IPMI controller in your
17 management software that can use the IPMI system.
19 This document describes how to use the IPMI driver for Linux. If you
20 are not familiar with IPMI itself, see the web site at
21 https://www.intel.com/design/servers/ipmi/index.htm. IPMI is a big
27 The Linux IPMI driver is modular, which means you have to pick several
29 these are available in the 'Character Devices' menu then the IPMI
32 No matter what, you must pick 'IPMI top-level message handler' to use
[all …]
Dipmb.rst19 sends IPMI requests to a device (usually a Satellite Management
24 refer to the IPMB and IPMI specifications.
36 This callback function handles the received IPMI requests.
/Linux-v5.10/Documentation/devicetree/bindings/ipmi/
Dipmi-smic.yaml4 $id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml#
7 title: IPMI device bindings
9 description: IPMI device bindings
17 - ipmi-kcs
18 - ipmi-smic
19 - ipmi-bt
23 - const: "ipmi"
57 compatible = "ipmi-smic";
58 device_type = "ipmi";
Daspeed,ast2400-ibt-bmc.txt1 * Aspeed BT (Block Transfer) IPMI interface
5 perform in-band IPMI communication with their host.
Dnpcm7xx-kcs-bmc.txt1 * Nuvoton NPCM7xx KCS (Keyboard Controller Style) IPMI interface
5 used to perform in-band IPMI communication with their host.
Daspeed-kcs-bmc.txt1 # Aspeed KCS (Keyboard Controller Style) IPMI interface
5 used to perform in-band IPMI communication with their host.
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-devices-platform-ipmi55 (RO) Lists the IPMI ‘logical device’ commands and functions
65 (RO) Displays the IPMI Command Specification Version.
88 Device ID Command' of the IPMI specification v2.0.
99 IPMI specification v2.0.
107 (RO) The device interface for IPMI "kcs", "smic", "bt" or
134 events (RO) Number of IPMI events received from
181 What: /sys/devices/platform/dmi-ipmi-ssif.*/type
189 What: /sys/devices/platform/dmi-ipmi-ssif.*/hosed
190 What: /sys/devices/platform/dmi-ipmi-ssif.*/alerts
191 What: /sys/devices/platform/dmi-ipmi-ssif.*/sent_messages
[all …]
/Linux-v5.10/include/linux/
Dipmi.h3 * ipmi.h
5 * MontaVista IPMI interface
17 #include <uapi/linux/ipmi.h>
27 * Opaque type for a IPMI message user. One of these is needed to
82 * the only IPMI routines that can be called are ipmi_request
110 /* Create a new user of the IPMI layer on the given interface number. */
117 * Destroy the given user of the IPMI layer. Note that after this
126 /* Get the IPMI version of the BMC we are talking to. */
162 * IPMI over LAN converter; since the LAN stuff does its own retries,
194 * Poll the IPMI interface for the user. This causes the IPMI code to
[all …]
Dipmi_smi.h5 * MontaVista IPMI system management interface
21 #include <linux/ipmi.h>
26 * This files describes the interface for IPMI system management interface
27 * drivers to bind into the IPMI message handler.
94 * ACPI device handle will be returned for the pnp_acpi IPMI device.
175 * Take a pointer to an IPMI response and extract device id information from
220 * Add a low-level interface to the IPMI driver. Note that if the
237 * Remove a low-level interface from the IPMI driver. This will
/Linux-v5.10/drivers/hwmon/
Dibmaem.c12 #include <linux/ipmi.h>
136 struct aem_ipmi_data ipmi; member
225 /* Data structures to talk to the IPMI layer */
254 /* Functions to talk to the IPMI layer */
256 /* Initialize IPMI address, message buffers and user data */
265 /* Initialize IPMI address */ in aem_init_ipmi_data()
275 /* Create IPMI messaging interface user */ in aem_init_ipmi_data()
280 "Unable to register user with IPMI interface %d\n", in aem_init_ipmi_data()
288 /* Send an IPMI command */
312 /* Dispatch IPMI messages to callers */
[all …]
/Linux-v5.10/include/uapi/linux/
Dipmi_msgdefs.h5 * MontaVista IPMI system management interface
18 /* Various definitions for IPMI messages used by almost everything in
19 the IPMI stack. */
21 /* NetFNs and commands used inside the IPMI stack. */
74 #define IPMI_NOT_IN_MY_STATE_ERR 0xd5 /* IPMI 2.0 */
Dipmi.h3 * ipmi.h
5 * MontaVista IPMI interface
22 * This file describes an interface to an IPMI driver. You have to
23 * have a fairly good understanding of IPMI to use this, so go read
27 * IPMI driver, and it allows multiple IPMI physical interfaces below
53 in section 6.5 of the IPMI 1.5 manual. */
74 IPMI 1.5 manual. */
87 * A conscious decision was made here to deviate slightly from the IPMI
129 * A raw IPMI message without any addressing. This covers both
149 * Various defines that are useful for IPMI applications.
[all …]

1234