From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mx.groups.io with SMTP id smtpd.web10.801.1641517398605074976 for ; Thu, 06 Jan 2022 17:03:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aie/4Z0E; spf=pass (domain: gmail.com, ip: 209.85.215.169, mailfrom: kuqin12@gmail.com) Received: by mail-pg1-f169.google.com with SMTP id f8so4064616pgf.8 for ; Thu, 06 Jan 2022 17:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MNUtdbhzsVLHgmDlupS0/9x9CrZ0qJo6jDAaXLqzfiI=; b=aie/4Z0E6uoNlwHMjTU2vsiIk6TZVdirWqlLgFgM4F2i+pXjUVafeU70mlw3ERo+eh lLCx0H25GzfDM9CZm9P6L9AyyxSDqkoXIVav6ZlcfflEbwbUtE91CHjDBHeFefMxYkCp 0da28u221ZnBtdD6eCnZdScXYH0LwCXSpYpcOozJPJ6HpFB0Gd1TY9YHPSCdHK7B3a7g 7oNIU+oxA+29yEsVGk9uFhkOaXWikOBIgflbrWE3IMPRFVEoO7VB9MgJTi/HEMfNdcI2 A8RKQYhbW9V597pkguHfdhN+xV1CNMwsUdzqHQ0YqvMxwUatT1fOkaYN4Ro8OqzMViji 9JEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MNUtdbhzsVLHgmDlupS0/9x9CrZ0qJo6jDAaXLqzfiI=; b=THq1HPJKG06cTh7JXufxHCbCFKkr1SRw5PeygtGPEidmqVyqmH62utpjuQfnTjDOz6 aWVOEhbcX2cXLtM8gbFG6XC8X9YtL8nmubtE1WBuHeHtJxwpQAH9dNWhixh/CD6hQdEC iRYKL+vjtsGaA1qMXLF4c8pN2OPzovvI9NRs1bTr4/DkV0oOcr23152UROnNQfrxnTnn c1AUiO5YqYi7D4j17n40plEG/Crr7S8q/q7ZhVH5KCu6XqUnupumIeqxSASGOVWLQ+Px fV7d8W/E4YLZcv9y9WATyZQ4bz/uI7hVZvWBgk6+hXIZlAuPEaQAF4pYRji8geRVBLej loqA== X-Gm-Message-State: AOAM5314JYFbuccRNb9XRaywxQP+9XzKhA+4zlsCGPkTvz3LEifdwo9p uXv+i0clM05P92RxOx01Ub9P9MthWcY= X-Google-Smtp-Source: ABdhPJy2Cd/RjwCLHT6QBjw1UZVxYx1qYloQ1kmfkB9TcXbpdp1IjQ+969nfR4dJKDGBNQd0MMUNUg== X-Received: by 2002:a63:ba47:: with SMTP id l7mr55688458pgu.75.1641517398047; Thu, 06 Jan 2022 17:03:18 -0800 (PST) Return-Path: Received: from localhost.localdomain ([50.35.74.198]) by smtp.gmail.com with ESMTPSA id n14sm2907385pgd.80.2022.01.06.17.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jan 2022 17:03:17 -0800 (PST) From: "Kun Qin" To: devel@edk2.groups.io Cc: Andrew Fish , Leif Lindholm , Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [PATCH v1 0/2] EDK2 Code First: PI Specification: Update EFI_MM_COMMUNICATE_HEADER Date: Thu, 6 Jan 2022 17:03:04 -0800 Message-Id: <20220107010306.1253-1-kuqin12@gmail.com> X-Mailer: git-send-email 2.34.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3794 In current Status Codes definitions of PI spec v1.7 errata, there are a few critical instances where the software could trigger system reboots while the corresponding case were not covered by the already defined status codes. Two scenarios that OEMs could be interested are memory type information change triggered system reboot and assert triggered reboot on systems that did not enable system halts. 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. Patch v1 branch: https://github.com/kuqin12/edk2/tree/BZ3794-expand_status_codes_v1 Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Kun Qin (2): EDK2 Code First: PI Specification: New error codes of Host Software class MdePkg: MmCommunication: Add new Host Software class Error Codes to MdePkg CodeFirst/BZ3794-SpecChange.md | 60 ++++++++++++++++++++ MdePkg/Include/Pi/PiStatusCode.h | 42 +++++++------- 2 files changed, 82 insertions(+), 20 deletions(-) create mode 100644 CodeFirst/BZ3794-SpecChange.md -- 2.34.1.windows.1