History log of /openbmc/pldm/oem/ibm/configurations/bios/ (Results 51 – 67 of 67)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
3a0fe62f10-Aug-2021 Chen Du <duchen@us.ibm.com>

Update PLDM BIOS attribute hb_mirror_memory_mode name

Update the naming for hb_mirror_memory_mode to hb_memory_mirror_mode
to match the documentation naming

Signed-off-by: Chen Du <duchen@us.ibm.co

Update PLDM BIOS attribute hb_mirror_memory_mode name

Update the naming for hb_mirror_memory_mode to hb_memory_mirror_mode
to match the documentation naming

Signed-off-by: Chen Du <duchen@us.ibm.com>
Change-Id: Ife32a14ee7669ee6fe27bf92d0e0ba1dd6a48172

show more ...

ab80179105-Aug-2021 George Liu <liuxiwei@inspur.com>

Fix enum_attrs.json error

a87190f145a193bb3d8aa55e3a82ebf65599d7d7 introduced a
syntax error in json.

This commit would fix it.

Tested: enabled OEM-IBM and built pldm successfully and
parse enum_a

Fix enum_attrs.json error

a87190f145a193bb3d8aa55e3a82ebf65599d7d7 introduced a
syntax error in json.

This commit would fix it.

Tested: enabled OEM-IBM and built pldm successfully and
parse enum_attrs.json passed.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: If0f66d5463502c1bb2e1228304e0efc082e7a727

show more ...

48f670e327-Jul-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Fix json error

b6540532d5033fbc9fdeaf6112445d73e8a5a3cf introduced a
syntax error in json. This commit would fix it.

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

Fix json error

b6540532d5033fbc9fdeaf6112445d73e8a5a3cf introduced a
syntax error in json. This commit would fix it.

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

show more ...

a87190f115-Jul-2021 Chen Du <duchen@us.ibm.com>

Add BIOS attribute hb_mirror_memory

Hostboot reads hb_mirror_memory and sets ATTR_PAYLOAD_IN_MIRROR_MEM

Signed-off-by: Chen Du <duchen@us.ibm.com>
Change-Id: I2efad571ad22c568c8a8a0110ffb0759af3b94

Add BIOS attribute hb_mirror_memory

Hostboot reads hb_mirror_memory and sets ATTR_PAYLOAD_IN_MIRROR_MEM

Signed-off-by: Chen Du <duchen@us.ibm.com>
Change-Id: I2efad571ad22c568c8a8a0110ffb0759af3b948e

show more ...

50eedf5f29-Jun-2021 Zach Clark <zach@ibm.com>

Add *_current definitions for currently-defined Hostboot BIOS attributes

This commit adds hb_*_current attributes for currently-defined
"latched" Hostboot BIOS attributes. Certain hb_* BIOS attribut

Add *_current definitions for currently-defined Hostboot BIOS attributes

This commit adds hb_*_current attributes for currently-defined
"latched" Hostboot BIOS attributes. Certain hb_* BIOS attributes will
be copied into the hb_*_current attributes at the beginning of each
IPL to indicate what value is in use for the IPL after it is complete.

Change-Id: I5112e82c84f44a512a240e2b2d3c4e0865b34f67
Signed-off-by: Zach Clark <zach@ibm.com>

show more ...

b654053202-Jun-2021 Sridevi Ramesh <sridevra@in.ibm.com>

BIOS: Add new option value 'ManualOnly' for 'pvm_stop_at_standby'

