From nobody Sun Feb 8 18:49:33 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+78713+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78713+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1628175459; cv=none; d=zohomail.com; s=zohoarc; b=Dt0xR1mHHKCLfMfkTwYqHi65fKbG0MMsgGg+7CUUBDgVaW8fkqBYrOWR359+tJaii6RQ4ILDzDTvyBRVnBIv30Mwiya0lVpe5pU5PXHyUlqE8SeWRtB1GM9wmBKh0FVsQwru9d1SPJebkW6LJR4o4hoiNYPrvW+xNkrfsJP4JYc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628175459; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=8x1u8ZRDjCbVcp45Mga1mb1o7ul7CqshNMNqtWmOUjs=; b=SdjY/unPMV591xg6ar10Dm3iCtJHiKLBHd2hMKumro2HT3EjXrjHdrPgNSLW4IlKfb4Qh1h0ng3Vd907GL4Igw8LMoNX4mXtBcVxw0JlX8vE+huj80vmL94H9q1IGJU5Ddqkd+LHrtCYW64Pajp3Q9c901zLnI6e30DVUZ3t+gY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+78713+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1628175459290282.1502417491936; Thu, 5 Aug 2021 07:57:39 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id dckNYY1788612xnckczIvCBS; Thu, 05 Aug 2021 07:57:38 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.9904.1628175458396083424 for ; Thu, 05 Aug 2021 07:57:38 -0700 X-Received: from localhost.localdomain (unknown [167.220.2.74]) by linux.microsoft.com (Postfix) with ESMTPSA id 066A920B36EE; Thu, 5 Aug 2021 07:57:38 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 066A920B36EE From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-devel] [edk2-platforms][PATCH v1 3/5] MinPlatformPkg/TestPointCheckLib: Fix incorrect array index Date: Thu, 5 Aug 2021 10:57:04 -0400 Message-Id: <20210805145706.2470-4-mikuback@linux.microsoft.com> In-Reply-To: <20210805145706.2470-1-mikuback@linux.microsoft.com> References: <20210805145706.2470-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mikuback@linux.microsoft.com X-Gm-Message-State: PS4Gpb7meOuUYslyMVjgXtwvx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1628175458; bh=cZ3DoDfNJ4G1PtE1s++4rXn3BqcQ3xE/LYR7vs+FJwo=; h=Cc:Date:From:Reply-To:Subject:To; b=g7iX9+6EkPNFf/cdu4xWZPB1oA2+WKtnXw2f5wXDX0y6flV/WMPCVrifIy0+6fjkBtK PBLBMxQ2cntn3swLPzLH4jeiUkfOzZHnJ3DpxnHXwd/YW3ADoBCQ1ivKEP1PrfzKsslEH B6MwhpOHB+L5fQwFye7P50V40syMlaSHQyQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1628175459598100006 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3520 TestPointSmmEndOfDxeSmrrFunctional() uses the incorrect byte index to skip the test. It should use byte 6 instead of byte 5. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Michael Kubacki --- Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/SmmTestPointC= heckLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/S= mmTestPointCheckLib.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPoin= tCheckLib/SmmTestPointCheckLib.c index 4b4f874c7bbc..3e8b2621cccd 100644 --- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/SmmTestP= ointCheckLib.c +++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/SmmTestP= ointCheckLib.c @@ -109,7 +109,7 @@ TestPointSmmEndOfDxeSmrrFunctional ( EFI_STATUS Status; BOOLEAN Result; =20 - if ((mFeatureImplemented[5] & TEST_POINT_BYTE6_SMM_END_OF_DXE_SMRR_FUNCT= IONAL) =3D=3D 0) { + if ((mFeatureImplemented[6] & TEST_POINT_BYTE6_SMM_END_OF_DXE_SMRR_FUNCT= IONAL) =3D=3D 0) { return EFI_SUCCESS; } =20 @@ -125,7 +125,7 @@ TestPointSmmEndOfDxeSmrrFunctional ( TestPointLibSetFeaturesVerified ( PLATFORM_TEST_POINT_ROLE_PLATFORM_IBV, NULL, - 5, + 6, TEST_POINT_BYTE6_SMM_END_OF_DXE_SMRR_FUNCTIONAL ); } --=20 2.28.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78713): https://edk2.groups.io/g/devel/message/78713 Mute This Topic: https://groups.io/mt/84686307/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-