commit | b7005caf42c088f22b47d37892aa83d9e7f7ec68 | [log] [tgz] |
---|---|---|
author | Zane Shelley <zshelle@us.ibm.com> | Fri Mar 24 15:23:59 2023 -0500 |
committer | Zane Shelley <zshelle@us.ibm.com> | Fri Mar 24 15:41:36 2023 -0500 |
tree | 0b0bfb3ce9bc6f2ae31aa352cf10a8617e8f9aae | |
parent | b9ea93c5cb15b8fed0f44780f9b2a6a0ffe34f28 [diff] |
Redefining the checkstop attention type ATTN_TYPE_CHECKSTOP previously had been used to indicate the system has checkstopped. However, in hardware it really means that the chip has checkstopped. It just happens to be when processor chips checkstop, the entire system will checkstop. This does not work for memory buffer chips because a memory buffer could checkstop, but it is not guaranteed the system will checkstop like it does for processor chips. With memory mirroring and other redundancies, it is possible for a system to recover from a memory buffer chip checkstop. I added a new ATTN_TYPE_CHIP_CS enum with the same value as its predecessor. The old enum will eventually be removed once user applications have been given the time to do so. Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: I884317d25630513eec45fbb2313bd6a274a84876
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