From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mx.groups.io with SMTP id smtpd.web10.2198.1643914996235681662 for ; Thu, 03 Feb 2022 11:03:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PVJbtAgk; spf=pass (domain: gmail.com, ip: 209.85.214.177, mailfrom: kuqin12@gmail.com) Received: by mail-pl1-f177.google.com with SMTP id k17so3022945plk.0 for ; Thu, 03 Feb 2022 11:03:16 -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=Yj+i4Fn+LpdwBxgFeJMi2hEi4LnwY+jKJdSXvqx6g6E=; b=PVJbtAgkikOWdzXBv/z3A9PvZkIWGzVKMNP0qUp0LU56HKupsBEUptuotL7+4WGxJP PIqsGIq1VJAnyg04iEZfmg3v9O61xv4/Jv+qbeKl6XNUHwpC45+3Q94a1prZcIpy5Nw+ k3qqNl73GlB0sXGnh8E3fYlcOPhagziOL8NWFdvJ3MIAp/USuYoIukujTv5srcYaVTjv R+wvsJGImbS9L4he9FUfitiPQCO45Y2TspGF5wUgUyy52GdFmvnE2UCBcNTV1cDvTJ2v QpisLcSkGn2n6g+GO0n65vOhtOoqR+SCNOttD1Xn4RwuK9lJVWZ7BzCWToJ5ISp8K7lD 2BEA== 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=Yj+i4Fn+LpdwBxgFeJMi2hEi4LnwY+jKJdSXvqx6g6E=; b=igQ0SXheN9H4yL+IujW/em+ne2Mqcud1Ghmhdw0XkaByj+BGr1BuApMlE/cCro0Gc7 rlO6uh0AVXlFa17uTYzB3tcn5puhklY6n4STMVvpYQ9FG8JSkAWh+6OxmN+yVkJ5Pg9X 4Bg5tFcj2E/EV/kmZVgBNvIm6j9B1u/hAc8h6ChtQrIbPhPSlmePRxrLZSPwPSqNffpO 1ln27o2p9FrM9HI59B2ABcoZDts0pJ6PQx92ApRqXgFC+prYMvR0hOrZ0hIuge5XBmnb gKnEIcOJC94njWY3We5D8503B8vdDODpwvsT/+7RfoFrWpMKqcO62aqnSlgmRyeG3jsy rbvA== X-Gm-Message-State: AOAM533TISN38ksBixqSltIR4SDgrLP3yrhjUVkJH/nt/7cgHWbEds6R kyS6KewZtlRlSW8HRsDMZB/0UNGQymQ= X-Google-Smtp-Source: ABdhPJx5G4N6DfXKxjJKOwyhen6kPLA8z8s5vI9q4hQVK7R4J0snMoro+qehYfyszmzCvNhS4kU/wA== X-Received: by 2002:a17:903:1c6:: with SMTP id e6mr37790356plh.132.1643914995489; Thu, 03 Feb 2022 11:03:15 -0800 (PST) Return-Path: Received: from localhost.localdomain ([50.35.74.198]) by smtp.gmail.com with ESMTPSA id w8sm24175450pfu.128.2022.02.03.11.03.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Feb 2022 11:03:15 -0800 (PST) From: "Kun Qin" To: devel@edk2.groups.io Cc: Andrew Fish , Leif Lindholm , Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [PATCH v3 0/2] EDK2 Code First: PI Specification: Expand PI Status Codes Date: Thu, 3 Feb 2022 11:03:01 -0800 Message-Id: <20220203190303.2008-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/85335 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 previous series, v3 patch changes mainly include: a. Added BZ3794 prefix for newly added macro definitions; Patch v3 branch: https://github.com/kuqin12/edk2/tree/BZ3794-expand_status_codes_v3 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