/openbmc/dbus-sensors/src/mctp/ |
H A D | MCTPEndpoint.hpp | 23 * @brief Abstract and concrete classes representing MCTP concepts and 28 * @brief An exception type that may be thrown by implementations of the MCTP 31 * This exception should be the basis for all exceptions thrown out of the MCTP 49 * @brief An enum of the MCTP transports described in DSP0239 v1.10.0 Section 7. 60 * @brief Captures properties of MCTP interfaces. 62 * https://github.com/CodeConstruct/mctp/blob/v2.0/src/mctp.c#L668-L699 75 * @brief Captures the behaviour of an endpoint at the MCTP layer 97 * @return The MCTP endpoint ID of the endpoint in its network 105 * @param degraded The callback to execute when the MCTP layer indicates the 108 * @param available The callback to execute when the MCTP layer indicates [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/MCTP/ |
H A D | Endpoint.interface.yaml | 2 Describe an MCTP endpoint. It is an MCTP communication terminus. An MCTP 3 endpoint is a terminus or origin of MCTP packets or messages. The combined 4 functionality within a physical device that communicates using the MCTP 5 transport protocol and handles MCTP control commands. This includes 6 MCTP-capable management controllers and managed devices. 9 - name: NetworkId 12 A locally defined identifier to distinguish each independent MCTP 13 network within a platform. The network IDs are used by the MCTP stack 14 to index separate MCTP Networks. This along with EID is used by upper 17 - name: EID [all …]
|
/openbmc/docs/designs/ |
H A D | redfish-spdm-attestation.md | 14 [TPM](https://trustedcomputinggroup.org/resource/trusted-platform-module-tpm-summary/) 18 generic implementation for the SPDM D-Bus Daemon. 27 [libspdm](https://github.com/DMTF/libspdm) provides an open-source 30 adds support for doing SPDM-based device attestation over Redfish API. 40 - New D-Bus interfaces for Redfish resources `ComponentIntegrity` and 42 - BMCWeb changes for supporting the above Redfish resources. 43 - Design for SPDM Attestation D-Bus Daemon, demonstrating how to fetch the 44 attestation results over D-Bus. 48 ### Attestation related D-Bus Interfaces 51 D-Bus: [all …]
|
H A D | bmc-service-failure-debug-and-recovery.md | 16 - A class of failure exists where a BMC service has entered a failed state but 18 - A class of failure exists under which we can attempt debug data collection 21 This proposal argues for and proposes a software-driven debug data capture and 26 By necessity, BMCs are not self-contained systems. BMCs exist to service the 27 needs of both the host system by providing in-band platform services such as 29 out-of-band system management interfaces such as error reporting, platform 35 are usually a domain-specific Linux distributions with complex or highly coupled 40 recovery in the face of well-defined error conditions, but the need to mitigate 41 ill-defined error conditions or entering unintended software states remains. 60 As the state transformations to enter the ill-defined or unintended software [all …]
|
/openbmc/linux/net/mctp/ |
H A D | af_mctp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Management Component Transport Protocol (MCTP) 12 #include <linux/mctp.h> 16 #include <net/mctp.h> 21 #include <trace/events/mctp.h> 29 struct sock *sk = sock->sk; in mctp_release() 32 sock->sk = NULL; in mctp_release() 33 sk->sk_prot->close(sk, 0); in mctp_release() 42 return !addr->__smctp_pad0 && !addr->__smctp_pad1; in mctp_sockaddr_is_ok() 47 return !addr->__smctp_pad0[0] && in mctp_sockaddr_ext_is_ok() [all …]
|
/openbmc/linux/drivers/net/mctp/ |
H A D | mctp-serial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Management Component Transport Protocol (MCTP) - serial transport 5 * "DSP0253 - Management Component Transport Protocol (MCTP) Serial Transport 10 * This driver provides DSP0253-type MCTP-over-serial transport using a Linux 22 #include <linux/crc-ccitt.h> 24 #include <linux/mctp.h> 25 #include <net/mctp.h> 28 #define MCTP_SERIAL_MTU 68 /* base mtu (64) + mctp header */ 81 if (dev->txpos == dev->txlen) in next_chunk_len() 85 * single-byte chunk... in next_chunk_len() [all …]
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_attr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2014 QLogic Corporation 16 /* SYSFS attributes --------------------------------------------------------- */ 25 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_fw_dump() 28 if (!(ha->fw_dump_reading || ha->mctp_dump_reading || in qla2x00_sysfs_read_fw_dump() 29 ha->mpi_fw_dump_reading)) in qla2x00_sysfs_read_fw_dump() 32 mutex_lock(&ha->optrom_mutex); in qla2x00_sysfs_read_fw_dump() 34 if (off < ha->md_template_size) { in qla2x00_sysfs_read_fw_dump() 36 &off, ha->md_tmplt_hdr, ha->md_template_size); in qla2x00_sysfs_read_fw_dump() 38 off -= ha->md_template_size; in qla2x00_sysfs_read_fw_dump() [all …]
|
H A D | qla_def.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2003-2014 QLogic Corporation 15 #include <linux/dma-mapping.h> 234 /* 83XX: Macros defining 8200 AEN Error-levels */ 248 /* 83XX: Macros for defining IDC-Control bits */ 257 /* 83XX: Macros for defining class in DEV-Partition Info register */ 263 /* 83XX: Macros for IDC Lock-Recovery stages */ 265 * lock-recovery 267 #define IDC_LOCK_RECOVERY_STAGE2 0x2 /* Stage2: Perform lock-recovery */ 270 #define IDC_AUDIT_TIMESTAMP 0x0 /* IDC-AUDIT: Record timestamp of [all …]
|
H A D | qla_init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2014 QLogic Corporation 43 /* SRB Extensions ---------------------------------------------------------- */ 50 scsi_qla_host_t *vha = sp->vha; in qla2x00_sp_timeout() 53 iocb = &sp->u.iocb_cmd; in qla2x00_sp_timeout() 54 iocb->timeout(sp); in qla2x00_sp_timeout() 57 kref_put(&sp->cmd_kref, qla2x00_sp_release); in qla2x00_sp_timeout() 59 if (vha && qla2x00_isp_reg_stat(vha->hw)) { in qla2x00_sp_timeout() 68 struct srb_iocb *iocb = &sp->u.iocb_cmd; in qla2x00_sp_free() 70 del_timer(&iocb->timer); in qla2x00_sp_free() [all …]
|
H A D | qla_os.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2014 QLogic Corporation 15 #include <linux/blk-mq-pci.h> 65 "Enable/disable security. 0(Default) - Security disabled. 1 - Security enabled."); 71 "beginning. Default is 0 - class 2 not supported."); 83 "a PORT-DOWN status."); 90 "Default is 0 - no PLOGI. 1 - perform PLOGI."); 102 "vary by ISP type. Default is 1 - allocate memory."); 109 "\t\tDefault is 0 - no logging. 0x40000000 - Module Init & Probe.\n" 110 "\t\t0x20000000 - Mailbox Cmnds. 0x10000000 - Device Discovery.\n" [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-mchp-pci1xxxx.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2021 - 2022 Microchip Technology Inc. 15 #include <linux/i2c-smbus.h> 66 * delay establishes the MCTP T(IDLE_DELAY) period. 198 * CTRL_CUM_TIME_OUT_XK_TICKS defines SMBus Controller Cumulative Time-Out. 199 * SMBus Controller Cumulative Time-Out duration = 207 * TARGET_CUM_TIME_OUT_XK_TICKS defines SMBus Target Cumulative Time-Out duration. 208 * SMBus Target Cumulative Time-Out duration = TARGET_CUM_TIME_OUT_XK_TICKS[7:0] x 336 void __iomem *p = i2c->i2c_base + SMB_GPR_LOCK_REG; in set_sys_lock() 342 return -EPERM; in set_sys_lock() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_link.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 43 * struct rtnl_link_stats64 - The main device statistics structure. 93 * - 30.3.1.1.21 aMulticastFramesReceivedOK 103 * - 30.3.1.1.23 aInRangeLengthErrors 104 * - 30.3.1.1.24 aOutOfRangeLengthField 105 * - 30.3.1.1.25 aFrameTooLongErrors 111 * not correspond one-to-one with dropped packets. 113 * The recommended interpretation for high speed interfaces is - 131 * - 30.3.1.1.6 aFrameCheckSequenceErrors 138 * - 30.3.1.1.7 aAlignmentErrors [all …]
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | if_link.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 43 * struct rtnl_link_stats64 - The main device statistics structure. 93 * - 30.3.1.1.21 aMulticastFramesReceivedOK 103 * - 30.3.1.1.23 aInRangeLengthErrors 104 * - 30.3.1.1.24 aOutOfRangeLengthField 105 * - 30.3.1.1.25 aFrameTooLongErrors 111 * not correspond one-to-one with dropped packets. 113 * The recommended interpretation for high speed interfaces is - 131 * - 30.3.1.1.6 aFrameCheckSequenceErrors 138 * - 30.3.1.1.7 aAlignmentErrors [all …]
|
/openbmc/linux/include/acpi/ |
H A D | actbl2.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ 4 * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec) 6 * Copyright (C) 2000 - 2023, Intel Corp. 51 #define ACPI_SIG_RHCT "RHCT" /* RISC-V Hart Capabilities Table */ 59 * All tables must be byte-packed to match the ACPI specification, since 69 * essentially useless for dealing with packed data in on-disk formats or 78 * AEST - Arm Error Source Table 89 /* Common Subtable header - one per Node Structure (Subtable) */ 246 * AGDI - Arm Generic Diagnostic Dump and Reset Device Interface 266 * APMT - ARM Performance Monitoring Unit Table [all …]
|
/openbmc/qemu/hw/mem/ |
H A D | cxl_type3.c | 7 * COPYING file in the top-level directory. 9 * SPDX-License-Identifier: GPL-v2-only 14 #include "qemu/error-report.h" 15 #include "qapi/qapi-commands-cxl.h" 16 #include "hw/mem/memory-device.h" 17 #include "hw/mem/pc-dimm.h" 19 #include "hw/qdev-properties.h" 20 #include "hw/qdev-properties-system.h" 27 #include "qemu/guest-random.h" 133 * NV: Reserved - the non volatile from DSMAS matters in ct3_build_cdat_entries_for_mr() [all …]
|
/openbmc/linux/include/linux/ |
H A D | netdevice.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 * Corey Minyard <wf-rch!minyard@relay.EU.net> 54 #include <net/dropreason-core.h> 100 * - qdisc return codes 101 * - driver transmit return codes 102 * - errno values 106 * the driver transmit return codes though - when qdiscs are used, the actual 113 /* qdisc ->enqueue() return codes. */ 123 #define net_xmit_errno(e) ((e) != NET_XMIT_CN ? -ENOBUFS : 0) 143 * - successful transmission (rc == NETDEV_TX_OK) in dev_xmit_complete() [all …]
|
/openbmc/qemu/hw/cxl/ |
H A D | cxl-mailbox-utils.c | 7 * COPYING file in the top-level directory. 17 #include "hw/pci-bridge/cxl_upstream_port.h" 47 * payload from cmd->payload and operating upon it as necessary. It must then 48 * fill the output data into cmd->payload (overwriting what was there), 108 /* CCI Message Format CXL r3.1 Figure 7-19 */ 148 if (cmd->in < sizeof(*in)) { in cmd_tunnel_management_cmd() 157 /* Enough room for minimum sized message - no payload */ in cmd_tunnel_management_cmd() 158 if (in->size < sizeof(in->ccimessage)) { in cmd_tunnel_management_cmd() 161 /* Length of input payload should be in->size + a wrapping tunnel header */ in cmd_tunnel_management_cmd() 162 if (in->size != len_in - offsetof(typeof(*out), ccimessage)) { in cmd_tunnel_management_cmd() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2021 Intel Corporation. */ 15 * i40e_set_mac_type - Sets MAC type 25 if (hw->vendor_id == PCI_VENDOR_ID_INTEL) { in i40e_set_mac_type() 26 switch (hw->device_id) { in i40e_set_mac_type() 47 hw->mac.type = I40E_MAC_XL710; in i40e_set_mac_type() 56 hw->mac.type = I40E_MAC_X722; in i40e_set_mac_type() 59 hw->mac.type = I40E_MAC_GENERIC; in i40e_set_mac_type() 63 status = -ENODEV; in i40e_set_mac_type() 67 hw->mac.type, status); in i40e_set_mac_type() [all …]
|
/openbmc/linux/net/core/ |
H A D | skbuff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Florian La Roche <rzsfl@rz.uni-sb.de> 19 * Ray VanTassle : Fixed --skb->lock in free 75 #include <net/mctp.h> 136 * drop_reasons_register_subsys - register another drop reason subsystem 155 * drop_reasons_unregister_subsys - unregister a drop reason subsystem 174 * skb_panic - private function for out-of-line support 180 * Out-of-line support for skb_put() and skb_push(). 189 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic() 190 (unsigned long)skb->tail, (unsigned long)skb->end, in skb_panic() [all …]
|