History log of /openbmc/openpower-vpd-parser/test/ (Results 1 – 25 of 49)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a39aafa304-Nov-2025 Rekha Aparna <vrekhaaparna@ibm.com>

Move Eventlogger as an utility file

Event Logger class is used for creating PELs. With new logger class
implementation, logging API will take care of logging to journal, or
file or creating PEL base

Move Eventlogger as an utility file

Event Logger class is used for creating PELs. With new logger class
implementation, logging API will take care of logging to journal, or
file or creating PEL based on the place holder passed to logging API.

Hence moving event logger as an utility file, so logger class can call
these PEL creation APIs to log PEL.

Change-Id: I0bd59f0b5ceae01a47dcb7f31d9d5e85acbfdb3e
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>

show more ...

b5fab80a05-Nov-2025 Sunny Srivastava <sunnsr25@in.ibm.com>

Remove reinitialisation of error code

The commit removes re-initialization of all the error code variables
before calling the utility API as utility APIs will internally reset
the error code before

Remove reinitialisation of error code

The commit removes re-initialization of all the error code variables
before calling the utility API as utility APIs will internally reset
the error code before setting it in case of any failure.

This will remove the overhead of caller to re-init the variable before
calling any utility API hence reducing the chance of any miss and
undefined behavior.

Change-Id: I426bbb6c17484a3da12dc6ddd2bccfaefbfc0bf5
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>

show more ...

17ddfb5309-Oct-2025 Rekha Aparna <vrekhaaparna@ibm.com>

Error code for encodeKeyword API

This commit updates encodeKeyword APIs to set error code in case of
error. This helps the caller of API to take action based on the error
code returned from the API.

Error code for encodeKeyword API

This commit updates encodeKeyword APIs to set error code in case of
error. This helps the caller of API to take action based on the error
code returned from the API.

Change-Id: I0cba6191d2ec6ded8e793514086f3e62218cf893
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>

show more ...

c6159a2909-Oct-2025 Rekha Aparna <vrekhaaparna@ibm.com>

Move getErrCodeMsg API to common_utility

This commit moves the getErrCodeMsg API from vpd_specific_utility to
common_utility file, to make it accessible to the other utility files.

Change-Id: Ib0ae

Move getErrCodeMsg API to common_utility

This commit moves the getErrCodeMsg API from vpd_specific_utility to
common_utility file, to make it accessible to the other utility files.

Change-Id: Ib0aeeb2386ba2c55f2447d65a3be18b76eff46f3
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>

show more ...


/openbmc/openpower-vpd-parser/configuration/ibm/60001000.json
/openbmc/openpower-vpd-parser/configuration/ibm/60001000_v2.json
/openbmc/openpower-vpd-parser/configuration/ibm/60001001.json
/openbmc/openpower-vpd-parser/configuration/ibm/60001001_v2.json
/openbmc/openpower-vpd-parser/configuration/ibm/60001002.json
/openbmc/openpower-vpd-parser/configuration/ibm/60002000.json
/openbmc/openpower-vpd-parser/configuration/ibm/60002000_v2.json
/openbmc/openpower-vpd-parser/configuration/ibm/vpd_inventory.json
utest_json_utility.cpp
/openbmc/openpower-vpd-parser/vpd-manager/include/constants.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/error_codes.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/logger.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/common_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/dbus_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/json_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/vpd_specific_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/oem-handler/ibm_handler.cpp
/openbmc/openpower-vpd-parser/vpd-manager/oem-handler/ibm_handler.hpp
/openbmc/openpower-vpd-parser/vpd-manager/src/backup_restore.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/bios_handler.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/event_logger.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/gpio_monitor.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/listener.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/logger.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/manager.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/single_fab.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/worker.cpp
/openbmc/openpower-vpd-parser/vpd-tool/src/vpd_tool.cpp
/openbmc/openpower-vpd-parser/wait-vpd-parser/include/prime_inventory.hpp
/openbmc/openpower-vpd-parser/wait-vpd-parser/meson.build
/openbmc/openpower-vpd-parser/wait-vpd-parser/src/prime_inventory.cpp
/openbmc/openpower-vpd-parser/wait-vpd-parser/src/wait_vpd_parser.cpp
5204188101-Sep-2025 Rekha Aparna <vrekhaaparna@ibm.com>

Set error code for isFruPowerOffOnly API

This commit updates isFruPowerOffOnly API to set error code in case of
error. This helps caller of API to take action based on the error code
returned from t

Set error code for isFruPowerOffOnly API

This commit updates isFruPowerOffOnly API to set error code in case of
error. This helps caller of API to take action based on the error code
returned from the API.

