/openbmc/phosphor-host-ipmid/ |
H A D | host-interface.cpp | 4 #include "host-interface.hpp" 8 #include <ipmid-host/cmd-utils.hpp> 9 #include <ipmid-host/cmd.hpp> 12 #include <phosphor-logging/lg2.hpp> 20 namespace host namespace 22 namespace command namespace 28 // IPMI OEM command. 30 // Non-OEM commands that need to send SMS_ATN 33 // Map of IPMI OEM command to its equivalent interface command. 35 // the status of the executed command. [all …]
|
H A D | host-interface.hpp | 3 #include <host-cmd-manager.hpp> 6 #include <xyz/openbmc_project/Control/Host/server.hpp> 9 namespace host namespace 11 namespace command namespace 14 /** @class Host 15 * @brief OpenBMC control and condition host interface implementation. 16 * @details A concrete implementation for xyz.openbmc_project.Control.Host 19 class Host : class 21 sdbusplus::server::xyz::openbmc_project::control::Host, 25 /** @brief Constructs Host Control and Condition Interfaces [all …]
|
H A D | host-cmd-manager.cpp | 3 #include "host-cmd-manager.hpp" 8 #include <phosphor-logging/elog-errors.hpp> 9 #include <phosphor-logging/lg2.hpp> 13 #include <xyz/openbmc_project/State/Host/server.hpp> 19 namespace host namespace 21 namespace command namespace 25 constexpr auto HOST_STATE_INTERFACE = "xyz.openbmc_project.State.Host"; 45 // Called as part of READ_MSG_DATA command 52 lg2::error("Failure to STOP the timer: {ERROR}", "ERROR", strerror(-r)); in getNextCommand() 55 if (this->workQueue.empty()) in getNextCommand() [all …]
|
H A D | host-cmd-manager.hpp | 3 #include <ipmid-host/cmd-utils.hpp> 13 namespace host namespace 15 namespace command namespace 19 * @brief Manages commands that are to be sent to Host 33 * @param[in] bus - dbus handler 34 * @param[in] event - pointer to sd_event 39 * Command and data part of it. 44 * passed to the host (which is required when calling this) 47 * host 51 /** @brief Pushes the command onto the queue. [all …]
|
/openbmc/phosphor-mboxd/Documentation/ |
H A D | mbox_protocol.md | 7 http://www.apache.org/licenses/LICENSE-2.0 17 This document describes a protocol for host to BMC communication via the 19 This protocol is specifically designed to allow a host to request and manage 20 access to a flash device(s) with the specifics of how the host is required to 28 implemented by proceeding versions up to and not including the version a command 34 the host and the BMC via the Aspeed mailbox registers. This protocol is used 35 for the host to control access to the flash device(s). 37 Prior to the mbox protocol, the host uses a backdoor into the BMC address space 38 (the iLPC-to-AHB bridge) to directly manipulate the BMCs own flash controller. 42 1. Every piece of the host software stack that needs flash access (HostBoot, [all …]
|
/openbmc/openpower-host-ipmi-oem/ |
H A D | host-interface.hpp | 3 #include <ipmid-host/cmd-utils.hpp> 4 #include <org/open_power/Control/Host/server.hpp> 8 namespace host namespace 10 namespace command namespace 14 using IpmiCmdData = phosphor::host::command::IpmiCmdData; 16 /** @class Host 17 * @brief OpenBMC control host interface implementation. 18 * @details A concrete implementation for org.open_power.Control.Host 21 class Host : public sdbusplus::server::object_t<Base::Host> class 24 /** @brief Constructs Host Control Interface [all …]
|
H A D | host-interface.cpp | 3 #include <host-interface.hpp> 4 #include <ipmid-host/cmd-utils.hpp> 5 #include <ipmid-host/cmd.hpp> 7 #include <phosphor-logging/log.hpp> 13 namespace host namespace 15 namespace command namespace 18 // IPMI command 20 // Non-OEM commands that need to send SMS_ATN 23 // Map of IPMI OEM command to its equivalent interface command. 25 // the status of the executed command. [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/ |
H A D | Host.interface.yaml | 2 Implement to provide host interface support 5 - name: Execute 7 Execute the requested command by the caller. This command will be 8 processed in first in first out order. See the Command enum 11 - name: command 12 type: enum[self.Command] 13 description: Requested command to execute against the host 15 - self.Error.CommandNotSupported 18 - name: CommandComplete 20 Signal indicating that a Command has completed [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_get_bios_post_code.robot | 3 Documentation Module to test IPMI Get BIOS POST Code Command. 16 Test Get BIOS POST Code via IPMI Raw Command 17 [Documentation] Get BIOS POST Code via IPMI raw command. 20 Wait Until Keyword Succeeds 10 min 1 sec Check Host Is Pinging ${OS_HOST} 22 ${resp}= Run IPMI Standard Command raw ${IPMI_RAW_CMD['BIOS_POST_Code']['Get'][0]} 25 Test Get BIOS POST Code via IPMI Raw Command After Power Cycle 26 [Documentation] Get BIOS POST Code via IPMI raw command after power cycle. 29 ${resp}= Run IPMI Standard Command chassis power cycle 30 Wait Until Keyword Succeeds 1 min 1 sec Check Host Is Not Pinging ${OS_HOST} 31 Wait Until Keyword Succeeds 10 min 1 sec Check Host Is Pinging ${OS_HOST} [all …]
|
H A D | test_ipmi_poh_counter.robot | 5 ... POH (Power-On Hours) counter is the incremental count of power ON 10 ... Testcases added - 11 ... Get POH Counter Command Via IPMI 14 ... Verify POH Counter Reading With Host Power Off 15 ... Verify POH Counter Reading With Host Power On 21 ... Wait Time given - 1 hour, 1 hour 30minutes when Host power OFF, 1 hour 22 ... after Host Power ON 46 Get POH Counter Command Via IPMI 47 [Documentation] Verify get POH counter command Via IPMI. 50 # Verify get POH counter command via IPMI. [all …]
|
H A D | test_ipmi_watchdog.robot | 24 [Template] Execute IPMI Raw Command And Verify Response Data 35 [Template] Execute IPMI Raw Command And Verify Response Data After Watchdog Expires 46 [Template] Execute IPMI Raw Command And Verify Response Data 60 Test IPMI Watchdog Timer Pre-Timeout Interrupt Bits 61 [Documentation] Execute out of band set/get pre-timeout interrupt bits for watchdog timer. 62 [Tags] Test_IPMI_Watchdog_Timer_Pre-Timeout_Interrupt_Bits 63 [Template] Execute IPMI Raw Command And Verify Response Data 74 [Template] Execute IPMI Raw Command And Verify Response Data 89 [Template] Execute IPMI Raw Command And Verify Timer Expiration Data 105 [Documentation] Set Watchdog via IPMI raw command and verify timer actions. [all …]
|
/openbmc/linux/drivers/scsi/arm/ |
H A D | acornscsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Abandoned using the Select and Transfer command since there were 11 * for this command, some of them quite nasty... 14 * 26-Sep-1997 RMK Re-jigged to use the queue module. 15 * Re-coded state machine to be based on driver 19 * 05-Oct-1997 RMK Implemented writing to SCSI devices. 20 * 06-Oct-1997 RMK Corrected small (non-serious) bug with the connect/ 22 * 12-Oct-1997 RMK Added catch for re-entering interrupt routine. 23 * 15-Oct-1997 RMK Improved handling of commands. 24 * 27-Jun-1998 RMK Changed asm/delay.h to linux/delay.h. [all …]
|
/openbmc/hiomapd/Documentation/ |
H A D | protocol.md | 7 http://www.apache.org/licenses/LICENSE-2.0 17 mediation between the host and the Baseboard Management Controller (BMC). 20 BMC to the host. Usually, the flash device of interest is the host's firmware 21 flash device - in some platform designs this is owned by the BMC to enable 22 lights-out updates of the host firmware. 24 As the flash is owned by the BMC, access by the host to its firmware must be 28 2. Conflict of access between the host and the BMC to the flash controller 40 written to the flash by the host firmware. 42 The definition of transport-specific parameters, for example selection of IPMI 43 `(NetFn, Command)` pairs, is also beyond the scope of the document. [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | BusLogic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 Linux Driver for BusLogic MultiMaster and FlashPoint SCSI Host Adapters 7 Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com> 13 Special thanks to Wayne Yen, Jin-Lon Hon, and Alex Win of BusLogic, whose 37 #include <linux/dma-mapping.h> 54 #define FAILURE (-1) 61 Options specifications provided via the Linux Kernel Command Line or via 70 BusLogic Driver Options specifications provided via the Linux Kernel Command 90 all BusLogic Host Adapters. 98 all BusLogic Host Adapters. [all …]
|
/openbmc/linux/drivers/scsi/fnic/ |
H A D | fcpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 * communication by the host driver to the fcp firmware. 17 * Exchange and sequence id space allocated to the host driver 25 * Command entry type 105 * The header command tag. All host requests will use the "tag" field 107 * a host request, it will copy the tag field into the response. 110 * of the tag field will be the target command and target task management 111 * requests. These two requests do not have corresponding host requests 127 tag->u.req_id = id; in fcpio_tag_id_enc() 133 *id = tag->u.req_id; in fcpio_tag_id_dec() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/libertas/ |
H A D | if_spi.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 40 /* SPI register offsets. 4-byte aligned. */ 46 #define IF_SPI_CMD_READBASE_REG 0x10 /* Read command base reg */ 47 #define IF_SPI_CMD_WRITEBASE_REG 0x14 /* Write command base reg */ 48 #define IF_SPI_CMD_RDWRPORT_REG 0x18 /* Read/Write command port reg */ 62 #define IF_SPI_HOST_INT_CTRL_REG 0x40 /* Host interrupt controller reg */ 71 #define IF_SPI_HOST_INT_CAUSE_REG 0x58 /* Host interrupt cause reg */ 72 #define IF_SPI_HOST_INT_STATUS_REG 0x5C /* Host interrupt status reg */ 73 #define IF_SPI_HOST_INT_EVENT_MASK_REG 0x60 /* Host interrupt event mask */ 74 #define IF_SPI_HOST_INT_STATUS_MASK_REG 0x64 /* Host interrupt status mask */ [all …]
|
/openbmc/libmctp/docs/bindings/ |
H A D | vendor-ibm-astlpc.md | 6 host and BMC over the LPC bus on ASPEED BMC platforms. 18 …<https://www.intel.com/content/dam/www/program/design/us/en/documents/low-pin-count-interface-spec… 29 MCTP-compliant endpoints must accept. 33 A hardware-defined flag bit in a KCS device's Status Register (STR). The IBF 34 flag indicates that a value has been written by the host to the corresponding 40 byte buffer which is written by the host and read by the BMC. 42 ### KCS: Keyboard-Controller-Style 48 systems. This interface is available built-in to several commercially available 49 microcontrollers. Data is transferred across the KCS interface using a per-byte 68 values larger than the BTU may improve throughput for data-intensive transfers. [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Control/ |
H A D | Host.interface.yaml | 2 Implement to provide host interface support. This will define the interfaces 3 using which, a OpenPower machine can communicate with host on agreed 6 This is for Internal use by the Firmware only. The D-Bus object is visible 10 - name: Execute 12 Execute the requested command by the caller. This command will be 13 processed in first in first out order. See the Command enum 16 - name: command 17 type: enum[self.Command] 18 description: Requested command to execute against the host 19 - name: data [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_client.robot | 4 ... command. IPMI raw command will use dbus-send command 16 ${dbusHostIpmicmd1}= dbus-send --system ${OPENBMC_BASE_URI}HostIpmi/1 22 ${IPMI_INBAND_CMD}= ipmitool -C ${IPMI_CIPHER_LEVEL} -N ${IPMI_TIMEOUT} -p ${IPMI_PORT} 23 ${HOST}= -H 31 Run IPMI Command 32 [Documentation] Run the raw IPMI command. 33 [Arguments] ${command} ${fail_on_err}=${1} &{options} 36 # command The IPMI command string to be executed 38 # fail_on_err Fail if the IPMI command execution fails. 39 # options Additional ipmitool command options (e.g. [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | host_notifier.hpp | 19 * This class handles notifying the host firmware of new PELs. 24 * Some PELs do not need to be sent - see enqueueRequired() and 29 * 1) Send the ID and size of the new PEL to the host. 30 * - The command response is asynchronous. 32 * 2) The host reads the raw PEL data (outside of this class). 34 * 3) The host sends the PEL to the OS, and then sends an AckPEL 35 * PLDM command to the PLDM daemon, who makes a D-Bus method 39 * host is rebooted before the ack comes it will. 41 * The host firmware has a finite amount of space to store PELs before 43 * the AckPEL command will have a special response that will tell the [all …]
|
/openbmc/openbmc-test-automation/data/ |
H A D | boot_table_x86.json | 6 "host": "^Disabled$" string 11 "host": "^Enabled$", string 25 "host": "^Disabled$" string 30 "host": "^Enabled$", string 37 "method": "Run External IPMI Standard Command power on -N 10 -R 1", 49 "host": "^Disabled$", string 67 "host": "^Disabled$", string 85 "host": "^Disabled$", string 92 "method": "Run External IPMI Standard Command power off -N 10 -R 1", 103 "host": "^Disabled$", string [all …]
|
H A D | boot_table_redfish.json | 7 "host": "^Disabled$" string 13 "host": "^Enabled$", string 28 "host": "^Disabled$" string 34 "host": "^Enabled$", string 41 "method": "Run External IPMI Standard Command power on -N 10 -R 1", 49 "host": "^Disabled$" string 55 "host": "^Enabled$", string 62 "method": "BMC Execute Command '/usr/bin/istep' fork=${1}" 73 "host": "^Disabled$", string 92 "host": "^Disabled$", string [all …]
|
H A D | boot_table_osrunning_redfish.json | 7 "host": "^Disabled$" string 13 "host": "^Enabled$", string 28 "host": "^Disabled$" string 34 "host": "^Enabled$", string 41 "method": "Run External IPMI Standard Command power on -N 10 -R 1", 49 "host": "^Disabled$" string 55 "host": "^Enabled$", string 62 "method": "BMC Execute Command '/usr/bin/istep' fork=${1}" 73 "host": "^Disabled$", string 92 "host": "^Disabled$", string [all …]
|
/openbmc/openbmc-test-automation/lib/ras/ |
H A D | host_utils.robot | 2 Documentation Utility for error injection scenarios through HOST & BMC. 16 [Documentation] Executes getscom command on OS with the given 17 ... input command. 20 # input_cmd -l|--list-chips 21 # -c|--chip <chip-id> <addr> 23 ${output} ${stderr} ${rc}= OS Execute Command getscom ${input_cmd} 27 [Documentation] Executes opal-gard command on OS with the given 28 ... input command. 33 ${output} ${stderr} ${rc}= OS Execute Command opal-gard ${input_cmd} 37 [Documentation] Executes putscom command on OS with the given [all …]
|
/openbmc/openbmc-test-automation/xcat/ |
H A D | test_power_operation.robot | 21 Execute Command On XCAT rpower on 22 Wait Until Keyword Succeeds 10 min 10 sec Is Host Running 29 Execute Command On XCAT rpower off 30 Wait Until Keyword Succeeds 6 min 10 sec Is Host Off 37 ${xcat_resp}= Execute Command On XCAT rpower bmcstate 45 [Setup] Initiate Host Boot 47 Execute Command On XCAT rpower softoff 48 Wait Until Keyword Succeeds 6 min 10 sec Is Host Off 50 Execute Command On XCAT rpower on 51 Wait Until Keyword Succeeds 10 min 10 sec Is Host Running [all …]
|