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=r8gUQBtJ; spf=pass (domain: arm.com, ip: 40.107.7.57, mailfrom: sami.mujawar@arm.com) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.57]) by groups.io with SMTP; Mon, 10 Jun 2019 12:53:49 -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=hfG/gbUGOhKOVa9+qH2dyRqpcoCqLvcFliPiJOiNobE=; b=r8gUQBtJ1kdWKoBht2zezGkcVUIxYss3BEsnTzClT5yI/vbPU6m9rLhQxJZutAg99mdjC6aIc7hr8qvbivZnX2G08fZpWFjWhnQXruxShqBCn5x/cYibaMrATjKdSlGd8vXIg9XdI0+YPBSiygpHKdHPDB6fTJkv8rNGb0gPLMg= Received: from DB6PR0802MB2375.eurprd08.prod.outlook.com (10.172.228.142) by DB6PR0802MB2134.eurprd08.prod.outlook.com (10.172.226.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Mon, 10 Jun 2019 19:53:46 +0000 Received: from DB6PR0802MB2375.eurprd08.prod.outlook.com ([fe80::a46c:aa3a:17bf:7909]) by DB6PR0802MB2375.eurprd08.prod.outlook.com ([fe80::a46c:aa3a:17bf:7909%3]) with mapi id 15.20.1965.017; Mon, 10 Jun 2019 19:53:46 +0000 From: "Sami Mujawar" To: "devel@edk2.groups.io" CC: nd Subject: Re: [PATCH v1 0/3] Detect duplicate field values in ACPI tables Thread-Topic: [PATCH v1 0/3] Detect duplicate field values in ACPI tables Thread-Index: AQHVC8/CyCVCXYakzEG0e0Yhk8/r8aaVcpXQgAACGAA= Date: Mon, 10 Jun 2019 19:53:45 +0000 Message-ID: References: <20190516101133.34912-1-krzysztof.koch@arm.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 0bf4c853-36d2-4444-bc96-eda7291f76dc.1 x-checkrecipientchecked: true authentication-results: spf=none (sender IP is ) smtp.mailfrom=Sami.Mujawar@arm.com; x-originating-ip: [217.140.106.54] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eff903aa-702c-4a6d-c82d-08d6eddd593f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB6PR0802MB2134; x-ms-traffictypediagnostic: DB6PR0802MB2134: x-ms-exchange-purlcount: 1 nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 0064B3273C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(136003)(346002)(376002)(396003)(13464003)(189003)(199004)(5640700003)(71190400001)(71200400001)(55016002)(256004)(5660300002)(4326008)(74316002)(9686003)(14454004)(6436002)(66066001)(6306002)(53936002)(14444005)(86362001)(81166006)(186003)(8676002)(26005)(1730700003)(102836004)(25786009)(316002)(6916009)(81156014)(2906002)(66446008)(486006)(76116006)(64756008)(66556008)(2351001)(11346002)(33656002)(73956011)(2501003)(53546011)(72206003)(3846002)(8936002)(66946007)(6116002)(6506007)(66476007)(478600001)(966005)(446003)(305945005)(6246003)(52536014)(76176011)(229853002)(7696005)(7736002)(2940100002)(99286004)(476003)(68736007);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0802MB2134;H:DB6PR0802MB2375.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: H8J18LaInQRwG3Dxra7v/o9Xpf/6wugDsvFPmpwCPFSJeKYM31gOM2Sg/j0uOh2jc+DFs54+/O4xOaOp/lOeVgT2DB6iRkdfATrDyg+Xumlj6ZISjiyKqeS9oiM42jlLE28PaNMnP2UyLush3JEM1PKe7HJQLbMgexx46R20o7UiAK4LMpvQlikXTXbUIWPTNyP2MeCgQsOFyMRg4hNO0avTTfKOv0yTxeNf8bGfgPs+ZELKqwpKIu3i7MQNKRWswcb1huIlgC1MT+KhKTVMQ0X1uC4C4QgMdmKD9QgPl8pSyWXQKbvpy+rYvsjRqSKRMt3iHFbFSCpiWCuMFhhM7XTfhPhlrQ3wa7mkv7gyTdmXZqVUn78faJGHtblENthvO4WiMBbR+1CuDK/aVEr7uBsytGiWsfpqhTY6f2h2vtc= MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: eff903aa-702c-4a6d-c82d-08d6eddd593f X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2019 19:53:45.9020 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2134 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Pushed as 75bf10a68914..ccc97f6df415 -----Original Message----- From: Sami Mujawar=20 Sent: 10 June 2019 08:46 PM To: devel@edk2.groups.io Cc: nd Subject: RE: [PATCH v1 0/3] Detect duplicate field values in ACPI tables Reviewed-by: Sami Mujawar -----Original Message----- From: Krzysztof Koch =20 Sent: 16 May 2019 11:12 AM To: devel@edk2.groups.io Cc: leif.lindholm@linaro.org; Sami Mujawar ; Alexei F= edorov ; Matteo Carlini ; S= tephanie Hughes-Fitt ; nd Subject: [PATCH v1 0/3] Detect duplicate field values in ACPI tables This patch set introduces generic code for finding duplicate elements in an= array and uses it to validate two ACPI tables: MADT and GTDT. This change is motivated by the need for certain ACPI table field to have u= nique values across the entire table. Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/tree/479_fin= d_duplicate_ids_v1 Krzysztof Koch (3): DynamicTablesPkg: Add code for finding duplicate values in arrays DynamicTablesPkg: Test for duplicate UIDs in MADT generator DynamicTablesPkg: Test for duplicate GT Block frame numbers DynamicTablesPkg/Include/Library/TableHelperLib.h | 48 ++++= +++++++ DynamicTablesPkg/Library/Acpi/Arm/AcpiGtdtLibArm/GtdtGenerator.c | 66 ++++= +++++++++- DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/MadtGenerator.= c | 90 ++++++++++++++++++-- DynamicTablesPkg/Library/Common/TableHelperLib/TableHelper.c | 64 ++++= ++++++++++ 4 files changed, 259 insertions(+), 9 deletions(-) -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'