49a516a3 | 27-Apr-2022 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
oem-ibm : Add pvm_create_default_lpar bios attribute
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Id8d0edde35510d4eac98a0a9ab3cf42e6d54031a |
4f18743e | 23-Mar-2022 |
Andrew Geissler <geissonator@yahoo.com> |
oem-ibm: define new pvm_sys_dump_active bios value
External IBM clients to the BMC need to known when a memory preserving reboot is occurring. A power off of the system during this process will resu
oem-ibm: define new pvm_sys_dump_active bios value
External IBM clients to the BMC need to known when a memory preserving reboot is occurring. A power off of the system during this process will result in all the debug data that is collected during this process be lost. This new BIOS value will be set when a memory preserving reboot is started, and cleared when the debug data has been offloaded by the client. Redfish clients can look at this BIOS value to know if they should allow a power off of the system.
The initial goal was to work this into the official system states reported by the BMC (redfish/v1/Systems/system) but Redfish really doesn't have this type of function well represented currently. A memory preserving reboot is pretty specific to IBM systems. Hacking this into the existing BMC state management framework was getting messy so the agreement was to move this to a IBM specific BIOS for now.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ia3341517638ac93a2deaa1fe71c9ae7b408b25e8
show more ...
|
915baa3a | 23-Feb-2022 |
Priyanga Ramasamy <priyanga24@in.ibm.com> |
Update dbus-property for OS IPL mode state sensor change
When there is a OS IPL mode sensor state change event from PHYP, the event state value needs to be updated in OSIPLMode dbus property hosted
Update dbus-property for OS IPL mode state sensor change
When there is a OS IPL mode sensor state change event from PHYP, the event state value needs to be updated in OSIPLMode dbus property hosted by com.ibm.PanelApp service.
This commit updates oem state sensor json with the OS IPL Mode sensor info with the corresponding panel dbus property that needs to get updated.
Test: Tested on rainier. case 1: Set OS IPL mode sensor state as ENABLED
root@p10bmc:/tmp# busctl get-property com.ibm.PanelApp /com/ibm/panel_app com.ibm.panel OSIPLMode b false root@p10bmc:/tmp# root@p10bmc:/tmp# pldmtool raw --data 0x80 0x02 0x0A 0x01 0xD0 0x00 0x05 0x00 0x01 0x00 0x01 0x02 pldmtool: Tx: 08 01 80 02 0a 01 d0 00 05 00 01 00 01 02 pldmtool: Rx: 08 01 00 02 0a 00 00 root@p10bmc:/tmp# root@p10bmc:/tmp# busctl get-property com.ibm.PanelApp /com/ibm/panel_app com.ibm.panel OSIPLMode b true
case 2: Set OS IPL mode sensor state as DISABLED
root@p10bmc:/tmp# busctl get-property com.ibm.PanelApp /com/ibm/panel_app com.ibm.panel OSIPLMode b true root@p10bmc:/tmp# pldmtool raw --data 0x80 0x02 0x0A 0x01 0xD0 0x00 0x05 0x00 0x01 0x00 0x02 0x01 pldmtool: Tx: 08 01 80 02 0a 01 d0 00 05 00 01 00 02 01 pldmtool: Rx: 08 01 00 02 0a 00 00 root@p10bmc:/tmp# root@p10bmc:/tmp# busctl get-property com.ibm.PanelApp /com/ibm/panel_app com.ibm.panel OSIPLMode b false root@p10bmc:/tmp#
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com> Change-Id: Ica7812138b34e449bcca5aa52673acc726975caf
show more ...
|
e5329e88 | 03-Mar-2022 |
Roland Veloz <rveloz@us.ibm.com> |
Adds the Lateral Cast Out (LCO) mode to the BMC BIOS
This commit adds the LCO mode, as an enumeration, to the BMC BIOS.
Adds both a current value and a pending value.
The enumeration fields are 'E
Adds the Lateral Cast Out (LCO) mode to the BMC BIOS
This commit adds the LCO mode, as an enumeration, to the BMC BIOS.
Adds both a current value and a pending value.
The enumeration fields are 'Enabled' and 'Disabled'. The default is 'Enabled' as per the story.
Signed-off-by: Roland Veloz <rveloz@us.ibm.com>a Change-Id: I361f7c1826513f4484a08b0d0194f1667e53e53e RTC: 299909
show more ...
|
70a5da9a | 05-Mar-2022 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
oem_ibm : Sync power bios attribues to dbus
1. Map PowerCapEnable dbus property to hb_power_limit_enable 2. Map PowerCap dbus property to hb_power_limit_in_watts
Signed-off-by: Manojkiran Eda <mano
oem_ibm : Sync power bios attribues to dbus
1. Map PowerCapEnable dbus property to hb_power_limit_enable 2. Map PowerCap dbus property to hb_power_limit_in_watts
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I99dbc067c743c7b9a9a73c92e72975af05310dac
show more ...
|
d0405c35 | 21-Feb-2022 |
Corey Swenson <cswenson@us.ibm.com> |
Add hb_effective_secure_version bios attribute
Signed-off-by: Corey Swenson <cswenson@us.ibm.com> Change-Id: I1bb53584bafca9b7dda085cd44659ff004bd3e6d |
11741ab5 | 26-Jan-2022 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
oem_ibm: bios : change the default value of pvm_stop_at_standby
IBM legacy behaviour is to boot to runtime by default, so changing this attribute default value to align with the legacy designs.
Sig
oem_ibm: bios : change the default value of pvm_stop_at_standby
IBM legacy behaviour is to boot to runtime by default, so changing this attribute default value to align with the legacy designs.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I26873e3574dc37554b090fce32f047e5aebe0a6f
show more ...
|
fb07542f | 19-Jan-2022 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
bios : Add Default value for the pvm_default_os_type attribute
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I81551c0525fc6c68d76e9054b8f2f9d1c50644bd |
fe593a17 | 19-Jan-2022 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
oem_ibm:Remove deprecated vmi_if_count bios attribute
vmi_if_count bios attribute is not used anymore by the host, so removing it from the pldm bios jsons.
Signed-off-by: Manojkiran Eda <manojkiran
oem_ibm:Remove deprecated vmi_if_count bios attribute
vmi_if_count bios attribute is not used anymore by the host, so removing it from the pldm bios jsons.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I2f3d64ba39c10dbc952b278542dbd6a3fabd8840
show more ...
|
8fadc9e0 | 03-Jan-2022 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
pldmtool: Fix tool to show the oem entities
START & END are meant to be used as range to figure out if an entity/state_set is OEM or not.They are not entity & state set names.
This commit fixes abo
pldmtool: Fix tool to show the oem entities
START & END are meant to be used as range to figure out if an entity/state_set is OEM or not.They are not entity & state set names.
This commit fixes above mentioned issue & also removes TPM entity from the common fru_master configuration as the entity type is in OEM range as per DSP0249_1.1.0 specification.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Iba4fadabf1ae4f94cee8f2f47632731de0bfd85f
show more ...
|
d0272481 | 10-Dec-2021 |
Andrew Geissler <geissonator@yahoo.com> |
ibm: bios for auto poweron control
On IBM systems, the host firmware can control the auto power on logic. Map a new pvm_auto_poweron_restart BIOS value to the corresponding D-Bus property.
Tested:
ibm: bios for auto poweron control
On IBM systems, the host firmware can control the auto power on logic. Map a new pvm_auto_poweron_restart BIOS value to the corresponding D-Bus property.
Tested: - Enabled test - verify enabling bios value sets AlwaysOn to d-bus prop root@p10bmc:~# pldmtool bios SetBIOSAttributeCurrentValue -a pvm_auto_poweron_restart -d "Enabled" { "Response": "SUCCESS" } root@p10bmc:~# busctl get-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy xyz.openbmc_project.Conrol.Power.RestorePolicy PowerRestorePolicy s "xyz.openbmc_project.Control.Power.RestorePolicy.Policy.AlwaysOn"
- Disabled test - verify disabling bios value sets None to d-bus prop root@p10bmc:~# pldmtool bios SetBIOSAttributeCurrentValue -a pvm_auto_poweron_restart -d "Disabled" { "Response": "SUCCESS" } root@p10bmc:~# busctl get-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy xyz.openbmc_project.Conrol.Power.RestorePolicy PowerRestorePolicy s "xyz.openbmc_project.Control.Power.RestorePolicy.Policy.None"
- Verify setting d-bus prop is reflected in bios root@p10bmc:~# pldmtool bios GetBIOSAttributeCurrentValueByHandle -a pvm_auto_poweron_restart { "CurrentValue": "Enabled" } root@p10bmc:~# busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/control/host0/power_restore_policy xyz.openbmc_project.Conrol.Power.RestorePolicy PowerRestorePolicy s "xyz.openbmc_project.Control.Power.RestorePolicy.Policy.None" root@p10bmc:~# pldmtool bios GetBIOSAttributeCurrentValueByHandle -a pvm_auto_poweron_restart { "CurrentValue": "Disabled" }
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I5df3ec9826adc56737ff9fb72844b0a65964087b
show more ...
|
27403f46 | 01-Dec-2021 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
pldmtool: oem: ibm: untangle header dependencies
With the oem-ibm meson option enabled, pldm_platform_command.cpp has the following header dependency chain:
requester/handler.hpp host-bmc/dbus_to_e
pldmtool: oem: ibm: untangle header dependencies
With the oem-ibm meson option enabled, pldm_platform_command.cpp has the following header dependency chain:
requester/handler.hpp host-bmc/dbus_to_event_handler.hpp libpldmresponder/platform.hpp oem/ibm/libpldmresponder/inband_code_update.hpp oem/ibm/libpldmresponder/oem_ibm_handler.hpp pldmtool/oem/ibm/oem_ibm_state_set.hpp pldmtool/pldm_platform_cmd.cpp
requester/handler.hpp has a dependency on sd_event. Since sd_event is not listed as a dependency of pldmtool, this results in a compile failure when building in subproject mode.
Clearly it isn't appropriate to add sd_event as a pldmtool dependency. To fix the compile failure, break the include dependency chain between oem_ibm_state_set.hpp and oem_ibm_handler.hpp. This is likely an intra-pldm domain violation anyway (pldmtool <-> libpldmresponder).
oem_ibm_state_set.hpp includes oem_ibm_handler.hpp to make use of a single constant: PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE. To break the dependency chain, PLDM_OEM_IBM_ENTITY_FIRMWARE_UPDATE is moved to an oem version of entity.h.
Change-Id: I2b54ad9a7559ecf5fbe01c6a52a24428e56df77e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
32702094 | 18-Aug-2021 |
Zach Clark <zach@ibm.com> |
Remove hb_power_limit_enable_current and hb_power_limit_in_watts_current
hb_power_limit_enable and hb_power_limit_in_watts were previously defined as latched/pending attributes. This is being change
Remove hb_power_limit_enable_current and hb_power_limit_in_watts_current
hb_power_limit_enable and hb_power_limit_in_watts were previously defined as latched/pending attributes. This is being changed because when these values are changed, the new value is immediately sent to the OCCs, and firmware needs to process the latest value that the OCC received rather than the one effective at the beginning of the IPL.
Change-Id: Ida39a3ee5e6b4b0d3255bfef95601890afd80709 Signed-off-by: Zach Clark <zach@ibm.com>
show more ...
|
3d34b2c2 | 22-Nov-2021 |
Sampa Misra <sampmisr@in.ibm.com> |
oem: refine support for VINI record
add support for fan fru VINI record and remove battery VINI record since battery does not have vpd
Change-Id: I031417f102241890c42d51234991c322e4433343 Signed-of
oem: refine support for VINI record
add support for fan fru VINI record and remove battery VINI record since battery does not have vpd
Change-Id: I031417f102241890c42d51234991c322e4433343 Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
show more ...
|
bbbbae1c | 14-Oct-2021 |
Eddie James <eajames@linux.ibm.com> |
Rename IBM OEM state set header and install it
If external code needs to use the IBM OEM state sets, then the header defining those needs to be installed in the library. So, rename it to avoid confl
Rename IBM OEM state set header and install it
If external code needs to use the IBM OEM state sets, then the header defining those needs to be installed in the library. So, rename it to avoid conflicts with the regular state sets header and tell meson to install it.
Signed-off-by: Eddie James <eajames@linux.ibm.com> Change-Id: Icadfa35524fe0d2a5b6b071d85c18f70060127e3
show more ...
|
77aef218 | 11-Nov-2021 |
Christian Geddes <crgeddes@us.ibm.com> |
Increment max size of hb_lid_ids from 512->1024
More lid ids are being added to map runtime lids to human readable names so we must increment the max size to account for this.
Signed-off-by: Christ
Increment max size of hb_lid_ids from 512->1024
More lid ids are being added to map runtime lids to human readable names so we must increment the max size to account for this.
Signed-off-by: Christian Geddes <crgeddes@us.ibm.com> Change-Id: I3a6037ecef37b4d2768d528267018cacfaf1a58a
show more ...
|
8fee19a9 | 15-Nov-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix pldm crashes
This commit attempts to fix three PLDM crashes 1. Capturing handler using a reference in dbus match handling lambda function.
dbus matches are aync,so by the time we get a dbus m
Fix pldm crashes
This commit attempts to fix three PLDM crashes 1. Capturing handler using a reference in dbus match handling lambda function.
dbus matches are aync,so by the time we get a dbus match we would have exited the function in which the dbus match lambda is defined so the handler would be nullptr , and dereferencing them would lead to a segmentation fault.
2. We cannot be deleting elements of a container while iterating over the same container.
Reference : https://en.wikipedia.org/wiki/Erase%E2%80%93remove_idiom
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I54cb03ccf61c4fa50fbf7fb34f7b014d0247ea7b
show more ...
|
1b8d35f5 | 10-Nov-2021 |
Sagar Srinivas <sagar.srinivas@ibm.com> |
PLDM: Fix wrong instance number for reboot effecter (deep IPL effecter)
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com> Change-Id: I18b8ed01c0bf84dba4c97496d73aac230d43f116 |
1b8535ee | 13-Nov-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
oem_ibm: Tie hb_tpm_required to TPMEnable dbus property
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I67c45f31beaefc43eccb377da964b5263aad9f21 |
38b6e5fb | 26-Oct-2021 |
Zach Clark <zach@ibm.com> |
Define the hb_inhibit_bmc_reset BIOS attribute
This commit defines the hb_inhibit_bmc_reset BIOS attribute. When set to the enumeration value "Inhibit", Hostboot will instruct PHYP via HDAT to not r
Define the hb_inhibit_bmc_reset BIOS attribute
This commit defines the hb_inhibit_bmc_reset BIOS attribute. When set to the enumeration value "Inhibit", Hostboot will instruct PHYP via HDAT to not reset/reload the BMC at runtime.
Signed-off-by: Zach Clark <zach@ibm.com> Change-Id: Ibb5ec25649c1c0c5532ae0c93003f46213fe32b1
show more ...
|
f4a7dd79 | 20-Oct-2021 |
Sagar Srinivas <sagar.srinivas@ibm.com> |
Fix for Inband code update hang due to incorrect container IDs
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com> Change-Id: Idc0bb91adbd665dbd024ebd16d9749b818042bdc |
97296e03 | 26-Aug-2021 |
Sagar Srinivas <sagar.srinivas@ibm.com> |
pldm: Change Container IDs of Sensors and Effecters
This commit adds change to the container IDs of few PDRs which had 0 as container ID in the current PDR repository.
Signed-off-by: Sagar Srinivas
pldm: Change Container IDs of Sensors and Effecters
This commit adds change to the container IDs of few PDRs which had 0 as container ID in the current PDR repository.
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com> Change-Id: Ia390054580b14bde736a3360fe029fd767da227f
show more ...
|
72bf78e8 | 24-Sep-2021 |
Matt Spinler <spinler@us.ibm.com> |
oem_ibm: Enhance PEL D-Bus call failure tracing
Add the PEL ID, the D-Bus error and the newline character to the code that is handling D-Bus method call fails when dealing with PELs in order to prov
oem_ibm: Enhance PEL D-Bus call failure tracing
Add the PEL ID, the D-Bus error and the newline character to the code that is handling D-Bus method call fails when dealing with PELs in order to provide more information to help debug.
Show the PEL ID in hex as that is how other places display it.
Without the newline characters they were showing up as: pldmd[523]: HostAck D-Bus call failedHostAck D-Bus call failed
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I3b00d974cf96c814ec257a7707c485f731033482
show more ...
|
67c4be60 | 13-Oct-2021 |
chenduibm <duchen@us.ibm.com> |
Add BIOS attribute hb_ioadapter_enlarged_capacity
Hostboot reads hb_ioadapter_enlarged_capacity and sets ATTR_ENLARGED_IO_SLOT_COUNT
Signed-off-by: chenduibm <duchen@us.ibm.com> Change-Id: If7993b3
Add BIOS attribute hb_ioadapter_enlarged_capacity
Hostboot reads hb_ioadapter_enlarged_capacity and sets ATTR_ENLARGED_IO_SLOT_COUNT
Signed-off-by: chenduibm <duchen@us.ibm.com> Change-Id: If7993b3f12e3d052523e31d31cf9a6c73d42c753
show more ...
|
d9144e49 | 18-Oct-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
oem_ibm: Tie up the pvm_system_name with the AssetTag
- This commit would add the support for binding both the pvm_system_name bios attribute to redfish AssetTag.
Tested :
1. Change the bios att
oem_ibm: Tie up the pvm_system_name with the AssetTag
- This commit would add the support for binding both the pvm_system_name bios attribute to redfish AssetTag.
Tested :
1. Change the bios attribute & make sure the AssetTag is updated. 2. Change the AssetTag and make sure the bios attribute is updated.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: Ifef3abb56a6826304ce292c5ef1609f0740d5bdd
show more ...
|