From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 908179417F2 for ; Tue, 9 Apr 2024 15:05:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=CgeW4T9nzZbdRBo1qSOCmWF+rO87YPcHLFVuam9DZ8k=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:nodisclaimer:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1712675103; v=1; b=mjfA4y/Fo2Gsc7SnmCF0g2/MfJ+R2urIq2RCfZu+uZYnngjjB6jhnu5aUU5Og4vIiy7yEOzV J7HycpH4TYkv32W8ibOrDivyakR8yebVFCFBqPxBEuRe6XH78Wpb8jWXEepE6Hhd3JGU9v2dK6v cYxxias76OX7+MOPgVBFyn23MOJFX6OFoLdd/OZZIh/as9/G89ZeUUvVgKM7hPLhZJe0bIQL88k hnirfMhq0pVVwQtqsbdgksI9NB4E8aYb4SWh/uOYUFVaSZaJCwEoQ2OxAWhLOzsD9LK8TpBpdIh AHZGDJ6cOUeAuJWpfmVcv7A3hRJc8COJ20u6WF+IicGnQ== X-Received: by 127.0.0.2 with SMTP id md30YY7687511xPhlvenjXvB; Tue, 09 Apr 2024 08:05:03 -0700 X-Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.130]) by mx.groups.io with SMTP id smtpd.web11.139553.1712675101569711869 for ; Tue, 09 Apr 2024 08:05:02 -0700 X-Received: from AS8PR08MB7791.eurprd08.prod.outlook.com (2603:10a6:20b:52d::6) by GVXPR08MB10541.eurprd08.prod.outlook.com (2603:10a6:150:158::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.54; Tue, 9 Apr 2024 15:04:55 +0000 X-Received: from AS8PR08MB7791.eurprd08.prod.outlook.com ([fe80::8ed9:ec8b:75b7:f127]) by AS8PR08MB7791.eurprd08.prod.outlook.com ([fe80::8ed9:ec8b:75b7:f127%6]) with mapi id 15.20.7409.053; Tue, 9 Apr 2024 15:04:55 +0000 From: "Sunny Wang" To: "devel@edk2.groups.io" , Abhi Singh CC: Sunny Wang Subject: Re: [edk2-devel] [PATCH v5 0/6] EDK2-TEST TCG MOR Tests Thread-Topic: [edk2-devel] [PATCH v5 0/6] EDK2-TEST TCG MOR Tests Thread-Index: AQHaijjbOgBG/+RHIEScZ0E4MfTvkLFgCeZQ Date: Tue, 9 Apr 2024 15:04:55 +0000 Message-ID: References: <20240409044523.1033318-1-Abhi.Singh@arm.com> In-Reply-To: <20240409044523.1033318-1-Abhi.Singh@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 64C21070DF9E744EAF9C8B648EEEB806.0 x-checkrecipientchecked: true x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS8PR08MB7791:EE_|GVXPR08MB10541:EE_ nodisclaimer: true x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: /iPtQb7LXuq5x5u6zOyC1ATRglyzT8D5B8dSrNLkG2E+b79FzM8z3xZH04DEx6l8cALLjjvNG3pq7W5o/5Zc04g8HEKA3N+uEKOPyKADyAaUkD0xBenv5QUWdd+tRWw137Bg05DNwS9feOT/pyN3Oxtf74N5yVLaVn1ubjzNESr9WAAwqUW+j9d8pNYh92OZF/RAwJknUVYhIq7KQS1LGauHBVnMRl+STpslXfEEauEdw5LD3QnJhUvj4lAu5z71xrBM5Jm5rZ1ByFc+IVXMfw9Woc119kLoEsq89f0JydJU1LeuBE4+iGdvOZheji2YAinG5CtWEAZ39LTsaL9FS5nsfZj3sR05YkP9gJP3p1gekK3EGFgJgw2N7FG1xX7fCXyOF+CEIFCaPbPZXyOcPfXC3revGFUaEKqSZGh8gNLG7ru2h2NIicW7sA1uWcExkFyNksJXhM+AcP3FXE2dFBogLgKsZzHPW6ca0EideMk4TWDV/IDtaxPojj5R8jpZAAznUT4vKXxSzq7w/+6DHDNsJ84d0vhTF86skivbxuYYQEOlflASCSCTRD+BwZTiks932qhCkcv8FSbnMxlukZb0fvETqROffU64k1dsuUMIyQNQfaOrVB+Ia2t7zHss x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6UnaO9uUPnNcrcfP+WNLUaUnpLWAlKPwpDnKat5xKZ/AGdEkFXbvrnR8Gygl?= =?us-ascii?Q?axKkJESUuJnVJeElXgRa7ULM5ixDyB5/EQ2gro054RAZKQuivtADvUOpQ0Q3?= =?us-ascii?Q?S+WAkCQ5kzTU9Ks3jcog3tT4B1uZ+eJxZHhcMHBU+8LjmMM+8VGBo0fudIn6?= =?us-ascii?Q?hEfOsCVHVfkmtB/n+XKRqhh00xQxAma2vs1PSPzgQEdQSYn3FqeRYHcqRdvm?= =?us-ascii?Q?8WLmrRBjLpgTZM6nvi607GDOtcK2GpmjE5WwiknaCIKguKahBVxLT7m3M2a6?= =?us-ascii?Q?YdESBbz04AnuhARg4ZfRjlCUHBncJ0iPdNsaUoO+seLqRdv7DZeptSyj6OyE?= =?us-ascii?Q?ERcWP9Ujrwdhk0eqqTz4k8Lc9itvsmenEfWZHR50EZ9Oy7+B3gu2pH2OB4Bg?= =?us-ascii?Q?kndxGMbVypYVPXmJR4gEPF2LS4mz+ZBTvXy+vJdYAVaidTTgXfY5JbpfmA7j?= =?us-ascii?Q?d0MmCQZWlBC7AP1L6IJ/a+YhT4wgZUZU+bfJKUgeKRNr8/N0UougF+EwFxcN?= =?us-ascii?Q?+inAe/jSlRJg0BBrrLTBK8cHstLHWnPSa0dSV54qP0f1mFfApb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8PjoAzadUGiE9QOaspP8Vkjj2Bp7RRgsLznmET72osS?= =?us-ascii?Q?K3/cVxI/NPC0Oeg6lX3aA5RdqPFq6Bq+U0CbWvU6Yenc0MC4KocGuG4B5QmM?= =?us-ascii?Q?qP/niC3WkZs+E9c0vxIjn+WJi6LN4GU0zPoPMI6c?= MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR08MB7791.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53c45e47-766c-4417-85ac-08dc58a66abb X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2024 15:04:55.7872 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: x4dSFjG2kMUxUbkluqnbJ0kmCSfKkVqpO3KWQRr2YZNPf2IcQHXZQCYecxJ/V6e0pQm9UNYWFyPGTYrEFF+wwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR08MB10541 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 09 Apr 2024 08:05:02 -0700 Resent-From: Sunny.Wang@arm.com Reply-To: devel@edk2.groups.io,Sunny.Wang@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: cAFV5CDw3vz9RIjElJ9UKbD5x7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="mjfA4y/F"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Thanks for addressing my comments, Abhi. https://github.com/tianocore/edk2-test/pull/90 Reviewed-by: Sunny Wang -----Original Message----- From: devel@edk2.groups.io On Behalf Of Abhimanyu Si= ngh via groups.io Sent: Monday, April 8, 2024 11:45 PM To: devel@edk2.groups.io Cc: Abhi Singh Subject: [edk2-devel] [PATCH v5 0/6] EDK2-TEST TCG MOR Tests Updates after feedback from Sunny -updated several SCT assertion string outputs -these were done make the assertions more descriptive -fixed the issue in patch 5/6 that contained stray chars from a merge Patch series: These tests support platform firmware that implement MemoryOverwriteRequestControl & MemoryOverwriteRequestControlLock UEFI variables in accordance with TCG PC Platform Reset Attack Mitigation Specification. The patches are split according to the six sections documented in the SCT spec document referenced below. SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4419 Abhi Singh (5): uefi-sct/SctPkg: TCG MOR SetVariable Test uefi-sct/SctPkg: TCG MORLOCK SetVariable Test uefi-sct/SctPkg: TCG MORLOCK Unlocked State Test uefi-sct/SctPkg: TCG MORLOCK Locked No Key State Test uefi-sct/SctPkg: TCG MORLOCK Locked with Key State Test Abhi.Singh (1): uefi-sct/SctPkg: TCG Platform Reset Check Test uefi-sct/SctPkg/UEFI/UEFI_SCT.dsc = | 1 + uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMemoryOverwriteReques= t/BlackBoxTest/TCGMemoryOverwriteRequestBBTest.inf | 53 + uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMemoryOverwriteReques= t/BlackBoxTest/Guid.h | 271 +++ uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMemoryOverwriteReques= t/BlackBoxTest/TCGMemoryOverwriteRequestBBTestMain.h | 137 ++ uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMemoryOverwriteReques= t/BlackBoxTest/Guid.c | 127 ++ uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMemoryOverwriteReques= t/BlackBoxTest/TCGMemoryOverwriteRequestBBTestFunction.c | 2390 +++++++++++= +++++++++ uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMemoryOverwriteReques= t/BlackBoxTest/TCGMemoryOverwriteRequestBBTestMain.c | 115 + uefi-sct/SctPkg/CommonGenFramework.sh = | 1 + uefi-sct/SctPkg/Config/Data/Category.ini = | 7 + 9 files changed, 3102 insertions(+) create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMe= moryOverwriteRequest/BlackBoxTest/TCGMemoryOverwriteRequestBBTest.inf create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMe= moryOverwriteRequest/BlackBoxTest/Guid.h create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMe= moryOverwriteRequest/BlackBoxTest/TCGMemoryOverwriteRequestBBTestMain.h create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMe= moryOverwriteRequest/BlackBoxTest/Guid.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMe= moryOverwriteRequest/BlackBoxTest/TCGMemoryOverwriteRequestBBTestFunction.c create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/RuntimeServices/TCGMe= moryOverwriteRequest/BlackBoxTest/TCGMemoryOverwriteRequestBBTestMain.c -- 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117519): https://edk2.groups.io/g/devel/message/117519 Mute This Topic: https://groups.io/mt/105416468/5985097 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [Sunny.Wang@arm.com] -=3D-=3D-=3D-=3D-=3D-=3D IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you. -=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 (#117547): https://edk2.groups.io/g/devel/message/117547 Mute This Topic: https://groups.io/mt/105416468/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-