History log of /openbmc/pldm/ (Results 1 – 25 of 1150)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
93d0ca3e14-Nov-2024 Thu Nguyen <thu@os.amperecomputing.com>

oem-ampere: eventManager: Fix DIMMx_Status sensor IDs checking

DIMMx_Status sensor IDs have format `4 + 2x` with x from 0 to 23.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Ie

oem-ampere: eventManager: Fix DIMMx_Status sensor IDs checking

DIMMx_Status sensor IDs have format `4 + 2x` with x from 0 to 23.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Iea8219e005a2773e288920b6aaa529b6f5d43de4

show more ...

b01357fc17-Oct-2024 Chau Ly <chaul@amperecomputing.com>

oem-ampere: eventManager: Handle Watchdog sensor event

Handle `SoC Watchdog` status Sensor Event in Ampere's OemEventManager
class.

Change-Id: I8f74a5cf1209d81750103588bd1eff9388a668bd
Signed-off-b

oem-ampere: eventManager: Handle Watchdog sensor event

Handle `SoC Watchdog` status Sensor Event in Ampere's OemEventManager
class.

Change-Id: I8f74a5cf1209d81750103588bd1eff9388a668bd
Signed-off-by: Chau Ly <chaul@amperecomputing.com>

show more ...

ef214b5a16-Oct-2024 Chau Ly <chaul@amperecomputing.com>

oem-ampere: eventManager: Handle Soc Health sensor event

Handle `Soc Health` status Sensor Event in Ampere's OemEventManager
class. The handler will decode the event data, parse them to readable
inf

oem-ampere: eventManager: Handle Soc Health sensor event

Handle `Soc Health` status Sensor Event in Ampere's OemEventManager
class. The handler will decode the event data, parse them to readable
info and log to Redfish Event Log with corresponding severity.

Change-Id: If14a20afe10aaa50d6d7c9d7ee8d0e5332c0817b
Signed-off-by: Chau Ly <chaul@amperecomputing.com>

show more ...

4cca3dc903-Oct-2024 Chau Ly <chaul@amperecomputing.com>

oem-ampere: eventManager: Handle VR status sensor event

This commit adds the handler and needed APIs to handle VR status event
as Numeric Sensor Event in Ampere's OemEventManager class. The handler

oem-ampere: eventManager: Handle VR status sensor event

This commit adds the handler and needed APIs to handle VR status event
as Numeric Sensor Event in Ampere's OemEventManager class. The handler
will decode the event data, parse them to readable info and log to
Redfish Event Log.

Change-Id: I368fca2f7cdd0d13ce6f7cc6242ce44db5fb9cb9
Signed-off-by: Chau Ly <chaul@amperecomputing.com>

show more ...

cebf476d03-Oct-2024 Chau Ly <chaul@amperecomputing.com>

oem-ampere: eventManager: Handle DIMM and DDR status sensor event

This commit adds the handler and needed APIs to handle DIMM and DDR
status event as Numeric Sensor Event in Ampere's OemEventManager

oem-ampere: eventManager: Handle DIMM and DDR status sensor event

This commit adds the handler and needed APIs to handle DIMM and DDR
status event as Numeric Sensor Event in Ampere's OemEventManager class.
The handler will decode the event data, parse them to readable info and
log to Redfish Event Log.

Change-Id: I8d9e91356971efaa5e838992a22d98604e72c130
Signed-off-by: Chau Ly <chaul@amperecomputing.com>

show more ...

3de0d94e03-Oct-2024 Chau Ly <chaul@amperecomputing.com>

oem-ampere: eventManager: Handle PCIe hotplug sensor event

This commit adds the handler and needed APIs to handle PCIe hot-plug
event as a Numeric Sensor Event. The handler will decode the event dat

oem-ampere: eventManager: Handle PCIe hotplug sensor event

This commit adds the handler and needed APIs to handle PCIe hot-plug
event as a Numeric Sensor Event. The handler will decode the event data,
parse them to readable info and log to Redfish Event Log.

