commit | dcf902bf56ccb9b930d759db512c440c217694e7 | [log] [tgz] |
---|---|---|
author | Zane Shelley <zshelle@us.ibm.com> | Thu Jul 15 22:18:35 2021 -0500 |
committer | Zane Shelley <zshelle@us.ibm.com> | Thu Jul 15 22:18:35 2021 -0500 |
tree | 7395fe0343930e9fbbd9901d8d473b99dd024070 | |
parent | a7535adf9d8e9d2e5f6509e27e4aef062b769f9c [diff] |
Fix simulator issue with multiple tests using same chip data At the end of each test case the isolator is uninitialized. However, a data structor in the simulator was not cleared at the end of each test case which prevented re-initialization of the isolator on subsequent test cases. Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: Ia14a95abbd7b1236ab96532d4d17a3870e0ed68b
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