Currently 'pvm_stop_at_standby' bios enum supports Disabled & Enabled.
New option 'ManualOnly' behaves as auto-start (automatic rest

BIOS: Add new option value 'ManualOnly' for 'pvm_stop_at_standby'

Currently 'pvm_stop_at_standby' bios enum supports Disabled & Enabled.
New option 'ManualOnly' behaves as auto-start (automatic restarts only)
policy that instructs the server to activate server firmware and
partitions automatically only in the case of a recovery power on after
an abnormal termination.

Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
Change-Id: I58c1a5a54fbdf3b07dbb38f21c725ae130013cf8

show more ...


/openbmc/pldm/common/test/pldm_utils_test.cpp
/openbmc/pldm/common/utils.cpp
/openbmc/pldm/common/utils.hpp
/openbmc/pldm/configurations/pdr/11.json
/openbmc/pldm/host-bmc/dbus_to_event_handler.cpp
/openbmc/pldm/host-bmc/dbus_to_event_handler.hpp
/openbmc/pldm/host-bmc/dbus_to_host_effecters.cpp
/openbmc/pldm/host-bmc/dbus_to_host_effecters.hpp
/openbmc/pldm/host-bmc/host_pdr_handler.cpp
/openbmc/pldm/host-bmc/host_pdr_handler.hpp
/openbmc/pldm/host-bmc/test/dbus_to_host_effecter_test.cpp
/openbmc/pldm/host-bmc/test/meson.build
/openbmc/pldm/libpldm/base.h
/openbmc/pldm/libpldm/firmware_update.c
/openbmc/pldm/libpldm/firmware_update.h
/openbmc/pldm/libpldm/pdr.c
/openbmc/pldm/libpldm/pdr.h
/openbmc/pldm/libpldm/tests/libpldm_firmware_update_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_pdr_test.cpp
/openbmc/pldm/libpldmresponder/base.cpp
/openbmc/pldm/libpldmresponder/bios.cpp
/openbmc/pldm/libpldmresponder/bios.hpp
/openbmc/pldm/libpldmresponder/bios_config.cpp
/openbmc/pldm/libpldmresponder/bios_config.hpp
/openbmc/pldm/libpldmresponder/fru.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_bios_config_test.cpp
/openbmc/pldm/libpldmresponder/test/meson.build
enum_attrs.json
/openbmc/pldm/oem/ibm/configurations/fileTable.json
/openbmc/pldm/oem/ibm/configurations/fru/Battery_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Battery_VINI.json
/openbmc/pldm/oem/ibm/configurations/fru/Bmc_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Chassis_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Chassis_VINI.json
/openbmc/pldm/oem/ibm/configurations/fru/Connector_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/DiskBackplane_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/DiskBackplane_VINI.json
/openbmc/pldm/oem/ibm/configurations/fru/Fan_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Motherboard_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/PCIeDevice_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/PCIeDevice_VINI.json
/openbmc/pldm/oem/ibm/configurations/fru/PCIeSlot_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Panel_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/PowerSupply_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/PowerSupply_VINI.json
/openbmc/pldm/oem/ibm/configurations/fru/System_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Tpm_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Vrm_LocationCode.json
/openbmc/pldm/oem/ibm/libpldmresponder/file_io.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/oem_ibm_handler.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/platform_oem_ibm.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/platform_oem_ibm.hpp
/openbmc/pldm/oem/ibm/requester/dbus_to_file_handler.cpp
/openbmc/pldm/oem/ibm/requester/dbus_to_file_handler.hpp
/openbmc/pldm/oem/ibm/test/libpldmresponder_fileio_test.cpp
/openbmc/pldm/oem/ibm/test/libpldmresponder_oem_platform_test.cpp
/openbmc/pldm/pldmd/pldmd.cpp
/openbmc/pldm/pldmd/service_files/pldmd.service
/openbmc/pldm/pldmtool/pldm_base_cmd.cpp
/openbmc/pldm/requester/handler.hpp
/openbmc/pldm/requester/request.hpp
/openbmc/pldm/requester/test/handler_test.cpp
/openbmc/pldm/requester/test/request_test.cpp
/openbmc/pldm/tools/visualize-pdr/README.md
/openbmc/pldm/tools/visualize-pdr/pldm_visualise_pdrs.py
/openbmc/pldm/tools/visualize-pdr/requirements.txt
ea72f24010-Jun-2021 Ilya Smirnov <ismirno@us.ibm.com>

Add Secure Version Lockin BIOS Attribute

This commit introduces a new BIOS attribute for secure version lockin
support. When the attribute is set, HB will accept the new incoming
secure version as t

Add Secure Version Lockin BIOS Attribute

This commit introduces a new BIOS attribute for secure version lockin
support. When the attribute is set, HB will accept the new incoming
secure version as the default min secure version on the system. When
the lockin is disabled, the min secure version will stay the same
despite code updates.

Signed-off-by: Ilya Smirnov <ismirno@us.ibm.com>
Change-Id: I100c7cecfb148d9cab3879b2a98320a1eaf62dcf

show more ...

34b535a921-May-2021 Sridevi Ramesh <sridevra@in.ibm.com>

bios: Remove two unneeded bios attributes as mentioned below

1. pvm_inband_code_update
- On BMC in-band CU is allowed based on pvm_hmc_managed and
identified that redundant pvm_inband_code_u

bios: Remove two unneeded bios attributes as mentioned below

1. pvm_inband_code_update
- On BMC in-band CU is allowed based on pvm_hmc_managed and
identified that redundant pvm_inband_code_update attribute
is no longer needed.

2. pvm_surveillance
- BMC controls whether surveillance runs via the setEventReceiver
command, with the disable or enableAsync options. Hence, no
need of pvm_surveillance attribute.

Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
Change-Id: I053c1974b5fced2a024820efc576f0756bbabe65

show more ...


/openbmc/pldm/README.md
/openbmc/pldm/common/types.hpp
/openbmc/pldm/configurations/pdr/11.json
/openbmc/pldm/configurations/pdr/4.json
/openbmc/pldm/host-bmc/host_pdr_handler.cpp
/openbmc/pldm/host-bmc/host_pdr_handler.hpp
/openbmc/pldm/libpldm/base.c
/openbmc/pldm/libpldm/base.h
/openbmc/pldm/libpldm/bios.c
/openbmc/pldm/libpldm/entity.h
/openbmc/pldm/libpldm/firmware_update.c
/openbmc/pldm/libpldm/firmware_update.h
/openbmc/pldm/libpldm/fru.c
/openbmc/pldm/libpldm/platform.c
/openbmc/pldm/libpldm/tests/libpldm_firmware_update_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_fru_test.cpp
/openbmc/pldm/libpldm/utils.h
/openbmc/pldm/libpldmresponder/fru_parser.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_fru_test.cpp
/openbmc/pldm/meson.build
/openbmc/pldm/meson_options.txt
enum_attrs.json
/openbmc/pldm/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
/openbmc/pldm/oem/ibm/configurations/fileTable.json
/openbmc/pldm/oem/ibm/libpldm/file_io.c
/openbmc/pldm/oem/ibm/libpldm/host.c
/openbmc/pldm/oem/ibm/libpldm/platform_oem_ibm.c
/openbmc/pldm/oem/ibm/libpldmresponder/file_table.cpp
/openbmc/pldm/pldmd/pldmd.cpp
/openbmc/pldm/pldmd/service_files/pldmd.service
/openbmc/pldm/pldmtool/README.md
/openbmc/pldm/pldmtool/pldm_fru_cmd.cpp
/openbmc/pldm/pldmtool/pldm_platform_cmd.cpp
/openbmc/pldm/requester/README.md
/openbmc/pldm/requester/handler.hpp
/openbmc/pldm/requester/request.hpp
/openbmc/pldm/requester/test/handler_test.cpp
/openbmc/pldm/requester/test/meson.build
/openbmc/pldm/requester/test/mock_request.hpp
/openbmc/pldm/requester/test/request_test.cpp
/openbmc/pldm/subprojects/function2.wrap
0a1c885607-May-2021 Christian Geddes <crgeddes@us.ibm.com>

Add definition for hb_lid_ids attribute to string_attrs.json

The eBMC for IBM systems will have copies of all the files needed
to support any type of sytem. The host however, only wants 'this'
syste

Add definition for hb_lid_ids attribute to string_attrs.json

The eBMC for IBM systems will have copies of all the files needed
to support any type of sytem. The host however, only wants 'this'
systems copy of a given file, such as the device layout information.
This attribute gives a way to the eBMC to communicate which .lid files
the host should access without the host boot firmware having to keep
a list of all the possible lid files for the various system types and
knowing what type of system it is operating in.

The format of this attribute will be a comma separated list of pairs:
<readable name A>=<lid id 1>,<readable name B>=<lid id 2>

Example :
HBI=81e0065d,HBB=81e0065a

Signed-off-by: Christian Geddes <crgeddes@us.ibm.com>
Change-Id: I9d5c600d7fd8ea6d2efc37ce41efc57d4e1c8f62

show more ...

6496b03507-May-2021 Corey Swenson <cswenson@us.ibm.com>

Add pldm bios attrs for huge_pages and power_limit

Make memory_region_size an enum, add huge_page_size and
power_limit_enable and power_limit_in_watts.

Signed-off-by: Corey Swenson <cswenson@us.ibm

Add pldm bios attrs for huge_pages and power_limit

Make memory_region_size an enum, add huge_page_size and
power_limit_enable and power_limit_in_watts.

Signed-off-by: Corey Swenson <cswenson@us.ibm.com>
Change-Id: Iae47d103df323a30ac8838b00504fac9702feb08

show more ...


/openbmc/pldm/MAINTAINERS
/openbmc/pldm/common/test/meson.build
/openbmc/pldm/common/test/mocked_utils.hpp
/openbmc/pldm/common/test/pldm_utils_test.cpp
/openbmc/pldm/host-bmc/test/dbus_to_host_effecter_test.cpp
/openbmc/pldm/host-bmc/test/host_effecter_jsons/good/dbus_to_host_effecter.json
/openbmc/pldm/host-bmc/test/host_effecter_jsons/malformed/dbus_to_host_effecter.json
/openbmc/pldm/host-bmc/test/host_effecter_jsons/no_json/dummy.json
/openbmc/pldm/host-bmc/test/meson.build
/openbmc/pldm/libpldm/base.h
/openbmc/pldm/libpldm/pdr.c
/openbmc/pldm/libpldm/pdr.h
/openbmc/pldm/libpldm/platform.c
/openbmc/pldm/libpldm/platform.h
/openbmc/pldm/libpldm/tests/libpldm_pdr_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_platform_test.cpp
/openbmc/pldm/libpldm/tests/meson.build
/openbmc/pldm/libpldmresponder/fru_parser.hpp
/openbmc/pldm/libpldmresponder/meson.build
/openbmc/pldm/libpldmresponder/test/bios_jsons/enum_attrs.json
/openbmc/pldm/libpldmresponder/test/bios_jsons/integer_attrs.json
/openbmc/pldm/libpldmresponder/test/bios_jsons/string_attrs.json
/openbmc/pldm/libpldmresponder/test/event_jsons/good/event_state_sensor.json
/openbmc/pldm/libpldmresponder/test/files/NVRAM-IMAGE
/openbmc/pldm/libpldmresponder/test/files/NVRAM-IMAGE-CKSUM
/openbmc/pldm/libpldmresponder/test/fru_jsons/good/Board_General.json
/openbmc/pldm/libpldmresponder/test/fru_jsons/good/Board_VINI.json
/openbmc/pldm/libpldmresponder/test/fru_jsons/good/Cpu_General.json
/openbmc/pldm/libpldmresponder/test/fru_jsons/good/FRU_Master.json
/openbmc/pldm/libpldmresponder/test/libpldmresponder_base_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_bios_attribute_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_bios_config_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_bios_enum_attribute_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_bios_integer_attribute_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_bios_string_attribute_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_bios_table_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_bios_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_fru_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_pdr_effecter_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_pdr_sensor_test.cpp
/openbmc/pldm/libpldmresponder/test/libpldmresponder_platform_test.cpp
/openbmc/pldm/libpldmresponder/test/meson.build
/openbmc/pldm/libpldmresponder/test/mocked_bios.hpp
/openbmc/pldm/libpldmresponder/test/pdr_jsons/state_effecter/good/effecter_pdr.json
/openbmc/pldm/libpldmresponder/test/pdr_jsons/state_effecter/malformed/effecter_pdr.json
/openbmc/pldm/libpldmresponder/test/pdr_jsons/state_sensor/good/sensor_pdr.json
/openbmc/pldm/libpldmresponder/test/pdr_jsons/state_sensor/malformed/sensor_pdr.json
/openbmc/pldm/meson.build
/openbmc/pldm/meson_options.txt
enum_attrs.json
integer_attrs.json
/openbmc/pldm/oem/ibm/test/libpldmresponder_oem_platform_test.cpp
/openbmc/pldm/pldmd/pldmd.cpp
/openbmc/pldm/test/meson.build
bda160c114-Apr-2021 Corey Swenson <cswenson@us.ibm.com>

Add hb_huge_page_size to PLDM BIOS attributes

Signed-off-by: Corey Swenson <cswenson@us.ibm.com>
Change-Id: Id06eabb5ce9928676d3379eac44078e0383ecd12

cfff3e9c28-Apr-2021 Jayashankar Padath <jayashankar.padath@in.ibm.com>

bios: Add/change bios attributes

Added new vtpm bios attributes to the supported list. Also the
attribute name pvm_os_ipl_type is changed to pvm_os_boot_type.

Tested by:
Verified the values using t

bios: Add/change bios attributes

Added new vtpm bios attributes to the supported list. Also the
attribute name pvm_os_ipl_type is changed to pvm_os_boot_type.

Tested by:
Verified the values using the pldmtool, redfish

1. StringTable o/p:
"33": "pvm_os_boot_type",
"42": "pvm_vtpm",

2. AttributeTable o/p:
{
"AttributeHandle": 24,
"AttributeNameHandle": "33(pvm_os_boot_type)",
"AttributeType": "BIOSEnumeration",
"NumberOfPossibleValues": 4,
"PossibleValueStringHandle[0]": "1(A_Mode)",
"PossibleValueStringHandle[1]": "4(B_Mode)",
"PossibleValueStringHandle[2]": "5(C_Mode)",
"PossibleValueStringHandle[3]": "6(D_Mode)",
"NumberOfDefaultValues": 1,
"DefaultValueStringHandleIndex[0]": 3,
"StringHandle": "6(D_Mode)"
},
{
"AttributeHandle": 25,
"AttributeNameHandle": "42(pvm_vtpm)",
"AttributeType": "BIOSEnumeration",
"NumberOfPossibleValues": 2,
"PossibleValueStringHandle[0]": "8(Disabled)",
"PossibleValueStringHandle[1]": "9(Enabled)",
"NumberOfDefaultValues": 1,
"DefaultValueStringHandleIndex[0]": 0,
"StringHandle": "8(Disabled)"
}

3. AttributeValueTable o/p:
{
"AttributeHandle": 24,
"AttributeType": "BIOSEnumeration",
"NumberOfCurrentValues": 1,
"CurrentValueStringHandleIndex[0]": "D_Mode"
},
{
"AttributeHandle": 25,
"AttributeType": "BIOSEnumeration",
"NumberOfCurrentValues": 1,
"CurrentValueStringHandleIndex[0]": "Disabled"
}

4. Redfish GET:
"pvm_os_boot_type": "D_Mode",
"pvm_vtpm": "Disabled",

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

show more ...

47cf663e16-Apr-2021 Roland Veloz <rveloz@us.ibm.com>

pldmbios: Adding a BIOS attribute that can limit the number of cores activated

Adding attribute "hb_field_core_override" that can be used to limit
the number of cores HB activates. The default is 0

pldmbios: Adding a BIOS attribute that can limit the number of cores activated

Adding attribute "hb_field_core_override" that can be used to limit
the number of cores HB activates. The default is 0 which is interpreted
as to activate all cores. If given value N which is not 0, then
for a fused core system 2N cores will be activated. For a non-fused
core system then N cores will be activated.

This is useful if a customer only wishes to activate N cores and not
activate all cores available.

Signed-off-by: Roland Veloz <rveloz@us.ibm.com>
Change-Id: Icca120b445810e1b7b8d41f0699ef87a4f0b6037

show more ...

e7991b7530-Mar-2021 Jayashankar Padath <jayashankar.padath@in.ibm.com>

bios: Add/remove bios attributes

A) Adding three bios attributes to the supported list. Newly
added bios attributes are:
1. pvm_system_operating_mode
2. pvm_rpa_boot_mode
3. pvm_os_ipl_type