Change-Id: Ieb5b0a649ed802cc08ad836bc7399d3dacec9429
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>

show more ...

ca9a086629-Aug-2025 Rekha Aparna <vrekhaaparna@ibm.com>

Set error code for getParsedJson API

This commit updates getParsedJson API to set error codes in case of
error. This helps caller of the API to take action based on the error
code returned from the

Set error code for getParsedJson API

This commit updates getParsedJson API to set error codes in case of
error. This helps caller of the API to take action based on the error
code returned from the API.

Change-Id: I0b88806bbc2201ae162e1714613fa6a9bfe3df9d
Signed-off-by: Rekha Aparna <vrekhaaparna@ibm.com>

show more ...


/openbmc/openpower-vpd-parser/README.md
/openbmc/openpower-vpd-parser/configuration/ibm/50001001_v2.json
/openbmc/openpower-vpd-parser/configuration/ibm/50001_power_vs.json
/openbmc/openpower-vpd-parser/configuration/ibm/50003000.json
/openbmc/openpower-vpd-parser/configuration/ibm/50003000_v2.json
/openbmc/openpower-vpd-parser/configuration/ibm/50003_power_vs.json
/openbmc/openpower-vpd-parser/configuration/ibm/backup_restore_60004000.json
/openbmc/openpower-vpd-parser/configuration/ibm/correlated_properties.json
/openbmc/openpower-vpd-parser/docs/backup-restore-config-json.md
/openbmc/openpower-vpd-parser/docs/system-config-json.md
/openbmc/openpower-vpd-parser/meson.build
/openbmc/openpower-vpd-parser/meson.options
/openbmc/openpower-vpd-parser/service_files/wait-vpd-parsers.service
utest_json_utility.cpp
/openbmc/openpower-vpd-parser/vpd-manager/include/backup_restore.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/bios_handler.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/constants.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/error_codes.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/event_logger.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/exceptions.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/gpio_monitor.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/ipz_parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/listener.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/logger.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/manager.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/single_fab.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/types.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/common_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/dbus_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/json_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/vpd_specific_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/worker.hpp
/openbmc/openpower-vpd-parser/vpd-manager/meson.build
/openbmc/openpower-vpd-parser/vpd-manager/oem-handler/ibm_handler.cpp
/openbmc/openpower-vpd-parser/vpd-manager/oem-handler/ibm_handler.hpp
/openbmc/openpower-vpd-parser/vpd-manager/src/backup_restore.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/bios_handler.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/event_logger.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/gpio_monitor.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/ipz_parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/listener.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/logger.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/manager.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/manager_main.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/parser_factory.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/single_fab.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/worker.cpp
/openbmc/openpower-vpd-parser/vpd-tool/README.md
/openbmc/openpower-vpd-parser/vpd-tool/include/tool_constants.hpp
/openbmc/openpower-vpd-parser/vpd-tool/include/tool_types.hpp
/openbmc/openpower-vpd-parser/vpd-tool/include/tool_utils.hpp
/openbmc/openpower-vpd-parser/vpd-tool/include/vpd_tool.hpp
/openbmc/openpower-vpd-parser/vpd-tool/src/vpd_tool.cpp
/openbmc/openpower-vpd-parser/vpd-tool/src/vpd_tool_main.cpp
/openbmc/openpower-vpd-parser/wait-vpd-parser/meson.build
/openbmc/openpower-vpd-parser/wait-vpd-parser/src/wait_vpd_parser.cpp
31c0411027-Feb-2025 Anupama B R <anupama.b.r1@ibm.com>

Fix CI failure for format issue

The commit fixes format for meson files as per new clang changes.

Change-Id: I1f643e40c9123297e9cfd0ddddb2a5c9bb26c0a4
Signed-off-by: Anupama B R <anupama.b.r1@ibm.c

Fix CI failure for format issue

The commit fixes format for meson files as per new clang changes.

Change-Id: I1f643e40c9123297e9cfd0ddddb2a5c9bb26c0a4
Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>

show more ...


