From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.73]) by mx.groups.io with SMTP id smtpd.web08.34727.1612190050698173647 for ; Mon, 01 Feb 2021 06:34:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=jxpDx+Ya; spf=pass (domain: arm.com, ip: 40.107.6.73, mailfrom: samer.el-haj-mahmoud@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3xYs6tGIT9wRo3ksEUdg0C3ZHTF6PJ6xtPGyoRUiX+g=; b=jxpDx+YaNJMutv6U85icRDOkfCdQKVTM3I78itWggTBoto4JL/0vEOtclzYW20gFaeCiq/s6LUJOVIm6hDgD+LwydWCdKKMc8mKvgLGHj3iyX0YhgnLV7HwH3QKTQZ6s4+OKFHoGuLttZ1WfAuiBJYpUgvdpmNxs1rWsfrWnGIE= Received: from AM5PR0502CA0004.eurprd05.prod.outlook.com (2603:10a6:203:91::14) by VI1PR08MB3087.eurprd08.prod.outlook.com (2603:10a6:803:4b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.24; Mon, 1 Feb 2021 14:34:07 +0000 Received: from VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:91:cafe::12) by AM5PR0502CA0004.outlook.office365.com (2603:10a6:203:91::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.17 via Frontend Transport; Mon, 1 Feb 2021 14:34:06 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT035.mail.protection.outlook.com (10.152.18.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11 via Frontend Transport; Mon, 1 Feb 2021 14:34:06 +0000 Received: ("Tessian outbound e989e14f9207:v71"); Mon, 01 Feb 2021 14:34:05 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7db97b06a6ef11a7 X-CR-MTA-TID: 64aa7808 Received: from f51af5ace11b.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D8866504-6628-424B-B4B0-692E82FF74F5.1; Mon, 01 Feb 2021 14:33:59 +0000 Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f51af5ace11b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 01 Feb 2021 14:33:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hj3av+UEu8unYNWjRh6p2oW0oO2REOnFvMu4fObD4d015hfvx5nfMTEW1Rq1WNOnJLPiT34hgGqlv8WqxjJsaCimjKud1yCM+prXqqoP9t+/fgjA7mA7w4qXoKVWFJzuDXN4DV+9RJFsvID9LGRvP/aHFvfwOMpmYv9+4IIs9c/H/Ab2sDhiqatwoZdrAc8bPymEEbZbhEeAEH4yFMlF8fkoESOOpAO4xMYDqs27nq2+O3hpPRvTAeizQ1rG7SzHwW2kqIG+n1dJLMrff4npyx2sYkX7HiBRb/HNMIY7xLXSkIx+aBPnKASu6zbClBEKhoMvWO1uCzZcX8qXY4vhrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3xYs6tGIT9wRo3ksEUdg0C3ZHTF6PJ6xtPGyoRUiX+g=; b=azwwwuli8UcIQaFIEmsF9acj8NNArfMM3dE4nyaxMjFwWpOgUv9voeialp+PfwPsUjFO1N3RNX7kSLrEKm80nL/aO4uhd/6M40OXPCtUKtNR059X38PfFvcOZ5DYZM/wpnTx0sf8/Auw7eeUYjqbNaCk0S4vufGueZNZhsqAJeVhGZ5tbxH0aTYVjx+Sd969cNsw1idtlOAuprevXvNgcejT+m/Zq3OFIEB54j3Ivr6yIqhKySWK3SufY+iaiQH0gf/AJ5cN8bLLSsDeCOMqbRIfhveLERq1+qGWkOdRVDmFd9GXA3a7Gkr3am8/nXJ2lg9XvlkI/JAKpVSxpXdoeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3xYs6tGIT9wRo3ksEUdg0C3ZHTF6PJ6xtPGyoRUiX+g=; b=jxpDx+YaNJMutv6U85icRDOkfCdQKVTM3I78itWggTBoto4JL/0vEOtclzYW20gFaeCiq/s6LUJOVIm6hDgD+LwydWCdKKMc8mKvgLGHj3iyX0YhgnLV7HwH3QKTQZ6s4+OKFHoGuLttZ1WfAuiBJYpUgvdpmNxs1rWsfrWnGIE= Received: from VI1PR08MB3261.eurprd08.prod.outlook.com (2603:10a6:803:49::23) by VI1PR08MB3728.eurprd08.prod.outlook.com (2603:10a6:803:bf::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.17; Mon, 1 Feb 2021 14:33:58 +0000 Received: from VI1PR08MB3261.eurprd08.prod.outlook.com ([fe80::148b:a524:e5a2:bb25]) by VI1PR08MB3261.eurprd08.prod.outlook.com ([fe80::148b:a524:e5a2:bb25%7]) with mapi id 15.20.3805.016; Mon, 1 Feb 2021 14:33:58 +0000 From: "Samer El-Haj-Mahmoud" To: Heinrich Schuchardt , EDK II Development CC: Eric Jin , G Edhaya Chandran , Barton Gao , Arvin Chen , Liming Gao , Samer El-Haj-Mahmoud Subject: Re: [PATCH 2/2] uefi-sct/SctPkg: allowable NotifyTpl in CreateEvent Thread-Topic: [PATCH 2/2] uefi-sct/SctPkg: allowable NotifyTpl in CreateEvent Thread-Index: AQHW5CmUKNMb2TT18EeJVl/YrFf/YKpDhiuw Date: Mon, 1 Feb 2021 14:33:58 +0000 Message-ID: References: <20210106124215.60368-1-xypron.glpk@gmx.de> <20210106124215.60368-2-xypron.glpk@gmx.de> In-Reply-To: <20210106124215.60368-2-xypron.glpk@gmx.de> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: gmx.de; dkim=none (message not signed) header.d=none;gmx.de; dmarc=none action=none header.from=arm.com; x-originating-ip: [99.132.126.10] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 94c40b7d-eb3f-4aef-b8fe-08d8c6be6de2 x-ms-traffictypediagnostic: VI1PR08MB3728:|VI1PR08MB3087: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:3173;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: M5x+uH2WVvi13jO1cJfED57p5iCeQcaX4SzhViT3lO78DQsHMQZlh5A4BlY7Y1zR4sA9asUXxXkwM8S1i32a+uuom67CVQ+J24D3LvzDN0QTRv4pLIVfmAiqpGVaqWU4XA6IhVP0GvpsTnqbg/7O8UvVwxCGWtlzUVRUj7l+unAC86+bHsCAh3+L960gJyWRTnK/VrgPDAiujEhPIw1VDh0mO6Mbi+wmlDMRSzW8E4ZtW2khNNmzQdQeCpOmbkpvovML0Ft5bXaiIPKLar5bS96NqRiLzpWkNljc9uFzCUqyff7Z9JJi4uzsv16JYtvi96F92MFNbiaujGxz4v/OJpeqJPecfcAgiW1y7N7W2CWNHTauANoZzVHBN1nohyaME2RdJEGayYCNeCmFCV+BnztkfVviMez0s+YY6iabyirjI4DbjOuct2WdxJx+ROLFCM9OSiUlZVEd7mZVL1u/fY2FoI0bdDCMBKBoLNgmSSnMYw/1BYhtD5YMpImn/FWE+t0DA1cSPDlegV5czFuqK9a1BOsXn2E10WF4HRl+zqYVZa/DpHXB6BcPQaemNm+KT2IBroKi32c3+jtLm0505mVIFuM/ZIwJnROcAiqI0qM= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR08MB3261.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(376002)(136003)(346002)(366004)(39860400002)(478600001)(26005)(8936002)(4326008)(66476007)(9686003)(186003)(76116006)(33656002)(86362001)(7696005)(66946007)(66556008)(64756008)(66446008)(55016002)(966005)(83380400001)(54906003)(316002)(110136005)(6506007)(2906002)(53546011)(52536014)(5660300002)(19627235002)(8676002)(71200400001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?E/csnEBR/DfiBbFw5UXrZhLVyAdR9D5w1fEcUrT01QotKyzv5wI9+v9kWfF8?= =?us-ascii?Q?Sw2+1koAXBxYpoJ28nglU5aeqGuLXgvjjn+aEQzSHYBSF7dvbVMUjHpQt0fv?= =?us-ascii?Q?eXjrWx1TOZkeTspaILcf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ZFKKiP?= =?us-ascii?Q?VQtwByfu5hOB3UQBSwlgOZIl3Y9fBZiv/FvQM84DvDpp5J20PILJEUd/XDmZ?= =?us-ascii?Q?KrWgfXGk?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3728 Original-Authentication-Results: gmx.de; dkim=none (message not signed) header.d=none;gmx.de; dmarc=none action=none header.from=arm.com; Return-Path: Samer.El-Haj-Mahmoud@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 8f707168-619b-4065-d97b-08d8c6be6921 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xDDgMmRuvs5R9iRIEB87AgFIEEKNKSfxtKXS1EzZWkJTjnBVgJpTfZAjbPz6L1oWY3VnP2trKvHn0xdw03KhoR2mnptFUajnN4KIXEs7WptkPL/Y8Z+VKASLsiw7k2vZ6/hhgFu6FmgRzs+oVQ+xReaxDgm9YDUqqNEBDaZ/9W/l7lWTvitGNhh7UXVEXIcP5L1iVxNbg3z5piuCqTfQ3SZ7RsE/QisykIijBa8adwJ8aHuYPA99SjMO2lBqu0ghedE7F/bnR1uAXeIOlLDFd8+cs2APMSdtem3wS65KAxw+CtPYvqxI9f5iN0lIfjLJktM4WSw3wKsexSadr0LQKVLDg+RDz+q8HhN7gNBt/Wjttd5x8kMqWCABlB8Oa3JUF7awGCgA5HNk1pYfkaTrU6qGzKXbMastALxlLQ6UCuhz3YfPxz6RqB4Tzngi7bs7HFcw+TdIRVSEISSso6sUBkkk2Kcp12/I5vDqzdSbw24oS7f2dijm8S+aG0oBYAYZsuFkbW4N/wB8H37y7JhInXFxtu4dCaNqTnISaPeWkia8K/0j/rf6UDfPgUI0hFaibPubvL7MYqs1O0H4s2nYI66VNsghOaCH/31c0+ec5EKPsdlvH47JIaQ1r9d/7DAAPOw9zsSdEHIuzDjrDUOqEkPwa0JV4L32iN0DyPhuI8s= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(346002)(136003)(396003)(376002)(39860400002)(46966006)(70586007)(82740400003)(55016002)(4326008)(8936002)(5660300002)(2906002)(356005)(316002)(81166007)(33656002)(19627235002)(47076005)(70206006)(86362001)(478600001)(186003)(7696005)(6506007)(966005)(53546011)(54906003)(82310400003)(9686003)(336012)(110136005)(26005)(8676002)(83380400001)(52536014);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2021 14:34:06.0936 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 94c40b7d-eb3f-4aef-b8fe-08d8c6be6de2 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: VE1EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3087 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Samer El-Haj-Mahmoud > -----Original Message----- > From: Heinrich Schuchardt > Sent: Wednesday, January 6, 2021 7:42 AM > To: EDK II Development > Cc: Eric Jin ; G Edhaya Chandran > ; Barton Gao ; Arvin > Chen ; Liming Gao ; > Samer El-Haj-Mahmoud ; Heinrich > Schuchardt > Subject: [PATCH 2/2] uefi-sct/SctPkg: allowable NotifyTpl in CreateEvent > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3057 > > According to table Table 27. TPL Restrictions in UEFI spec 2.8 B: > > Event Notification Levels must be "> TPL_APPLICATION" and "<=3D > TPL_HIGH_LEVEL". > > In the conformance test for CreateEvent() check that TPL_APPLICATION > results in EFI_INVALID_PARAMETER if the event can be notified. > > In the functional tests check that events can be created with > TPL_HIGH_LEVEL. > > Signed-off-by: Heinrich Schuchardt > --- > .../EventTimerTaskPriorityServicesBBTestCreateEvent.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/EventTimerTaskPriorityServices/ > BlackBoxTest/EventTimerTaskPriorityServicesBBTestCreateEvent.c b/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/EventTimerTaskPriorityServices/ > BlackBoxTest/EventTimerTaskPriorityServicesBBTestCreateEvent.c > index f71d6d21b8db..5fc0614192bb 100644 > --- a/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/EventTimerTaskPriorityServices/ > BlackBoxTest/EventTimerTaskPriorityServicesBBTestCreateEvent.c > +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/EventTimerTaskPrior > +++ ityServices/BlackBoxTest/EventTimerTaskPriorityServicesBBTestCreateE > +++ vent.c > @@ -190,6 +190,7 @@ BBTestCreateEvent_Conf_Sub1 ( > EFI_TPL NotifyTpls[] =3D { > TPL_CALLBACK, > TPL_NOTIFY, > +TPL_HIGH_LEVEL, > 0 > }; > EFI_TEST_ASSERTION AssertionType; > @@ -263,6 +264,7 @@ BBTestCreateEvent_Conf_Sub2 ( > EFI_TPL InvalidNotifyTpls[] =3D { > (EFI_TPL) (TPL_HIGH_LEVEL + 1), > (EFI_TPL) (TPL_APPLICATION - 1), > + (EFI_TPL) TPL_APPLICATION, > (EFI_TPL) -1, > 0 > }; > @@ -340,6 +342,7 @@ BBTestCreateEvent_Conf_Sub3 ( > EFI_TPL NotifyTpls[] =3D { > TPL_CALLBACK, > TPL_NOTIFY, > +TPL_HIGH_LEVEL, > 0 > }; > EFI_TEST_ASSERTION AssertionType; > @@ -404,6 +407,7 @@ BBTestCreateEvent_Conf_Sub4 ( > EFI_TPL NotifyTpls[] =3D { > TPL_CALLBACK, > TPL_NOTIFY, > +TPL_HIGH_LEVEL, > 0 > }; > EFI_TEST_ASSERTION AssertionType; > @@ -478,6 +482,7 @@ BBTestCreateEvent_Func_Sub1 ( > EFI_TPL NotifyTpls[] =3D { > TPL_CALLBACK, > TPL_NOTIFY, > +TPL_HIGH_LEVEL, > 0 > }; > EFI_TEST_ASSERTION AssertionType; > -- > 2.29.2 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.