B) Remo

bios: Add/remove bios attributes

A) Adding three bios attributes to the supported list. Newly
added bios attributes are:
1. pvm_system_operating_mode
2. pvm_rpa_boot_mode
3. pvm_os_ipl_type

B) Removed the unused bios attribute 'pvm_os_boot_side'.

Tested by:
Verified the values using the pldmtool, redfish and hyperviosr
macro.

1. pldmtool bios GetBIOSTable -t 1
{
"AttributeHandle": 23,
"AttributeNameHandle": "41(pvm_system_operating_mode)",
"AttributeType": "BIOSEnumeration",
"NumberOfPossibleValues": 2,
"PossibleValueStringHandle[0]": "15(Normal)",
"PossibleValueStringHandle[1]": "14(Manual)",
"NumberOfDefaultValues": 1,
"DefaultValueStringHandleIndex[0]": 0,
"StringHandle": "15(Normal)"
},
{
"AttributeHandle": 24,
"AttributeNameHandle": "36(pvm_rpa_boot_mode)",
"AttributeType": "BIOSEnumeration",
"NumberOfPossibleValues": 6,
"PossibleValueStringHandle[0]": "15(Normal)",
"PossibleValueStringHandle[1]": "23(SavedList)",
"PossibleValueStringHandle[2]": "24(SmsMenu)",
"PossibleValueStringHandle[3]": "18(OkPrompt)",
"PossibleValueStringHandle[4]": "7(DefaultList)",
"PossibleValueStringHandle[5]": "19(PblBootLid)",
"NumberOfDefaultValues": 1,
"DefaultValueStringHandleIndex[0]": 0,
"StringHandle": "15(Normal)"
},
{
"AttributeHandle": 25,
"AttributeNameHandle": "34(pvm_os_ipl_type)",
"AttributeType": "BIOSEnumeration",
"NumberOfPossibleValues": 4,
"PossibleValueStringHandle[0]": "1(A_Mode)",
"PossibleValueStringHandle[1]": "4(B_Mode)",
"PossibleValueStringHandle[2]": "5(C_Mode)",
"PossibleValueStringHandle[3]": "6(D_Mode)",
"NumberOfDefaultValues": 1,
"DefaultValueStringHandleIndex[0]": 3,
"StringHandle": "6(D_Mode)"
}

