Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/drivers/char/ipmi/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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()
H A 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()
H A 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 …]
H A 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. */
381 /* This is an IPMI 1.5-only feature. */ in __ipmi_set_timeout()
385 * In ipmi 1.0, setting the timer stops the watchdog, we in __ipmi_set_timeout()
529 * is the only CPU and the only thing that will be going is these IPMI
600 pr_err("Unable to restore the IPMI watchdog's settings, giving up\n"); in __ipmi_heartbeat()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/
H A 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 …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/
H A Dopenhpi-linkfix.patch1 Fix ipmi plugin's test dir compilation
3 The ipmi plugin's test dir is not included
13 plugins/ipmi/Makefile.in | 4 +++-
16 diff --git a/plugins/ipmi/Makefile.in b/plugins/ipmi/Makefile.in
18 --- a/plugins/ipmi/Makefile.in
19 +++ b/plugins/ipmi/Makefile.in
22 AM_CPPFLAGS = -DG_LOG_DOMAIN=\"ipmi\" @OPENHPI_INCLUDES@
23 EXTRA_DIST = ipmi.sym ekeyfru.h
30 libipmi_la_SOURCES = ipmi.c \
H A Dopenhpi-fix-alignment-issue.patch7 diff --git a/plugins/ipmi/ipmi_inventory.c b/plugins/ipmi/ipmi_inventory.c
9 --- a/plugins/ipmi/ipmi_inventory.c
10 +++ b/plugins/ipmi/ipmi_inventory.c
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ipmi/
H A 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";
/OK3568_Linux_fs/buildroot/package/ipmitool/
H A DConfig.in6 IPMI-enabled devices.
16 Enables the IPMI v2.0 RMCP+ LAN interface typically used to
17 send IPMI commands to the BMC of a remote server.
20 using the legacy IPMI v1.5 RMCP LAN interface.
25 Enables the IPMI USB interface typically used to send inband
26 IPMI commands to the BMC of a server.
31 IPMI event daemon for sending events to syslog
38 IPMI shell interface
/OK3568_Linux_fs/kernel/include/linux/
H A 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 …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/openipmi/
H A Dopenipmi_2.0.32.bb1 SUMMARY = "IPMI (Intelligent Platform Management Interface) library and tools"
2 DESCRIPTION = "OpenIPMI is an effort to create a full-function IPMI system, \
3 to allow full access to all IPMI information on a server \
30 file://ipmi-init-fix-the-arguments.patch \
33 file://ipmi.service \
96 install -m 0755 ${S}/ipmi.init ${D}${sysconfdir}/init.d/ipmi
97 install -m 0644 ${S}/ipmi.sysconf ${D}${sysconfdir}/sysconfig/ipmi
107 install -m 0664 ${WORKDIR}/ipmi.service ${D}${systemd_unitdir}/system
108 sed -i -e "s,@LIBEXECDIR@,${libexecdir},g" ${D}${systemd_unitdir}/system/ipmi.service
113 INITSCRIPT_NAME = "ipmi"
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/ipmiutil/
H A Dipmiutil_3.1.5.bb1 SUMMARY = "ipmiutil is an easy-to-use set of IPMI server management utilities.\
4 DESCRIPTION = "The IPMI Management Utilities currently work with platforms that \
5 support the IPMI 1.5 or 2.0 specification. IPMI servers can be managed\
6 locally, or remotely via IPMI LAN, even when the OS or main CPU is not\
8 The ipmiutil utilities will use an IPMI Driver, either the Intel IPMI package \
9 (ipmidrvr, /dev/imb), MontaVista OpenIPMI (/dev/ipmi0), the valinux IPMI \
11 can also use direct user-space I/Os in Linux or FreeBSD if no IPMI driver \
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A 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 …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/openipmi/files/
H A Dipmi-init-fix-the-arguments.patch4 Subject: [PATCH] ipmi-init: fix the arguments
14 ipmi.init | 6 +++---
17 diff --git a/ipmi.init b/ipmi.init
19 --- a/ipmi.init
20 +++ b/ipmi.init
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A 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 …]
H A 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. */
72 #define IPMI_NOT_IN_MY_STATE_ERR 0xd5 /* IPMI 2.0 */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A 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 …]
H A 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. */
72 #define IPMI_NOT_IN_MY_STATE_ERR 0xd5 /* IPMI 2.0 */
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A 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 …]
H A 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 */

12345