From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web09.995.1641605574824550638 for ; Fri, 07 Jan 2022 17:32:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NPqGQRUL; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: kuqin12@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id c2so6699834pfc.1 for ; Fri, 07 Jan 2022 17:32:54 -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=0gmIzBvkcIthlO1eHyOlQaJ56SPpmfoMnvpZQit8fL4=; b=NPqGQRUL2l4/MWGI7/a4GVpwSzSs6Vz8hj7q0axdAlBQ/+6mo99m4F9rOLv9Ty/6Cp t6Tgz0UXk1LJeByHQn7CX2oSdd4e0t93Cn6d8lxmnjV4dNGmS+Qm9QUKz209kZ0dgBmY n4e+6sXUc9tFB06LnBEbe2jYPTafGxKSgRwL4bO9kJVwgIyCP6KLJyluYBmsayb2wuqR 2MQSmtq+OEJ77E7cC3wPCAXLk1U04KqhAH6C43b9hiXbfAyFouZnf9QYHUPp5BzRSPx+ mDYhUSTrVtPXxqdKLK07NtCAiDNovc0NZpCfYMdfDhHK38k0eOUH1iWqLCT2dfC8Nu+I bIyA== 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=0gmIzBvkcIthlO1eHyOlQaJ56SPpmfoMnvpZQit8fL4=; b=nefFEmZdDXaziGTQAiZiu1aEyO+FtiwPaYPNL+83OD0HYh0ngQjFh2gNuoWg64UpnE G1h5v2/Av0+cFsUvvlislNyJvpcHha0bUD0QIL0KX1tGURB0QTuJwBy2JGTvI2U4oou6 wjgLRJC/FXE2oIQjuMsAKhsM89GTaqsdJAhA2XhvEqL9Lp01TKjOF7Ty9M9eeU81viTK FHmHR10em9LN3QK9IwyzpOGz4JEhHPRAZ3mNGqGhnchoOqA47MjhJ8J4ovgn+vZytozG KRbl7HmJFtCMpa/N1gpsekV2+wbG7YAkcpVZoXadloycFbCzNEMJ9zbIsQh22WyocX9d bFsA== X-Gm-Message-State: AOAM531iL6fl5zFh82n45f4tE9gja6oo7Tm5nUkd8fF1mE/DiogN2/3K kdnSaODNxVfsM7J7sQpb6o1TqqFKhf4= X-Google-Smtp-Source: ABdhPJxVf7etc4/i+XF1+jsEk3S2cglw+y89n8zaGYDBU+OTn+C9VACHkxK8q/ZEUP0P/b4P+xOi5Q== X-Received: by 2002:a63:88c1:: with SMTP id l184mr59181396pgd.282.1641605574263; Fri, 07 Jan 2022 17:32:54 -0800 (PST) Return-Path: Received: from localhost.localdomain ([50.35.74.198]) by smtp.gmail.com with ESMTPSA id h19sm151784pfh.112.2022.01.07.17.32.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 17:32:53 -0800 (PST) From: "Kun Qin" To: devel@edk2.groups.io Cc: Andrew Fish , Leif Lindholm , Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [PATCH v2 0/2] EDK2 Code First: PI Specification: Update EFI_MM_COMMUNICATE_HEADER Date: Fri, 7 Jan 2022 17:32:40 -0800 Message-Id: <20220108013242.2030-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 This patch series is a rebase of previous submission: https://edk2.groups.io/g/devel/message/85302 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 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 Code to MdePkg CodeFirst/BZ3794-SpecChange.md | 55 ++++++++++++++++++++ MdePkg/Include/Pi/PiStatusCode.h | 1 + 2 files changed, 56 insertions(+) create mode 100644 CodeFirst/BZ3794-SpecChange.md -- 2.34.1.windows.1