2. pldmtool bios GetBIOSTable -t 2
{
"AttributeHandle": 23,
"AttributeType": "BIOSEnumeration",
"NumberOfCurrentValues": 1,
"CurrentValueStringHandleIndex[0]": "Normal"
},
{
"AttributeHandle": 24,
"AttributeType": "BIOSEnumeration",
"NumberOfCurrentValues": 1,
"CurrentValueStringHandleIndex[0]": "Normal"
},
{
"AttributeHandle": 25,
"AttributeType": "BIOSEnumeration",
"NumberOfCurrentValues": 1,
"CurrentValueStringHandleIndex[0]": "D_Mode"
}
3. GET https://${bmc}/redfish/v1/Systems/system/Bios
"pvm_os_ipl_type": "D_Mode",
"pvm_rpa_boot_mode": "Normal",
"pvm_system_operating_mode": "Normal",

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

show more ...

61761d9615-Mar-2021 Corey Swenson <cswenson@us.ibm.com>

pldmbios: Add BIOS attributes huge_page_count lmb_size mfg_flags

Hostboot reads hb_requested_number_huge_pages and sets
ATTR_HUGE_PAGE_COUNT, reads hb_pending_memory_region_size and
sets ATTR_LMB_SI

pldmbios: Add BIOS attributes huge_page_count lmb_size mfg_flags

