commit | f2a2932f736be2e51758e9ca4236cf714c5cbcf6 | [log] [tgz] |
---|---|---|
author | Caleb Palmer <cnpalmer@us.ibm.com> | Thu Jul 25 13:14:26 2024 -0500 |
committer | Caleb Palmer <cnpalmer@us.ibm.com> | Mon Jul 29 12:36:14 2024 -0500 |
tree | 9878bc9bb357983b17b81f10f23653e6e89ec8a9 | |
parent | c0115566a038eb2722b74b9ab004c26272388d1f [diff] |
Add support for decoding new write operations defined in chip data files Change-Id: I83f2f72073fe05e1f0d9bde85e3aabe4c9df1a33 Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>
This library is a common, portable code base for isolating errors reported by hardware registers on POWER Systems chips.
The primary consumers (and requirements drivers) will be:
See the primary API definitions for details on how to use this library.
This library can be integrated into a user application's source (either imported, or as a git subtree/submodule) or built as static library.
__HEI_ENABLE_HW_WRITE
: When defined, it will allow hardware write support. Note that the Chip Data Files will contain rules for clearing and masking register bits. Both of which will require modifying hardware registers, which is not allowed by user applications like OpenBMC or FSP firmware.src/include/
in the POWER Systems Hostboot firmware.For a standard OpenBMC release build, you want something like:
meson -Dtests=disabled <build_dir> ninja -C <build_dir> ninja -C <build_dir> install
For a test / debug build, a typical configuration is:
meson -Dtests=enabled <build_dir> ninja -C <build_dir> test