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 ...
|
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 ...
|
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 ...
|
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 ...
|
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 ...
|
ef0b76de | 08-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 ...
|
a7b08dc6 | 10-Sep-2024 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Change-Id: I0e907f161bc6aec5e2253893f4ad7189cb8d5705 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
a31ceb91 | 21-Jul-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
oem_ibm: Add Slot enable infrastructure in BMC
With this commit PDRs are created for each of these PCIe slots and adapters which have a corresponding entry in the entity associate map. The sensor/ef
oem_ibm: Add Slot enable infrastructure in BMC
With this commit PDRs are created for each of these PCIe slots and adapters which have a corresponding entry in the entity associate map. The sensor/effector states are monitored and accordingly D-Bus calls are sent for enabling a slot, process property change of a PCIe slot, etc.
Tested By: SIMICS power on/off and reset reload.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I51b79b75c909ddf2cc29872fec6aa01c2d56b418
show more ...
|
04ac9971 | 06-Sep-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: Ia7dbb04ead7565d63437a5878fd8a543029d9a93 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
b3b84b49 | 23-Aug-2024 |
Pavithra Barithaya <pavithrabarithaya07@gmail.com> |
clang-tidy: Enable modernize-deprecated-headers check
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases. Some have no effect in C++ [1].
[1]: https://rel
clang-tidy: Enable modernize-deprecated-headers check
Some headers from C library were deprecated in C++ and are no longer welcome in C++ codebases. Some have no effect in C++ [1].
[1]: https://releases.llvm.org/13.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-deprecated-headers.html
Change-Id: Ia3b1df10175e2e661c8fffb82e357c9db81b2e9c Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
show more ...
|
3012b632 | 22-Aug-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Format meson files with meson.format
Meson 1.5.0 introduced a new feature to format all the meson files. Formatting all the meson files is now as simple as running `meson format -i -r` command in th
Format meson files with meson.format
Meson 1.5.0 introduced a new feature to format all the meson files. Formatting all the meson files is now as simple as running `meson format -i -r` command in the repository root folder.
more details : https://mesonbuild.com/Commands.html#format
Change-Id: I9c5468cc502ae78b7a055e2de2a10296930cb9ec Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
16c2a0a0 | 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I8c84201cb2343a8c8a5507a49de0721a1bee7063 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
4f7eec89 | 01-Aug-2024 |
Riya Dixit <riyadixitagra@gmail.com> |
PEL: Adding a few PELs
This commit adds some new PELs [1].
[1]: https://gerrit.openbmc.org/c/openbmc/phosphor-logging/+/73483
Change-Id: Ie2b46f966b4df423e7ba76d3507772259d5a8727 Signed-off-by: Ri
PEL: Adding a few PELs
This commit adds some new PELs [1].
[1]: https://gerrit.openbmc.org/c/openbmc/phosphor-logging/+/73483
Change-Id: Ie2b46f966b4df423e7ba76d3507772259d5a8727 Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>
show more ...
|
3166ef23 | 12-Aug-2024 |
Adriana Kobylak <anoo@us.ibm.com> |
oem: ibm: fileTable: Add new lids and update permissions
Add 2 new lids and update the permissions for hostboot's DEVTREE to be read-write.
Change-Id: I95006e2b37d15a148f072f66804950e983ea1aab Sign
oem: ibm: fileTable: Add new lids and update permissions
Add 2 new lids and update the permissions for hostboot's DEVTREE to be read-write.
Change-Id: I95006e2b37d15a148f072f66804950e983ea1aab Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
6a7682ea | 06-Aug-2024 |
Adriana Kobylak <anoo@us.ibm.com> |
oem: ibm: fileTable: Add lids for Blueridge and Fuji systems
Change-Id: Ic3d7d1b95b1b1e6559be15b95c5713b58e0b448d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> |
c14fb4bd | 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
pldm: Drop pessimizing moves
Fixes issues such as:
``` ../host-bmc/host_pdr_handler.cpp:684:9: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 684 | st
pldm: Drop pessimizing moves
Fixes issues such as:
``` ../host-bmc/host_pdr_handler.cpp:684:9: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 684 | std::move(std::vector<uint8_t>(1, PLDM_PDR_ENTITY_ASSOCIATION)), | ^ ../host-bmc/host_pdr_handler.cpp:684:9: note: remove std::move call here 684 | std::move(std::vector<uint8_t>(1, PLDM_PDR_ENTITY_ASSOCIATION)), | ^~~~~~~~~~ ~ ```
Change-Id: Id26f0d6fc21837e1eb76ae3c294c222782a4e69f Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
fb8d1942 | 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
oem-ibm: requester: dbus_to_file_handler: Drop unused mctp_fd
``` ../oem/ibm/requester/dbus_to_file_handler.hpp:83:9: error: private field 'mctp_fd' is not used [-Werror,-Wunused-private-field] 8
oem-ibm: requester: dbus_to_file_handler: Drop unused mctp_fd
``` ../oem/ibm/requester/dbus_to_file_handler.hpp:83:9: error: private field 'mctp_fd' is not used [-Werror,-Wunused-private-field] 83 | int mctp_fd; | ^ ```
Change-Id: I03751463e91b5f62c1e60c1ef47c22dcfcc20215 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
a933c091 | 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
oem-ibm: libpldmresponder: oem_ibm_handler: Remove unused `this`
``` ../oem/ibm/libpldmresponder/oem_ibm_handler.hpp:101:14: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture
oem-ibm: libpldmresponder: oem_ibm_handler: Remove unused `this`
``` ../oem/ibm/libpldmresponder/oem_ibm_handler.hpp:101:14: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture] 101 | [this](sdbusplus::message_t& msg) { | ^~~~ ```
Change-Id: I155758a25488d747eed2af0ac24407561ab3cc9f Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
90b83f17 | 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
oem-ibm: libpldmresponder: file_io_type_vpd: Remove unused vpdFileType
``` In file included from ../oem/ibm/libpldmresponder/file_io_type_vpd.cpp:1: ../oem/ibm/libpldmresponder/file_io_type_vpd.hpp:
oem-ibm: libpldmresponder: file_io_type_vpd: Remove unused vpdFileType
``` In file included from ../oem/ibm/libpldmresponder/file_io_type_vpd.cpp:1: ../oem/ibm/libpldmresponder/file_io_type_vpd.hpp:72:14: error: private field 'vpdFileType' is not used [-Werror,-Wunused-private-field] 72 | uint16_t vpdFileType; //!< type of the VPD file | ^ ```
Change-Id: If1208f21bcedaff912079371cf2e79df4b17093f Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
7d852862 | 25-Jul-2024 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
oem-ibm: libpldmresponder: file_io: Remove unused fields
``` ../oem/ibm/libpldmresponder/file_io.hpp:418:9: error: private field 'hostSockFd' is not used [-Werror,-Wunused-private-field] 418 |
oem-ibm: libpldmresponder: file_io: Remove unused fields
``` ../oem/ibm/libpldmresponder/file_io.hpp:418:9: error: private field 'hostSockFd' is not used [-Werror,-Wunused-private-field] 418 | int hostSockFd; | ^ ../oem/ibm/libpldmresponder/file_io.hpp:419:13: error: private field 'hostEid' is not used [-Werror,-Wunused-private-field] 419 | uint8_t hostEid; | ^ ../oem/ibm/libpldmresponder/file_io.hpp:420:25: error: private field 'instanceIdDb' is not used [-Werror,-Wunused-private-field] 420 | pldm::InstanceIdDb* instanceIdDb; | ^ ../oem/ibm/libpldmresponder/file_io.hpp:433:57: error: private field 'handler' is not used [-Werror,-Wunused-private-field] 433 | pldm::requester::Handler<pldm::requester::Request>* handler; | ```
Change-Id: Ifd2e813423b7bc0bd67780c0fc21e32cf8de3e85 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|