4b537552 | 19-Nov-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
oem-ampere: eventManager: Trigger `CrashCapture` signal in BERT
Trigger `CrashCapture...Bert` D-Bus signal when the CPER event is Ampere BERT. This signal notifies Ampere Crash Capture service to ge
oem-ampere: eventManager: Trigger `CrashCapture` signal in BERT
Trigger `CrashCapture...Bert` D-Bus signal when the CPER event is Ampere BERT. This signal notifies Ampere Crash Capture service to get BERT data from EEPROM.
Change-Id: I2941d241fbd86bcf0ccb2b1b55d3b2bea3f038e1 Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
show more ...
|
72c8aa06 | 21-Nov-2023 |
Dung Cao <dung@os.amperecomputing.com> |
oem-ampere: eventManager: Add CPER Event class handler
Add Ampere OEM CPER event handler to decode CPER data to get TypeID and SubTypeID. Then logs those info to Ampere IPMI OEM sel logs.
Change-Id
oem-ampere: eventManager: Add CPER Event class handler
Add Ampere OEM CPER event handler to decode CPER data to get TypeID and SubTypeID. Then logs those info to Ampere IPMI OEM sel logs.
Change-Id: I4ff1cd3c0ba8a2471afb1c8ee61a8caaf30596b8 Signed-off-by: Dung Cao <dung@os.amperecomputing.com> Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
show more ...
|
6dce7d11 | 18-Nov-2024 |
Thu Nguyen <thu@os.amperecomputing.com> |
platform-mc: Support multi-handlers for polled events
platform-mc only supports one event handler for the polled events. Update the code to allow multiple event handlers.
Change-Id: Icfb531ce89a49b
platform-mc: Support multi-handlers for polled events
platform-mc only supports one event handler for the polled events. Update the code to allow multiple event handlers.
Change-Id: Icfb531ce89a49bb417ca94bd608442f9323810b4 Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
show more ...
|
93d0ca3e | 14-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 ...
|
b01357fc | 17-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 ...
|
ef214b5a | 16-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 ...
|
4cca3dc9 | 03-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 ...
|
cebf476d | 03-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 ...
|
3de0d94e | 03-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 ...
|
6e615622 | 21-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 ...
|
7db557b5 | 04-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 ...
|
29942de3 | 08-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 ...
|
79e097cb | 06-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 ...
|
6894e90f | 22-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 ...
|
259117a7 | 28-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 ...
|
a743e384 | 26-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 ...
|
d197f09e | 06-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 ...
|
1be20729 | 28-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 ...
|
f00fd432 | 26-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 ...
|
dd6f36cb | 22-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 ...
|
f48015b3 | 20-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 ...
|
2cf4d041 | 15-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 ...
|
bd0277e4 | 11-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 ...
|
423e8f53 | 25-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 ...
|
2027ff58 | 03-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 ...
|