Tested:
Hot-plug in/out the PCIe device and see the events logged into Redfish.

Change-Id: I8cc9b712a6f7d9b3402bf72bb2d825ed8d5a8009
Signed-off-by: Chau Ly <chaul@amperecomputing.com>

show more ...

6e61562221-Jun-2024 Thu Nguyen <thu@os.amperecomputing.com>

platform-mc: Support GetPLDMVersion

`GetPLDMCommands` in DSP0240 v1.1.0 requires the PLDM supported type
version. In the current implementation, when detecting new MCTP
endpoint, `pldmd` always send

platform-mc: Support GetPLDMVersion

`GetPLDMCommands` in DSP0240 v1.1.0 requires the PLDM supported type
version. In the current implementation, when detecting new MCTP
endpoint, `pldmd` always send `0xff 0xff 0xff 0xff` version to
`GetPLDMCommand` in discovery steps with the assumption that the
terminus will response for the request with any version of PLDM type.

Some termini don't accept `0xff 0xff 0xff 0xff` as input
version to `GetPLDMCommands` command because value `0xff` only has
meaning `A value of 0xFF in the "update" field indicates that the field
to be ignored.` in the `Section 12.6.1 Version field encoding` in `MCTP
Base spec` DSP0236 v1.3.1 but not in `PLDM base spec` DSP0240 v1.1.0
where `GetPLDMCommand` is detailed.

Support sending `GetPLDMVersion` from the supported PLDM types of one
terminus in the `discovery step` to get the PLDM version. And use that
version as input for `GetPLDMCommands` of that PLDM types to get
the supported PLDM commands.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Ia33c6722603801431e411eaf0647b74d8a1639d8

show more ...

7db557b504-Nov-2024 Riya Dixit <riyadixitagra@gmail.com>

oem-ibm: Adding BIOS attribute for IPL version

This commit introduces two new string bios attributes to capture system
code level version with which last CEC full IPL was performed and
another attri

oem-ibm: Adding BIOS attribute for IPL version

This commit introduces two new string bios attributes to capture system
code level version with which last CEC full IPL was performed and
another attribute to capture version level in case of MPIPL (after
concurrent code update) scenario. Both the attributes will be updated by
remote terminus during every IPL.

Change-Id: I566c2f4a9cf606f5c9df73a796699b496c5b947f
Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>

show more ...

29942de308-Nov-2024 Thu Nguyen <thu@os.amperecomputing.com>

OWNERS: Specify the `oem/ampere` folder for Thu Nguyen

Specify the `oem/ampere` path for Thu Nguyen from Ampere

Change-Id: I6577c6bde7ef14a2fc15fbca0ce6f30df864c750
Signed-off-by: Thu Nguyen <thu@o

OWNERS: Specify the `oem/ampere` folder for Thu Nguyen

Specify the `oem/ampere` path for Thu Nguyen from Ampere

Change-Id: I6577c6bde7ef14a2fc15fbca0ce6f30df864c750
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>

show more ...

79e097cb06-Nov-2024 Patrick Williams <patrick@stwcx.xyz>

meson: enable oem-ampere by default

We want the meson.options to contain the maximal set so that the vast
majority of code is tested in CI. This prevents issues where code is
merged that doesn't co

meson: enable oem-ampere by default

We want the meson.options to contain the maximal set so that the vast
majority of code is tested in CI. This prevents issues where code is
merged that doesn't compile and then is only caught in full Yocto
builds.

The meson option can be disabled by default in the Yocto recipe, which
has been done now[1]. Enable at the repository level.

[1]: https://gerrit.openbmc.org/c/openbmc/openbmc/+/75691

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia4ecf1c7aeea8a2f25e9db6fdb07655c75a34d0c

show more ...

6894e90f22-Oct-2024 Thu Nguyen <thu@os.amperecomputing.com>

