From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.88]) by mx.groups.io with SMTP id smtpd.web10.4976.1622110413663229958 for ; Thu, 27 May 2021 03:13:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=N2WMlP3L; spf=pass (domain: arm.com, ip: 40.107.7.88, mailfrom: sami.mujawar@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=xF/YAOEXsWqEoWEgCbQWxFmGHCncQqIXmx85OZ8/Nng=; b=N2WMlP3L7KOTdx7sustAFvSKTkfGh2kLCyeswASGXHcJCOVOKM5CS93jY2wu20/2XxLNOXFEsb5ChH+79edPiXHaT1X9Q4fibiXfFITnkCHc/SjRZhJT6MqdOKh3EHjIEeulnFjY8pF534mBeV+6E2gjwA0qtEy9cVdQbg77V6w= Received: from DB6PR0201CA0012.eurprd02.prod.outlook.com (2603:10a6:4:3f::22) by DBAPR08MB5750.eurprd08.prod.outlook.com (2603:10a6:10:1a6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.26; Thu, 27 May 2021 10:13:31 +0000 Received: from DB5EUR03FT036.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3f:cafe::3a) by DB6PR0201CA0012.outlook.office365.com (2603:10a6:4:3f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.21 via Frontend Transport; Thu, 27 May 2021 10:13:31 +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 DB5EUR03FT036.mail.protection.outlook.com (10.152.20.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Thu, 27 May 2021 10:13:30 +0000 Received: ("Tessian outbound 2cd7db0b285f:v92"); Thu, 27 May 2021 10:13:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7855767082f30487 X-CR-MTA-TID: 64aa7808 Received: from 27c4106fe865.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 15260E2B-3E5B-40C9-BE42-94C2D476A76F.1; Thu, 27 May 2021 10:13:01 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 27c4106fe865.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 27 May 2021 10:13:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CKk8cdX6Ri7Ej1io3yHVKw/4jJ41Ofgi7Nk9EzpDQFjvDlLgzvZmNB4Cf+hLLps3KAuZHZKvgLMDWVJo7UFFh3l4gWjJFnpoDgSFOmnRoAnMLDIOa5DI/dCHZYrM3kJpOeBWW2BXDWmYJic3Qx2K31IKpcr0yTsbKcWf5Iq6198afWVH+n5I4dcv6e16k+VaVf9pdEhaQQE5/VTs6uy44kxwxm/GtqiU95qYLpmpjus9+U1E8w1EYuad9xa3ENanwWN9qOrxg/av63bwpVSX36x2xduRXeL9p6tqsZ5cMK6WSn1KY8pW+RuVEUXpeTJaZf24+cM7q9y3MHFAw4A5yw== 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=xF/YAOEXsWqEoWEgCbQWxFmGHCncQqIXmx85OZ8/Nng=; b=CcnkX94C4P53W6IrIbn1r7aPYPI9dmkzNUQPA9+qWcDJJI8k8VMTqTNxJtVFLC3TUbRhId6N082QsSGuMRix65jcnvtgXFqgUdTA84zD3HPp7jjGNI11tY5CDq9O483Y5dswTIhWCV4vXTETGWVzqPXDMAhqXJvndE6l4ukc/T2l+NHq1wyl6+/Fq/6XzO9n5GFZbFzNt3AUsEeEO7yjn0Y3bwXVBxH2xcVlpwtN/zuM+kwkhCQTsKFTxwtb9KnoXN6MScPQduowQeRVSQUyDDy5BA4H12TW5X3+GyRKlF+8SfBK0n+DLThyhObz5AjVY76seV8F94LgAxcAWiQb6g== 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=xF/YAOEXsWqEoWEgCbQWxFmGHCncQqIXmx85OZ8/Nng=; b=N2WMlP3L7KOTdx7sustAFvSKTkfGh2kLCyeswASGXHcJCOVOKM5CS93jY2wu20/2XxLNOXFEsb5ChH+79edPiXHaT1X9Q4fibiXfFITnkCHc/SjRZhJT6MqdOKh3EHjIEeulnFjY8pF534mBeV+6E2gjwA0qtEy9cVdQbg77V6w= Authentication-Results-Original: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; Received: from AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) by AM7PR08MB5334.eurprd08.prod.outlook.com (2603:10a6:20b:10b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.27; Thu, 27 May 2021 10:13:00 +0000 Received: from AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::80cb:878d:c8f1:2688]) by AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::80cb:878d:c8f1:2688%7]) with mapi id 15.20.4173.020; Thu, 27 May 2021 10:12:59 +0000 Subject: =?UTF-8?B?UmU6IOWbnuWkjTogW2VkazItZGV2ZWxdIFtlZGsyLWRldmVsMjAyMTA1IFBBVENIIHYyIDEvMV0gQXJtUGtnL0FybUdpYzogRml4IG1heGltdW0gbnVtYmVyIG9mIGludGVycnVwdHMgaW4gR0lDdjM=?= To: devel@edk2.groups.io, Laszlo Ersek , gaoliming Cc: "ardb@kernel.org" , "leif@nuviainc.com" , Matteo Carlini , Andreas Sandberg , Joey Gouly , nd , philmd@redhat.com References: <20210524130130.22280-1-sami.mujawar@arm.com> <16827C85E5A0E1A5.4904@groups.io> <006e01d752a0$82e0bb10$88a23130$@byosoft.com.cn> <04a59e4c-8a9d-d483-893f-5dc83fa9046c@redhat.com> <1682E1EE63CD4105.7325@groups.io> From: "Sami Mujawar" Message-ID: <5c20d3f0-fea9-ec33-6900-bff13fe86112@arm.com> Date: Thu, 27 May 2021 11:12:57 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 In-Reply-To: <1682E1EE63CD4105.7325@groups.io> X-Originating-IP: [217.140.106.52] X-ClientProxiedBy: LO2P123CA0050.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1::14) To AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.1.196.43] (217.140.106.52) by LO2P123CA0050.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.20 via Frontend Transport; Thu, 27 May 2021 10:12:58 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 073bb68d-98c2-4353-3a52-08d920f813f6 X-MS-TrafficTypeDiagnostic: AM7PR08MB5334:|DBAPR08MB5750: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:7691;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: CGiCXG52bchUPZr34FA7zmvXbef31nn44waltSZHmKLZ3ItJgY34Jpzl6Y560iaDNRVCr0otN7HOE9F4OI+h59m4FbGnA3pGNcO4FWMOHMUdEPAYIoPv0xRHAPLY9tbMjWOTtiHzgUCpiKVnkLlG/9eLd0XiTCK0+qtA4YUmu1rEOK7WAFsH1s5Sx0ru+zoAKVwW84h0PjDY9pRmtuwi9U7ifBa5lITTJhquIb3EmYEWiiRjjY/NLqjq+X57pzOJ2GPW3HEQeKQ0rSnc5u0ibdYfclbbOy11n7/nAxcSq3KxuTFRUlkCmDB3OuCVJNVQE5chTWp+qyzMU4pbX4SPztXJ/wPTBeJJjahMVTTw8htHnXOmAAuhjnIdL9R7HY+oTJWIWzKFwoXyUpQWUuSNvTCgdXxnwHrabx558pra/Y264FF3F/XPnY5nTFl9lS2XEOOrlGvM986rISyxz4mYbu2sSvBB6ZJMlm0QuNWhg5l0z79IDBP7KQYIT5G7NM7BKUc5EqXenF9CiCuhkb6ntkqmu1xT0t2FQr8eL036enLNLJWfF5uVsYN74US0AN4YgZpYxQpnwPME0CafXSceRZYmiDSiLK+zqrp/UXwmfaPgaDwDYtxYL4QHAmaZcqrkiaVnmxwCjFQe9E1mKMpsdeXu3x+WXO8dhCj487boYRxD+Ww32pxLdzgi5192w8ZIgy4ASnsAhuMht6XfMsQRpwe7WOiRzRAv7gVOjqQdEWhqA88UWFB8S2ITocsHu801gck65e56xaDG7IQ6f7r1MfZZ4cA/UPXef0BB2/ZM+z94OQsXfMHj546foy7jdqUQOZAF/7q9TgZXq2sskFYxFg== 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:(4636009)(39860400002)(366004)(136003)(396003)(376002)(346002)(36756003)(316002)(26005)(53546011)(54906003)(38350700002)(186003)(16526019)(66476007)(6486002)(66556008)(224303003)(16576012)(2616005)(44832011)(956004)(966005)(33964004)(76236003)(31686004)(2906002)(166002)(31696002)(4326008)(30864003)(86362001)(38100700002)(5660300002)(478600001)(110136005)(83380400001)(66946007)(52116002)(8936002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?ajd0SmkxZGNDcDAxbHhKeWswdkJwRXZQYVozb2xKVXpBbllRRTZlaUdQSTZn?= =?utf-8?B?dEFRdGk1SDlTU0daSEM3UUhZVFhKQWVrdnhxUlpyTGI4cnlJenBCT2lLeS9n?= =?utf-8?B?WHBnQ01UU3lEaTU1UllHVlBIYm0yVXJVTjZTWVhIZXVQREdkQ3Vla29vUVBT?= =?utf-8?B?eEpJZHRBdlJPenVkMEhiT0w0enFFVkF6bHJ0OHFndmM3cFAyUXJrN0hzWlNC?= =?utf-8?B?MG5CMkVFSGlhZWVraG5DQWVQckJ3MW5Wc2ppSmVlcVFTVFFGRUVBcG45SS9K?= =?utf-8?B?UTVRbGxrb1hiZVc5OW1Ud2xYbEdUcnQ0M2UrcHhvMnAyY2dPem5wdE9sMGl2?= =?utf-8?B?enpVNWwwOU5aWUFVMnhZOU92UERDcnhmQXNRSkZlRDhIZWRPekY1aFU3SEds?= =?utf-8?B?RjFWMHMrS0ZsSVNvSXN6SGx2NkkwQ0M0cW5Pd3NtMTh6V1dHRU0xSXJVSU5C?= =?utf-8?B?QXFxTVgwSTdCNXVDMDVKTXV3U1I4QmcxT2ZHM2NrcVdqNW9EeEFvUlhiMTZL?= =?utf-8?B?WE1RNFRRcmY0bVNBbGEzcHJRWWtRU2VDZ0ZnM2hjTTk0OWRWU2tsQituc3Ra?= =?utf-8?B?clg2UncvK1k5YmxmWERNTlpnVmlKU1RxUUMrNzNJbHBqeW5DRHd1NC9HcnFz?= =?utf-8?B?czg5cDgxSHBqUFZMZGphd1ZPNWJsUkhuZGxTcE40MDVPN3pIQnhlV1pzenAv?= =?utf-8?B?dUtrTFhhMFkyMmR5dEUwU1NVOW44WlJhRWJjOHZlaXVWVEw2ZUhQc1NGdjkv?= =?utf-8?B?bFZuRzRtNzFHQkE2L2orMXFVbTc2OE9YVzJXVi9ranhqK3Z0ekZsdmszaGdC?= =?utf-8?B?amhHdlJKcHUxQXJyOUNYNS9UMUF2dzhnUjRxRVNYTzZVQVkxZU1WdDNBTUhJ?= =?utf-8?B?NWZRZDJBcjNHTGJqRjQ3MzdpMW8yNWw0eVZuVy9DVGwxRldoNXVsTDNMcnFG?= =?utf-8?B?MTd3M1BwZ3hoOHZnYUJvSncwaDJvZjhDNUVQYlBtemYxa3A0d3Vuc0thc2di?= =?utf-8?B?SnlNbkJzMFVJZHdDK3VEdXVYcmg2cy94ZnltWE9BOVFYZ0hEdTNQYXFkbmpZ?= =?utf-8?B?a2hsODdwUDM4MXVISEY0cE1Xa1BDT01OZHBOamdOaVZENGNpeVlYRlppdjNv?= =?utf-8?B?dlprUXEwZmd0cDljMUx2SEJmZWhGSEF3U1haa1MweG4xd3RGU3NWa2pDL0l3?= =?utf-8?B?ZHYxVTBlZldpNjN4SVh4cWhZOGNMVHpqd2ZiMnMwaW5OVWZDdVhpYmhJb3Zh?= =?utf-8?B?bVVWQ213UGxXcnlHWTgvdXNQVDV3cnRtNkJzZ0JaV3NIVEVabitkQ09mVlhl?= =?utf-8?B?OG56YnFkamhYdVpWbTVCUUhvUkZ2RHJ5a2FBdmpMNWcrVHBORTBsMWtna3FB?= =?utf-8?B?ajh3UnhIT3pib2pNeTlOVG13MWpHQ29HdnorOGZJRDZoQ0lVTkgrOU5icXNH?= =?utf-8?B?TnNsa3kwN3h1VzFaT0l2NzJMbno1S2I2MzRFYldNMUY2VlpzMUdOOEVaU2pj?= =?utf-8?B?ZDEwbDRKcjBPWDhuZUtQcjNKM3J3b3FBTVNXZVhWS05TamtWU0JIYVRQZzdT?= =?utf-8?B?Uk1ER3BCVUg4dVo0ckxsMUN5ZnMwZEdPcGpQTzhYODJUcEJMeDhpcmRtc0E5?= =?utf-8?B?cFErejZ2L29sVXdiQzdDTUZOMi8xNDRINjdJTndNUGJ2VksxcDNwc3ZCcThE?= =?utf-8?B?SktFOE1CSjVEQi8zbnlGN1dIT05hUjVrVkFna3F0MEFKZzFhTGlhTTVFOU9u?= =?utf-8?Q?2CavZKXlVV0lMkAHVVSkx16GF8Y+Qf6xYlaXeEL?= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5334 Original-Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f0d7fd8f-71ca-41e6-4294-08d920f800a6 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6nRYID26L9fjAMq+o8L/FrsokjB08m4yHtwtnS+BBngHZhtXbsH9v1EJDVqlop3RFD+3yDMdL9WEXJ34aWiisyt86Lw/Xw6UWF6KVUESHk0qHQ+1xwNpbZ+/nGfxluK5VCyLrqKWfydcuezPLdefZJ51+504faw4kLWr4im6xTXJujw9h6rnpgn9erXMj67r3AaktPeG6mJ8qbZe4cKASuA4KnI9hHyDsloLIJ+zvVxglOFo+WTejVRXDLtAfH5uNoCpfOf12TgX0kemmJOwX1MOckMiPGbmdm6UIDoLBcb94rkSIaV9JTWkQwU2bZn0YWJdjWq7kvOh79F+qB+qAe+7+moBJQSQYBp3+A4y0ZM/Va/jMcnFEEz6hp1LvBfCt3MktN975V075s/OleQY/ZJm/VAxIG75ODcN2BQDBzdxbozOhLf0jaUXOoiiRsYnV9uvCVbPV0GlPJ1npTLIFN8/jzEJfQ4Qpz3S09qcmzakbQc7S+YRlbhc3HReorOVdc+QA+qztdyDYqRyc8ss3DSL7ibkybEB6rf0tsDzVkfU9D8GLR1qTDSX1AS7rVHKKk4svjUA+g8H/L8gbGav4JgHifE/wyuAIWiIiu524u6c/vM5C4Ie3l+HTPeVfRZk5IQBw3gLKDOMlYfQ9cyDcOr4MZCHkA2GjcQebZlauPJQ7DSTzVMIdckNWkIwwOOM7fZpE9Gsw21XCypxxeZMk7KmQIsylE9AUgY71qBttTK0yF9gQ2gvjB9NtCnS0VSssGbxFlwT00Umd3g2nmdqt6AJZ2eEuNl5Zwb8YQom5CbymE2qmoRRKBmSWv+Y1khd 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)(136003)(39860400002)(346002)(396003)(376002)(46966006)(36840700001)(356005)(70206006)(44832011)(31696002)(82310400003)(53546011)(70586007)(86362001)(83380400001)(82740400003)(33964004)(30864003)(31686004)(316002)(8936002)(224303003)(81166007)(166002)(2616005)(956004)(4326008)(16526019)(107886003)(76236003)(336012)(36860700001)(478600001)(2906002)(6486002)(36756003)(54906003)(26005)(186003)(5660300002)(16576012)(47076005)(110136005)(966005)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 May 2021 10:13:30.8428 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 073bb68d-98c2-4353-3a52-08d920f813f6 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: DB5EUR03FT036.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5750 Content-Type: multipart/alternative; boundary="------------8AFA42E8021B808D3DE8D42E" Content-Language: en-GB --------------8AFA42E8021B808D3DE8D42E Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi All, I have pushed this change to edk2 master at cfa6ffb113f2..e1999b264f1f Regards, Sami Mujawar On 27/05/2021 10:19 AM, Sami Mujawar via groups.io wrote: > > Hi Laszlo, Liming, > > Apologies for not doing it earlier. I was not sure if it was within my > right to merge the change. > > I will merge this in the next 2 hours. > > Regards, > > Sami Mujawar > > *From: *Laszlo Ersek > *Date: *Thursday, 27 May 2021 at 09:50 > *To: *gaoliming , devel@edk2.groups.io > , Sami Mujawar > *Cc: *ardb@kernel.org , leif@nuviainc.com > , Matteo Carlini , Andreas > Sandberg , Joey Gouly , > nd > *Subject: *Re: 回复: [edk2-devel] [edk2-devel202105 PATCH v2 1/1] > ArmPkg/ArmGic: Fix maximum number of interrupts in GICv3 > > Hi Liming, > > On 05/27/21 04:32, gaoliming wrote: > > If no objection, I will merge this patch today. Then, tomorrow, I > will create stable tag 202105. > > yes, please do that -- TBH, I thought Sami would merge it sooner, as > Sami does have maintainer access through DynamicTablesPkg and > StandaloneMmPkg. > > Thanks! > Laszlo > > > > > Thanks > > Liming > >> -----邮件原件----- > >> 发件人: devel@edk2.groups.io 代表 gaoliming > >> 发送时间: 2021年5月26日 10:22 > >> 收件人: devel@edk2.groups.io; lersek@redhat.com; > >> sami.mujawar@arm.com > >> 抄送: ardb@kernel.org; leif@nuviainc.com; Matteo.Carlini@arm.com; > >> Andreas.Sandberg@arm.com; joey.gouly@arm.com; nd@arm.com > >> 主题: 回复: [edk2-devel] [edk2-devel202105 PATCH v2 1/1] ArmPkg/ArmGic: > >> Fix maximum number of interrupts in GICv3 > >> > >> Laszlo, Ard, Sami: > >> I am OK to merge this patch for stable tag 202105. > >> > >> Thanks > >> Liming > >>> -----邮件原件----- > >>> 发件人: devel@edk2.groups.io 代表 Laszlo > >> Ersek > >>> 发送时间: 2021年5月25日 19:55 > >>> 收件人: devel@edk2.groups.io; sami.mujawar@arm.com > >>> 抄送: ardb@kernel.org; leif@nuviainc.com; Matteo.Carlini@arm.com; > >>> Andreas.Sandberg@arm.com; joey.gouly@arm.com; nd@arm.com > >>> 主题: Re: [edk2-devel] [edk2-devel202105 PATCH v2 1/1] ArmPkg/ArmGic: > >>> Fix maximum number of interrupts in GICv3 > >>> > >>> Hi Sami, > >>> > >>> On 05/24/21 15:01, Sami Mujawar wrote: > >>>> From: Andreas Sandberg > >>>> > >>>> Bugzilla: 3415 (https://bugzilla.tianocore.org/show_bug.cgi?id=3415) > >>>> > >>>> The GICv3 architecture supports up to 1020 ordinary interrupt > >>>> lines. The actual number of interrupts supported is described by the > >>>> ITLinesNumber field in the GICD_TYPER register. The total number of > >>>> implemented registers is normally calculated as > >>>> 32*(ITLinesNumber+1). However, maximum value (0x1f) is a special case > >>>> since that would indicate that 1024 interrupts are implemented. > >>>> > >>>> Add handling for this special case in ArmGicGetMaxNumInterrupts. > >>>> > >>>> Signed-off-by: Andreas Sandberg > >>>> Signed-off-by: Joey Gouly > >>>> Signed-off-by: Sami Mujawar > >>>> Reviewed-by: Ard Biesheuvel > >>>> --- > >>>> The changes can be seen at: > >>>> https://github.com/samimujawar/edk2/tree/1396_gic_max_num_intr_v2 > >>>> > >>>> Notes: > >>>> v2: > >>>> - Fix comment style. > >>> [Laszlo] > >>>> - Updated comment style. > >>> [Sami] > >>>> > >>>> ArmPkg/Drivers/ArmGic/ArmGicLib.c | 11 +++++++++-- > >>>> 1 file changed, 9 insertions(+), 2 deletions(-) > >>> > >>> I think this patch should be merged really soon, as long as Ard > agrees. > >>> > >>> Thanks, > >>> Laszlo > >>> > >>>> > >>>> diff --git a/ArmPkg/Drivers/ArmGic/ArmGicLib.c > >>> b/ArmPkg/Drivers/ArmGic/ArmGicLib.c > >>>> index > >>> > >> 6b01c88206ad8adef3100dd44c0d57660db77783..bd4b5edb903f3846f4f0e43 > >>> 1f93e001f01cd9e7d 100644 > >>>> --- a/ArmPkg/Drivers/ArmGic/ArmGicLib.c > >>>> +++ b/ArmPkg/Drivers/ArmGic/ArmGicLib.c > >>>> @@ -1,6 +1,6 @@ > >>>> /** @file > >>>> * > >>>> -* Copyright (c) 2011-2018, ARM Limited. All rights reserved. > >>>> +* Copyright (c) 2011-2021, Arm Limited. All rights reserved. > >>>> * > >>>> * SPDX-License-Identifier: BSD-2-Clause-Patent > >>>> * > >>>> @@ -120,7 +120,14 @@ ArmGicGetMaxNumInterrupts ( > >>>> IN INTN GicDistributorBase > >>>> ) > >>>> { > >>>> - return 32 * ((MmioRead32 (GicDistributorBase + ARM_GIC_ICDICTR) & > >>> 0x1F) + 1); > >>>> + UINTN ItLines; > >>>> + > >>>> + ItLines = MmioRead32 (GicDistributorBase + ARM_GIC_ICDICTR) & > >>> 0x1F; > >>>> + > >>>> + // > >>>> + // Interrupt ID 1020-1023 are reserved. > >>>> + // > >>>> + return (ItLines == 0x1f) ? 1020 : 32 * (ItLines + 1); > >>>> } > >>>> > >>>> VOID > >>>> > >>> > >>> > >>> > >>> > >>> > >> > >> > >> > >> > >> > >> > >> > > > > > > > > --------------8AFA42E8021B808D3DE8D42E Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi All,

I have pushed this change to edk2 master at cfa6ffb113f2..e1999b264f1f

Regards,

Sami Mujawar


On 27/05/2021 10:19 AM, Sami Mujawar via groups.io wrote:

Hi Laszlo, Liming,

 

Apologies for not doing it earlier. I was not sure if it was within my right to merge the change.

I will merge this in the next 2 hours.

 

Regards,

 

Sami Mujawar

 

 

From: Laszlo Ersek <lersek@redhat.com>
Date: Thursday, 27 May 2021 at 09:50
To: gaoliming <gaoliming@byosoft.com.cn>, devel@edk2.groups.io <devel@edk2.groups.io>, Sami Mujawar <Sami.Mujawar@arm.com>
Cc: ardb@kernel.org <ardb@kernel.org>, leif@nuviainc.com <leif@nuviainc.com>, Matteo Carlini <Matteo.Carlini@arm.com>, Andreas Sandberg <Andreas.Sandberg@arm.com>, Joey Gouly <Joey.Gouly@arm.com>, nd <nd@arm.com>
Subject: Re:
回复: [edk2-devel] [edk2-devel202105 PATCH v2 1/1] ArmPkg/ArmGic: Fix maximum number of interrupts in GICv3

Hi Liming,

On 05/27/21 04:32, gaoliming wrote:
> If no objection, I will merge this patch today. Then, tomorrow, I will create stable tag 202105.

yes, please do that -- TBH, I thought Sami would merge it sooner, as
Sami does have maintainer access through DynamicTablesPkg and
StandaloneMmPkg.

Thanks!
Laszlo

>
> Thanks
> Liming
>> -----件原件-----
>> 件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 gaoliming
>> 时间: 2021526 10:22
>> 收件人: devel@edk2.groups.io; lersek@redhat.com;
>> sami.mujawar@arm.com
>> 抄送: ardb@kernel.org; leif@nuviainc.com; Matteo.Carlini@arm.com;
>> Andreas.Sandberg@arm.com; joey.gouly@arm.com; nd@arm.com
>> : 回复: [edk2-devel] [edk2-devel202105 PATCH v2 1/1] ArmPkg/ArmGic:
>> Fix maximum number of interrupts in GICv3
>>
>> Laszlo, Ard, Sami:
>>   I am OK to merge this patch for stable tag 202105.
>>
>> Thanks
>> Liming
>>> -----件原件-----
>>> 件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Laszlo
>> Ersek
>>> 时间: 2021525 19:55
>>> 收件人: devel@edk2.groups.io; sami.mujawar@arm.com
>>> 抄送: ardb@kernel.org; leif@nuviainc.com; Matteo.Carlini@arm.com;
>>> Andreas.Sandberg@arm.com; joey.gouly@arm.com; nd@arm.com
>>> : Re: [edk2-devel] [edk2-devel202105 PATCH v2 1/1] ArmPkg/ArmGic:
>>> Fix maximum number of interrupts in GICv3
>>>
>>> Hi Sami,
>>>
>>> On 05/24/21 15:01, Sami Mujawar wrote:
>>>> From: Andreas Sandberg <andreas.sandberg@arm.com>
>>>>
>>>> Bugzilla: 3415 (https://bugzilla.tianocore.org/show_bug.cgi?id=3415)
>>>>
>>>> The GICv3 architecture supports up to 1020 ordinary interrupt
>>>> lines. The actual number of interrupts supported is described by the
>>>> ITLinesNumber field in the GICD_TYPER register. The total number of
>>>> implemented registers is normally calculated as
>>>> 32*(ITLinesNumber+1). However, maximum value (0x1f) is a special case
>>>> since that would indicate that 1024 interrupts are implemented.
>>>>
>>>> Add handling for this special case in ArmGicGetMaxNumInterrupts.
>>>>
>>>> Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
>>>> Signed-off-by: Joey Gouly <joey.gouly@arm.com>
>>>> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
>>>> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
>>>> ---
>>>> The changes can be seen at:
>>>> https://github.com/samimujawar/edk2/tree/1396_gic_max_num_intr_v2
>>>>
>>>> Notes:
>>>>     v2:
>>>>       - Fix comment style.
>>> [Laszlo]
>>>>       - Updated comment style.
>>> [Sami]
>>>>
>>>>  ArmPkg/Drivers/ArmGic/ArmGicLib.c | 11 +++++++++--
>>>>  1 file changed, 9 insertions(+), 2 deletions(-)
>>>
>>> I think this patch should be merged really soon, as long as Ard agrees.
>>>
>>> Thanks,
>>> Laszlo
>>>
>>>>
>>>> diff --git a/ArmPkg/Drivers/ArmGic/ArmGicLib.c
>>> b/ArmPkg/Drivers/ArmGic/ArmGicLib.c
>>>> index
>>>
>> 6b01c88206ad8adef3100dd44c0d57660db77783..bd4b5edb903f3846f4f0e43
>>> 1f93e001f01cd9e7d 100644
>>>> --- a/ArmPkg/Drivers/ArmGic/ArmGicLib.c
>>>> +++ b/ArmPkg/Drivers/ArmGic/ArmGicLib.c
>>>> @@ -1,6 +1,6 @@
>>>>  /** @file
>>>>  *
>>>> -*  Copyright (c) 2011-2018, ARM Limited. All rights reserved.
>>>> +*  Copyright (c) 2011-2021, Arm Limited. All rights reserved.
>>>>  *
>>>>  *  SPDX-License-Identifier: BSD-2-Clause-Patent
>>>>  *
>>>> @@ -120,7 +120,14 @@ ArmGicGetMaxNumInterrupts (
>>>>    IN  INTN          GicDistributorBase
>>>>    )
>>>>  {
>>>> -  return 32 * ((MmioRead32 (GicDistributorBase + ARM_GIC_ICDICTR) &
>>> 0x1F) + 1);
>>>> +  UINTN ItLines;
>>>> +
>>>> +  ItLines = MmioRead32 (GicDistributorBase + ARM_GIC_ICDICTR) &
>>> 0x1F;
>>>> +
>>>> +  //
>>>> +  // Interrupt ID 1020-1023 are reserved.
>>>> +  //
>>>> +  return (ItLines == 0x1f) ? 1020 : 32 * (ItLines + 1);
>>>>  }
>>>>
>>>>  VOID
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>
>
>


--------------8AFA42E8021B808D3DE8D42E--