/openbmc/openpower-vpd-parser/.clang-format
/openbmc/openpower-vpd-parser/configuration/ibm/50001_power_vs.json
/openbmc/openpower-vpd-parser/configuration/ibm/50003_power_vs.json
/openbmc/openpower-vpd-parser/meson.build
meson.build
/openbmc/openpower-vpd-parser/vpd-manager/include/backup_restore.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/bios_handler.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/constants.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/ddimm_parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/ipz_parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/isdimm_parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/manager.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/parser_factory.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/parser_interface.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/dbus_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/json_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/vpd_specific_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/worker.hpp
/openbmc/openpower-vpd-parser/vpd-manager/meson.build
/openbmc/openpower-vpd-parser/vpd-manager/src/backup_restore.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/bios_handler.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/ddimm_parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/ipz_parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/manager.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/worker.cpp
/openbmc/openpower-vpd-parser/vpd-tool/include/tool_constants.hpp
/openbmc/openpower-vpd-parser/vpd-tool/include/tool_utils.hpp
/openbmc/openpower-vpd-parser/vpd-tool/include/vpd_tool.hpp
/openbmc/openpower-vpd-parser/vpd-tool/meson.build
/openbmc/openpower-vpd-parser/vpd-tool/src/vpd_tool.cpp
/openbmc/openpower-vpd-parser/vpd-tool/src/vpd_tool_main.cpp
e606f06127-Jan-2025 Priyanga Ramasamy <priyanga24@in.ibm.com>

DDIMM & ISDIMM:Method to get manufacturer ID

This commit implements the logic to get manufacturer ID for ISDIMMs
and DDIMMs and add it to the Parsed vpd map

Change-Id: If8b707448f9c2485c8cf837bb63f

DDIMM & ISDIMM:Method to get manufacturer ID

This commit implements the logic to get manufacturer ID for ISDIMMs
and DDIMMs and add it to the Parsed vpd map

Change-Id: If8b707448f9c2485c8cf837bb63fc6df23531355
Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>

show more ...

f2e017d130-Jan-2025 Patrick Williams <patrick@stwcx.xyz>

