397019d6 | 03-Apr-2023 |
Varsha Kaverappa <vkaverap@in.ibm.com> |
oem-ibm : Support for VPD record PSPD via file I/O with offset
This commits allows transfer of PSPD record data via PLDM with offset included. Host can now send the keyword data with non zero offset
oem-ibm : Support for VPD record PSPD via file I/O with offset
This commits allows transfer of PSPD record data via PLDM with offset included. Host can now send the keyword data with non zero offset in request message. Tested by using pldmtool to send read request command to PLDM
Change-Id: Ibdceedd24714135adf8f106ff08eb09da9bdcaa5 Signed-off-by: Varsha Kaverappa <vkaverap@in.ibm.com>
show more ...
|
9eee2518 | 28-Oct-2022 |
Varsha Kaverappa <vkaverap@in.ibm.com> |
oem-ibm : New record to backplane vpd
This commit is to support a new VPD record called PSPD that contains few keywords called #D and VM. Since these keywords are typically larger in size (4K bytes)
oem-ibm : New record to backplane vpd
This commit is to support a new VPD record called PSPD that contains few keywords called #D and VM. Since these keywords are typically larger in size (4K bytes) than what is managed by PLDM, we are adding a file into which these keywords will be extracted. This keyword file is transferred to the HB PLDM layer with a readFileByType request from HB.
Signed-off-by: Varsha Kaverappa <vkaverap@in.ibm.com> Change-Id: I94ed20bb54e704173a2c0a2dd6dbea853174b7de
show more ...
|
19ea04c3 | 13-Apr-2023 |
Jishnu CM <jishnunambiarcm@duck.com> |
Update lower_bound of ipv6_prefix_length to 0
The hypervisor supports the lower bound value of the IPv6 prefix length to be 0, however on the bmc it is limited at 1. Hence in PLDM it returns an erro
Update lower_bound of ipv6_prefix_length to 0
The hypervisor supports the lower bound value of the IPv6 prefix length to be 0, however on the bmc it is limited at 1. Hence in PLDM it returns an error when it tries to assign the unsupported value 0.
This change updates the lower_bound value of ipv6_prefix_length to 0 from 1.
Tested by:
Step 1: Patch an IPv6 address on the ethernet interface with prefix length 0 using the redfish patch command
PATCH -D'{"IPv6StaticAddresses": [{"Address": "2002:903:15f:325:123:123:123:124","PrefixLength": 0}]}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1
Result: Doesn't throw any error. Command is executed successfully.
Step 2: Run a redfish GET command on the same ethernet interface and check the IPv6 address section of the IP address configured above.
Result: Prefix length of the IP address is 0 GET -D patch1.txt https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 { .... .... "IPv6AddressPolicyTable": [], "IPv6Addresses": [ { "Address": "2002:903:15f:325:123:123:123:124", "AddressOrigin": "Static", "PrefixLength": 0 } ], .... .... }
Change-Id: I3f1c76ea22e2856c22dae7a3d7d1fcbc9b07d446 Signed-off-by: Jishnu CM <jishnunambiarcm@duck.com>
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 ...
|
6c39c7a7 | 05-Dec-2022 |
ArchanaKakani <archana.kakani@ibm.com> |
Populate correct terminusId
Hardcoded terminus id 0 is used at multiple places in the current code. Made changes to populate correct terminus id instead of hardcoded one.
Change-Id: I63cedcb38fb2d9
Populate correct terminusId
Hardcoded terminus id 0 is used at multiple places in the current code. Made changes to populate correct terminus id instead of hardcoded one.
Change-Id: I63cedcb38fb2d993e2e4a2b45846c19531d55839 Signed-off-by: ArchanaKakani <archana.kakani@ibm.com>
show more ...
|
35a15c39 | 21-Mar-2023 |
Adriana Kobylak <anoo@us.ibm.com> |
oem: ibm: fileTable: Add lid files for peltool parsing
These lid files contain debug strings to be parsed by the OpenPower peltool and display error information: ``` https://github.com/openbmc/phosp
oem: ibm: fileTable: Add lid files for peltool parsing
These lid files contain debug strings to be parsed by the OpenPower peltool and display error information: ``` https://github.com/openbmc/phosphor-logging/tree/master/extensions/openpower-pels ```
Change-Id: I1bef79d4b1e4d94333d7949bd712d0c301c24f94 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
80525527 | 03-Apr-2023 |
Pavithra Barithaya <pavithra.b@ibm.com> |
Adding JSON support for IPV6 configuration
This commit adds the JSON changes needed to support the IPV6 configuration.
Tested: Enabled a Static address via RedFish and observed the IPV6 Enable prop
Adding JSON support for IPV6 configuration
This commit adds the JSON changes needed to support the IPV6 configuration.
Tested: Enabled a Static address via RedFish and observed the IPV6 Enable property set to true.
Change-Id: Ifa4f5d248667ec0808ab0ef412df91cde51d1cea Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
show more ...
|
5d77c93d | 16-Feb-2023 |
Sheldon Bailey <baileysh@us.ibm.com> |
Adding PLDM bios power supply attributes
added attributes for:CCIN,functional count,input voltage Change-Id: I4bb8985c43f54dadf85a92c96cc81a402cfaa4a5 Signed-off-by: Sheldon Bailey <baileysh@us.ibm.
Adding PLDM bios power supply attributes
added attributes for:CCIN,functional count,input voltage Change-Id: I4bb8985c43f54dadf85a92c96cc81a402cfaa4a5 Signed-off-by: Sheldon Bailey <baileysh@us.ibm.com>
show more ...
|
28514b08 | 23-Mar-2023 |
Asmitha Karunanithi <asmitk01@in.ibm.com> |
Change in VMI Bios attribute enum
This commit changes one of the enums defined for ipv6 "method" attribute. The current values are: IPv6Static, IPv6DHCP, SLAAC. "SLAAC" is now changed to: "IPv6SLAAC
Change in VMI Bios attribute enum
This commit changes one of the enums defined for ipv6 "method" attribute. The current values are: IPv6Static, IPv6DHCP, SLAAC. "SLAAC" is now changed to: "IPv6SLAAC", w.r.t the other values.
Change-Id: I3df4db803c6a7df7d9c5af2e7ba7438a0e360e3c Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
show more ...
|
7094ef2d | 02-Mar-2023 |
Adriana Kobylak <anoo@us.ibm.com> |
oem: ibm: fileTable: Add lid files for P10
Tested: Power on a p10bmc system.
Change-Id: Ief29e877e00c407d100cbf80f615f2e8d432b7e3 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> |
c8e6f4bc | 02-Mar-2023 |
Adriana Kobylak <anoo@us.ibm.com> |
oem: ibm: fileTable: Update permissions
Fix the permissions per specified in the spec: pldm file_traits: [2]: Preserve across firmware updates [1]: ReadWrite [0]: ReadOnly
The Preserved files are a
oem: ibm: fileTable: Update permissions
Fix the permissions per specified in the spec: pldm file_traits: [2]: Preserve across firmware updates [1]: ReadWrite [0]: ReadOnly
The Preserved files are assumed to be ReadWrite so no need to set some of them to 6, just 4. Whenever pldm implements the check for ReadOnly, it can check the first byte (value 1) to prevent writes to the ReadOnly files. Also remove two entries that are no longer valid.
Tested: Power on a p10bmc system.
Change-Id: I9ca3411644f210e5715ac20b34287b0a993dcf40 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
4a7c5bff | 02-Mar-2023 |
Adriana Kobylak <anoo@us.ibm.com> |
oem: ibm: fileTable: Sort alphabetically
Sort the lid entries alphabetically in the fileTable so that it's easy to see which files already exist. Sorting already helped in this case because the entr
oem: ibm: fileTable: Sort alphabetically
Sort the lid entries alphabetically in the fileTable so that it's easy to see which files already exist. Sorting already helped in this case because the entry for file 81e00678.lid was duplicated, removed this duplicated entry.
Tested: Power on a p10bmc system.
Change-Id: Iaabe61e11042ac88f9fedc36dc72b5bdf57b73db Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
040c618b | 20-Feb-2023 |
Archana Kakani <archana.kakani@ibm.com> |
Handle Dbus query exception gracefully
For every Dbus query PLDM uses new_method_call defined in Sdbusplus. Any error during dbus query it throws an exception. Modifying code to handle the exception
Handle Dbus query exception gracefully
For every Dbus query PLDM uses new_method_call defined in Sdbusplus. Any error during dbus query it throws an exception. Modifying code to handle the exception thrown by new_method_call
Change-Id: Ie474e1d230773cb184127b71d333846090ad6c84 Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
show more ...
|
8c6abca9 | 02-Feb-2023 |
Jayashankar Padath <jayashankar.padath@in.ibm.com> |
oem-ibm: Support of new PSPD VPD record
This commit supports the new VPD record called PSPD under the backplane FRU vpd. Keywords RT, PF, VM and VZ are added under the PSPD VPD record so that host c
oem-ibm: Support of new PSPD VPD record
This commit supports the new VPD record called PSPD under the backplane FRU vpd. Keywords RT, PF, VM and VZ are added under the PSPD VPD record so that host can consume.
Change-Id: Id2b357719970c3bd4c52732da467af307e48e183 Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
show more ...
|
3b23adb1 | 17-Oct-2022 |
Patel-Kamalkumar <kamalkumar.patel@ibm.com> |
Adding bios attributes for RPD feature
- Adding bios attributes for runtime processor diagnostics feature which allow HOST to consume bios attribute at runtime and after that it's depend on HOST dec
Adding bios attributes for RPD feature
- Adding bios attributes for runtime processor diagnostics feature which allow HOST to consume bios attribute at runtime and after that it's depend on HOST decision to apply immediately or next IPL cycle.
Signed-off-by: Patel-Kamalkumar <kamalkumar.patel@ibm.com> Change-Id: If70ea306616148f8ede59844d894597f38476a2e
show more ...
|
d99cca37 | 06-Feb-2023 |
Patel-Kamalkumar <kamalkumar.patel@ibm.com> |
PLDM: Mark all _current attributes as readonly
- The _current attributes are supposed to be only set by HOST and NOT by any redfish client, so by marking them as readonly we would deny customers/red
PLDM: Mark all _current attributes as readonly
- The _current attributes are supposed to be only set by HOST and NOT by any redfish client, so by marking them as readonly we would deny customers/redfish client to do PATCH operations on _current attributes.
- List of attribute modified as readOnly: hb_cap_freq_mhz_request_current hb_field_core_override_current hb_host_usb_enablement_current hb_huge_page_size_current hb_key_clear_request_current hb_lateral_cast_out_mode_current hb_memory_mirror_mode_current hb_memory_region_size_current hb_mfg_flags_current hb_number_huge_pages_current hb_power_limit_enable_current hb_proc_favor_aggressive_prefetch_current hb_tpm_required_current pvm_create_default_lpar_current pvm_default_os_type_current pvm_os_boot_type_current pvm_rpa_boot_mode_current pvm_stop_at_standby_current pvm_vtpm_current
Tested: - Tried to change attribute using redfish command which is blocked now. - Tried to change attribute using pldmtool command which is working fine.
Change-Id: I879266d73e033dd55ff6c61e414bea2fd617bbef Signed-off-by: Patel-Kamalkumar <kamalkumar.patel@ibm.com>
show more ...
|
326cd373 | 07-Feb-2023 |
Jayashankar Padath <jayashankar.padath@in.ibm.com> |
oem_ibm: Add new memory region sizes
Add the newly supported values of memory region aka "Logical Memory Block" size under the bios attribute hb_memory_region_size.
Change-Id: I4f35a647e829d64abfa6
oem_ibm: Add new memory region sizes
Add the newly supported values of memory region aka "Logical Memory Block" size under the bios attribute hb_memory_region_size.
Change-Id: I4f35a647e829d64abfa6dd59b2b1070a47a37a20 Signed-off-by: Jayashankar Padath <jayashankar.padath@in.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 ...
|
3618064e | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: I0d25f27a5e449578967915d9f570cc29246927d7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
0563ee3e | 28-Nov-2022 |
Deb McLemore <debmc@us.ibm.com> |
Hostboot Add Planar SPD lid files for platforms
Add the new Planar SPD lid files for platforms.
Change-Id: Ie450382422fbe3def566c727b5893ca04dff51d5 Signed-off-by: Deb McLemore <debmc@us.ibm.com> |
e87ca916 | 10-Nov-2022 |
Deb McLemore <debmc@us.ibm.com> |
Hostboot Add Planar SPD lid file
Add the new Planar SPD lid file.
Change-Id: Icb0de06a93ba06e8528f0edf0c2b00901b311aca Signed-off-by: Deb McLemore <debmc@us.ibm.com> |
68f5bbdf | 07-Oct-2022 |
Patel-Kamalkumar <kamalkumar.patel@ibm.com> |
PLDM: Fixed broken testcase for upstream
- This commit fixed broken testcase for upstream. - Testcase was broken due to container id got changed from 0 to 1. Container ID changed as part of this com
PLDM: Fixed broken testcase for upstream
- This commit fixed broken testcase for upstream. - Testcase was broken due to container id got changed from 0 to 1. Container ID changed as part of this commit: 97296e0355bb93fec84daa4623f4873f5f3875af
Signed-off-by: Patel-Kamalkumar <kamalkumar.patel@ibm.com> Change-Id: Ib40d2334ddf742f40fded65ee90f4384ebf2bcad
show more ...
|
e64f5523 | 28-Sep-2022 |
Jayashankar Padath <jayashankar.padath@in.ibm.com> |
oem-ibm: FFDC enhancement changes
Added fine tuned first failure data capture traces in the system and resource dump related paths.
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com>
oem-ibm: FFDC enhancement changes
Added fine tuned first failure data capture traces in the system and resource dump related paths.
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: I484853eb1fa79e166daa87dd374966d94faa36f6
show more ...
|
27a022ca | 10-Aug-2022 |
Andrew Jeffery <andrew@aj.id.au> |
libpldm: Migrate to subproject
Organize files in libpldm to make it a subproject
In the current state, libpldm is not readily consumable as a subproject.This commit does all the necessary re-organi
libpldm: Migrate to subproject
Organize files in libpldm to make it a subproject
In the current state, libpldm is not readily consumable as a subproject.This commit does all the necessary re-organisation of the source code to make it work as a subproject.
There are no .c/.h files changes in this commit, only meson changes and re-organising the code structure.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I20a71c0c972b1fd81fb359d604433618799102c6
show more ...
|
e7cc8690 | 06-Sep-2022 |
Jayashankar Padath <jayashankar.padath@in.ibm.com> |
oem_ibm: Fix for dump offload issues
This commit is to fix the dump offload issue by using GetManagedObjects instead of GetSubTreePaths to search for the dump entry match.
Tested by triggering the
oem_ibm: Fix for dump offload issues
This commit is to fix the dump offload issue by using GetManagedObjects instead of GetSubTreePaths to search for the dump entry match.
Tested by triggering the system dump and resource dump offloads.
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Ic85980b6fdc4030ace48d03d7cef335eae69d34f
show more ...
|