[Skiboot] [PATCH 00/14] Complete PLDM responder and enable PLDM support
Christophe Lombard
clombard at linux.vnet.ibm.com
Tue Apr 19 23:46:19 AEST 2022
This set of patches allows to complete platform responder to handle
platform events (set events, event messages, state sensors reading, state
effecters) and fru messages from the BMC.
Specific astbmc features (watchdog timer, Real Time Clock, Opal IPMI
calls) are also supported.
To enable the new PLDM features, add CONFIG_PLDM as a parameter:
make .... CONFIG_PLDM=1
This patch set should be applied on top of these previous sets:
- Implement virtual flash content using PLDM.
- Import external libraries for MCTP/PLDM protocols.
- Implement MCTP and PLDM features.
Christophe Lombard (14):
core/pldm: Handle Watchdog timer.
core/pldm: Decode the SetEventReceiver request
core/pldm: Decode the PlatformEventMessage request
core/pldm: Decode the GetStateSensorReadings request
core/pldm: Decode the SetStateEffecterStates request
core/pldm: Find PDR record by record handle
core/pldm: Encode PLDM PDR Repository Change eventData
core/pldm: Update or create terminus locator in the given repo
core/pldm: Decode the GetPDR request
core/pldm: Decode the GetFRURecordTableMetadata request
core/pldm: Decode the GetFruRecordTable request
core/pldm: Register OPAL_RTC_READ/WRITE calls back
core/pldm: Register OPAL_IPMI_SEND/RECV calls back
platforms/astbmc: Enable PLDM support
core/init.c | 5 +
core/pldm/Makefile.inc | 3 +
core/pldm/pldm-bios-requests.c | 134 ++++++
core/pldm/pldm-common.c | 11 +
core/pldm/pldm-fru-requests.c | 65 +++
core/pldm/pldm-opal.c | 143 ++++++
core/pldm/pldm-platform-requests.c | 259 +++++++++++
core/pldm/pldm-responder.c | 678 +++++++++++++++++++++++++++++
core/pldm/pldm-rtc.c | 76 ++++
core/pldm/pldm-watchdog.c | 125 ++++++
core/pldm/pldm.h | 17 +-
include/pldm.h | 22 +
platforms/astbmc/astbmc.h | 4 +
platforms/astbmc/common.c | 42 ++
platforms/astbmc/pnor.c | 25 ++
platforms/astbmc/rainier.c | 33 +-
16 files changed, 1637 insertions(+), 5 deletions(-)
create mode 100644 core/pldm/pldm-opal.c
create mode 100644 core/pldm/pldm-rtc.c
create mode 100644 core/pldm/pldm-watchdog.c
--
2.35.1
More information about the Skiboot
mailing list