build: use allowed over enabled or not-disabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`)

build: use allowed over enabled or not-disabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and
auto.

Switch all uses of `enabled` to `allowed`.
Switch all uses of `not disabled` to `allowed`.

Change-Id: If5d6047137a085eaa6a3de0580aff96488596825
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

fa5e4d3212-Mar-2023 Sunny Srivastava <sunnsr25@in.ibm.com>

Revamped code for VPD parser

The commit removes all the pre-existing code from the branch
and pushes the revamped code.

Major modification includes:
- Movement from multi exe to single daemon model

Revamped code for VPD parser

The commit removes all the pre-existing code from the branch
and pushes the revamped code.

Major modification includes:
- Movement from multi exe to single daemon model.
- Multithreaded approach to parse FRU VPD.
- Better error handling.
- Refactored code for performance optimization.

Note: This code supports all the existing functionalities as it is.

Change-Id: I1ddce1f0725ac59020b72709689a1013643bda8b
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>

show more ...


/openbmc/openpower-vpd-parser/README.md
/openbmc/openpower-vpd-parser/configuration/configuration.hpp
/openbmc/openpower-vpd-parser/configuration/ibm/50001000.json
/openbmc/openpower-vpd-parser/configuration/ibm/50001000_v2.json
/openbmc/openpower-vpd-parser/configuration/ibm/50001001.json
/openbmc/openpower-vpd-parser/configuration/ibm/50001001_v2.json
/openbmc/openpower-vpd-parser/configuration/ibm/50001002.json
/openbmc/openpower-vpd-parser/configuration/ibm/50003000.json
/openbmc/openpower-vpd-parser/configuration/ibm/50003000_v2.json
/openbmc/openpower-vpd-parser/configuration/ibm/backup_restore_50001001.json
/openbmc/openpower-vpd-parser/configuration/ibm/backup_restore_50003000.json
/openbmc/openpower-vpd-parser/configuration/ibm/vpd_inventory.json
/openbmc/openpower-vpd-parser/meson.build
/openbmc/openpower-vpd-parser/meson_options.txt
/openbmc/openpower-vpd-parser/scripts/wait-vpd-status.sh
/openbmc/openpower-vpd-parser/service_files/system-vpd.service
/openbmc/openpower-vpd-parser/service_files/vpd-manager.service
/openbmc/openpower-vpd-parser/service_files/wait-vpd-parsers.service
meson.build
utest_ddimm_parser.cpp
utest_ipz_parser.cpp
utest_json_utility.cpp
utest_keyword_parser.cpp
utest_utils.cpp
vpd_files/ddr4_ddimm.dat
vpd_files/ddr5_ddimm.dat
vpd_files/ddr5_ddimm_corrupted_index_2.dat
vpd_files/ddr5_ddimm_corrupted_index_235.dat
vpd_files/ddr5_ddimm_corrupted_index_2_3.dat
vpd_files/ddr5_ddimm_corrupted_index_4.dat
vpd_files/ipz_system.dat
vpd_files/ipz_system_corrupted_index_17.dat
vpd_files/ipz_system_corrupted_index_61.dat
vpd_files/ipz_system_corrupted_index_74.dat
vpd_files/ipz_system_corrupted_index_78_79.dat
vpd_files/ipz_system_min_record.dat
vpd_files/ipz_system_truncated.dat
vpd_files/keyword.dat
vpd_files/keyword_corrupted_index_0.dat
vpd_files/keyword_corrupted_index_177.dat
vpd_files/keyword_corrupted_index_178.dat
vpd_files/keyword_corrupted_index_179.dat
vpd_files/keyword_corrupted_index_19.dat
vpd_files/keyword_corrupted_index_20.dat
vpd_files/keyword_corrupted_index_24_large_size.dat
vpd_files/keyword_corrupted_index_24_small_size.dat
/openbmc/openpower-vpd-parser/vpd-manager/include/backup_restore.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/bios_handler.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/constants.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/ddimm_parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/event_logger.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/exceptions.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/gpio_monitor.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/ipz_parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/isdimm_parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/keyword_vpd_parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/logger.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/manager.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/parser.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/parser_factory.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/parser_interface.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/types.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/common_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/dbus_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/json_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/vpd_specific_utility.hpp
/openbmc/openpower-vpd-parser/vpd-manager/include/worker.hpp
/openbmc/openpower-vpd-parser/vpd-manager/meson.build
/openbmc/openpower-vpd-parser/vpd-manager/src/backup_restore.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/bios_handler.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/ddimm_parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/event_logger.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/gpio_monitor.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/ipz_parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/isdimm_parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/keyword_vpd_parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/logger.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/manager.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/manager_main.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/parser.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/parser_factory.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/vpd_parser_main.cpp
/openbmc/openpower-vpd-parser/vpd-manager/src/worker.cpp
/openbmc/openpower-vpd-parser/vpd-tool/README.md
/openbmc/openpower-vpd-parser/vpd-tool/include/tool_constants.hpp
/openbmc/openpower-vpd-parser/vpd-tool/include/tool_types.hpp
/openbmc/openpower-vpd-parser/vpd-tool/include/tool_utils.hpp
/openbmc/openpower-vpd-parser/vpd-tool/include/vpd_tool.hpp
/openbmc/openpower-vpd-parser/vpd-tool/meson.build
/openbmc/openpower-vpd-parser/vpd-tool/src/vpd_tool.cpp
/openbmc/openpower-vpd-parser/vpd-tool/src/vpd_tool_main.cpp
/openbmc/openpower-vpd-parser/vpdecc/vpdecc.h
08dc31cd16-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

Change-Id: I917f3a65c985f3df3bb4d7a1bef0a13da54ab7bd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

af92175617-Jun-2024 Manojkiran Eda <manojkiran.eda@gmail.com>

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://githu

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://github.com/codespell-project/codespell

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

show more ...


/openbmc/openpower-vpd-parser/README.md
/openbmc/openpower-vpd-parser/config/ibm/50001000.json
/openbmc/openpower-vpd-parser/config/ibm/50001000_v2.json
/openbmc/openpower-vpd-parser/config/ibm/50001001.json
/openbmc/openpower-vpd-parser/config/ibm/50001001_v2.json
/openbmc/openpower-vpd-parser/config/ibm/50001002.json
/openbmc/openpower-vpd-parser/config/ibm/50003000.json
/openbmc/openpower-vpd-parser/config/ibm/50003000_v2.json
/openbmc/openpower-vpd-parser/config/ibm/systems.json
/openbmc/openpower-vpd-parser/config/ibm/vpd_inventory.json
/openbmc/openpower-vpd-parser/const.hpp
/openbmc/openpower-vpd-parser/examples/inventory.json
/openbmc/openpower-vpd-parser/ibm_vpd_app.cpp
/openbmc/openpower-vpd-parser/ibm_vpd_utils.cpp
/openbmc/openpower-vpd-parser/ibm_vpd_utils.hpp
/openbmc/openpower-vpd-parser/meson.build
/openbmc/openpower-vpd-parser/meson.options
/openbmc/openpower-vpd-parser/rules/70-ibm-vpd-parser.rules
/openbmc/openpower-vpd-parser/subprojects/nlohmann_json.wrap
vpd-manager-test/reader_test.cpp
/openbmc/openpower-vpd-parser/vpd-manager/editor_impl.cpp
/openbmc/openpower-vpd-parser/vpd-manager/editor_impl.hpp
/openbmc/openpower-vpd-parser/vpd-manager/gpioMonitor.hpp
/openbmc/openpower-vpd-parser/vpd-manager/manager.cpp
/openbmc/openpower-vpd-parser/vpd-parser/isdimm_vpd_parser.cpp
/openbmc/openpower-vpd-parser/vpd-parser/isdimm_vpd_parser.hpp
/openbmc/openpower-vpd-parser/vpd-parser/keyword_vpd_parser.cpp
/openbmc/openpower-vpd-parser/vpd-parser/keyword_vpd_parser.hpp
/openbmc/openpower-vpd-parser/vpd-parser/memory_vpd_parser.cpp
/openbmc/openpower-vpd-parser/vpd-parser/parser_factory.hpp
/openbmc/openpower-vpd-parser/vpd-parser/parser_interface.hpp
/openbmc/openpower-vpd-parser/vpd_exceptions.hpp
/openbmc/openpower-vpd-parser/vpd_tool.cpp
/openbmc/openpower-vpd-parser/vpd_tool_impl.cpp
/openbmc/openpower-vpd-parser/vpd_tool_impl.hpp
/openbmc/openpower-vpd-parser/vpdecc/vpdecc.h
/openbmc/openpower-vpd-parser/vpdecc/vpdecc_support.c
/openbmc/openpower-vpd-parser/vpdecc/vpdecc_support.h
468e8c5b29-Nov-2023 Patrick Williams <patrick@stwcx.xyz>

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer retur

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I611ecba901a43acbcca19b93a4dcd9578b570bd8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

dc3c3c3007-Sep-2023 Patrick Williams <patrick@stwcx.xyz>

subprojects: nlohmann,cli11: add wraps and configure

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iccc5be03b2428969ff8a51f24820e81faafcdcbf

abe481e107-Sep-2023 Patrick Williams <patrick@stwcx.xyz>

subprojects: libgpiod: add wrap and configure

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I60ecdd3c2d28b11844407141922215ce658c4d8b

c78d887c10-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: Ia442cdc88aaeaab2f1384cc46a56f5cd5e40f2f5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


/openbmc/openpower-vpd-parser/.clang-format
/openbmc/openpower-vpd-parser/.gitignore
/openbmc/openpower-vpd-parser/common_utility.cpp
/openbmc/openpower-vpd-parser/common_utility.hpp
/openbmc/openpower-vpd-parser/const.hpp
/openbmc/openpower-vpd-parser/ibm_vpd_app.cpp
/openbmc/openpower-vpd-parser/ibm_vpd_utils.cpp
/openbmc/openpower-vpd-parser/ibm_vpd_utils.hpp
/openbmc/openpower-vpd-parser/impl.cpp
/openbmc/openpower-vpd-parser/impl.hpp
/openbmc/openpower-vpd-parser/meson.build
/openbmc/openpower-vpd-parser/store.hpp
ipz_parser/parser.cpp
keyword_vpd_parser_test/kw_vpd_test.cpp
parser/parser.cpp
vpd-manager-test/editor_test.cpp
vpd-manager-test/reader_test.cpp
/openbmc/openpower-vpd-parser/types.hpp
/openbmc/openpower-vpd-parser/utilInterface.hpp
/openbmc/openpower-vpd-parser/vpd-manager/bios_handler.cpp
/openbmc/openpower-vpd-parser/vpd-manager/bios_handler.hpp
/openbmc/openpower-vpd-parser/vpd-manager/editor_impl.cpp
/openbmc/openpower-vpd-parser/vpd-manager/editor_impl.hpp
/openbmc/openpower-vpd-parser/vpd-manager/gpioMonitor.cpp
/openbmc/openpower-vpd-parser/vpd-manager/gpioMonitor.hpp
/openbmc/openpower-vpd-parser/vpd-manager/manager.cpp
/openbmc/openpower-vpd-parser/vpd-manager/manager.hpp
/openbmc/openpower-vpd-parser/vpd-manager/reader_impl.cpp
/openbmc/openpower-vpd-parser/vpd-manager/reader_impl.hpp
/openbmc/openpower-vpd-parser/vpd-parser/ipz_parser.cpp
/openbmc/openpower-vpd-parser/vpd-parser/ipz_parser.hpp
/openbmc/openpower-vpd-parser/vpd-parser/isdimm_vpd_parser.cpp
/openbmc/openpower-vpd-parser/vpd-parser/isdimm_vpd_parser.hpp
/openbmc/openpower-vpd-parser/vpd-parser/keyword_vpd_parser.cpp
/openbmc/openpower-vpd-parser/vpd-parser/keyword_vpd_parser.hpp
/openbmc/openpower-vpd-parser/vpd-parser/memory_vpd_parser.cpp
/openbmc/openpower-vpd-parser/vpd-parser/memory_vpd_parser.hpp
/openbmc/openpower-vpd-parser/vpd-parser/parser_factory.hpp
/openbmc/openpower-vpd-parser/vpd-parser/parser_interface.hpp
/openbmc/openpower-vpd-parser/vpd_exceptions.hpp
/openbmc/openpower-vpd-parser/vpd_tool.cpp
/openbmc/openpower-vpd-parser/vpd_tool_impl.cpp
/openbmc/openpower-vpd-parser/vpd_tool_impl.hpp
/openbmc/openpower-vpd-parser/vpdecc/vpdecc.h
/openbmc/openpower-vpd-parser/vpdecc/vpdecc_support.c
/openbmc/openpower-vpd-parser/write.hpp
18bb985c16-Nov-2022 girik <giridharikrishnan@gmail.com>

Correction of VPD using ECC

ECC algorithm corrects VPD data in 32:1 bit ratio in the
event of corruption.
Main Test Cases:
1) Check correction of KW in records.
2) Check correction while writing and

Correction of VPD using ECC

ECC algorithm corrects VPD data in 32:1 bit ratio in the
event of corruption.
Main Test Cases:
1) Check correction of KW in records.
2) Check correction while writing and reading VPD.
3) Check for Module VPD correction.

Signed-off-by: Giridhari Krishna <giridharikrishnan@gmail.com>
Change-Id: I48a3db18df9d3a2aecde814610ab1b357e6f310d

show more ...

6555e7ef14-Feb-2023 jinuthomas <jinu.joy.thomas@in.ibm.com>

Adding ISDIMM support

Added ISDIMM support for Bonnell machine

Change-Id: Ifdb2fc9e2d38267c8eb6cd5848d30102ab48efd1
Signed-off-by: jinuthomas <jinu.joy.thomas@in.ibm.com>


/openbmc/openpower-vpd-parser/OWNERS
/openbmc/openpower-vpd-parser/const.hpp
/openbmc/openpower-vpd-parser/ibm_vpd/70-ibm-vpd-parser.rules
/openbmc/openpower-vpd-parser/ibm_vpd/com.ibm.VPD.Manager.service
/openbmc/openpower-vpd-parser/ibm_vpd/fru/50001000.json
/openbmc/openpower-vpd-parser/ibm_vpd/fru/50001000_v2.json
/openbmc/openpower-vpd-parser/ibm_vpd/fru/50001001.json
/openbmc/openpower-vpd-parser/ibm_vpd/fru/50001001_v2.json
/openbmc/openpower-vpd-parser/ibm_vpd/fru/50001002.json
/openbmc/openpower-vpd-parser/ibm_vpd/fru/50003000.json
/openbmc/openpower-vpd-parser/ibm_vpd/fru/50003000_v2.json
/openbmc/openpower-vpd-parser/ibm_vpd/fru/50004000.json
/openbmc/openpower-vpd-parser/ibm_vpd/fru/systems.json
/openbmc/openpower-vpd-parser/ibm_vpd/fru/vpd_inventory.json
/openbmc/openpower-vpd-parser/ibm_vpd/ibm-vpd-parser@.service
/openbmc/openpower-vpd-parser/ibm_vpd/system-vpd.service
/openbmc/openpower-vpd-parser/ibm_vpd/wait-vpd-parsers.service
/openbmc/openpower-vpd-parser/ibm_vpd/wait-vpd-parsers.sh
/openbmc/openpower-vpd-parser/ibm_vpd_app.cpp
/openbmc/openpower-vpd-parser/ibm_vpd_utils.cpp
/openbmc/openpower-vpd-parser/ibm_vpd_utils.hpp
/openbmc/openpower-vpd-parser/impl.cpp
/openbmc/openpower-vpd-parser/meson.build
meson.build
/openbmc/openpower-vpd-parser/types.hpp
/openbmc/openpower-vpd-parser/vpd-manager/manager.cpp
/openbmc/openpower-vpd-parser/vpd-parser/isdimm_vpd_parser.cpp
/openbmc/openpower-vpd-parser/vpd-parser/isdimm_vpd_parser.hpp
/openbmc/openpower-vpd-parser/vpd-parser/memory_vpd_parser.cpp
/openbmc/openpower-vpd-parser/vpd-parser/parser_factory.cpp
/openbmc/openpower-vpd-parser/vpd_tool.cpp
/openbmc/openpower-vpd-parser/vpd_tool_impl.cpp
/openbmc/openpower-vpd-parser/vpd_tool_impl.hpp
6a1bd39b02-Jun-2021 Sunny Srivastava <sunnsr25@in.ibm.com>

Single FRU VPD collection

This commit implements a Dbus Api to collect VPD of a given FRU
by launching the parser exe asynchronously.

The caller is supposed to update Present property for that FRU

Single FRU VPD collection

This commit implements a Dbus Api to collect VPD of a given FRU
by launching the parser exe asynchronously.

The caller is supposed to update Present property for that FRU
as false on Dbus before calling this Api and need to listen for
Present property change signal to mark the collection of VPD
complete for the FRU.

One of the use case for this api is to collect VPD for FRU
undergoing concurrent maintenance.

Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: Idc44d6bc05deb04f3b9097ccf3129f5d2b11eaf0

show more ...

cce0e65308-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: I19f5d4fb914bdbb6822053844b1a0f33047168f0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

f31a91bc09-Jun-2022 Sunny Srivastava <sunnsr25@in.ibm.com>

Update vpd read and write flow

The commit implement changes to log Pel and call out
FRU and record in case of any ECC failure while reading
the vpd data for the FRU and continue with the processing

Update vpd read and write flow

The commit implement changes to log Pel and call out
FRU and record in case of any ECC failure while reading
the vpd data for the FRU and continue with the processing
of rest of the records.

In case of write, BMC reboot is blocked till the VPD is
updated. Doing this will restrict any data/Ecc corruption
due to BMC reboot while VPD data is being updated.

Tested:
Corrupted vpd for tpm_wilson then triggered collection of
vpd for the FRU.
Pel was logged calling out the FRU

'''
root@rain127bmc:~# ibm-read-vpd --file /sys/bus/i2c/drivers/at24/0-0051/eeprom
root@rain127bmc:~# peltool -a
[
{
"Private Header": {
"Section Version": "1",
"Sub-section type": "0",
"Created by": "0x4000",
"Created at": "06/10/2022 06:36:59",
"Committed at": "06/10/2022 06:36:59",
"Creator Subsystem": "BMC",
"CSSVER": "",
"Platform Log Id": "0x50002B35",
"Entry Id": "0x50002B35",
"BMC Event Log Id": "10"
},
"User Header": {
"Section Version": "1",
"Sub-section type": "0",
"Log Committed by": "0x2000",
"Subsystem": "CEC Hardware - VPD Interface",
"Event Scope": "Entire Platform",
"Event Severity": "Predictive Error",
"Event Type": "Not Applicable",
"Action Flags": [
"Service Action Required",
"Report Externally",
"HMC Call Home"
],
"Host Transmission": "Not Sent",
"HMC Transmission": "Not Sent"
},
"Primary SRC": {
"Section Version": "1",
"Sub-section type": "1",
"Created by": "0x4000",
"SRC Version": "0x02",
"SRC Format": "0x55",
"Virtual Progress SRC": "False",
"I5/OS Service Event Bit": "False",
"Hypervisor Dump Initiated":"False",
"Backplane CCIN": "2E43",
"Terminate FW Error": "False",
"Deconfigured": "False",
"Guarded": "False",
"Error Details": {
"Message": "A VPD ecc exception occurred."
},
"Valid Word Count": "0x09",
"Reference Code": "BD554002",
"Hex Word 2": "00080255",
"Hex Word 3": "2E430010",
"Hex Word 4": "00000000",
"Hex Word 5": "00000000",
"Hex Word 6": "00000000",
"Hex Word 7": "00000000",
"Hex Word 8": "00000000",
"Hex Word 9": "00000000",
"Callout Section": {
"Callout Count": "1",
"Callouts": [{
"FRU Type": "Normal Hardware FRU",
"Priority": "Mandatory, replace all with this type as a unit",
"Location Code": "U78DB.ND0.WZS002U-P0-C22",
"Part Number": "02WF429",
"CCIN": "6B59",
"Serial Number": "Y131UF09S00H"
}]
}
},
"Extended User Header": {
"Section Version": "1",
"Sub-section type": "0",
"Created by": "0x2000",
"Reporting Machine Type": "9105-42A",
"Reporting Serial Number": "13BE990",
"FW Released Ver": "",
"FW SubSys Version": "fw1020.00-58.9",
"Common Ref Time": "00/00/0000 00:00:00",
"Symptom Id Len": "20",
"Symptom Id": "BD554002_2E430010"
},
"Failing MTMS": {
"Section Version": "1",
"Sub-section type": "0",
"Created by": "0x2000",
"Machine Type Model": "9105-42A",
"Serial Number": "13BE990"
},
"User Data 0": {
"Section Version": "1",
"Sub-section type": "1",
"Created by": "0x2000",
"BMCState": "Ready",
"BootState": "SecondaryProcInit",
"ChassisState": "On",
"FW Version ID": "fw1020.00-58.9-3-gb29698f8cf",
"HostState": "Running",
"System IM": "50001000"
},
"User Data 1": {
"Section Version": "1",
"Sub-section type": "1",
"Created by": "0x2000",
"CALLOUT_INVENTORY_PATH": "/xyz/openbmc_project/inventory/system/chassis/motherboard/tpm_wilson",
"DESCRIPTION": "ERROR: ECC check did not pass for the Record:VINI"
}
}
]
'''

Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: Ie7c7fff5699d8b89d5aa0995f4074ccb3fdd6c37

show more ...

e008432a27-Sep-2022 Priyanga Ramasamy <priyanga24@in.ibm.com>

Use namespace std in place

This commit uses std in place in header files rather than
using namespace.

Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: If8e77ad0d23c7e6d8f16ea93e6

Use namespace std in place

This commit uses std in place in header files rather than
using namespace.

Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: If8e77ad0d23c7e6d8f16ea93e65f34aefb6b157f

show more ...

a4a2adfa03-Feb-2022 Priyanga Ramasamy <priyanga24@in.ibm.com>

VPD ECC shared library

This commit makes the VPD ECC source into a shared library
and links the shared library with other executables which
are dependant on VPD ECC.

Since the ECC source file is co

VPD ECC shared library

This commit makes the VPD ECC source into a shared library
and links the shared library with other executables which
are dependant on VPD ECC.

Since the ECC source file is confidential, we need to share the
ECC as a shared library to the IBM Power customers.

Test:
Tested on simics:
1. Corrupted the vpd data.
root@p10bmc:/usr/lib# dd if=/dev/zero of=/sys/bus/i2c/drivers/at24/7-0050/eeprom bs=1 count=2 seek=184
2+0 records in
2+0 records out

root@p10bmc:/usr/lib# ibm-read-vpd --file /sys/bus/i2c/drivers/at24/7-0050/eeprom
ERROR: ECC check did not pass for the Record:VINI

2. VPD Parser parsed successfully for a valid vpd
root@p10bmc:/usr/lib# ibm-read-vpd --file /sys/bus/i2c/drivers/at24/7-0050/eeprom
<no error>

3.ECC Code worked fine with VPD-Manager
root@p10bmc:/usr/lib# vpd-tool -w -O /system/chassis/motherboard/base_op_panel_blyth -R VINI -K PN -V "PN34"
root@p10bmc:/usr/lib# ibm-read-vpd --file /sys/bus/i2c/drivers/at24/7-0050/eeprom
root@p10bmc:/usr/lib#
root@p10bmc:/usr/lib#
root@p10bmc:/usr/lib# vpd-tool -w -O /system/chassis/motherboard/base_op_panel_blyth -R VINI -K PN -V "PN12"
root@p10bmc:/usr/lib# ibm-read-vpd --file /sys/bus/i2c/drivers/at24/7-0050/eeprom

Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: I72306b06ca8724193ef5ef05a0659467994a154d

show more ...

0e34d35721-Mar-2021 Alpana Kumari <alpankum@in.ibm.com>

Handle ECC update

By default openpower-vpd-parser contains dummy code of ecc_create
which writes 0s to the vpd-ecc. And this corrupts the ECC.

This commit will not allow the user to update any reco

Handle ECC update

By default openpower-vpd-parser contains dummy code of ecc_create
which writes 0s to the vpd-ecc. And this corrupts the ECC.

This commit will not allow the user to update any record-kwd-data
with dummy ecc_create code as it returns -1. If want to update any vpd
data then build your image with vpdecc functions implementation.

Test-
when tried to update the keyword-
busctl call com.ibm.VPD.Manager /com/ibm/VPD/Manager com.ibm.VPD.Manager WriteKeyword ossay "/system/chassis/motherboard" "VINI" "PN" 1 65
ERROR: ECC update failed

And another terminal output-
root@rainier:/tmp# ./vpd-manager
Error: Couldn't update the ECC

Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
Change-Id: I7333a79ff06ac1acd21f9e10f99b4a78cb5705db

show more ...

735dee9b25-Mar-2022 Alpana Kumari <alpankum@in.ibm.com>

Move preAction postAction to Util

This commit moves preAction and postFailAction to ibm_read_util,
as we need them as common utility functions, to use it in vpd manager.

Signed-off-by: Alpana Kuma

Move preAction postAction to Util

This commit moves preAction and postFailAction to ibm_read_util,
as we need them as common utility functions, to use it in vpd manager.

Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
Change-Id: Iaade31143b8f114a9adec82a5c4d6ae4e9e2a2d5

show more ...

12