From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=GpD1SGX1; spf=pass (domain: arm.com, ip: 40.107.4.53, mailfrom: sami.mujawar@arm.com) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (EUR03-DB5-obe.outbound.protection.outlook.com [40.107.4.53]) by groups.io with SMTP; Fri, 23 Aug 2019 03:57:31 -0700 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=qvvlFARuyly1j6fL+3kYvIUiiXwYwdllWfOq8dpbO7o=; b=GpD1SGX14/sBA4kT3VgUsf0rb+YVYE1F9qUu0psDnAC8SlkT60y2fw5Jr7CjPXU+Yjsi72N3JWQK4rtQidxrACFZXihNeMWntgyi3JXAn7NdQGi+2RVzi6ZaWKWsedpNQE9od7T91X7AtUoGcvETWjXplEwqOPiM/jkzk8+dckA= Received: from VI1PR08CA0209.eurprd08.prod.outlook.com (2603:10a6:802:15::18) by AM5PR0801MB1843.eurprd08.prod.outlook.com (2603:10a6:203:3a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.19; Fri, 23 Aug 2019 10:57:27 +0000 Received: from VE1EUR03FT063.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::208) by VI1PR08CA0209.outlook.office365.com (2603:10a6:802:15::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2199.15 via Frontend Transport; Fri, 23 Aug 2019 10:57:27 +0000 Authentication-Results: spf=temperror (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=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT063.mail.protection.outlook.com (10.152.18.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2199.13 via Frontend Transport; Fri, 23 Aug 2019 10:57:26 +0000 Received: ("Tessian outbound df6366865adf:v27"); Fri, 23 Aug 2019 10:57:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b4d36b804ca820dd X-CR-MTA-TID: 64aa7808 Received: from 024146e04d3c.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.1.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id C2FD436B-A664-4493-BE09-AA54D2B572EE.1; Fri, 23 Aug 2019 10:57:19 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01lp2058.outbound.protection.outlook.com [104.47.1.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 024146e04d3c.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 23 Aug 2019 10:57:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A7nzdR3KIB3vMeMsnYK6mBKI/6b/Uvw8/SymHLCxwUTV8R0MvrMIIpQ1JOpZHmH/+hyHfoDGi6FDp7gY31sFxHgd15gAh98cKnv8ZGxOC07+VciRqpEKOIs7T7TOyI/axxn2t4Bo9ZXncqJo23+7GvqY3t0m4HPU1RG3zojmCiaxppr/CqyHsDGFzMOgh7Bkm7igtdem9nZ9Gpa/XVFP36C++iUkVWE7br5QphmoM+6JCyP3zEPoumiKIFUFxsC6xWvVk0dBoaqd4ZahufClV1DDq5arCSlId8Xq8eNIUNnTnAj9nZC3saEoLQXFtvfbcpOJQ3jAtpcDxcO8v2Q3Nw== 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=qvvlFARuyly1j6fL+3kYvIUiiXwYwdllWfOq8dpbO7o=; b=Gpigmo0+kbrByy2aJBC4xqd+Opzc1GR7sf8qv4lutRH7uNtc7dvhG8mOsoN1UZjHB85vrwns0MpWq0W29N75rHdO7wxNiOkKZs4nn1O1vzf9PuSAOsQY6Vq3oCmElA7kIupVs+k868awxKD4y5Ecw3OttwzQfjRc63g3/iG5GR8yJ+YmD14MIjTSKL6HSW290MoM2yG2mIQFvXo5FkfWd4V3k2B6ICLRl3G1BWS6ZqXTx+MK/rW3CGIgT8Vxy9YKo0CQKp1/PIxvgIq26wZpEoCRRZlyHLuK8nVOxIsoHyIniOru8vIoNO+qPRr1gKJdT6Cjv3LG7M+LfZKBZMZIFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=temperror (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=temperror action=none header.from=arm.com; dkim=none (message not signed); 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=qvvlFARuyly1j6fL+3kYvIUiiXwYwdllWfOq8dpbO7o=; b=GpD1SGX14/sBA4kT3VgUsf0rb+YVYE1F9qUu0psDnAC8SlkT60y2fw5Jr7CjPXU+Yjsi72N3JWQK4rtQidxrACFZXihNeMWntgyi3JXAn7NdQGi+2RVzi6ZaWKWsedpNQE9od7T91X7AtUoGcvETWjXplEwqOPiM/jkzk8+dckA= Received: from VI1PR08CA0134.eurprd08.prod.outlook.com (2603:10a6:800:d5::12) by AM5PR0801MB1843.eurprd08.prod.outlook.com (2603:10a6:203:3a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.19; Fri, 23 Aug 2019 10:57:17 +0000 Received: from AM5EUR03FT017.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::206) by VI1PR08CA0134.outlook.office365.com (2603:10a6:800:d5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.14 via Frontend Transport; Fri, 23 Aug 2019 10:57:17 +0000 Authentication-Results-Original: spf=temperror (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT017.mail.protection.outlook.com (10.152.16.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.2199.13 via Frontend Transport; Fri, 23 Aug 2019 10:57:15 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1415.2; Fri, 23 Aug 2019 10:56:24 +0000 Received: from E107187.Arm.com (10.1.195.55) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Fri, 23 Aug 2019 10:56:24 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , Subject: [PATCH v1 11/19] DynamicTablesPkg: Remove redundant frame count check Date: Fri, 23 Aug 2019 11:55:31 +0100 Message-ID: <20190823105539.13260-12-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20190823105539.13260-1-sami.mujawar@arm.com> References: <20190823105539.13260-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;IPV:NLI;CTRY:IE;EFV:NLI;SFV:NSPM;SFS:(10009020)(979002)(4636009)(396003)(136003)(376002)(346002)(39860400002)(2980300002)(199004)(189003)(36756003)(50226002)(8936002)(1076003)(16586007)(70206006)(305945005)(70586007)(47776003)(316002)(6666004)(356004)(53416004)(6916009)(4326008)(53936002)(86362001)(14444005)(44832011)(5660300002)(2351001)(54906003)(81166006)(81156014)(8676002)(50466002)(186003)(48376002)(26005)(126002)(476003)(2616005)(336012)(63350400001)(11346002)(446003)(63370400001)(486006)(478600001)(2906002)(76176011)(7696005)(51416003)(426003)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR0801MB1843;H:nebula.arm.com;FPR:;SPF:TempError;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b2a0b415-087a-4073-cb26-08d727b8af1d X-Microsoft-Antispam-Untrusted: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328);SRVR:AM5PR0801MB1843; X-MS-TrafficTypeDiagnostic: AM5PR0801MB1843:|AM5PR0801MB1843: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true X-MS-Oob-TLC-OOBClassifiers: OLM:2043;OLM:2043; X-Forefront-PRVS: 0138CD935C X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info-Original: MzbI3pbqPTbM6sDjEfMAwiMERami9hhWnNufJVh4oM0PAOFK7+lR0plsQUoCVZ0z89xwlBAgm5ImfrtrOOqmacc3Qe4Az3xItMWRdLdS8OKg9hteuOaZcPEumD0ifCsITxFQ41jVS4zuDxBAXx7lwbaQrwHZm94mHRa6zjrHIWCtXSGlfm/NDUwG3feRp3sKV81pFPDh5/YKfC9qzy23lTeWWCMMH52dDXrV1ppxgO9qj4TsPv/7lUvV8zXFS2Jis8OH7jC739B4UcWoJITQ4qiKX3gZP/4Zy5oGACKrzQ1YmI46RlA8qXMw9b3f+qRukN3o3nSw4mPoEqsUvQJNp0vFIJuduZfiIagR0OeWW/QsYP8al25gUfv26AjBM6EOZDlT9xrs9V5KXjD7grizwAZVGwzbl/zNZBbQaQxcWYY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1843 Original-Authentication-Results: spf=temperror (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=temperror action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT063.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;IPV:CAL;SCL:-1;CTRY:IE;EFV:NLI;SFV:NSPM;SFS:(10009020)(979002)(4636009)(396003)(136003)(376002)(346002)(39860400002)(2980300002)(199004)(189003)(36756003)(50226002)(8936002)(1076003)(16586007)(70206006)(305945005)(70586007)(36906005)(47776003)(316002)(6666004)(22756006)(53416004)(6916009)(4326008)(86362001)(14444005)(44832011)(76130400001)(5660300002)(2351001)(54906003)(81166006)(81156014)(8676002)(50466002)(186003)(48376002)(26005)(126002)(476003)(2616005)(336012)(63350400001)(11346002)(446003)(63370400001)(486006)(478600001)(2906002)(26826003)(76176011)(7696005)(51416003)(426003)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR0801MB1843;H:64aa7808-outbound-1.mta.getcheckrecipient.com;FPR:;SPF:TempError;LANG:en;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;A:1;MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 996da3f7-360f-4b50-a744-08d727b8a8bb X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(710020)(711020)(4605104)(1401327)(2017052603328);SRVR:AM5PR0801MB1843; NoDisclaimer: True X-Forefront-PRVS: 0138CD935C X-Microsoft-Antispam-Message-Info: JI2uvnNGaXCuIMV9PMACDDyuQg+FIBppT1oopUP7G1fceX+oXSEi3ZQy/zSqopBdmWRqSt2lWHO+DMJ6Ao5078X0hc/IgmhvT0OreV9iWWlv7SpmS6HeUni9aIWNO0cXJ/IZdLfpLpXyxzkMrK7PkNT3juYeHyUI2VJD+ckUdkX2Ra58WQTB9SU5UBt9yGoDnnuDrsTjvcYN78CVFppyaWauXiCcaf1mGZwNVsU8zLOCenQlph5Z6VqGknhV1ednDrByNhqbHr7KnT850WhLQoVoIdquxg9VNlKRkXsR0J8RGLAOeCgj/nEN4e5UE+N62kskCKjJgNQhIqyBrKeHhYlUFM8htXgrsycJL7KaBd+IMeSXh3b7TC3Y2c2M4cqMnezAWCBzWLDfdV/ZZ+uWACmdWx5UkfjhAzB4CCeFiec= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2019 10:57:26.0374 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b2a0b415-087a-4073-cb26-08d727b8af1d 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-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1843 Content-Type: text/plain Removing GT Block frame count check from AddGTBlockTimerFrames() as this is already validated in BuildGtdtTable(). Signed-off-by: Sami Mujawar --- DynamicTablesPkg/Library/Acpi/Arm/AcpiGtdtLibArm/GtdtGenerator.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiGtdtLibArm/GtdtGenerator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiGtdtLibArm/GtdtGenerator.c index 0e996698887aefca8a7240fc27fe3cb9324fd3e2..c109f2ac207311646e5a4ad3aa465b1c2883e465 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiGtdtLibArm/GtdtGenerator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiGtdtLibArm/GtdtGenerator.c @@ -259,16 +259,6 @@ AddGTBlockTimerFrames ( ASSERT (GtBlockFrame != NULL); ASSERT (GTBlockTimerFrameList != NULL); - if (GTBlockFrameCount > 8) { - DEBUG (( - DEBUG_ERROR, - "ERROR: GTDT: GT Block Frame Count %d is greater than 8\n", - GTBlockFrameCount - )); - ASSERT (GTBlockFrameCount <= 8); - return EFI_INVALID_PARAMETER; - } - IsFrameNumberDuplicated = FindDuplicateValue ( GTBlockTimerFrameList, GTBlockFrameCount, -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'