[PATCH v2 0/2] EDK2 Code First: PI Specification: Update EFI_MM_COMMUNICATE_HEADER

Kun Qin

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3794

This patch series is a rebase of previous submission:

In current Status Codes definitions of PI spec v1.7 errata, there are a
few instances where the software could trigger system reboots while the
corresponding case were not covered by the already defined status codes.

One scenario that OEMs would be interested is that fragmented memory map
from boot to boot would fail to meet certain OS ACPI requirements (i.e.
S4 resume boot requires consistent memory maps) and trigger system
reboots. Yet the corresponding case was not covered by the already
defined status codes.

The unexpected system reboots above could indicate decay of system health
and reporting of such generic events would provide helpful information to
OEMs to investigate/prevent system failures in general.

The change intends to expand definitions of `EFI_SW_EC_**` under Status
Codes to cover more unexpected system reboot events, which could improve
Status Code futility and readability.

Compared to v1 series, v2 patch changes include:
a. Removed "RELEASE_ASSERT" definition;
b. Removed reference to memory type information;

Patch v2 branch: https://github.com/kuqin12/edk2/tree/BZ3794-expand_status_codes_v2

Cc: Andrew Fish <afish@...>
Cc: Leif Lindholm <leif@...>
Cc: Michael D Kinney <michael.d.kinney@...>
Cc: Liming Gao <gaoliming@...>
Cc: Zhiguang Liu <zhiguang.liu@...>

Kun Qin (2):
EDK2 Code First: PI Specification: New error codes of Host Software
MdePkg: MmCommunication: Add new Host Software class Error Code to

CodeFirst/BZ3794-SpecChange.md | 55 ++++++++++++++++++++
MdePkg/Include/Pi/PiStatusCode.h | 1 +
2 files changed, 56 insertions(+)
create mode 100644 CodeFirst/BZ3794-SpecChange.md


Join devel@edk2.groups.io to automatically receive all group messages.