Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-6.6/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 */
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()
[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
154 rv = device_property_read_u8(&pdev->dev, "ipmi-type", &type); in platform_ipmi_probe()
172 dev_err(&pdev->dev, "ipmi-type property is invalid\n"); in platform_ipmi_probe()
215 { .type = "ipmi", .compatible = "ipmi-kcs",
217 { .type = "ipmi", .compatible = "ipmi-smic",
219 { .type = "ipmi", .compatible = "ipmi-bt",
336 dev_err(dev, "Could not find ACPI IPMI interface type\n"); in acpi_ipmi_probe()
353 dev_info(dev, "unknown IPMI type %lld\n", tmp); in acpi_ipmi_probe()
441 { "dmi-ipmi-si", 0 },
442 { "hardcode-ipmi-si", 0 },
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/ipmi/
Dipmi-smic.yaml4 $id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml#
7 title: IPMI device
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";
Dipmi-ipmb.yaml4 $id: http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml#
7 title: IPMI IPMB device
9 description: IPMI IPMB device bindings
17 - ipmi-ipmb
21 - const: ipmi
59 ipmi-ipmb@40 {
60 compatible = "ipmi-ipmb";
61 device_type = "ipmi";
/kernel/linux/linux-5.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";
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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
87 * the only IPMI routines that can be called are ipmi_request
115 /* Create a new user of the IPMI layer on the given interface number. */
122 * Destroy the given user of the IPMI layer. Note that after this
131 /* Get the IPMI version of the BMC we are talking to. */
167 * IPMI over LAN converter; since the LAN stuff does its own retries,
199 * Poll the IPMI interface for the user. This causes the IPMI code to
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 …]

1234567