#
89644441 |
| 31-Mar-2024 |
Riya Dixit <riyadixitagra@gmail.com> |
libpldmresponder: Improving Logs (lg2)
This commit corrects the severity level of logs and also formats the message string, fixing the ill-defined message string of the logs as mentioned in the anti
libpldmresponder: Improving Logs (lg2)
This commit corrects the severity level of logs and also formats the message string, fixing the ill-defined message string of the logs as mentioned in the anti-pattern document [1]. Additionally, based on the requirement this commit adds more debug information to logs.
[1]: https://github.com/openbmc/docs/blob/master/anti-patterns.md#ill-defined-data-structuring-in-lg2-message-strings
Change-Id: I7dc5c308a8cd76573995e07d01d1a6037bca31ba Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>
show more ...
|
#
46f352ed |
| 17-Mar-2024 |
Archana Kakani <archana.kakani@ibm.com> |
pldm: Meson option for system specific bios attributes
PLDM users who want to use bios attributes based on the system type can enable this meson option. With disabled option default bios json files
pldm: Meson option for system specific bios attributes
PLDM users who want to use bios attributes based on the system type can enable this meson option. With disabled option default bios json files are picked to build bios attribute tables.
Added meson option "system-specific-bios-json" to add the support for system specific bios attributes. Below is the pre-requisite to support system specific bios attributes: 1. Entity Manager service is active 2. Entity Manager should have Decorator.Compatible interface and system type in Names property under this interface 3. BIOS Attribute json files are added into the folder(Named on the System Type property value) and should be installed under /usr/share/pldm/bios/
With disabled "system-specific-bios-json" option default bios attributes are populated.
Tested: Poweron system-specific-bios-json enabled/disabled
Change-Id: I95a953cdb12c344d22f487b83040356a1b5fa937 Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
show more ...
|
#
62dd8ff2 |
| 12-Feb-2024 |
Archana Kakani <archana.kakani@ibm.com> |
pldm: Build BIOS Table Lazily
Entity manager service hosts the compatible interface and populates the Names property with the chassis type. It is seen that the Names property is updated pretty late
pldm: Build BIOS Table Lazily
Entity manager service hosts the compatible interface and populates the Names property with the chassis type. It is seen that the Names property is updated pretty late on the way to BMC ready state. And by that time pldmd is already creating the bios table assuming that the system type is not detected.
To fix this behavior, rather than creating the bios table early, we need to wait until we get the system type from the entity manager daemon.
System Type is fetched from Entity Manager Decorator.Compatible interface [1].
PLDM registers the service name only after building the BIOS tables, to avoids failures to bios updates from other applications
Tested: Power off/On successfully in Simulator
[1] https://github.com/openbmc/entity-manager/commit/9bac6409d4bd684f058517f41de33ba1d17e5666
Change-Id: I4d431061eaaf8842f6382c2e83807f725653e19b Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
show more ...
|
#
3c50c82a |
| 30-Jan-2024 |
Kamalkumar Patel <kamalkumar.patel@ibm.com> |
Adding Platform specific PDR support
- Adding platform check to generate pdr based on platform type.
- Currently PDR generation is happening based on default configuration, so this commit adds su
Adding Platform specific PDR support
- Adding platform check to generate pdr based on platform type.
- Currently PDR generation is happening based on default configuration, so this commit adds support to generate PDR's based in the platform type.
Testing: - Added traces and check from which path the files has been taken for pdr generation. - Removed power supply from default path and oem layer and identified that power supply pdr is not generating.
Change-Id: I6bedf06be7392e02c1ad32af7a552a5a4d6d42c0 Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
show more ...
|
#
7927f90c |
| 09-Oct-2023 |
Sagar Srinivas <sagar.srinivas@ibm.com> |
bios: Add support for enum value display names
This commits adds changes to add support for the value display names for the Enum BIOS attributes.
GET on /redfish/v1/Registries/BiosAttributeRegistry
bios: Add support for enum value display names
This commits adds changes to add support for the value display names for the Enum BIOS attributes.
GET on /redfish/v1/Registries/BiosAttributeRegistry/BiosAttributeRegistry/ shows list of Attributes under RegistryEntries. Each attribute corresponds to a knob in BIOS.
If knob in BIOS is of type Enumeration, it will have 'option' with 'text' and 'value'. This text should be mapped to attribute->Value->ValueDisplayName.
This change only applies to ENUM type of BIOS attributes and does not make sense for Integer and String attributes. Hence, we are sending attribute name in place of the value display name field for these attributes.
The corresponding bios-setting-mgr change which mandated this change in PLDM is at-
[1] https://github.com/openbmc/bios-settings-mgr/commit/1a448ad88fdaec7e082b4a1c437f7f3c990402cd
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com> Change-Id: Ib2882c93e81a70332e4897b196ae812b63cf6184
show more ...
|
#
a675662c |
| 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ib8dfa202f1d59add43fc0d55ab2bf388c8e7c877 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
2abbce76 |
| 17-Oct-2023 |
Andrew Jeffery <andrew@codeconstruct.com.au> |
InstanceIdDb: Move header from pldmd/ to common/
The header is used across all executables produced by the project, which makes it "common".
Change-Id: I022b179fad1de8dba2ef39fd33bc240ec73a2d33 Sig
InstanceIdDb: Move header from pldmd/ to common/
The header is used across all executables produced by the project, which makes it "common".
Change-Id: I022b179fad1de8dba2ef39fd33bc240ec73a2d33 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
show more ...
|
#
11ce8d22 |
| 28-Jul-2022 |
Sagar Srinivas <sagar.srinivas@ibm.com> |
PLDM: System specific BIOS attributes
This commit adds code to populate BIOS attributes based on the system type that is the platform.
The BIOS Jsons are installed based on the platform/ system typ
PLDM: System specific BIOS attributes
This commit adds code to populate BIOS attributes based on the system type that is the platform.
The BIOS Jsons are installed based on the platform/ system type. The system type is populated by entity manager.
TESTED on hardware across different platform/system type. On systems where the compatible system interface is not implemented or entity manager not running, then the BIOS Jsons with default values are installed.
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com> Change-Id: I179dad34537ed0d1fb263584d687a1b8cb64c335
show more ...
|
#
a330b2f0 |
| 04-May-2023 |
Andrew Jeffery <andrew@aj.id.au> |
pldmd: Migrate instance ID allocation to pldm::InstanceIdDb
This removes use of `pldm::dbus_api::Requester` from around the code-base. This makes progress towards removing the DBus API entirely once
pldmd: Migrate instance ID allocation to pldm::InstanceIdDb
This removes use of `pldm::dbus_api::Requester` from around the code-base. This makes progress towards removing the DBus API entirely once all its consumers are converted to the libpldm instance ID APIs.
There was never a good reason for the code using the class to have knowledge that it was related to DBus anyway, so this is, in-effect, a double clean up improving separation of concerns.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I2d9397cae1b3c8c251c32e36ca520aad9c9b8cf6
show more ...
|
#
6da4f91b |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I61b093f75011417cc9c7acf9605200f4fa429bac Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
49cfb138 |
| 02-Mar-2023 |
Riya Dixit <riyadixitagra@gmail.com> |
PLDM: Implementing Phosphor-Logging/LG2 logging
This commit adds changes in PLDM for implementing structured LG2 logging, thereby moving away from std::cout/cerr practice of logging which are output
PLDM: Implementing Phosphor-Logging/LG2 logging
This commit adds changes in PLDM for implementing structured LG2 logging, thereby moving away from std::cout/cerr practice of logging which are output streams and not logging mechanism.
PLDM now can make use of lg2 features like accurate CODE LINE Number and CODE_FUNCTION Name and better detailing in json object values which can be used in log tracking.
More detailed logging change: https://gist.github.com/riyadixitagra/c251685c1ba84248181891f7bc282395
Tested: Ran a power off, on, cycle, and reset-reload.
Change-Id: I0485035f15f278c3fd172f0581b053c1c37f3a5b Signed-off-by: Riya Dixit <riyadixitagra@gmail.com>
show more ...
|
#
b90fb7fd |
| 12-Apr-2023 |
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: I3f8b8f54bcb0018d48d1e9aa0628f9bb271a8fd7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
d987c94c |
| 24-Mar-2023 |
Matt Spinler <spinler@us.ibm.com> |
Listen for ifacesAdded for BIOS attribute props
PLDM was just watching for PropertiesChanged signals on the D-Bus properties that back BIOS attributes. Just doing that can miss properties on interf
Listen for ifacesAdded for BIOS attribute props
PLDM was just watching for PropertiesChanged signals on the D-Bus properties that back BIOS attributes. Just doing that can miss properties on interfaces that get added after PLDM starts and then never change after that, because they would just send a single InterfacesAdded signal.
Close that hole by also adding an InterfacesAdded match along with the PropertiesChanged match.
Change-Id: Iab6679b0c99d049bd5f11e6508f784b2e8eb9349 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
c453e164 |
| 21-Dec-2022 |
George Liu <liuxiwei@inspur.com> |
libpldm: Correct reference to libpldm header files
When relying on header files from external libraries, #include<> should be used instead of #include "" to avoid ambiguity.
Tested: Built pldm succ
libpldm: Correct reference to libpldm header files
When relying on header files from external libraries, #include<> should be used instead of #include "" to avoid ambiguity.
Tested: Built pldm successfully after enabling ibm-oem
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ia1997de7e0f61564055bbd837f4e24c8f14e55a5
show more ...
|
#
cac0ebb2 |
| 23-Nov-2021 |
Sagar Srinivas <sagar.srinivas@ibm.com> |
pldm: Trace out BIOS attribute change
To remove "setBIOSTable:: updateBaseBIOSTableProperty()" trace. Instead add trace to indicate which attribute changed, what is the new value it is changed to an
pldm: Trace out BIOS attribute change
To remove "setBIOSTable:: updateBaseBIOSTableProperty()" trace. Instead add trace to indicate which attribute changed, what is the new value it is changed to and who is it set by.
TESTED: * Value not set by BMC pldmtool bios SetBIOSAttributeCurrentValue -a fw_boot_side_current -d Temp { "Response": "SUCCESS" } BIOS:fw_boot_side_current, updated to value: Temp(42), by BMC: false
* Value set by BMC busctl set-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a{s\(sv\)} 1 "fw_boot_side_current" "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Enumeration" s "Temp"
BIOS:fw_boot_side_current, updated to value: Temp(42), by BMC: true
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com> Change-Id: I70e31b730026941a9973b1eb1118d8c300be5a54
show more ...
|
#
b941eeb4 |
| 17-Aug-2022 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix libpldm includes in the responder
The header files from libpldm are installed in libpldm/<.h> pattern, so fixing the header includes to have folder name prepended.
Signed-off-by: Manojkiran Eda
Fix libpldm includes in the responder
The header files from libpldm are installed in libpldm/<.h> pattern, so fixing the header includes to have folder name prepended.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I0c1c326b3bac4e328d679253c60ac69f2082041e
show more ...
|
#
84b790cb |
| 22-Jul-2022 |
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
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8e2242adb79be342562c9b7f3d2153dfdf578085
show more ...
|
#
5079ac4a |
| 19-Aug-2021 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
treewide: remove 'using namespace' from headers Using namespace at global scope in a header file violates the cpp core guidelines. Quoting the guidelines: "Doing so takes awa
treewide: remove 'using namespace' from headers Using namespace at global scope in a header file violates the cpp core guidelines. Quoting the guidelines: "Doing so takes away an #includer’s ability to effectively disambiguate and to use alternatives. It also makes #included headers order-dependent as they might have different meaning when included in different orders." For further reading: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rs-using-directive The guidelines don't call out using using namespace from namespace scope, but it is only marginally less problematic and still unexpected, so this patch removes those as well. The process used to do the update is roughly: 1 - git grep 'using namespace' **.hpp 2 - For each instance, remove the offending 'using namespace' line 3 - build 4 - add 'using namespace' to cpp files or fully resolve types in hpp files until the project builds again. Further cleanup is possible - for example cpp files could be scrubbed for unnecessary namespace qualification - this was not done here to make review as simple as possible. Change-Id: I4931f5e78a1b5b74b4a4774c035a549f4d59b91a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
c0c79481 |
| 02-Jun-2021 |
Sampa Misra <sampmisr@in.ibm.com> |
implement async handlers for all requester commands this commit makes use of 74f27c730ef3925a0f2a3adfaa04f8790f931372 to convert the existing blocking requester commands in pldm to async
implement async handlers for all requester commands this commit makes use of 74f27c730ef3925a0f2a3adfaa04f8790f931372 to convert the existing blocking requester commands in pldm to async ones. this is tested with Host code and seems to work fine Change-Id: I8d4762c3cd5bce49f854b30f8325bfcd1dcb4ff9 Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
show more ...
|
#
6d6d1e8d |
| 15-Feb-2021 |
George Liu <liuxiwei@inspur.com> |
Fix BIOS to allow updating attributers via D-Bus BIOS attribute is changed by pending attributes and the new value should be shown in D-Bus. Also BaseBIOSTable should be updated.
Fix BIOS to allow updating attributers via D-Bus BIOS attribute is changed by pending attributes and the new value should be shown in D-Bus. Also BaseBIOSTable should be updated. Tested: busctl call xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a{s\(sv\)} 1 "pvm_stop_at_standby" "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Enumeration" s "Enabled" busctl get-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager BaseBIOSTable --verbose ``` DICT_ENTRY "s(sbsssvva(sv))" { STRING "pvm_stop_at_standby"; STRUCT "sbsssvva(sv)" { STRING "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Enumeration"; BOOLEAN false; STRING "pvm_stop_at_standby"; STRING "pvm_stop_at_standby"; STRING ""; VARIANT "s" { STRING "Enabled"; }; VARIANT "s" { STRING "Enabled"; }; ARRAY "(sv)" { STRUCT "sv" { STRING "xyz.openbmc_project.BIOSConfig.Manager.BoundType.OneOf"; VARIANT "s" { STRING "Disabled"; }; }; STRUCT "sv" { STRING "xyz.openbmc_project.BIOSConfig.Manager.BoundType.OneOf"; VARIANT "s" { STRING "Enabled"; }; }; }; }; }; ``` Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I74ee9ff843fa9d588f94e4334d015cf55b52aea6
show more ...
|
#
ca7b2524 |
| 18-Nov-2020 |
Tom Joseph <tomjoseph@in.ibm.com> |
bios: Initialise the bios attributes from bios-settings-manager The bios-settings-manager is persisting the current value for the PLDM BIOS attributes. The PLDM daemon will lookup the bi
bios: Initialise the bios attributes from bios-settings-manager The bios-settings-manager is persisting the current value for the PLDM BIOS attributes. The PLDM daemon will lookup the bios-settings-manager for the current value and create the BIOS attribute value table. Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> Change-Id: I6a7a9ff9c3766189e6a64ab88c5c5e438881151f
show more ...
|
#
7f839f9d |
| 20-Sep-2020 |
Tom Joseph <tomjoseph@in.ibm.com> |
oem-ibm: Send the event to host when BIOS attribute changes IBM has the requirement to send a hot update to host when the BIOS attribute changes. This patch enables sending an OEM platfo
oem-ibm: Send the event to host when BIOS attribute changes IBM has the requirement to send a hot update to host when the BIOS attribute changes. This patch enables sending an OEM platform event message to host with the details of the BIOS attributes that changed on the BMC. Once the host acknowledges the event, then BMC updates the BaseBiosTable in the bios-config-manager. The host comes down and reads the changed BIOS attributes by calling the command GetBIOSAttribute value. Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> Change-Id: Id1579bfed1967e653da743313c825b765d227681
show more ...
|
#
1244acfd |
| 13-Aug-2020 |
George Liu <liuxiwei@inspur.com> |
support runtime update of BIOS attributes Register the BIOSConfig/PendingAttributes signal and when the out of band redfish user updates the BIOS attributes, the pldm daemon should proce
support runtime update of BIOS attributes Register the BIOSConfig/PendingAttributes signal and when the out of band redfish user updates the BIOS attributes, the pldm daemon should process and check the PendingAttributes porperty, and then update the BIOSConfig/BaseBIOSTable property and the BIOS table. Tested: test JSON with https://gist.github.com/lxwinspur/2afffff2e445fddf90dfed6eceef4014 Type.Enumeration: ~#: busctl set-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a\{s\(sv\)\} 1 "Led" "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Enumeration" s "xyz.openbmc_project.Led.Physical.Action.On" ~#: pldmtool bios getbiostable -t 2 PLDM AttributeValueTable: ... ... AttributeHandle: 3 AttributeType: BIOSEnumeration NumberOfCurrentValues: 1 CurrentValueStringHandleIndex[0] = 0, StringHandle = On ... ... Type.String ~#: busctl set-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a\{s\(sv\)\} 1 "Model" "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.String" s "testModel" ~#: pldmtool bios getbiostable -t 2 PLDM AttributeValueTable: AttributeHandle: 0 AttributeType: BIOSString CurrentStringLength: 10 CurrentString: testModel ... ... Type.Integer ~#: busctl set-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a\{s\(sv\)\} 1 "OUTLET" "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Integer" x 1000 ~#: pldmtool bios getbiostable -t 2 ... ... AttributeHandle: 2 AttributeType: BIOSInteger CurrentValue: 1000 ... ... Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I4d4d2941e6c9bfa7f6fccb664db1580f2ffc9c9f
show more ...
|
#
1b180d8a |
| 23-Jul-2020 |
George Liu <liuxiwei@inspur.com> |
libpldmresponder: Implement SetBIOSTable Register the setBIOSTable method and set separately string table, attribute table, and attribute value table. When the attribute value table
libpldmresponder: Implement SetBIOSTable Register the setBIOSTable method and set separately string table, attribute table, and attribute value table. When the attribute value table is set, the corresponding D-Bus property value needs to updated. Tested: test with JSON: https://gist.github.com/lxwinspur/2afffff2e445fddf90dfed6eceef4014 ~# pldmtool raw -d 0x80 0x03 0x02 0x00 0x00 0x00 0x00 0x05 0x00 0x00 0x00 0x03 0x00 0x4c 0x65 0x64 0x01 0x00 0x03 0x00 0x4f 0x66 0x66 0x02 0x00 0x02 0x00 0x4f 0x6e 0x23 0x4d 0x50 0x09 Request Message: 08 01 80 03 02 00 00 00 00 05 00 00 00 03 00 4c 65 64 01 00 03 00 4f 66 66 02 00 02 00 4f 6e 23 4d 50 09 Response Message: 08 01 00 03 02 00 00 00 00 00 ~# pldmtool raw -d 0x80 0x03 0x02 0x00 0x00 0x00 0x00 0x05 0x01 0x00 0x00 0x00 0x00 0x00 0x02 0x02 0x00 0x01 0x00 0x01 0x01 0xff 0x10 0x22 0x77 Request Message: 08 01 80 03 02 00 00 00 00 05 01 00 00 00 00 00 02 02 00 01 00 01 01 ff 10 22 77 Response Message: 08 01 00 03 02 00 00 00 00 00 ~# pldmtool raw -d 0x80 0x03 0x02 0x00 0x00 0x00 0x00 0x05 0x02 0x00 0x00 0x00 0x01 0x01 0x00 0x00 0x00 0xbc 0x91 0xfe 0xe0 Request Message: 08 01 80 03 02 00 00 00 00 05 02 00 00 00 01 01 00 00 00 bc 91 fe e0 Response Message: 08 01 00 03 02 00 00 00 00 00 ~# pldmtool bios GetBIOSTable -t 0 PLDM StringTable: BIOSStringHandle : BIOSString 0 : Led 1 : Off 2 : On ~# pldmtool bios GetBIOSTable -t 1 PLDM AttributeTable: AttributeHandle: 0, AttributeNameHandle: 0(Led) AttributeType: BIOSEnumeration NumberOfPossibleValues: 2 PossibleValueStringHandle[0] = 2(On) PossibleValueStringHandle[1] = 1(Off) NumberOfDefaultValues: 1 DefaultValueStringHandleIndex[0] = 1, StringHandle = 1(Off) ~# pldmtool bios GetBIOSTable -t 2 PLDM AttributeValueTable: AttributeHandle: 0 AttributeType: BIOSEnumeration NumberOfCurrentValues: 1 CurrentValueStringHandleIndex[0] = 1, StringHandle = Off Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I0ff88961afdfe0835c9fd0b56e37f7ed75f2fb45
show more ...
|
#
6492f524 |
| 15-Jun-2020 |
George Liu <liuxiwei@inspur.com> |
clang-format: update to latest from docs repo Since `Cpp11` is an alias for `Latest` and we should tend towards using the latest C++ standard, update the C++ standard to Latest.
clang-format: update to latest from docs repo Since `Cpp11` is an alias for `Latest` and we should tend towards using the latest C++ standard, update the C++ standard to Latest. https://github.com/llvm/llvm-project/commit/e5032567903de19962333c4bf7d2edceaf4f9824#diff-b49a097415dff2837d9626d422c58ba8R82 https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Also, other OpenBMC repos are doing the same. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I449e88bb4e1e262060110e1a8f3e8db3ddfc74cf
show more ...
|