From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id B154874003E for ; Wed, 20 Nov 2024 16:15:38 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=bGpwzUmJQKuHcovfXYzFCb1kdhF/W+vxkYVw9/1SQf4=; c=relaxed/simple; d=groups.io; h=Received-SPF:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:Authentication-Results-Original:nodisclaimer:MIME-Version:Original-Authentication-Results: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=20240830; t=1732119338; v=1; x=1732378537; b=J7Md6Ln1tfHhxT2AiwA3QE//t0T8AxbPmMJ6/7iR/SFFmCBfKJ91tl9kGosVLWijvLeReH4a zDU2FrcjcWINrNJwzXEk1ZEJrExlwrGhVvyAcZAXdsDZkSOzlAkIv70k1y5/mqDJWhL2AADhWRt B3U0hLzIaRloPXbQulwp6HBolbdKX/kgaQpt62xlUFTO1KM+AXI7/zBvCvGj1D0RBO9/qAvLTfp iMOtqCVIVzSJGc0e41U6vSZgn8us/VvraWbJPyqI7Y1ZAlzwSlrGagYXS1ynIGq8a77N8WlbB/d YzM1uKiQZW6ph0E79jUzPVAwFlABPz5kVBueSUgXSB3dg== X-Received: by 127.0.0.2 with SMTP id NYunYY7687511xerZDj2xTS2; Wed, 20 Nov 2024 08:15:37 -0800 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.66]) by mx.groups.io with SMTP id smtpd.web10.17633.1732119335793587598 for ; Wed, 20 Nov 2024 08:15:36 -0800 X-Received: from AS8PR04CA0059.eurprd04.prod.outlook.com (2603:10a6:20b:312::34) by AS8PR08MB6085.eurprd08.prod.outlook.com (2603:10a6:20b:294::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.23; Wed, 20 Nov 2024 16:15:31 +0000 X-Received: from AM3PEPF0000A79C.eurprd04.prod.outlook.com (2603:10a6:20b:312:cafe::14) by AS8PR04CA0059.outlook.office365.com (2603:10a6:20b:312::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.24 via Frontend Transport; Wed, 20 Nov 2024 16:15:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM3PEPF0000A79C.mail.protection.outlook.com (10.167.16.107) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8182.16 via Frontend Transport; Wed, 20 Nov 2024 16:15:31 +0000 X-Received: ("Tessian outbound a09d3701ea63:v490"); Wed, 20 Nov 2024 16:15:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 3bba7cd8382fc21c X-TessianGatewayMetadata: 3gXM+Ho7ILlE03Z1rDRUcgCv/yoWHG5pa2mF2NjpvVlxYaZMA8MI2a0ljvoV/17fw5a25UnF+meyAS6+BBgM82YF7gdLP+8/nRxgdK7U3oXQnXCJhiYsKY+IsecpxgSkIKP4JLLXIK4jhq2P/suQ9o/U8O1mCtw5AMKpbc6M7yV1JfzASZYaPe+SoOJN/Unq51naKnZIsg52P2gU4iqL5A== X-CR-MTA-TID: 64aa7808 X-Received: from L3f8bb1dcec26.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 06EC2C77-74C9-4D44-BDE1-283DDDADCAF2.1; Wed, 20 Nov 2024 16:15:24 +0000 X-Received: from EUR02-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L3f8bb1dcec26.1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 20 Nov 2024 16:15:24 +0000 X-Received: from AS8PR08MB7791.eurprd08.prod.outlook.com (2603:10a6:20b:52d::6) by DU2PR08MB10108.eurprd08.prod.outlook.com (2603:10a6:10:496::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.20; Wed, 20 Nov 2024 16:15:20 +0000 X-Received: from AS8PR08MB7791.eurprd08.prod.outlook.com ([fe80::7cdd:d5d6:af6:81ca]) by AS8PR08MB7791.eurprd08.prod.outlook.com ([fe80::7cdd:d5d6:af6:81ca%4]) with mapi id 15.20.8158.023; Wed, 20 Nov 2024 16:15:20 +0000 From: "Sunny Wang via groups.io" To: "devel@edk2.groups.io" , Ann Cheng CC: G Edhaya Chandran , Barton Gao , Carolyn Gjertsen , Sunny Wang Subject: Re: [edk2-devel] [PATCH v1 1/1] uefi-sct/SctPkg: ExtractConfig allows EFI_ACCESS_DENIED with a warning Thread-Topic: [PATCH v1 1/1] uefi-sct/SctPkg: ExtractConfig allows EFI_ACCESS_DENIED with a warning Thread-Index: AQHbN2lFBw6J3Clgi0OEZUly8owxgbLAX37w Date: Wed, 20 Nov 2024 16:15:20 +0000 Message-ID: References: <20241115141833.1117221-1-ann.cheng@arm.com> <20241115141833.1117221-2-ann.cheng@arm.com> In-Reply-To: <20241115141833.1117221-2-ann.cheng@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB7791:EE_|DU2PR08MB10108:EE_|AM3PEPF0000A79C:EE_|AS8PR08MB6085:EE_ X-MS-Office365-Filtering-Correlation-Id: 0785b916-abd8-4761-02ea-08dd097e8e17 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|366016|376014|1800799024|4022899009|38070700018|7053199007; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?WUMTgEY0qItG8zuJPZdyP3yvvr8XyaIW3vPyYhwIWxuEzTAAcdQ9I5S1nYVI?= =?us-ascii?Q?n8HKf8LAQ2ao/r244yPpefN0KtVW/TT4q6sYobh8rCg1GBXhUldgDBkWXccG?= =?us-ascii?Q?M8E9wywSPA96i/TI2z9l+tlsKBoFqRyXB0ZmY9+i6htGP0zLCz4KYWg/Ko7o?= =?us-ascii?Q?HQIQ6oSyAAtS/A/bC2eWB1exeJOcxdTtsiaeOnmLGyCn10LSqx1zvd8VA14l?= =?us-ascii?Q?tWZorNpoVWn6Vbn14IUPBFQb45/1xYivzbKFlDGNp0L4w6jjH6ofXBesCYcH?= =?us-ascii?Q?7NtojxnMha2xftl/HZ1CJAsG2vH7VJwUCwOHmQ+gcIxqSGhQLLglnage30ao?= =?us-ascii?Q?jGfRXTFkerwsHHqYsDg4X6SBQT9vMx4L9dw9FE/LGWSnrag2v1UNpXGl0qhI?= =?us-ascii?Q?P3mm0rMYOK86IHVe5D6kVoTDqBEUCC+GwAd50Ltg1WYkJtOwQRpHPmQ5QvA0?= =?us-ascii?Q?NRP97n8EtLtcF5nj65GKCYuEDXtFZVoL/QUOisUU2BcE3jjPhHEMitMd1ktM?= =?us-ascii?Q?uF3tZU9mAiA6E/3ELC9sRbePeah/nwiehmtmnj3DgER/xwnI/s9/nDZs/9L/?= =?us-ascii?Q?nJxv49JcQVhWpxxM4pGqHhuEOmqZXP1ukHZ0TFWldmKmXOHm+L5DV5UIrjQ/?= =?us-ascii?Q?tkFslxd5u0m74zky97TlORX43m/sRerxflvhoJJ3o2kXnaFpsxHFPLmiiA9x?= =?us-ascii?Q?4xE5boN7qbL+W6MBBnJ0MPz4ueCdu4NKEd6adlXNo4Z1TZEha1Y8VEtBh98F?= =?us-ascii?Q?BM441Ej4CM7BuA7wySEIB1CkPC8VQhrybco6/gM2VwbVANmQlj26yQiiC0yN?= =?us-ascii?Q?IHb3TTqUcrgSVQ4Y1mBLwtFJsSc5TXMgjZZp9XwD27s+k7mkMR3oMzSDryKI?= =?us-ascii?Q?QyjjhnB452zuyLkaAasfiXec3WB0viPeZSEEEb+unyQNzCO1A8nLY7xiBece?= =?us-ascii?Q?i9dnKhW/4ArUPcXSzegUEfppTcc7NCQeoa+I89Fl87YLPQslgelTC4lLN/Mw?= =?us-ascii?Q?quUZdJR+Y9G1xPrIfLxMVCA2bgBJzX1q81A6sybARhtJLkYApD5vV0/5+fXU?= =?us-ascii?Q?i94fwLk+aGxLP/CuQU5Jm7Z2rIL5sHhp378jl/cjUe53M/HfxY3fNL8WgBGS?= =?us-ascii?Q?wLoAmlo4GsorxxHH9XXuEvFlwKoUzFNKhcM90Fi3zsJX9+BwMBgUaAMxDBdF?= =?us-ascii?Q?ss358ocyQrwnv00oTMBngP08pfYabjLEW5i7csvDMVmRZDscT3kDM36yIseN?= =?us-ascii?Q?KKqiiXytX2obnDKE+00A7mdNPH+bGFvkJAuEi+6qxFd2+jPD+OgUzD1roqbf?= =?us-ascii?Q?P7OpyDZTLe+ogqXcXPoDT9pE?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR08MB7791.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024)(4022899009)(38070700018)(7053199007);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR08MB10108 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:20b:52d::6];domain=AS8PR08MB7791.eurprd08.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM3PEPF0000A79C.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f4432da0-49ba-4e26-b643-08dd097e87fa X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?omTXhLJm8NX+USPw9LZAqU7xOcMKA1/ngnBNsrnf+5Wdl1B5zvU6caF13f6z?= =?us-ascii?Q?+FLqUREYq41HG4B4DwRyLEETzsvvuVYvwGElKWnZYTnnwk9PcCEize91Hwnv?= =?us-ascii?Q?IBcgQZTTbvDC6E0OZDOx75hh8XSYpLKh86LoVcad4BjnXjhaodYjOkHH+vlR?= =?us-ascii?Q?/7CUc0X6SJf5cpRZkwe7FeSX9Zp5C/MB4p79VTfPeMlwC77JP69ehwnjIhtb?= =?us-ascii?Q?U4YJRv6r3AR7B3Qx7R1S/ZpGIsc+jzq2PLH5N1q8Q14FqB2PDhCC4gDBtTuC?= =?us-ascii?Q?7+VYcBdzkCWSBGcuwfzK3Nu2Vm9gKf8xH7/f5eoQLJ+e7EyDjKO4XqJJyKCT?= =?us-ascii?Q?b/jf9SSXCMWq15NLSKmnzOXIYVJqVScInvVwGSQy7zR8PXxqUtMuRpFIVy++?= =?us-ascii?Q?Y4oxDHROKA+ps0xoQz9C+xu4sfmb/vN+d3ih1VcqzWHqJjS7xtrckAwVDGdW?= =?us-ascii?Q?6fKxpmtBgsf2QJLxxF9d598ABDkE6JDULrUOXSopWQ38qrZlhxXHoxgqGoZw?= =?us-ascii?Q?62HY/OE24+LV7koQH80h7VY4eaOcwlDDgtbEB7i4n5sDl2nIJi0hYhGzSxkO?= =?us-ascii?Q?gPzQ1yMbpXs9jL+eZ/k10Gb82GsZKt7fUYxJNaR/ExcFfAuot+E8hRobwMf7?= =?us-ascii?Q?PBlEPmwcwXDI+Qdn3lX+yjoe78/Hj5n3qplq45Hiixd48wPuxk6lr9GBlGz2?= =?us-ascii?Q?1vDI4Md+PxiVnUI29hCViEVOYm8MYjHAuoNqI+PNeYrzdzMQumiDBHX6+qQF?= =?us-ascii?Q?XdKfFGFfVgKEBwSr7tWI7oM5Ak1qCporx6HxltcLCDTo3/GrtLraWWVS0lve?= =?us-ascii?Q?3g/sEalEXkjPnp6k2e/QEQf5vaVJ4adm1RxIh5Qdv9vATxNJTgzGT4tT6w/7?= =?us-ascii?Q?dwZBCFFPIOYUDw4S8kXpYFAN7qc2KPUEWjanrIrLQoP521nLIhyhvp63Q3lA?= =?us-ascii?Q?zXJqjEw2YviIM5TVmm6jCR782Y/v89ZUhBuDbw6jeKofWnKxwM2bGt+GiUzn?= =?us-ascii?Q?LhT9D5ISL1AHsYrIf0H4wNESPlFx1vDt7lrHHI+Oc/hs1gCHWc167oRCdZKg?= =?us-ascii?Q?UEFwcBo6F2gds0BvGYbQMk3MmVvjqfAY8kKp0CdYEASXFWD15OxGi+950eNq?= =?us-ascii?Q?Wjr3uOmlMRNy2m1j7FHQa6bm7TWaVcKjWb6mTM8IDf5dTYKOYZqm6dqrWgk5?= =?us-ascii?Q?EbCVJsjeDSTJcog55ZDTgAVz22VbvLgNLwSRAIO/oSfm22oihDxlavLqLpHr?= =?us-ascii?Q?K/rCDkp9RmNo0j+vtqFDwjQBlkLAOcQUJKAi3bC8Iyu0xmL1zrsCA07hlts1?= =?us-ascii?Q?1kHPVSan4qdSzFzLbgF0WJKRpl6i8KIZVVUaJtZLFz+mPwagqXMwzpzxisLz?= =?us-ascii?Q?LzUzv1M=3D?= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2024 16:15:31.0255 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0785b916-abd8-4761-02ea-08dd097e8e17 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM3PEPF0000A79C.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6085 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: Wed, 20 Nov 2024 08:15:36 -0800 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: GRSOgtpFaW1Gu6edG2K8rgHYx7686176AA= 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=20240830 header.b=J7Md6Ln1; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Looks good to me. Thanks for fixing this, Ann. Reviewed-by: Sunny Wang -----Original Message----- From: devel@edk2.groups.io On Behalf Of Ann Cheng vi= a groups.io Sent: Friday, November 15, 2024 8:19 AM To: devel@edk2.groups.io Cc: G Edhaya Chandran ; Barton Gao ; Carolyn Gjertsen Subject: [edk2-devel] [PATCH v1 1/1] uefi-sct/SctPkg: ExtractConfig allows = EFI_ACCESS_DENIED with a warning REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4847 EFI_ACCESS_DENIED (The action violated a system policy) is an acceptable status for ExtractConfig in UEFI specification. SCT now marks the test case as a warning instead of failure, when EFI_ACCESS_DENIED is returned. Cc: G Edhaya Chandran Cc: Barton Gao Cc: Carolyn Gjertsen Signed-off-by: Ann Cheng --- uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTest/HI= IConfigAccessBBTestFunction.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/Bla= ckBoxTest/HIIConfigAccessBBTestFunction.c b/uefi-sct/SctPkg/TestCase/UEFI/E= FI/Protocol/HIIConfigAccess/BlackBoxTest/HIIConfigAccessBBTestFunction.c index fedccb382f81..b1419bed36dc 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTe= st/HIIConfigAccessBBTestFunction.c +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/HIIConfigAccess/BlackBoxTe= st/HIIConfigAccessBBTestFunction.c @@ -328,8 +328,8 @@ BBTestExtractConfigFunctionTestCheckpoint1 ( } else { gtBS->FreePool (Results); } - } else if (EFI_OUT_OF_RESOURCES =3D=3D Status) { - AssertionType =3D EFI_TEST_ASSERTION_WARNING; + } else if ( (EFI_OUT_OF_RESOURCES =3D=3D Status) || (EFI_ACCESS_DENIED = =3D=3D Status) ) { + AssertionType =3D EFI_TEST_ASSERTION_WARNING; }else { AssertionType =3D EFI_TEST_ASSERTION_FAILED; } @@ -385,7 +385,7 @@ BBTestExtractConfigFunctionTestCheckpoint1 ( } gtBS->FreePool (Results); } - } else if (EFI_OUT_OF_RESOURCES =3D=3D Status) { + } else if ( (EFI_OUT_OF_RESOURCES =3D=3D Status) || (EFI_ACCESS_DENIED = =3D=3D Status) ) { AssertionType =3D EFI_TEST_ASSERTION_WARNING; }else { AssertionType =3D EFI_TEST_ASSERTION_FAILED; @@ -445,7 +445,7 @@ BBTestExtractConfigFunctionTestCheckpoint2 ( &Results ); - if (EFI_OUT_OF_RESOURCES =3D=3D Status) { + if ( (EFI_OUT_OF_RESOURCES =3D=3D Status) || (EFI_ACCESS_DENIED =3D=3D S= tatus) ) { AssertionType =3D EFI_TEST_ASSERTION_WARNING; } else if ((EFI_NOT_FOUND =3D=3D Status) && (Progress =3D=3D NULL) && (R= esults =3D=3D NULL)) { AssertionType =3D EFI_TEST_ASSERTION_PASSED; -- 2.34.1 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. 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 (#120806): https://edk2.groups.io/g/devel/message/120806 Mute This Topic: https://groups.io/mt/109648112/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-