Hostboot reads hb_requested_number_huge_pages and sets
ATTR_HUGE_PAGE_COUNT, reads hb_pending_memory_region_size and
sets ATTR_LMB_SIZE, reads hb_mfg_flags and sets ATTR_MFG_FLAGS.
Tested: manually added bios attrs in rainier simics and
successfully read from hostboot.

Signed-off-by: Corey Swenson <cswenson@us.ibm.com>
Change-Id: Idfef7fd97b16d7cbf1bf72764387535e200c78e0

show more ...

672aecea07-Feb-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Bring back the dbus backend for bios attributes

- This commit would bring back the dbus backend support
for the bios attributes.

- This was required to be supported as we have two redfish
inter

Bring back the dbus backend for bios attributes

- This commit would bring back the dbus backend support
for the bios attributes.

- This was required to be supported as we have two redfish
interfaces that can be used to poke the same bios settings,
and we should make sure that they should be in sync.

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

show more ...

a907a58819-Jan-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Upstream BIOS Attributes under oem extensions

- This commit would upstream all the bios attributes
that ibm machines use.
- These attributes will be copied onto the BMC when
it is compiled with

Upstream BIOS Attributes under oem extensions

- This commit would upstream all the bios attributes
that ibm machines use.
- These attributes will be copied onto the BMC when
it is compiled with oem-ibm flag enabled.

