Home
last modified time | relevance | path

Searched +full:mctp +full:- +full:handling (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/docs/designs/mctp/
H A Dmctp-userspace.md1 # OpenBMC platform communication channel: MCTP & PLDM in userspace
5 Please refer to the [MCTP Overview](mctp.md) document for general MCTP design
8 This document describes a userspace implementation of MCTP infrastructure,
9 allowing a straightforward mechanism of supporting MCTP messaging within an
14 The MCTP core specification just provides the packetisation, routing and
16 hardware binding of the MCTP transport.
18 For OpenBMC, we would introduce a MCTP daemon, which implements the transport
20 provides a socket-based interface for other processes to send and receive
21 complete MCTP messages. This daemon is responsible for the packetisation and
22 routing of MCTP messages from external endpoints, and handling the forwarding
[all …]
H A Dmctp-kernel.md1 # OpenBMC in-kernel MCTP
5 Please refer to the [MCTP Overview](mctp.md) document for general MCTP design
8 This document describes a kernel-based implementation of MCTP infrastructure,
9 providing a sockets-based API for MCTP communication within an OpenBMC-based
14 - The MCTP messaging API should be an obvious application of the existing POSIX
17 - Configuration should be simple for a straightforward MCTP endpoint: a single
20 - Infrastructure should be flexible enough to allow for more complex MCTP
23 - each MCTP network (as defined by section 3.2.31 of DSP0236) may consist of
26 - multiple distinct (ie., non-bridged) networks, possibly containing
29 - multiple local EIDs on a single interface, and
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dmctp-i2c-controller.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/mctp-i2c-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MCTP I2C transport
10 - Matt Johnston <matt@codeconstruct.com.au>
13 An mctp-i2c-controller defines a local MCTP endpoint on an I2C controller.
14 MCTP I2C is specified by DMTF DSP0237.
16 An mctp-i2c-controller must be attached to an I2C adapter which supports
18 busses) are attached to the mctp-i2c-controller with a 'mctp-controller'
[all …]
/openbmc/pldm/platform-mc/
H A Dmanager.hpp26 * specification for the MCTP devices
49 * @return coroutine return_value - PLDM completion code
55 * @return coroutine return_value - PLDM completion code
60 * the added MCTP endpoints
62 * @param[in] mctpInfos - list information of the MCTP endpoints
70 * the removed MCTP endpoints
72 * @param[in] mctpInfos - list information of the MCTP endpoints
80 * updating the availability status of the MCTP endpoint
82 * @param[in] mctpInfo - information of the target endpoint
83 * @param[in] availability - new availability status
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Drescan-wf-bic6 busnum=$(($1 - 1))
8 # We found one corner case is that if the rescan-wf-bic script checks a WF
9 # slot and not probe MCTP EID yet, and then go to the workaround to probe
10 # MCTP EID again. In this case we found that MCTP EID was already probed
12 # MCTP response timeout for EID e.g. 72 (WF-7) occurred and it caused mctpd
15 # To avoid this issue, a 10-second delay is not enough when the BMC is busy
16 # handling the power cycle for all 8 slots.
23 while [ $count -lt 12 ]; do
24 …busctl get-property au.com.codeconstruct.MCTP1 /au/com/codeconstruct/mctp1/networks/1/endpoints/"$…
27 if [ $isMctpConnect -eq 0 ]; then
[all …]
/openbmc/docs/designs/
H A Dpldm-stack.md5 Created: 2019-01-22
9 On OpenBMC, in-band IPMI is currently the primary industry-standard means of
19 designed to run on standard transport protocols, for e.g. MCTP (also designed by
20 the DMTF). MCTP provides for a common transport layer over several physical
21 channels, by defining hardware bindings. The solution of PLDM over MCTP also
24 PLDM's purpose is to enable all sorts of "inside the box communication": BMC -
25 Host, BMC - BMC, BMC - Network Controller and BMC - Other (for e.g. sensor)
31 efficient access to low-level platform inventory, monitoring, control, event,
48 - Common in-band communication protocol.
50 - Already existing PLDM Type specifications that cover the most common
[all …]
H A Dbmc-service-failure-debug-and-recovery.md16 - 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 …]
H A Dremote-bios-configuration.md7 Created: 19-Nov-2019
41 Detailed password handling design -TBD(will be resolve using ARM TrustZone)
52 +--------------------------------------------------------------------------------------------------…
56 | +-------------+ +-------------+ +--------------------------------+ +-------+ …
57 … | | | | RBC daemon | | | +----------+ |
58 | | NET/ Tools +<-LAN->+ LAN-IPMID/ +<Dbus->+ | | | …
60 | +-------------+ +-------------+ | -SetAttribute() | | | …
61 | | -GetAttribute() | | | …
62 | +-------------+ +-------------+ | -VerifyPassword() | | | …
63 | | | | | | -ChangePassword() | | | …
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/PLDM/
H A DRequester.interface.yaml9 MCTP) can be found at https://www.dmtf.org/standards/pmci.
12 - name: GetInstanceId
14 Obtain a new PLDM instance id, for the input MCTP EID, to be used in a
19 https://github.com/openbmc/docs/blob/master/designs/pldm-stack.md#Requester.
21 The instance id starts at 0 and can go upto 31 (5 bits), for each MCTP
37 interval, the way of handling the same (further retries, report an
40 - name: eid
43 The MCTP endpoint, specified by 'eid' (endpoint id), for which
46 - name: instanceid
51 - xyz.openbmc_project.Common.Error.TooManyResources
/openbmc/pldm/fw-update/
H A Dinventory_manager.hpp33 * @param[in] handler - PLDM request handler
34 * @param[in] instanceIdDb - Managing instance ID for PLDM requests
35 * @param[out] descriptorMap - Populate the firmware identifiers for the
37 * @param[out] downstreamDescriptorMap - Populate the downstream
40 * @param[out] componentInfoMap - Populate the component info for the FDs
60 * @param[in] eids - MCTP endpoint ID of the FDs
70 * @param[in] eid - Remote MCTP endpoint
71 * @param[in] response - PLDM response message
72 * @param[in] respMsgLen - Response message length
79 * @param[in] eid - Remote MCTP endpoint
[all …]
H A Ddevice_updater.hpp37 * @param[in] eid - Endpoint ID of the firmware device
38 * @param[in] package - File stream for firmware update package
39 * @param[in] fwDeviceIDRecord - FirmwareDeviceIDRecord in the fw update
41 * @param[in] compImageInfos - Component image information for all the
43 * @param[in] compInfo - Component info for the components in this FD
45 * @param[in] maxTransferSize - Maximum size in bytes of the variable
47 * @param[in] updateManager - To update the status of fw update of the
73 * @param[in] eid - Remote MCTP endpoint
74 * @param[in] response - PLDM response message
75 * @param[in] respMsgLen - Response message length
[all …]
/openbmc/libmctp/
H A Dcontrol.c6 #include "libmctp-cmds.h"
7 #include "libmctp-alloc.h"
8 #include "libmctp-log.h"
9 #include "core-internal.h"
16 hdr->ic_msg_type = MCTP_CTRL_HDR_MSG_TYPE; in fill_resp()
17 hdr->rq_dgram_inst = req_hdr->rq_dgram_inst & in fill_resp()
19 hdr->command_code = req_hdr->command_code; in fill_resp()
31 uint8_t op = req->operation & MCTP_CTRL_SET_EID_OP_MASK; in mctp_ctrl_set_endpoint_id()
37 if (mctp_bus_set_eid(bus->binding, req->eid)) { in mctp_ctrl_set_endpoint_id()
42 __mctp_msg_alloc(sizeof(*resp), bus->mctp); in mctp_ctrl_set_endpoint_id()
[all …]
H A Dastlpc.c1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */
24 #include "libmctp-alloc.h"
25 #include "libmctp-log.h"
26 #include "libmctp-astlpc.h"
36 #include <linux/aspeed-lpc-ctrl.h>
39 static const char *lpc_path = "/dev/aspeed-lpc-ctrl";
146 bool __bmc = ((ctx)->mode == MCTP_BINDING_ASTLPC_MODE_BMC); \
162 /* clang-format off */
171 /* clang-format on */
186 assert((packet - 4) < packet); in astlpc_body_size_v1()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dpldm_interface.hpp5 #include <libpldm/instance-id.h>
8 #include <libpldm/transport/mctp-demux.h>
40 * @param[in] event - The sd_event object pointer
41 * @param[in] dataIface - The DataInterface object
63 * It starts by issuing the async D-Bus method call to read the
66 * @param[in] id - The PEL ID
67 * @param[in] size - The PEL size in bytes
69 * @return CmdStatus - the success/fail status of the send
95 * @param[in] io - The event source object
96 * @param[in] fd - The FD used
[all …]
/openbmc/pldm/requester/
H A Drequest.hpp11 #include <phosphor-logging/lg2.hpp>
44 * @param[in] event - reference to PLDM daemon's main event loop
45 * @param[in] numRetries - number of request retries
46 * @param[in] timeout - time to wait between each retry in milliseconds
77 error("Failed to start the request timer, error - {ERROR}", "ERROR", in start()
101 sdbusplus::Timer timer; //!< manages starting timers and handling timeouts
112 if (numRetries--) in callback()
126 * to send the PLDM request message over MCTP socket.
144 * @param[in] pldm_transport - PLDM transport object
145 * @param[in] eid - endpoint ID of the remote MCTP endpoint
[all …]
H A Dmctp_endpoint_discovery.cpp8 #include <linux/mctp.h>
10 #include <phosphor-logging/lg2.hpp>
57 // Find all implementations of the MCTP Endpoint interface in getMctpInfos()
67 … "Failed to getSubtree call at path '{PATH}' and interface '{INTERFACE}', error - {ERROR} ", in getMctpInfos()
115 … "Error reading MCTP Endpoint property at path '{PATH}' and service '{SERVICE}', error - {ERROR}", in getMctpEndpointProps()
139 … "Error reading Endpoint UUID property at path '{PATH}' and service '{SERVICE}', error - {ERROR}", in getEndpointUUIDProp()
163 "Error reading Endpoint Connectivity property at path '{PATH}', error - {ERROR}", in getEndpointConnectivityProp()
187 "Error reading MCTP Endpoint added interface message, error - {ERROR}", in getAddedMctpInfos()
202 error("Error getting Endpoint UUID D-Bus interface, error - {ERROR}", in getAddedMctpInfos()
225 "mctpd added a DEGRADED endpoint {EID} networkId {NET} to D-Bus", in getAddedMctpInfos()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dtty.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
21 #define N_IRDA 11 /* Linux IrDa - http://irda.sourceforge.net/ */
22 #define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data */
38 #define N_NULL 27 /* Null ldisc used for error handling */
39 #define N_MCTP 28 /* MCTP-over-serial */
40 #define N_DEVELOPMENT 29 /* Manual out-of-tree testing */
41 #define N_CAN327 30 /* ELM327 based OBD-II interfaces */
/openbmc/pldm/oem/ampere/
H A Doem_ampere.hpp8 #include "../../platform-mc/manager.hpp"
35 * @param[in] dBusIntf - D-Bus handler
36 * @param[in] mctp_fd - fd of MCTP communications socket
37 * @param[in] mctp_eid - MCTP EID of remote host firmware
38 * @param[in] repo - pointer to BMC's primary PDR repo
39 * @param[in] instanceIdDb - pointer to an InstanceIdDb object
40 * @param[in] event - sd_event handler
41 * @param[in] invoker - invoker handler
42 * @param[in] hostPDRHandler - hostPDRHandler handler
43 * @param[in] platformHandler - platformHandler handler
[all …]
/openbmc/linux/net/mctp/
H A Droute.c1 // SPDX-License-Identifier: GPL-2.0
3 * Management Component Transport Protocol (MCTP) - routing
15 #include <linux/mctp.h>
22 #include <net/mctp.h>
27 #include <trace/events/mctp.h>
50 /* TODO: look up in skb->cb? */ in mctp_lookup_bind()
56 type = (*(u8 *)skb->data) & 0x7f; in mctp_lookup_bind()
58 sk_for_each_rcu(sk, &net->mctp.binds) { in mctp_lookup_bind()
61 if (msk->bind_net != MCTP_NET_ANY && msk->bind_net != cb->net) in mctp_lookup_bind()
64 if (msk->bind_type != type) in mctp_lookup_bind()
[all …]
H A Ddevice.c1 // SPDX-License-Identifier: GPL-2.0
3 * Management Component Transport Protocol (MCTP) - device implementation.
11 #include <linux/mctp.h>
18 #include <net/mctp.h>
33 struct mctp_dev *mdev = rcu_dereference(dev->mctp_ptr); in __mctp_dev_get()
39 if (!refcount_inc_not_zero(&mdev->refs)) in __mctp_dev_get()
49 return rtnl_dereference(dev->mctp_ptr); in mctp_dev_get_rtnl()
71 return -EMSGSIZE; in mctp_fill_addrinfo()
74 hdr->ifa_family = AF_MCTP; in mctp_fill_addrinfo()
75 hdr->ifa_prefixlen = 0; in mctp_fill_addrinfo()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_def.h1 /* 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 Dqla_init.c1 // 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 Dqla_os.c1 // 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/include/linux/
H A Dnetdevice.h1 /* 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/
Dopengrok1.0.log1 2025-03-17 03:00:37.547-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-03-17 03:00:37.671-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]

12