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.72]) by mx.groups.io with SMTP id smtpd.web12.9228.1600783705563897559 for ; Tue, 22 Sep 2020 07:08:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=+RCUNMHj; spf=pass (domain: arm.com, ip: 40.107.6.72, 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=QkEenBXHF417P+DGMDFzC7m9cNZiz8GeC3Dv4NFwk9w=; b=+RCUNMHjLU6RUw/HCBli1SEZn48gKPomYjqlu8hLaHIeMHMeB55T+1oFZ9Vk/8wfti2rmgc0lErhxhF5j8TJKcn9iZ8Dbfs9QJ5y1mX0CwtuY/leymjU8bfvdzsZ/qqzrS+s3RxnY1kQI0eyi0O5/UKbvkOqejQVM6KYDcGjW5o= Received: from MRXP264CA0023.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:15::35) by AM5PR0802MB2433.eurprd08.prod.outlook.com (2603:10a6:203:9f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11; Tue, 22 Sep 2020 14:08:22 +0000 Received: from VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:15:cafe::c5) by MRXP264CA0023.outlook.office365.com (2603:10a6:500:15::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14 via Frontend Transport; Tue, 22 Sep 2020 14:08: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=bestguesspass 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 VE1EUR03FT041.mail.protection.outlook.com (10.152.19.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15 via Frontend Transport; Tue, 22 Sep 2020 14:08:21 +0000 Received: ("Tessian outbound 7161e0c2a082:v64"); Tue, 22 Sep 2020 14:08:21 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1e602dab96c7074d X-CR-MTA-TID: 64aa7808 Received: from 9d36fe5665a0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6C5DE232-280C-4B4A-B901-06F91FDA2CA0.1; Tue, 22 Sep 2020 14:08:15 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9d36fe5665a0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 22 Sep 2020 14:08:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tf48c2fHW+Xo2gQCrqLxj/VRv6IZTyAYbrhh4eo5/f3tvMo88epA2/iivk12U7uh1UrHE232cA3HmbmJ3jVAGudGDwmuSyNA6HASkC2mxTf031yYCs52L898GGVEYjHtr5G+EXSovSXUKMBW2I2Ozwo6xPn7fDDS9tU27MJRatd2CWsqhikkIKQn5aAZVQxAfYvYdMBbtiOfEborUqchn24WepJMvBH4keEC8NYl4OMEB3JAmoGimZzwcwgFQphyc/zi7jrTVgyOxsJAqK7GRrgTipJOEqJL8IxkqeFrLnX+pHxrGO049/5C3wQrI//JnoLPybxJ80k9Y9YWw6AOgQ== 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=QkEenBXHF417P+DGMDFzC7m9cNZiz8GeC3Dv4NFwk9w=; b=I87pW6lB62j66uviZ79KfyuZqG3L2xYnNzHnC9EcJEjaaQXnCiGE7WBYsAAM4nsis407jzBgy2H2dGK+w6wLNXkfPFvk1XpB8DtTWlkPAlhFMruCyJtwYv5irdTua83XFtdOnDCDRIGxI35DPgSlQYc7F3GzLdZgOzWDPuGP2yNVjNmTqyNCxc4Rzgioa5atmQsSklIMfI4V4vaMSo+LYE8n4uyiBdqafB5heKC97fbsBGfPXt3LYPSY/aUnoVsRr/f6/zt4bECppBjDqF4Umz3B5lVZfDgnQg3NSO7NTyLpV510LQbBpn5qm2++JYADneaWKFQNIHmsuTgotoojiw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=bestguesspass 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=QkEenBXHF417P+DGMDFzC7m9cNZiz8GeC3Dv4NFwk9w=; b=+RCUNMHjLU6RUw/HCBli1SEZn48gKPomYjqlu8hLaHIeMHMeB55T+1oFZ9Vk/8wfti2rmgc0lErhxhF5j8TJKcn9iZ8Dbfs9QJ5y1mX0CwtuY/leymjU8bfvdzsZ/qqzrS+s3RxnY1kQI0eyi0O5/UKbvkOqejQVM6KYDcGjW5o= Received: from AM6P194CA0076.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:8f::17) by AM6PR08MB3845.eurprd08.prod.outlook.com (2603:10a6:20b:85::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14; Tue, 22 Sep 2020 14:08:14 +0000 Received: from AM5EUR03FT063.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8f:cafe::8) by AM6P194CA0076.outlook.office365.com (2603:10a6:209:8f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20 via Frontend Transport; Tue, 22 Sep 2020 14:08:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (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=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT063.mail.protection.outlook.com (10.152.16.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3391.15 via Frontend Transport; Tue, 22 Sep 2020 14:08:14 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Tue, 22 Sep 2020 14:08:09 +0000 Received: from E107187.Arm.com (10.57.47.90) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Tue, 22 Sep 2020 14:08:08 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v1 0/2] Support for dynamic CMN-600 AML generation Date: Tue, 22 Sep 2020 15:08:06 +0100 Message-ID: <20200922140808.77392-1-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ab2ab844-ec9e-4198-57c2-08d85f00f6ee X-MS-TrafficTypeDiagnostic: AM6PR08MB3845:|AM5PR0802MB2433: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:7219;OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: xcKizShn6Y2FHeRfhOK3JbChi6v6Z43oxmuoJRrT6QC9jGOcy8/i2el7soAZXolNKcVj1VsuI6fAa2zpstzwSjFf3I/RiL6PjKMNHdBpP8+IWYKpr1wljEzQPUKUfujqHh8P1QHutO0z8jiUxRpdNjEUJ9Aa/m7hCDT74jTttnN8d5kZmMEkKmvE0uwuuEvMj3hvDZ2GvZDC6+Zm78ON8HPTDr0rQbj0PThKxk6H92yQIDPJiW/StLMDkBmYIJpnGJnrjrt0cMIjMKsRhmrfWIs0G/C9zO7VBsCblfw+qvytgqyxTPg66tXUDvAsRRHgZ8m2lprm9s6XvP5ZCk2JSJ/7Zy2FhzR65BwZMSpqhMKlXXKGL4ofZXbp7v4BXuP2phJ3xlcANzC1QaprYvTpR6Z84AEQiJ0LmlvISS7x50azvoRMqqzruFyqWyeC9MYhdxaLUfXgJbLx1oqDHyc1GrDfy74SVgygGpdINSaOYqGJLUBfbcAMchD80FDecMgKPCzTBDotPCCocL+sYidTRA== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(4636009)(136003)(396003)(39860400002)(376002)(346002)(46966005)(186003)(82310400003)(6916009)(36756003)(1076003)(54906003)(70206006)(478600001)(86362001)(47076004)(19627235002)(5660300002)(44832011)(4326008)(2906002)(70586007)(7696005)(82740400003)(356005)(26005)(966005)(8676002)(426003)(81166007)(316002)(336012)(8936002)(2616005)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3845 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 8937a6b4-bde4-4d39-2fca-08d85f00f28c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7Qmej46a4LzqmzQ9XUoxHtG6ZrVpc/YbD0hpEUZINRFmnCWjj2fF3+1tdE0ZKrYojxu9V6QGtA5VA+V7vDw4pML4g7VFxCMl5H4uqBmKiJ+MXPJbz/UL41JvpPF9yhvuAQPJgY7ve+2I5mcW7bN0eLrHu2M0extPAyoyuAypX0Mtar+SYmaD5gM7zJIb7M2NMW7E6u3Tn9W0skjlCNRvHyP4DKSa6xU4XAhp/4PCMCt+gi4UKFbCiLZZmCnuUnw1ifawTxvV7wWlo/47GcelJzjLoJXb/ToCxIblzBku/2VTc4Fslu1mK0eSwiZc3IPeauzGYczYrDZi5knWhAdjmhgBhpDgbNLsD7oPcCmtb30i0tNJlX+PJF2SniLuv95SgfOwbtb9KZnh3JzkRc/gNdTo0zZYLSWveCtbbbm39BG5ao/H4C7XoOKI3WzX3TApSj4PPWDd9x04N2zWy430cSTl7122ApmdLl2iiWTRUwY= 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)(46966005)(4326008)(81166007)(426003)(83380400001)(44832011)(8936002)(8676002)(36906005)(316002)(6916009)(82310400003)(186003)(82740400003)(26005)(336012)(966005)(54906003)(2906002)(36756003)(5660300002)(2616005)(86362001)(70206006)(478600001)(47076004)(7696005)(70586007)(19627235002)(1076003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2020 14:08:21.9259 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ab2ab844-ec9e-4198-57c2-08d85f00f6ee 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: VE1EUR03FT041.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0802MB2433 Content-Type: text/plain The 'Generic ACPI for Arm Components 1.0 Platform Design Document' provides a standard description for an 'Arm CoreLink CMN-600 Coherent Mesh Network'. This patch series adds: - definition for extended interrupt flags. - support for generating SSDT table(s) describing the CMN-600 mesh(es) using Dynamic AML. This also demonstrates the use of AML Fixup and AML Codegen techniques. The changes can be seen at: https://github.com/samimujawar/edk2/tree/1411_cmn600_generator_v1 Pierre Gondois (1): DynamicTablesPkg: Add SSDT CMN-600 Table generator Sami Mujawar (1): MdePkg: Definitions for Extended Interrupt Flags DynamicTablesPkg/DynamicTables.dsc.inc | 2 + DynamicTablesPkg/DynamicTablesPkg.ci.yaml | 4 + DynamicTablesPkg/Include/AcpiTableGenerator.h | 5 + DynamicTablesPkg/Include/ArmNameSpaceObjects.h | 64 +- DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c | 701 ++++++++++++++++++++ DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.h | 51 ++ DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600LibArm.inf | 34 + DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Template.asl | 81 +++ MdePkg/Include/IndustryStandard/Acpi10.h | 85 +++ 9 files changed, 1021 insertions(+), 6 deletions(-) create mode 100644 DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c create mode 100644 DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.h create mode 100644 DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600LibArm.inf create mode 100644 DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Template.asl -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'