Tested By:
- meson builddir -Doem-ibm=enabled -Dprefix=<>
- ninja -C builddir
- ninja install

Post install step, was able to see all the bios attribute
jsons inside <prefix>/share/pldm/bios folder.

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

show more ...


/openbmc/pldm/.clang-format
/openbmc/pldm/.gitignore
/openbmc/pldm/.lcovrc
/openbmc/pldm/LICENSE
/openbmc/pldm/MAINTAINERS
/openbmc/pldm/README.md
/openbmc/pldm/common/bios_utils.hpp
/openbmc/pldm/common/types.hpp
/openbmc/pldm/common/utils.cpp
/openbmc/pldm/common/utils.hpp
/openbmc/pldm/configurations/events/stateSensorPdrs.json
/openbmc/pldm/configurations/host/dbus_to_host_effecter.json
/openbmc/pldm/configurations/host/host_frus.json
/openbmc/pldm/configurations/meson.build
/openbmc/pldm/configurations/pdr/11.json
/openbmc/pldm/host-bmc/dbus_to_event_handler.cpp
/openbmc/pldm/host-bmc/dbus_to_event_handler.hpp
/openbmc/pldm/host-bmc/dbus_to_host_effecters.cpp
/openbmc/pldm/host-bmc/dbus_to_host_effecters.hpp
/openbmc/pldm/host-bmc/host_pdr_handler.cpp
/openbmc/pldm/host-bmc/host_pdr_handler.hpp
/openbmc/pldm/libpldm/.clang-format
/openbmc/pldm/libpldm/base.c
/openbmc/pldm/libpldm/base.h
/openbmc/pldm/libpldm/bios.c
/openbmc/pldm/libpldm/bios.h
/openbmc/pldm/libpldm/bios_table.c
/openbmc/pldm/libpldm/bios_table.h
/openbmc/pldm/libpldm/entity.h
/openbmc/pldm/libpldm/fru.c
/openbmc/pldm/libpldm/fru.h
/openbmc/pldm/libpldm/libpldm.pc.in
/openbmc/pldm/libpldm/meson.build
/openbmc/pldm/libpldm/pdr.c
/openbmc/pldm/libpldm/pdr.h
/openbmc/pldm/libpldm/platform.c
/openbmc/pldm/libpldm/platform.h
/openbmc/pldm/libpldm/pldm_types.h
/openbmc/pldm/libpldm/requester/pldm.c
/openbmc/pldm/libpldm/requester/pldm.h
/openbmc/pldm/libpldm/state_set.h
/openbmc/pldm/libpldm/states.h
/openbmc/pldm/libpldm/tests/.clang-format
/openbmc/pldm/libpldm/tests/libpldm_base_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_bios_table_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_bios_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_fru_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_pdr_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_platform_test.cpp
/openbmc/pldm/libpldm/tests/libpldm_utils_test.cpp
/openbmc/pldm/libpldm/tests/meson.build
/openbmc/pldm/libpldm/utils.c
/openbmc/pldm/libpldm/utils.h
/openbmc/pldm/libpldmresponder/base.cpp
/openbmc/pldm/libpldmresponder/base.hpp
/openbmc/pldm/libpldmresponder/bios.cpp
/openbmc/pldm/libpldmresponder/bios.hpp
/openbmc/pldm/libpldmresponder/bios_attribute.cpp
/openbmc/pldm/libpldmresponder/bios_attribute.hpp
/openbmc/pldm/libpldmresponder/bios_config.cpp
/openbmc/pldm/libpldmresponder/bios_config.hpp
/openbmc/pldm/libpldmresponder/bios_enum_attribute.cpp
/openbmc/pldm/libpldmresponder/bios_enum_attribute.hpp
/openbmc/pldm/libpldmresponder/bios_integer_attribute.cpp
/openbmc/pldm/libpldmresponder/bios_integer_attribute.hpp
/openbmc/pldm/libpldmresponder/bios_string_attribute.cpp
/openbmc/pldm/libpldmresponder/bios_string_attribute.hpp
/openbmc/pldm/libpldmresponder/bios_table.cpp
/openbmc/pldm/libpldmresponder/bios_table.hpp
/openbmc/pldm/libpldmresponder/event_parser.cpp
/openbmc/pldm/libpldmresponder/event_parser.hpp
/openbmc/pldm/libpldmresponder/examples/bios/enum_attrs.json
/openbmc/pldm/libpldmresponder/examples/bios/integer_attrs.json
/openbmc/pldm/libpldmresponder/examples/bios/string_attrs.json
/openbmc/pldm/libpldmresponder/examples/effecter/dbus_to_host_effecter.json
/openbmc/pldm/libpldmresponder/examples/events/event_state_sensor.json
/openbmc/pldm/libpldmresponder/examples/fru/Board_General.json
/openbmc/pldm/libpldmresponder/examples/fru/Board_VINI.json
/openbmc/pldm/libpldmresponder/examples/fru/Cpu_General.json
/openbmc/pldm/libpldmresponder/examples/fru/FRU_Master.json
/openbmc/pldm/libpldmresponder/examples/fru/host_frus.json
/openbmc/pldm/libpldmresponder/examples/pdr/effecter_pdr.json
/openbmc/pldm/libpldmresponder/examples/pdr/sensor_pdr.json
/openbmc/pldm/libpldmresponder/fru.cpp
/openbmc/pldm/libpldmresponder/fru.hpp
/openbmc/pldm/libpldmresponder/fru_parser.cpp
/openbmc/pldm/libpldmresponder/fru_parser.hpp
/openbmc/pldm/libpldmresponder/meson.build
/openbmc/pldm/libpldmresponder/oem_handler.hpp
/openbmc/pldm/libpldmresponder/pdr.cpp
/openbmc/pldm/libpldmresponder/pdr.hpp
/openbmc/pldm/libpldmresponder/pdr_numeric_effecter.hpp
/openbmc/pldm/libpldmresponder/pdr_state_effecter.hpp
/openbmc/pldm/libpldmresponder/pdr_state_sensor.hpp
/openbmc/pldm/libpldmresponder/pdr_utils.cpp
/openbmc/pldm/libpldmresponder/pdr_utils.hpp
/openbmc/pldm/libpldmresponder/platform.cpp
/openbmc/pldm/libpldmresponder/platform.hpp
/openbmc/pldm/libpldmresponder/platform_numeric_effecter.hpp
/openbmc/pldm/libpldmresponder/platform_state_effecter.hpp
/openbmc/pldm/libpldmresponder/platform_state_sensor.hpp
/openbmc/pldm/meson.build
/openbmc/pldm/meson_options.txt
enum_attrs.json
integer_attrs.json
string_attrs.json
/openbmc/pldm/oem/ibm/configurations/events/oem_ibm_event_state_sensor.json
/openbmc/pldm/oem/ibm/configurations/fileTable.json
/openbmc/pldm/oem/ibm/configurations/fru/Bmc_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Bmc_VINI.json
/openbmc/pldm/oem/ibm/configurations/fru/Bmc_VR10.json
/openbmc/pldm/oem/ibm/configurations/fru/Bmc_VW10.json
/openbmc/pldm/oem/ibm/configurations/fru/Chassis_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Motherboard_DINF.json
/openbmc/pldm/oem/ibm/configurations/fru/Motherboard_LXR0.json
/openbmc/pldm/oem/ibm/configurations/fru/Motherboard_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Motherboard_VCEN.json
/openbmc/pldm/oem/ibm/configurations/fru/Motherboard_VINI.json
/openbmc/pldm/oem/ibm/configurations/fru/Motherboard_VSYS.json
/openbmc/pldm/oem/ibm/configurations/fru/Panel_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Panel_VINI.json
/openbmc/pldm/oem/ibm/configurations/fru/System_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/System_VSYS.json
/openbmc/pldm/oem/ibm/configurations/fru/Tpm_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Tpm_VINI.json
/openbmc/pldm/oem/ibm/configurations/fru/Vrm_LocationCode.json
/openbmc/pldm/oem/ibm/configurations/fru/Vrm_VINI.json
/openbmc/pldm/oem/ibm/configurations/host_eid
/openbmc/pldm/oem/ibm/libpldm/.clang-format
/openbmc/pldm/oem/ibm/libpldm/file_io.c
/openbmc/pldm/oem/ibm/libpldm/file_io.h
/openbmc/pldm/oem/ibm/libpldm/fru.h
/openbmc/pldm/oem/ibm/libpldm/host.c
/openbmc/pldm/oem/ibm/libpldm/host.h
/openbmc/pldm/oem/ibm/libpldm/platform_oem_ibm.c
/openbmc/pldm/oem/ibm/libpldm/platform_oem_ibm.h
/openbmc/pldm/oem/ibm/libpldmresponder/file_io.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io_by_type.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io_by_type.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io_type_cert.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io_type_cert.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io_type_dump.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io_type_dump.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io_type_lid.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io_type_pel.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_io_type_pel.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_table.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/file_table.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/inband_code_update.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/inband_code_update.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/oem_ibm_handler.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/oem_ibm_handler.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/platform_oem_ibm.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/platform_oem_ibm.hpp
/openbmc/pldm/oem/ibm/libpldmresponder/utils.cpp
/openbmc/pldm/oem/ibm/libpldmresponder/utils.hpp
/openbmc/pldm/oem/ibm/test/libpldm_fileio_test.cpp
/openbmc/pldm/oem/ibm/test/libpldm_host_test.cpp
/openbmc/pldm/oem/ibm/test/libpldmresponder_fileio_test.cpp
/openbmc/pldm/oem/ibm/test/libpldmresponder_oem_platform_test.cpp
/openbmc/pldm/pldmd/dbus_impl_pdr.cpp
/openbmc/pldm/pldmd/dbus_impl_pdr.hpp
/openbmc/pldm/pldmd/dbus_impl_requester.cpp
/openbmc/pldm/pldmd/dbus_impl_requester.hpp
/openbmc/pldm/pldmd/handler.hpp
/openbmc/pldm/pldmd/instance_id.cpp
/openbmc/pldm/pldmd/instance_id.hpp
/openbmc/pldm/pldmd/invoker.hpp
/openbmc/pldm/pldmd/pldmd.cpp
/openbmc/pldm/pldmd/pldmd.service
/openbmc/pldm/pldmtool/meson.build
/openbmc/pldm/pldmtool/oem/ibm/pldm_oem_ibm.cpp
/openbmc/pldm/pldmtool/oem/ibm/pldm_oem_ibm.hpp
/openbmc/pldm/pldmtool/pldm_base_cmd.cpp
/openbmc/pldm/pldmtool/pldm_base_cmd.hpp
/openbmc/pldm/pldmtool/pldm_bios_cmd.cpp
/openbmc/pldm/pldmtool/pldm_bios_cmd.hpp
/openbmc/pldm/pldmtool/pldm_cmd_helper.cpp
/openbmc/pldm/pldmtool/pldm_cmd_helper.hpp
/openbmc/pldm/pldmtool/pldm_fru_cmd.cpp
/openbmc/pldm/pldmtool/pldm_fru_cmd.hpp
/openbmc/pldm/pldmtool/pldm_platform_cmd.cpp
/openbmc/pldm/pldmtool/pldm_platform_cmd.hpp
/openbmc/pldm/pldmtool/pldmtool.cpp
/openbmc/pldm/softoff/main.cpp
/openbmc/pldm/softoff/meson.build
/openbmc/pldm/softoff/services/pldmSoftPowerOff.service
/openbmc/pldm/softoff/softoff.cpp
/openbmc/pldm/softoff/softoff.hpp
/openbmc/pldm/test/bios_jsons/enum_attrs.json
/openbmc/pldm/test/bios_jsons/integer_attrs.json
/openbmc/pldm/test/bios_jsons/string_attrs.json
/openbmc/pldm/test/event_jsons/good/event_state_sensor.json
/openbmc/pldm/test/files/NVRAM-IMAGE
/openbmc/pldm/test/files/NVRAM-IMAGE-CKSUM
/openbmc/pldm/test/fru_jsons/good/Board_General.json
/openbmc/pldm/test/fru_jsons/good/Board_VINI.json
/openbmc/pldm/test/fru_jsons/good/Cpu_General.json
/openbmc/pldm/test/fru_jsons/good/FRU_Master.json
/openbmc/pldm/test/host_effecter_jsons/good/dbus_to_host_effecter.json
/openbmc/pldm/test/host_effecter_jsons/malformed/dbus_to_host_effecter.json
/openbmc/pldm/test/host_effecter_jsons/no_json/dummy.json
/openbmc/pldm/test/libpldmresponder_base_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_attribute_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_config_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_enum_attribute_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_integer_attribute_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_string_attribute_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_table_test.cpp
/openbmc/pldm/test/libpldmresponder_bios_test.cpp
/openbmc/pldm/test/libpldmresponder_dbus_to_host_effecter_test.cpp
/openbmc/pldm/test/libpldmresponder_fru_test.cpp
/openbmc/pldm/test/libpldmresponder_pdr_effecter_test.cpp
/openbmc/pldm/test/libpldmresponder_pdr_sensor_test.cpp
/openbmc/pldm/test/libpldmresponder_platform_test.cpp
/openbmc/pldm/test/meson.build
/openbmc/pldm/test/mocked_bios.hpp
/openbmc/pldm/test/mocked_utils.hpp
/openbmc/pldm/test/pdr_jsons/state_effecter/good/effecter_pdr.json
/openbmc/pldm/test/pdr_jsons/state_effecter/malformed/effecter_pdr.json
/openbmc/pldm/test/pdr_jsons/state_sensor/good/sensor_pdr.json
/openbmc/pldm/test/pdr_jsons/state_sensor/malformed/sensor_pdr.json
/openbmc/pldm/test/pldm_utils_test.cpp
/openbmc/pldm/test/pldmd_instanceid_test.cpp
/openbmc/pldm/test/pldmd_registration_test.cpp
/openbmc/pldm/utilities/meson.build
/openbmc/pldm/utilities/requester/set_state_effecter.cpp
/openbmc/pldm/utilities/requester/set_state_effecter_async.cpp

123