/linux-6.14.4/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_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_hardcode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 36 …e types are 'kcs', 'smic', and 'bt'. For example si_type=kcs,bt will set the first interface to k… 51 …fic IPMI register in bytes. This should generally be 1, 2, 4, or 8 for an 8-bit, 16-bit, 32-bit, o… 54 …e data read from the. IPMI register, in bits. For instance, if the data is read from a 32-bit wor… 73 t = match_string(si_to_str, -1, si_type_str); in ipmi_hardcode_init_one() 90 ipmi_platform_add("hardcode-ipmi-si", i, &p); in ipmi_hardcode_init_one() 129 ipmi_remove_platform_device_by_name("hardcode-ipmi-si"); in ipmi_si_hardcode_exit()
|
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 …"Add and remove interfaces. See Documentation/driver-api/ipmi.rst in the kernel sources for the g… 25 * add|remove,kcs|bt|smic,mem|i/o,<address>[,<opt1>[,<opt2>[,...]]] 48 { "bt", SI_BT }, 67 return -EINVAL; in parse_str() 80 return -EINVAL; in parse_str() 91 return -EINVAL; in check_hotmod_int_op() 96 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 /* 'invalid' to allow a firmware-specified interface to be disabled */ 74 const char *const si_to_str[] = { "invalid", "kcs", "smic", "bt", NULL }; 112 /* Number of IPMI events received from the hardware. */ 138 * IPMI [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> 22 #define DEVICE_NAME "ipmi-bt-host" 71 return readb(bt_bmc->base + reg); in bt_inb() 76 writeb(data, bt_bmc->base + reg); in bt_outb() 146 return container_of(file->private_data, struct bt_bmc, miscdev); in file_bt_bmc() 159 return -EBUSY; in bt_bmc_open() 163 * The BT (Block Transfer) interface means that entire messages are 169 * 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 \ 9 ipmi_si-$(CONFIG_HAS_IOPORT) += ipmi_si_port_io.o 10 ipmi_si-$(CONFIG_PCI) += ipmi_si_pci.o 11 ipmi_si-$(CONFIG_PARISC) += ipmi_si_parisc.o 13 obj-$(CONFIG_IPMI_HANDLER) += ipmi_msghandler.o 14 obj-$(CONFIG_IPMI_DEVICE_INTERFACE) += ipmi_devintf.o 15 obj-$(CONFIG_IPMI_SI) += ipmi_si.o 16 obj-$(CONFIG_IPMI_DMI_DECODE) += ipmi_dmi.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-6.14.4/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-6.14.4/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-6.14.4/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 "aspeed,ast2600-ibt-bmc" 13 - reg: physical address and size of the registers 14 - clocks: clock for the device 18 - interrupts: interrupt generated by the BT interface. without an [all …]
|
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 9 description: IPMI device bindings 12 - Corey Minyard <[email protected]> 17 - ipmi-kcs 18 - ipmi-smic 19 - ipmi-bt [all …]
|
/linux-6.14.4/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 <[email protected]> 21 pattern: '^isa@[0-9a-f]+$' 28 - hisilicon,hip06-lpc 29 - hisilicon,hip07-lpc 34 '#address-cells': 37 '#size-cells': [all …]
|
/linux-6.14.4/Documentation/ABI/testing/ |
D | sysfs-devices-platform-ipmi | 4 Contact: openipmi-[email protected] 12 Contact: openipmi-[email protected] 23 Contact: openipmi-[email protected] 33 Contact: openipmi-[email protected] 42 Contact: openipmi-[email protected] 53 Contact: openipmi-[email protected] 55 (RO) Lists the IPMI ‘logical device’ commands and functions 63 Contact: openipmi-[email protected] 65 (RO) Displays the IPMI Command Specification Version. 71 Contact: openipmi-[email protected] [all …]
|
/linux-6.14.4/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 -ETIMEDOUT; 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-6.14.4/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-6.14.4/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 73 {HPHW_NPROC,0x312,0x4,0x81,"Strider-50 (715S/50)"}, 74 {HPHW_NPROC,0x313,0x4,0x81,"Strider-33 (715S/33)"}, 75 {HPHW_NPROC,0x314,0x4,0x81,"Trailways-50 (715T/50)"}, 76 {HPHW_NPROC,0x315,0x4,0x81,"Trailways-33 (715T/33)"}, 87 {HPHW_NPROC,0x482,0x4,0x81,"WB-80 (E35)"}, 88 {HPHW_NPROC,0x483,0x4,0x81,"WB-96 (E45)"}, 89 {HPHW_NPROC,0x484,0x4,0x81,"UL Proc L-100 (811/D210,D310)"}, 90 {HPHW_NPROC,0x485,0x4,0x81,"UL Proc L-75 (801/D200)"}, [all …]
|
/linux-6.14.4/ |
D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-[email protected] 88 F: drivers/scsi/3w-* [all …]
|