platform-mc: Support register OEM CPER Event class(0xFA)

The CPER Event class (0x07) is only introduced in DMTF DSP0248 V1.3.0.
Before that spec version, Ampere SoC uses Ampere OEM CPER Event
class(

platform-mc: Support register OEM CPER Event class(0xFA)

The CPER Event class (0x07) is only introduced in DMTF DSP0248 V1.3.0.
Before that spec version, Ampere SoC uses Ampere OEM CPER Event
class(0xFA) to report the CPER event to BMC. Update `platform-mc` code
to support registers the OEM CPER Event class.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Iab2f1e1f7e711ce6072c180ac133a68cb20e40ba

show more ...

259117a728-Oct-2024 Thu Nguyen <thu@os.amperecomputing.com>

OWNERS: add Thu Nguyen for Ampere-specific files

Add `Thu Nguyen <thu@os.amperecomputing.com>` as an owner/reviewer on
any files in a Ampere sub-directory, such as `oem/ampere/`.

Signed-off-by: Thu

OWNERS: add Thu Nguyen for Ampere-specific files

Add `Thu Nguyen <thu@os.amperecomputing.com>` as an owner/reviewer on
any files in a Ampere sub-directory, such as `oem/ampere/`.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Ib57af2281e3837ff265ab7589f6451fa7279be2d

show more ...

a743e38426-Oct-2024 Chau Ly <chaul@amperecomputing.com>

oem-ampere: eventManager: Handle `BootProgress` sensor event

Add Ampere OEM code to handle the `sensorEvent` for PLDM `BootProgress`
sensor. In Ampere system, the SOC termini will have the TID 1 or

oem-ampere: eventManager: Handle `BootProgress` sensor event

Add Ampere OEM code to handle the `sensorEvent` for PLDM `BootProgress`
sensor. In Ampere system, the SOC termini will have the TID 1 or 2. The
Ampere OEM EventManager will check the terminus TID to confirm about the
terminus type. Base on the value of `BootProgress` sensor, the OEM code
will add the Redfish Log to report the boot progress of Ampere SoC.

Tested:
1. Power on the host.
2. Check the Redfish SEL log.

Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Icc51537ef17ee8eb4b5b571eafeea7b5d7763cbe

show more ...

d197f09e06-Nov-2023 Chau Ly <chaul@amperecomputing.com>

platform-mc: Add pldm entity inventory path

This commit exposes inventory path of each sensor to under the
entity's inventory path that it belongs to. In each path, the
xyz.openbmc_project.Inventory

platform-mc: Add pldm entity inventory path

This commit exposes inventory path of each sensor to under the
entity's inventory path that it belongs to. In each path, the
xyz.openbmc_project.Inventory.Source.PLDM.Entity interface is
implemented with ContainerID, EntityInstanceNumber and EntityType
properties.

Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: Icf10349b7d272c6b050259151d71f21efedb0162

show more ...

1be2072928-Oct-2024 Eric Yang <eric.yang.wiwynn@gmail.com>

platform-mc: Unmap TID on get PLDM Type failure

Ensure the TID is unmapped when retrieving the PLDM Type and
creating a terminus manager for TID failure, preventing the
corresponding terminus from f

platform-mc: Unmap TID on get PLDM Type failure

Ensure the TID is unmapped when retrieving the PLDM Type and
creating a terminus manager for TID failure, preventing the
corresponding terminus from failing to reinitialize.

Change-Id: I15c5981d6813899039d35d9d05b6b873b6118e34
Signed-off-by: Eric Yang <eric.yang.wiwynn@gmail.com>

show more ...

f00fd43226-Oct-2024 Eric Yang <eric.yang.wiwynn@gmail.com>

platform-mc: Set initialized true post-init

Ensures TID is only marked initialized after successful getPDRs init,
preventing premature initialization flagging even if PLDM_ERROR occurs.

According t

platform-mc: Set initialized true post-init

Ensures TID is only marked initialized after successful getPDRs init,
preventing premature initialization flagging even if PLDM_ERROR occurs.

According to DSP0248 V1.3.0, lines 1555 and 1538
The Init Agent will response for Get PRDs and Set Event Receiver so the
initialized should be set after those steps.

Change-Id: Ide8d691ae312bcd2dbf061e945f673ef755a5b2b
Signed-off-by: Eric Yang <eric.yang.wiwynn@gmail.com>

show more ...

dd6f36cb22-Oct-2024 Thu Nguyen <thu@os.amperecomputing.com>

platform-mc: Correct the discovered terminus condition

When the terminus is discovered, the terminus shared pointer will be
added to `termini` list. So `termini[tid]` will not be `nullptr`.
Correct

platform-mc: Correct the discovered terminus condition

When the terminus is discovered, the terminus shared pointer will be
added to `termini` list. So `termini[tid]` will not be `nullptr`.
Correct the discovered terminus condition.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I070e927d34a49d0fdbc02fcd9dbbcd4be2f897a7

show more ...

f48015b320-Nov-2023 Dung Cao <dung@os.amperecomputing.com>

platform-mc: Support pollForPlatFormEventMessage

Supports polling all events synchronously when the terminus sends
`pldmMessagePollEvent` with the event id. BMC will use the received
event id as inp

platform-mc: Support pollForPlatFormEventMessage

Supports polling all events synchronously when the terminus sends
`pldmMessagePollEvent` with the event id. BMC will use the received
event id as input for `pollForPlatformEventMessage` command to retrieve
the event data.

Change-Id: If01f63f30d3f57f8423c863ec776e83dda8e3042
Signed-off-by: Dung Cao <dung@os.amperecomputing.com>
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>

show more ...

2cf4d04115-Oct-2024 Matt Spinler <spinler@us.ibm.com>

configs: Add PCIe slot power states for Bonnell

Add the entries to Bonnell's 11.json so that the host can send down the
PCIE slot power states for the four PCIe slots. These are the same as
on Rain

configs: Add PCIe slot power states for Bonnell

Add the entries to Bonnell's 11.json so that the host can send down the
PCIE slot power states for the four PCIe slots. These are the same as
on Rainier and Everest.

Tested:
The power state in phosphor-inventory-manager is accurately reflected
for a plugged in card.

Change-Id: Ic04e6d11750add7656bc7ac40135e2bfa4b8490e
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...

bd0277e411-Oct-2024 Thu Nguyen <thu@os.amperecomputing.com>

event-manager: Fix handling the event of undiscovered terminus

Currently, there are two event handlers, one from IBM `oem/ibm` and one
from `platform-mc` code. The event-manager in `platform-mc` sho

event-manager: Fix handling the event of undiscovered terminus

Currently, there are two event handlers, one from IBM `oem/ibm` and one
from `platform-mc` code. The event-manager in `platform-mc` should only
handles the event from the discovered termini by `platform-mc` code.
Add the valid TID checking before start handling the received events
from termini.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Idcbd33424a82c0cf7c9aebbd132435747534b2f8

show more ...

423e8f5325-Sep-2024 Riya Dixit <riyadixitagra@gmail.com>

oem-ibm: Change in dynamic deallocation BIOS attribute

This commit enhances the display name and help text of
hb_predictive_mem_guard and hb_predictive_mem_guard_current bios enum
attributes.

Teste

oem-ibm: Change in dynamic deallocation BIOS attribute

This commit enhances the display name and help text of
hb_predictive_mem_guard and hb_predictive_mem_guard_current bios enum
attributes.

Tested: Verified the change with redfish BIOS registry and verified with
dbus BIOS config manager.

Change-Id: I33fc426b92a90a826403142bb85e0db3de094b0a
Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>

show more ...

2027ff5803-Oct-2024 Thu Nguyen <thu@os.amperecomputing.com>

platform-mc: Init `hysteresis` value for compact numeric sensors

The Compact numeric sensor PDRs do not include `hysteresis` field in
the PDRs `Table 103 - Compact Numeric Sensor PDR format` in DSP0

platform-mc: Init `hysteresis` value for compact numeric sensors

The Compact numeric sensor PDRs do not include `hysteresis` field in
the PDRs `Table 103 - Compact Numeric Sensor PDR format` in DSP0248
V1.3.0. The `hysteresis` is used for checking the sensor threshold so it
should be initialized when constructing the sensors object for compact
numeric sensor PDRs.

Tested:
1. Disable `sensorEvent` event handling.
2. Change sensor thresholds use PLDM `SetSensorThresholds` command.
3. Restart `pldmd` service to apply new threshold in sensor D-Bus.
3. When the sensor reading value reaches the threshold condition check
the Ipmitool/Redfish SEL log.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I1187c44fc6b9b4b38ef953e72db7d9f96eb7e0bd

show more ...

ef0b76de08-Oct-2024 Jayashankar Padath <jayashankar.padath@in.ibm.com>

oem-ibm: Add the dbus timeout while setting UAK

This commit adds the dbus timeout while setting the changed firmware
UAK value.

Tested:
Verified that UAK update is getting reflected in the correspo

oem-ibm: Add the dbus timeout while setting UAK

This commit adds the dbus timeout while setting the changed firmware
UAK value.

Tested:
Verified that UAK update is getting reflected in the corresponding
UTIL D8 VPD keyword and the redfish

Change-Id: I86e75a51e324b8ac0df8684cd005ceddada85bce
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>

show more ...

e188b91c07-Oct-2024 Manojkiran Eda <manojkiran.eda@gmail.com>

Revert "Fix invalid read by adjusting request size"

This reverts commit 35f25949fe4d982f389db6de13c86d5838147399.

The related libpldm commit [1] has also been reverted, as it poses the
risk of affe

Revert "Fix invalid read by adjusting request size"

This reverts commit 35f25949fe4d982f389db6de13c86d5838147399.

The related libpldm commit [1] has also been reverted, as it poses the
risk of affecting other users of libpldm beyond just pldm. Addressing
the issue solely within pldm would only provide a limited fix.

Therefore, we have decided to revert the changes in order to explore a
more comprehensive solution within libpldm, ensuring compatibility for
all users.

[1] https://gerrit.openbmc.org/c/openbmc/libpldm/+/75123

Change-Id: If4b0f91195f9defe7f015f9e3fb686f33931fa01
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>

show more ...

6d615f1b24-Apr-2024 Thu Nguyen <thu@os.amperecomputing.com>

platform-mc: sensor: Support none-telemetry base unit

As [1], The sensor D-Bus object path `/xyz/openbmc_project/sensors/` and
`xyz.openbmc_project.Sensor.Value` interface are only used for the
tele

platform-mc: sensor: Support none-telemetry base unit

As [1], The sensor D-Bus object path `/xyz/openbmc_project/sensors/` and
`xyz.openbmc_project.Sensor.Value` interface are only used for the
telemetry sensor types which are listed. The non-telemetry PLDM sensor
with the `baseUnit` type `count`, `corrected_errors`,
`uncorrected_errors` and `oemunit` are none-telemetry types and are not
belong to that list.
Those unit types are metric types which are count of somethings so the
metric D-Bus object path `/xyz/openbmc_project/metric/` and D-Bus
`xyz.openbmc_project.Metric.Value` should be used as [2]. Support
creating D-Bus object path and polling sensor values for the numeric
sensor/compact numeric sensor PDRs with the BaseUnit type is
none-telemetry.

[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/90cfce16584253a5f524c718ce5a6ae7c33f7b8c/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml#L1
[2] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Sensor/Value.interface.yaml

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Iaf8d842e6ec0cb082b139d15da1a1bd10a701acf

show more ...

12345678910>>...46