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 67C37AC142B for ; Tue, 23 Jan 2024 14:10:47 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=yQPs6PUQX9DGgyq7RYhwAa/RwzSx9PBEA0BM2+XqW0c=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:user-agent:Authentication-Results-Original:nodisclaimer:MIME-Version:Original-Authentication-Results:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-ID:Content-Transfer-Encoding; s=20140610; t=1706019045; v=1; b=ow+YBTLRwziDOLpeiDyyme8je2WFhk+DbawVU3AF+uPq8rxk47MpVR9F6I7wHsFT9RPObftU /R6o8FMiJAuoLs9eXwg2q6x9KqXu29scye8QvhiyU6Tg2zzczEn/Ia7cJQfLNK6bi2aK56r7K0x EWP3dThWLbIOH14x2FsHz6zM= X-Received: by 127.0.0.2 with SMTP id 6ig4YY7687511xbMklaNjJVg; Tue, 23 Jan 2024 06:10:45 -0800 X-Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.57]) by mx.groups.io with SMTP id smtpd.web11.13260.1706019044495304219 for ; Tue, 23 Jan 2024 06:10:45 -0800 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=CCj/9Wq2tu9BnTvA35Fwr11kTvYKVRViWK1nZKWvZRwMyrqC56cXtwsMNsYicwH1JvTVLAak4hUfNm4CJufHhgpKoBujRdPYaQT/rIQiHuzIj1wqp4C4TXDnaqBCYN2JCZa5ji3DdSRNoXCdob7plab3lYGgtsHNwj7xr1WrcKc9+Q5Injt4pGvRE5M+FcWpcfkKHOajJxBA9G7KgDkCJhz8im3/6i48MtjlzkBDqoLndDvrmQAm2oyIq4kRs93KuRQzFEzcJ2ye+zsOpk1TErOldBB17ZATc9/QbIr12+WUSaayhoovbX8yzn4YeQwR45ElwrkgedfaLMTs4dWlvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fh3uF1EUISJI08B6NZuz676Nv1oBqiMn6TJIIywgvho=; b=YCm+jhS2yK95wpejOdHjEd710x0Wt6YyqBS+1tm1BWSOlwYitdvr+NXgFcW0xJO6B5NkuocyelUsckIW3k8JVWNYPuDZQf0kua/Duwf770eJL9Bv/pcnklyHoy5gt822p7DKOss4Dll5VJZZX/X6KfpEAAePGeoFGOZhD3KqI3goBUrF+zzzinqn8p8D5/fuTRMVnE2cAXMQFE919jv8Zm5EonuNiS46SS3Fjbz44S/D5MDuQKgrYl3wkBgEtGaEY7KQevzmnewlJTVQswn3VddtEIxUanDNzVkHY5hhbcGow0GqJ1GXFM85dnYRalwJxssgDu3VXU9o9PEEV1OcNw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) X-Received: from AS9PR01CA0032.eurprd01.prod.exchangelabs.com (2603:10a6:20b:542::13) by AM9PR08MB6193.eurprd08.prod.outlook.com (2603:10a6:20b:282::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.37; Tue, 23 Jan 2024 14:10:39 +0000 X-Received: from AMS0EPF000001A6.eurprd05.prod.outlook.com (2603:10a6:20b:542:cafe::33) by AS9PR01CA0032.outlook.office365.com (2603:10a6:20b:542::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.36 via Frontend Transport; Tue, 23 Jan 2024 14:10:39 +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=armh.onmicrosoft.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 AMS0EPF000001A6.mail.protection.outlook.com (10.167.16.233) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.16 via Frontend Transport; Tue, 23 Jan 2024 14:10:39 +0000 X-Received: ("Tessian outbound 94d82ba85b1d:v228"); Tue, 23 Jan 2024 14:10:38 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8113851583e42459 X-CR-MTA-TID: 64aa7808 X-Received: from 8e79ce2edd4a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 940D68AD-FD64-4EDC-B6EC-DCCF8A3AAD6B.1; Tue, 23 Jan 2024 14:10:31 +0000 X-Received: from EUR02-AM0-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8e79ce2edd4a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 23 Jan 2024 14:10:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G+qX+rXJ3wbvgTj+RjF6izA5ujXGTR2Yf6wXQOMXg+Xv27abs5/UVRPL2vvEKmRbeGUR8NOfwpnzoD72rxYYLJkjoXG4jGWgdImTPKezQ1WjI6ndCaS6P+846ChE6X0ANC7Sf1ak3BDzSqVMEeAPEtxJmUtaUbGjJWNxfpcyaOV6YP+TjkFJQGGX7UBFbfKLT4M6wbj4eOgUapcIMOo1qlPHAgY4Xv+21aPUdybOcydTxi13w3ULT5af8JccjwwW0LewIPcSVnTPixQB0s5zUPLvkr4XlEVv/jPSQ7GX9nSbjF8QGT6BFv9aQxekZ77D72IH+NDgSSBzKQ99zyogzg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fh3uF1EUISJI08B6NZuz676Nv1oBqiMn6TJIIywgvho=; b=RGuwHw+XIsednVw54uYWvmD5LUEPCQpIe7bBbYP2wLe+qghYWrhp27UFtWHfnzfwJHhtRgRKLbxHEl58HO61tsjBGiZA9G/GBEa0HEndqp2XijBNFuVaGT2AAqBKCmLP0AGCqM+OKw9TKgNK9QeCyhEZMATOsaFJ70O5SYQGqSBQdxHk13SKiQpR7CUXXBWdjTlJaAe3OEWAzVoKrfhhphU6sBhyaEixM/nxotdx2O9LxXcQf39kMx+6cZCdEtp5RKR7JDC6uRFui9oN2Gx3HcwaUNF5PZWF/B4sKEJ3xw4uKsqY/ax3Yer9v2AY3vcixn4rLuFyBgfNR9Po4i+X1g== 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 X-Received: from AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) by AM0PR08MB5522.eurprd08.prod.outlook.com (2603:10a6:208:18c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.36; Tue, 23 Jan 2024 14:10:30 +0000 X-Received: from AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::8912:5ce2:11a4:9d6e]) by AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::8912:5ce2:11a4:9d6e%7]) with mapi id 15.20.7202.035; Tue, 23 Jan 2024 14:10:30 +0000 From: "Sami Mujawar" To: Rebecca Cran , Leif Lindholm , Ard Biesheuvel CC: "devel@edk2.groups.io" Subject: Re: [edk2-devel] [PATCH v4 2/3] ArmPkg: Introduce global mTimerPeriod and remove calculation Thread-Topic: [PATCH v4 2/3] ArmPkg: Introduce global mTimerPeriod and remove calculation Thread-Index: AQHaSu6ub7apD6Ad/U2DP88ehA8JOLDndfmA Date: Tue, 23 Jan 2024 14:10:30 +0000 Message-ID: References: <20240119154554.1052736-1-rebecca@os.amperecomputing.com> <20240119154554.1052736-3-rebecca@os.amperecomputing.com> In-Reply-To: <20240119154554.1052736-3-rebecca@os.amperecomputing.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.81.24011420 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB6806:EE_|AM0PR08MB5522:EE_|AMS0EPF000001A6:EE_|AM9PR08MB6193:EE_ X-MS-Office365-Filtering-Correlation-Id: f45a0ef9-0f5d-4960-8162-08dc1c1d13ea x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: p94lNYo9zV9QJZ9dapdgbHPxI1u9LGOUOn+zYm0mEP02UsSS2sGVuP7gyUR4vOA8cCnnBk9k+oILOSsrqhnT2hEWeTEpHGFJ9c4OFzWNOO8X+srpfUmgbHM1lvRPCqECPblIanJHrl0oSnmQmAt/fEmojyYZ6wkr5v1oQVeW+g5fd0/2Na7VfLgjo8D8NR7Uf2WSa6ucIAUqjnlHyvlix3hNaQJcDSmC/unBKI2kZV3R652qxIHU7gfA76oe7qBpaz4Q8R+wV0O9TPiGywfxB+EKtJLpYLzZIU3EiIzmHHB2wV7TK5LD4YVnRbu71INMCzRlYXhLD2Ch7ueuuHrmH+rdNx5SRsVaNG1T+ReWWJHwhDpsZwaeeSKmBjdYgivkFSMNJ5vwPxqYyGK6IqgcI8VwYe0eMpZqltaC89MEjnmrL3rMdI2QVES+KJHU4Hxphfc+Dmb29HNvQcHxfWhBuvDLU+ulI6DOn7+BIkdlRXPhNZHKRREUp5UEuChbJpiaMJxnBsrr+gDRDoWUJu+wCV+Hr6E5SRUXxjE7/VQTGxbNDSJ1YGcjvm/JRYCAj28p9gQLeSphkPhqnTRI/uDL+o9wI3jyPJvR4W6Arc1rz+hQxDUVaL3FnvyELxBL1uYvLQzUzeGLvW4NUQYwvp2ncQ== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR08MB6806.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(346002)(39860400002)(396003)(376002)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(71200400001)(2616005)(122000001)(5660300002)(8936002)(8676002)(4326008)(6486002)(478600001)(6506007)(6512007)(26005)(110136005)(66946007)(76116006)(66476007)(66446008)(64756008)(66556008)(38100700002)(91956017)(316002)(83380400001)(86362001)(2906002)(33656002)(36756003)(41300700001)(38070700009)(45980500001);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5522 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-Transport-CrossTenantHeadersStripped: AMS0EPF000001A6.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 652094d1-ea01-4567-b777-08dc1c1d0e6a X-Microsoft-Antispam-Message-Info: CxTVwK24saVya/pgo6tLFIEPMiHsIXA/7RI+PMHJvo3ZVEgZF6yguKDZ/IAlKaJArAjVMs+OJP+y1FWxIfqp5N+QkkWkqejRH8Mr0kmJ6L/PNKHu+fUV6zJACmoDIUM9SXpssRd95oYaaJHxQBiYKdAxsvQBR8X9oedEvazRbkbBX7Tjop/pTuiwsIIEzwfdkTwDNO6VQM9g0kAls3DWeOz8rYfkixM8HoHDjtzX/patmuB6eu6wb9zmVNXrXMccO1aIt3WRHhggsuXy423COKfm7Z4pgvp+XtjKHC4kb79XaidP2JtyOZefsDNmJTL7mrbwH/MABMWLrDK5TxRrwvBwRDXzjIZLm8a+3yKUAFIi528SiSXSaz9bL60V5oS5ZO8S9VV2e1jD4iJyvTnizm/3o8zS1CTlgcBS5iq6IzjMgkVesY3ybwI23TjG6sqvh2GLTF8oWzy9BDFmki9YPfHXIlu9CvwHcut95MtJ68C/ZpHyqJUvRPbvWx/F+KeiYqxev7hWYptrshD/kBUZXSntGsMrpznW79MBvOvHwsYyDBJGiVW1vnBv5J6Soe0QWbtYIzGiQK9+nThwJwPVlLlHiUqaAH03WshKHx6Sl88UhVBVR8nvZx3JWF26lbBh5MTBtNHm87UPTjHajxdTeTt/PyKvm4dd5GhvRyzkY6a870Bp0/FTFQwPf54VA9alaORNGCiUZmzXLJ+YAV0w/hVcV3Nl5oK/0YMQER8dssolNTpjwXe1E2aE2z/JWcWX X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2024 14:10:39.2751 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f45a0ef9-0f5d-4960-8162-08dc1c1d13ea 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: AMS0EPF000001A6.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6193 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 Reply-To: devel@edk2.groups.io,sami.mujawar@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: DtDVp6zu3TfuvADtswI3w7Max7686176AA= Content-Language: en-GB Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=ow+YBTLR; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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 SGkgUmViZWNjYSwNCg0KVGhhbmsgeW91IGZvciB0aGlzIHBhdGNoLg0KVGhlc2UgY2hhbmdlcyBs b29rIGdvb2QgdG8gbWUuDQoNClJldmlld2VkLWJ5OiBTYW1pIE11amF3YXIgPHNhbWkubXVqYXdh ckBhcm0uY29tPg0KDQpSZWdhcmRzLA0KDQpTYW1pIE11amF3YXINCg0K77u/T24gMTkvMDEvMjAy NCwgMTU6NDYsICJSZWJlY2NhIENyYW4iIDxy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