From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.55]) by mx.groups.io with SMTP id smtpd.web12.34765.1612190245400208969 for ; Mon, 01 Feb 2021 06:37:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=HgSQUnU/; spf=pass (domain: arm.com, ip: 40.107.21.55, 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=UyN+bQbhb1hhlJ0jP+ZZzUJRDc8/rwn7SDzuF2gFVY4=; b=HgSQUnU/dyCkXgPHKCdKT9aZ1SmxXdlrmj4p7869XxBCTqadHR1DniRKPCHZq21pU3yf0HO17fWDxsZeg51dwZoUnSLSQF0kOcOfqA5ARkAeG44Vejh5p3rkzVeHzFUHwxKwbah4TYKlqs78iivq26A+8ii3//0cE7t/Oao3844= Received: from MR2P264CA0116.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:33::32) by AM0PR08MB5249.eurprd08.prod.outlook.com (2603:10a6:208:15f::31) 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:37:22 +0000 Received: from VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:33:cafe::8d) by MR2P264CA0116.outlook.office365.com (2603:10a6:500:33::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.21 via Frontend Transport; Mon, 1 Feb 2021 14:37:22 +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 VE1EUR03FT032.mail.protection.outlook.com (10.152.18.121) 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:37:21 +0000 Received: ("Tessian outbound af289585f0f4:v71"); Mon, 01 Feb 2021 14:37:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fb6fac0d2051e2fb X-CR-MTA-TID: 64aa7808 Received: from e8153ae555c4.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id FAB25444-FE5C-4747-A568-5F97FEAC15D3.1; Mon, 01 Feb 2021 14:37:11 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e8153ae555c4.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 01 Feb 2021 14:37:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VJRT1JBcAYAO1/ikLTTh1mx7GrySVGmyqWv+STU9oXzBekF8e4si8wfTbBhzEXvM/5qx8RQ/Ay3tGs3BrJO2WW01YWPl4XwpT1kvD8UULzN1+iquKeF2tJoeh1jUbVAkx60sU7FzQtzTPOpAMuS8eY8hC9p5CKDuZOIL6mkWxEJQ47/1mkwJlzgDr63Aa/E9CLa19PUZIUApychtIWyEy2SebOeAbefU0WLHqmmMMneO7MXxxqFa4G9wZrjmMuB4UQ7j5C0WUqFPmYcJPW/bX5e7SGCIy/qmgEB8CqlFXB23s7VJGPpqTo67/TSvIgVoJuCImB6HwDT7RWBxpGWuQg== 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=UyN+bQbhb1hhlJ0jP+ZZzUJRDc8/rwn7SDzuF2gFVY4=; b=HrfuyCnwqXPMqdHwpYsS5vwZ6TuqSrZi9Xb6/0WxtGul+dsKEVw27tOerl1fBIqfRi9XNnVUkyDL/Dtc9jGDVut9Hnhsp43lhE4TKVfa1JGHhd2B8F/4u5XxW5BsYWxgNXwicC6HuL+JE0o3KjJKpjZ3hiK8F0nYSunKO2hRU/l3RYhd4uLm9jbDRMXHAuMJ/2+fYkeJbo0aGp9YzcopTNTJuaT0A7BUZApNFdkQ6ZzVWa0aeW3bjODgc3dKxsa7taHMg5QuC1qWozOKDFxGZIifI7ncsTPXmG9kjF5+Y7P4N7sFn4p+ecrBmJuNaTZVJh9XhFlZ+3qgkSBX2Qk2fw== 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=UyN+bQbhb1hhlJ0jP+ZZzUJRDc8/rwn7SDzuF2gFVY4=; b=HgSQUnU/dyCkXgPHKCdKT9aZ1SmxXdlrmj4p7869XxBCTqadHR1DniRKPCHZq21pU3yf0HO17fWDxsZeg51dwZoUnSLSQF0kOcOfqA5ARkAeG44Vejh5p3rkzVeHzFUHwxKwbah4TYKlqs78iivq26A+8ii3//0cE7t/Oao3844= Received: from VI1PR08MB3261.eurprd08.prod.outlook.com (2603:10a6:803:49::23) by VI1PR08MB3040.eurprd08.prod.outlook.com (2603:10a6:803:45::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.23; Mon, 1 Feb 2021 14:37:08 +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:37:08 +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 1/2] uefi-sct/SctPkg: allowable NotifyTpl in CreateEventEx Thread-Topic: [PATCH 1/2] uefi-sct/SctPkg: allowable NotifyTpl in CreateEventEx Thread-Index: AQHW5CmBlQ/x49dTfkO4+6zWDvVB8apDhw2Q Date: Mon, 1 Feb 2021 14:37:08 +0000 Message-ID: References: <20210106124215.60368-1-xypron.glpk@gmx.de> In-Reply-To: <20210106124215.60368-1-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: 4d2d9249-6ccf-4119-25c1-08d8c6bee27b x-ms-traffictypediagnostic: VI1PR08MB3040:|AM0PR08MB5249: 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: 9VKnGMCk5CXLFgafbFSYaqhbUVQ1MI/O2odnjAIJ8shkeVNdBZkeoQj8hqb6at/YNM+3jXbt4vNMbG4Y5Ve5fWjSyW7rNMHYa7vEx3RzBOOvivWMSXYMFVhX8UFzPxpBAVyMGcQz0n9sRZ1BHU6vrk/XLHYzNhNLwTVBwNBBqyHIIJfv4nPsvF1cwSAKtohjS90UkM8KrXvm+HXsTpwiy/TdW9bRkmyRsMbHaHP1/fufExwDDdURkvTzQbPbJ6zsVow+ngUW98/A6UrhFC1g6oC4fltymD2rtFoj5ARltq2F0ytzjsRWXkfrnaA9Wo2YyZocu76lQY7oLwuCRjG5ZB3VS47c7mTT0yiVrMv8NxUlx12YNDuEsDeLqQGbEouxTlWFAs9SgCow/PLl6g9slSNNyzZsdqawJ5N6i8FFL0XIvZzXXWhOQKNF849/ko5t64YmQ1cnUQjzN0Z+edo6T7JF3938ASVlydy2wrzN0hJ5KGG3F8Sqy1nXIsQihD5QKrcUoO4HJFxTwlmRC9XiQ08u1LdkkawGR5p1Pu7Kmzhpl3ULuaWc7Ia7u8WocXnguYlyr8ZNXV17NHWMxExD0NGmjf7ZDO6o9kKYOO0m6TU= 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)(346002)(366004)(136003)(376002)(39860400002)(396003)(8936002)(66946007)(7696005)(83380400001)(53546011)(966005)(86362001)(76116006)(478600001)(2906002)(6506007)(186003)(4326008)(9686003)(19627235002)(110136005)(52536014)(33656002)(55016002)(5660300002)(8676002)(54906003)(71200400001)(66446008)(66556008)(66476007)(64756008)(26005)(316002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?jPhvReuWLTYEGoL4Xsk7Z802g07hbPCYF/WBDoNP9d28i2k2TDp/o5eOf6SV?= =?us-ascii?Q?hmR8whN1tzhlagI+WR85NjGjR3wFJ8o3hfVZJwVsys2kJXmJKWhaF5j4kj6U?= =?us-ascii?Q?zvpHHAJPdXr/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Gt3ra8CC?= =?us-ascii?Q?C9JjhCIjuRvp4SK0/Z2iIzPW4GCzxU2EevM3fEQo8LuAlLahqr/X2H6aQM7A?= =?us-ascii?Q?4dnaOxNd?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3040 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: VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: b868eea9-8fa3-4fe3-adc8-08d8c6bedaae X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: COBneAF8rGfvT5S9LD8IVvGbnMdua1DPJnSU//EF5zyI2PIKn4kvj4zwI6XaGh8k7wRx8IEpnf2GcRHZJrhgo3kXL442RXe2tkwvRFmEaLiBjj8gRKcnUcvsVW4Clu7DzOQJCsGW6ppKSx1Tdh9IRani3QsHyyBFCXjAx5tOHiqIE6Wdcgmuj2Xf7ZgJ5Qakweq80DvnznxfyOeQ2VQryf1FzoBrjWRzlaGnz6OJ47C44i/VMMQz6qSvgiV3QcSdbNGe3gieOJBOBj4zmPFpuAm4RBJ65YKqUDhlLz28qX0lriUOzFeo5J0GCnuKA6BX3RYd+PqsEXRPsTNMQKgZTtmZQ04fThg+1/bD/LuwcaUjrCZLhCOTKBSM25qpXPVsM4BnHAJI3tXEp+Ssal+9f9ADf2JcY7n+wnX1G6iSGNxP3xEUDpNu4DQi9nCSqZLPBxhvjIPkSX19rQxamKVDTUnkf5mtCBzMznyaqdBq9sCNIL+Dwo6jpzgYxL9PY8cW9dDbPHx2pmczftCTjHyf0n9LZ4PkTvBpez69dXDGnWJxPlDLo5sOgUbhrySOswKFX7BdcQFg975cqpW7qGdVHdE7i6z8gyL/OXxAnYB/A9C1q6EdL3jQccV4FPxMykV2whcIr5CUaOXcMQc5BTRyNxKoxS+xyFZtEaOlafKtfLk= 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)(376002)(396003)(39860400002)(46966006)(70206006)(70586007)(966005)(47076005)(86362001)(19627235002)(83380400001)(5660300002)(4326008)(33656002)(81166007)(53546011)(52536014)(110136005)(6506007)(54906003)(8676002)(26005)(55016002)(316002)(9686003)(186003)(82310400003)(478600001)(8936002)(7696005)(2906002)(356005)(336012)(82740400003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2021 14:37:21.7443 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4d2d9249-6ccf-4119-25c1-08d8c6bee27b 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: VE1EUR03FT032.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5249 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 1/2] uefi-sct/SctPkg: allowable NotifyTpl in CreateEventE= x > > 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. > > Run the other conformance tests for TPL_HIGH_LEVEL, too. > > Signed-off-by: Heinrich Schuchardt > --- > .../EventTimerTaskPriorityServicesBBTestCreateEventEx.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/EventTimerTaskPriorityServices/ > BlackBoxTest/EventTimerTaskPriorityServicesBBTestCreateEventEx.c b/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/EventTimerTaskPriorityServices/ > BlackBoxTest/EventTimerTaskPriorityServicesBBTestCreateEventEx.c > index c7f0a80f60b3..eb458de5e185 100644 > --- a/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/EventTimerTaskPriorityServices/ > BlackBoxTest/EventTimerTaskPriorityServicesBBTestCreateEventEx.c > +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/BootServices/EventTimerTaskPrior > +++ ityServices/BlackBoxTest/EventTimerTaskPriorityServicesBBTestCreateE > +++ ventEx.c > @@ -228,6 +228,7 @@ BBTestCreateEventEx_Conf_Sub1 ( > EFI_TPL NotifyTpls[] =3D { > TPL_CALLBACK, > TPL_NOTIFY, > + TPL_HIGH_LEVEL, > 0 > }; > EFI_GUID *EventGroups[] =3D { > @@ -317,6 +318,7 @@ BBTestCreateEventEx_Conf_Sub2 ( > EFI_TPL NotifyTpls[] =3D { > TPL_CALLBACK, > TPL_NOTIFY, > + TPL_HIGH_LEVEL, > 0 > }; > EFI_GUID *EventGroups[] =3D { > @@ -411,6 +413,7 @@ BBTestCreateEventEx_Conf_Sub3 ( > EFI_TPL NotifyTpls[] =3D { > TPL_CALLBACK, > TPL_NOTIFY, > + TPL_HIGH_LEVEL, > 0 > }; > EFI_GUID *EventGroups[] =3D { > @@ -492,6 +495,8 @@ BBTestCreateEventEx_Conf_Sub4 ( > }; > EFI_TPL InvalidNotifyTpls[] =3D { > (EFI_TPL) (TPL_HIGH_LEVEL + 1), > + (EFI_TPL) TPL_APPLICATION, > + (EFI_TPL) (TPL_APPLICATION - 1), > (EFI_TPL) -1, > 0 > }; > -- > 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.