/linux-5.10/drivers/char/ipmi/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # 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 [all …]
|
D | ipmi_si_hardcode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 37 " 'smic', and 'bt'. For example si_type=kcs,bt will set" 38 " the first interface to kcs and the second to bt"); 61 MODULE_PARM_DESC(regsizes, "The size of the specific IPMI register in bytes." 62 " This should generally be 1, 2, 4, or 8 for an 8-bit," 63 " 16-bit, 32-bit, or 64-bit register. Use this if you" 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" 70 " bit 8-15, then the shift would be 8"); [all …]
|
D | ipmi_bt_sm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * The state machine for an Open IPMI BT sub-driver under ipmi_si.c, part 35 * Typical "Get BT Capabilities" values are 2-3 retries, 5-10 seconds, 38 * Since the Open IPMI architecture is single-message oriented at this 39 * stage, the queue depth of BT is of no concern. 48 * multiple rows of the state table discussion in the IPMI spec. 64 BT_STATE_LONG_BUSY /* BT doesn't get hosed :-) */ 72 #define BT_STATE_CHANGE(X, Y) { bt->state = X; return Y; } 78 unsigned char seq; /* BT sequence number */ 93 #define BT_CLR_WR_PTR 0x01 /* See IPMI 1.5 table 11.6.4 */ [all …]
|
D | ipmi_si_hotmod.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * 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" 26 * add|remove,kcs|bt|smic,mem|i/o,<address>[,<opt1>[,<opt2>[,...]]] 49 { "bt", SI_BT }, 68 return -EINVAL; in parse_str() 81 return -EINVAL; in parse_str() 92 return -EINVAL; in check_hotmod_int_op() 97 return -EINVAL; in check_hotmod_int_op() [all …]
|
D | ipmi_si_platform.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Handling for platform devices in IPMI (ACPI, OF, and things 57 /* For GPE-type interrupts. */ 63 ipmi_si_irq_handler(io->irq, io->irq_handler_data); in ipmi_acpi_gpe() 69 if (!io->irq) in acpi_gpe_irq_cleanup() 73 acpi_remove_gpe_handler(NULL, io->irq, &ipmi_acpi_gpe); in acpi_gpe_irq_cleanup() 80 if (!io->irq) in acpi_gpe_irq_setup() 84 io->irq, in acpi_gpe_irq_setup() 89 dev_warn(io->dev, in acpi_gpe_irq_setup() 91 io->irq); in acpi_gpe_irq_setup() [all …]
|
D | ipmi_si_intf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * The interface to the IPMI driver for the system interfaces (KCS, SMIC, 6 * BT). 40 #include <linux/ipmi.h> 65 /* FIXME - add watchdog stuff. */ 68 /* Some BT-specific defines we need here. */ 73 static const char * const si_to_str[] = { "invalid", "kcs", "smic", "bt" }; 111 /* Number of IPMI events received from the hardware. */ 137 * IPMI 142 * Per-OEM handler, called from handle_flags(). Returns 1 [all …]
|
D | bt-bmc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2015-2016, IBM Corporation. 7 #include <linux/bt-bmc.h> 24 #define DEVICE_NAME "ipmi-bt-host" 83 rc = regmap_read(bt_bmc->map, bt_bmc->offset + reg, &val); in bt_inb() 93 rc = regmap_write(bt_bmc->map, bt_bmc->offset + reg, data); in bt_outb() 164 return container_of(file->private_data, struct bt_bmc, miscdev); in file_bt_bmc() 177 return -EBUSY; in bt_bmc_open() 181 * The BT (Block Transfer) interface means that entire messages are 187 * BT Message format : [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for the ipmi drivers. 6 ipmi_si-y := ipmi_si_intf.o ipmi_kcs_sm.o ipmi_smic_sm.o ipmi_bt_sm.o \ 10 ipmi_si-y += ipmi_si_pci.o 13 ipmi_si-y += ipmi_si_parisc.o 16 obj-$(CONFIG_IPMI_HANDLER) += ipmi_msghandler.o 17 obj-$(CONFIG_IPMI_DEVICE_INTERFACE) += ipmi_devintf.o 18 obj-$(CONFIG_IPMI_SI) += ipmi_si.o 19 obj-$(CONFIG_IPMI_DMI_DECODE) += ipmi_dmi.o 20 obj-$(CONFIG_IPMI_PLAT_DATA) += ipmi_plat_data.o [all …]
|
D | ipmi_si_sm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * State machine interface for low-level IPMI system management 8 * BT interface) and the actual low-level state machine. 61 * return -2 if the state machine is not idle, -1 if the size 70 * -1 if the buffer is too small, zero if no transaction is 78 * receiving an interrupt (for a interrupt-driven interface).
|
D | ipmb_dev_int.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * This was inspired by Brendan Higgins' ipmi-bmc-bt-i2c driver. 34 #define IPMB_MSG_PAYLOAD_LEN_MAX (MAX_MSG_LEN - IPMB_REQUEST_LEN_MIN - 1) 71 return container_of(file->private_data, struct ipmb_dev, miscdev); in to_ipmb_dev() 84 spin_lock_irq(&ipmb_dev->lock); in ipmb_read() 86 while (list_empty(&ipmb_dev->request_queue)) { in ipmb_read() 87 spin_unlock_irq(&ipmb_dev->lock); in ipmb_read() 89 if (file->f_flags & O_NONBLOCK) in ipmb_read() 90 return -EAGAIN; in ipmb_read() 92 ret = wait_event_interruptible(ipmb_dev->wait_queue, in ipmb_read() [all …]
|
/linux-5.10/Documentation/driver-api/ |
D | ipmi.rst | 2 The Linux IPMI Driver 7 The Intelligent Platform Management Interface, or IPMI, is a 12 standardized database for field-replaceable units (FRUs) and a watchdog 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 25 ------------- 27 The Linux IPMI driver is modular, which means you have to pick several [all …]
|
/linux-5.10/include/uapi/linux/ |
D | ipmi_msgdefs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 5 * 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. */ 58 /* The BT interface on high-end HP systems supports up to 255 bytes in 62 * on the results of the "Get BT Capabilities" command. */ 74 #define IPMI_NOT_IN_MY_STATE_ERR 0xd5 /* IPMI 2.0 */
|
/linux-5.10/Documentation/devicetree/bindings/ipmi/ |
D | aspeed,ast2400-ibt-bmc.txt | 1 * Aspeed BT (Block Transfer) IPMI interface 4 (BaseBoard Management Controllers) and the BT interface can be used to 5 perform in-band IPMI communication with their host. 9 - compatible : should be one of 10 "aspeed,ast2400-ibt-bmc" 11 "aspeed,ast2500-ibt-bmc" 12 - reg: physical address and size of the registers 16 - interrupts: interrupt generated by the BT interface. without an 22 compatible = "aspeed,ast2400-ibt-bmc";
|
D | ipmi-smic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IPMI device bindings 9 description: IPMI device bindings 12 - Corey Minyard <cminyard@mvista.com> 17 - ipmi-kcs 18 - ipmi-smic 19 - ipmi-bt [all …]
|
/linux-5.10/Documentation/devicetree/bindings/arm/hisilicon/ |
D | low-pin-count.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/hisilicon/low-pin-count.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wei Xu <xuwei5@hisilicon.com> 21 pattern: '^isa@[0-9a-f]+$' 28 - hisilicon,hip06-lpc 29 - hisilicon,hip07-lpc 34 '#address-cells': 37 '#size-cells': [all …]
|
/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-devices-platform-ipmi | 4 Contact: openipmi-developer@lists.sourceforge.net 12 Contact: openipmi-developer@lists.sourceforge.net 23 Contact: openipmi-developer@lists.sourceforge.net 33 Contact: openipmi-developer@lists.sourceforge.net 42 Contact: openipmi-developer@lists.sourceforge.net 53 Contact: openipmi-developer@lists.sourceforge.net 55 (RO) Lists the IPMI ‘logical device’ commands and functions 63 Contact: openipmi-developer@lists.sourceforge.net 65 (RO) Displays the IPMI Command Specification Version. 71 Contact: openipmi-developer@lists.sourceforge.net [all …]
|
/linux-5.10/drivers/bus/ |
D | hisi_lpc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 22 #define DRV_NAME "hisi-lpc" 27 * such as BT. 84 return (status & LPC_REG_OP_STATUS_FINISHED) ? 0 : -EIO; in wait_lpc_idle() 86 } while (--waitcnt); in wait_lpc_idle() 88 return -ETIME; in wait_lpc_idle() 92 * hisi_lpc_target_in - trigger a series of LPC cycles for read operation 99 * Returns 0 on success, non-zero on fail. 110 if (!buf || !opcnt || !para || !para->csize || !lpcdev) in hisi_lpc_target_in() 111 return -EINVAL; in hisi_lpc_target_in() [all …]
|
/linux-5.10/arch/arm64/boot/dts/hisilicon/ |
D | hip06.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "hisilicon,hip06-d03"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "arm,psci-0.2"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { [all …]
|
D | hip07.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 compatible = "hisilicon,hip07-d05"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "arm,psci-0.2"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 cpu-map { [all …]
|
/linux-5.10/arch/parisc/kernel/ |
D | hardware.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Based on the document "PA-RISC 1.1 I/O Firmware Architecture 76 {HPHW_NPROC,0x312,0x4,0x81,"Strider-50 (715S/50)"}, 77 {HPHW_NPROC,0x313,0x4,0x81,"Strider-33 (715S/33)"}, 78 {HPHW_NPROC,0x314,0x4,0x81,"Trailways-50 (715T/50)"}, 79 {HPHW_NPROC,0x315,0x4,0x81,"Trailways-33 (715T/33)"}, 90 {HPHW_NPROC,0x482,0x4,0x81,"WB-80 (E35)"}, 91 {HPHW_NPROC,0x483,0x4,0x81,"WB-96 (E45)"}, 92 {HPHW_NPROC,0x484,0x4,0x81,"UL Proc L-100 (811/D210,D310)"}, 93 {HPHW_NPROC,0x485,0x4,0x81,"UL Proc L-75 (801/D200)"}, [all …]
|