From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.53]) by mx.groups.io with SMTP id smtpd.web10.7956.1585910530322083795 for ; Fri, 03 Apr 2020 03:42:11 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=ZFMHidQf; spf=pass (domain: arm.com, ip: 40.107.8.53, 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=0x74l9G5fASaKRj5TNb046dbA0YJkkz1J0o9oViUXto=; b=ZFMHidQfAZskfGpU+VhlXXdVrPibVi+BxocB2F+ZNvYmzUMspOh20gDSUdD7m/EIBrV9HxAwAkKsQEkFa2Ks3MRd5dMHwouhEnyiTGVrkZhthyn9HhurYBdlx6lskiisw2gKb2VwJzOtJtq9Zg5udmFJoskoNBg7kZWST2Scu8o= Received: from DB7PR02CA0017.eurprd02.prod.outlook.com (2603:10a6:10:52::30) by VE1PR08MB5024.eurprd08.prod.outlook.com (2603:10a6:803:106::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Fri, 3 Apr 2020 10:42:06 +0000 Received: from DB5EUR03FT057.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::3e) by DB7PR02CA0017.outlook.office365.com (2603:10a6:10:52::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16 via Frontend Transport; Fri, 3 Apr 2020 10:42:06 +0000 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 DB5EUR03FT057.mail.protection.outlook.com (10.152.20.235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.17 via Frontend Transport; Fri, 3 Apr 2020 10:42:06 +0000 Received: ("Tessian outbound 5345ff401cf8:v50"); Fri, 03 Apr 2020 10:42:06 +0000 X-CR-MTA-TID: 64aa7808 Received: from cc3b8d9cf05d.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DCCB88AB-3813-43E4-A154-BDB6318E7D82.1; Fri, 03 Apr 2020 10:42:01 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cc3b8d9cf05d.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 03 Apr 2020 10:42:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ij7cFEaN3vp92q41/xS5CgNek9bDWsqgHCLbs/5JA+k3dOraiPDJrEMSO8hgEBXE8tu5uTi+ezn5YjtSZ/zLQbrEpTYTXG88OK0aK01cXMrU34gy0TLZHZcNIU8C11+/cBH/n5wBS4PG4xVC5cliKwNxql0ExFX29nDh/4/2y0r8noAcsYXGeAdUQCB4eK7ZqNFLAPmTTjMD7DN17WqgYlDUAShl+L2HPba8dr65DTM/0Ya4m+1YL0NYJ+8ci4wza2EmC3p/z6Gu/W1cVfPT4MAu6eIwIUYPTMA6nboTsch4XxclfhSeCylSh+MSy7fqGIHzpzOHf+Z26OcwLWizag== 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=0x74l9G5fASaKRj5TNb046dbA0YJkkz1J0o9oViUXto=; b=btWkfm9IpL7dKkxbECY9/6Q9txX3xxNYvqU/hVAjRA38gx+Ml57tqfEeWtpI0u7/7BevrhLrieZwRcKKXIyA5V7zDrfUurfB6OaGjSrEygVJKn34CFaAy5Zxc25tABMOMEigfKRpZGaOwVxfjPlMmTVT2sC/2H04i6VLafHfG4ES9VlZ7cQl5oyJOAm5eK1yjEYscHS7a2QI5jyGNPPXlhUesBmvEmmeBacAZDN0ebqKdBHxwXPiTpVWvgsPIxpRyTm/76aErNyLTnqPWoeJiT45v27kFIkcGf7bMCRRNlcc4Vp7NlcIZ3MSXIxd5L7yokEJNFxCkVn3S51wr8l2zQ== 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=0x74l9G5fASaKRj5TNb046dbA0YJkkz1J0o9oViUXto=; b=ZFMHidQfAZskfGpU+VhlXXdVrPibVi+BxocB2F+ZNvYmzUMspOh20gDSUdD7m/EIBrV9HxAwAkKsQEkFa2Ks3MRd5dMHwouhEnyiTGVrkZhthyn9HhurYBdlx6lskiisw2gKb2VwJzOtJtq9Zg5udmFJoskoNBg7kZWST2Scu8o= Received: from DB7PR08MB3097.eurprd08.prod.outlook.com (52.134.110.27) by DB7PR08MB3708.eurprd08.prod.outlook.com (20.178.46.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Fri, 3 Apr 2020 10:41:59 +0000 Received: from DB7PR08MB3097.eurprd08.prod.outlook.com ([fe80::18fd:8f77:72e3:93ea]) by DB7PR08MB3097.eurprd08.prod.outlook.com ([fe80::18fd:8f77:72e3:93ea%3]) with mapi id 15.20.2878.018; Fri, 3 Apr 2020 10:41:59 +0000 From: "Sami Mujawar" To: Krzysztof Koch , "devel@edk2.groups.io" CC: "ray.ni@intel.com" , "zhichao.gao@intel.com" , Matteo Carlini , Laura Moretta , nd Subject: Re: [PATCH v1 0/3] Check if required ACPI tables are installed Thread-Topic: [PATCH v1 0/3] Check if required ACPI tables are installed Thread-Index: AQHWAolRg6ey/lOiekKbPoXsVzMFjahnQ6Eg Date: Fri, 3 Apr 2020 10:41:59 +0000 Message-ID: References: <20200325093924.22884-1-krzysztof.koch@arm.com> In-Reply-To: <20200325093924.22884-1-krzysztof.koch@arm.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 8d196065-2d1a-4f99-9970-a3647ec7e600.1 x-checkrecipientchecked: true Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Sami.Mujawar@arm.com; x-originating-ip: [2a00:23c6:548a:4800:c1aa:262d:14d1:6e7e] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6bbfe66c-1d13-4ddc-0475-08d7d7bba79e x-ms-traffictypediagnostic: DB7PR08MB3708:|DB7PR08MB3708:|VE1PR08MB5024: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:6790;OLM:6790; x-forefront-prvs: 0362BF9FDB X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3097.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(366004)(376002)(39860400002)(346002)(396003)(136003)(81166006)(5660300002)(2906002)(110136005)(9686003)(52536014)(86362001)(186003)(966005)(81156014)(8676002)(33656002)(478600001)(64756008)(55016002)(66446008)(66476007)(4326008)(316002)(54906003)(66946007)(76116006)(7696005)(71200400001)(6506007)(8936002)(66556008)(53546011);DIR:OUT;SFP:1101; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 7mPqm2FQAgfYuztEfOYl5xga65IbCQ1XS+tfH3+o9l/wW0FlhSH5qtGN0Krq7ApUFHyx0TRkWI7+Oht+1Ay7qtwTc8lRXyUS6thRTpH3/1z7Hv/+STGCFX/Re0IbKAAFjitRqtbJUHoETIJxEujLNHimOqKa2WAH8h5v3+x0CzQxSki/dLU9nxpV0ftTml9tBkXYzU9iKscXbzdoTAwieSTXh9kI/LT5N8N2n85TnPb9J6S7JVzFbybBO6nJI2mB57iQkWgnRvaFuEXPdEH8EB3zaeiIzxpyQKZjXDrBmOTWfskTlwYU3EiNv9LP8nCfCHpEGj5s5YdYZXkFqwUCGiUJVELixCMuIOrdYnMi7KVPwAbkegWAnsjGQPCSt34IgKg1rteDU103piFGaAfsp+pP1ZdENxkKJ6uwq7bEQQq0yaOU7988F6UieQz5y9jB9Dl+DW8RA3mamBvhfK6OVpIXhKbRJma0ALR+6jlhPh4WQycKUt03xJ+IMen+vcnMOl0rlSDlULhwjNhiEW+HCg== x-ms-exchange-antispam-messagedata: yI08pgjIBxgyaImbCaSj10zwU2A37Mt3AoOB1t7wYptEtUn7kjaVSmAx0Odb63G+ofTjtpCfVMIsJI5HMWNc9C5HUdVFilx+fglQQAkNnK6/J2rW33nU9LRSrV9buX2BBe06h6Bz8lF+hoUAdJVNlX+XsLP4LKl01CnXbGV7thDLXQ8+jTWpXn/IMgL7x5idfRqX/88URXYTQDoXSF+xTw== MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3708 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Sami.Mujawar@arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT057.eop-EUR03.prod.protection.outlook.com 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;SFTY:;SFS:(10009020)(4636009)(396003)(39860400002)(376002)(346002)(136003)(46966005)(86362001)(336012)(54906003)(186003)(70206006)(356004)(70586007)(9686003)(82740400003)(47076004)(26005)(4326008)(55016002)(52536014)(110136005)(316002)(81166006)(966005)(33656002)(8936002)(2906002)(26826003)(81156014)(8676002)(7696005)(478600001)(53546011)(6506007)(5660300002);DIR:OUT;SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: fb690a0f-d562-44bb-1da5-08d7d7bba331 X-Forefront-PRVS: 0362BF9FDB X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JOtca9S3POpuv5OvmnoMdzdqzxSt9tjJKB0k9IDGnWkoXjyJpiQi8rbd/uiNhbXYWj88niDG2UGsSjB7A/DBjPLRDHJ6Ue3ZZLVNarJquweScZZBfRdWXBv5vXmLXD2U2LyKnIG9Nnxi28y4rSgXD6T5LTFjAOgOfuvMf4D0E9q3H/2zn5FR/LHWsyVkkgy2IDCYZbRF0kxYRq3pa8JHMBrYCGQZVE+VTL2D7TKrFDr5DAfTCYEUxu7gSjCJWbzRYmRn6DoWM+msXuwj44QQwNL4P8B6ERc84sg0ZHAzOvQ9ASe6fSoBwCzq6FpEdT8SlLpysUPEJthcKaEHNKJjRBfotZx/ElVFzGJiX76zORI7wjNXgXQ0uImTKhVPSBWdb2Mb+cra18IAXEBs63NrsLSUWDZBZWtYc2ihuC+kzSYIw8fEdqO61OQycOI5Ed+lW1LtIoJYnfH3oi7+4+v7k5ncI5lmKa3FKVD4MyCDraADVh7IJXkXF3whJVjVUcMjO7W8hkfBKINmy4ENTRtbNJXjjNpMi8WnGNg0J1MbaYt3NJl8YgFMNJlrKaf+RgjIH0en8sEtV/vrAUd2QeGoXnj8l6L8dXYeOys5VI+kMsU= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2020 10:42:06.7161 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6bbfe66c-1d13-4ddc-0475-08d7d7bba79e 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: VE1PR08MB5024 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable For this patch series. Reviewed-by: Sami Mujawar Regards, Sami Mujawar -----Original Message----- From: Krzysztof Koch =20 Sent: 25 March 2020 09:39 AM To: devel@edk2.groups.io Cc: ray.ni@intel.com; zhichao.gao@intel.com; Sami Mujawar ; Matteo Carlini ; Laura Moretta ; nd Subject: [PATCH v1 0/3] Check if required ACPI tables are installed This patch series adds a new capability to the Acpiview UEFI shell tool. Using the -r command line parameter, it is now possible to choose a specifi= cation which lists mandatory ACPI tables. The parameter value is then consu= med by a library which validates ACPI tables identified on the platform aga= inst these requirements. The -r parameter is architecture agnostic. However, as of now, the possible= values for the parameter are only defined in the context of the Arm archit= ecture. For Arm-based platforms, it is now possible to validate that Server Base Bo= ot Requirements (SBBR) mandatory ACPI tables are present on the platform. Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/tree/617_sbb= r_validate_acpi_table_counts_v1 Krzysztof Koch (3): ShellPkg: acpiview: Add -r parameter for table requirements validation ShellPkg: acpiview: Add library for SBBR ACPI requirements validation ShellPkg: acpiview: Check if SBBR mandatory ACPI tables are installed ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiTableParser.c = | 16 ++ ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c = | 104 ++++++++- ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.h = | 44 +++- ShellPkg/Library/UefiShellAcpiViewCommandLib/Arm/SbbrValidator.c = | 222 ++++++++++++++++++++ ShellPkg/Library/UefiShellAcpiViewCommandLib/Arm/SbbrValidator.h = | 91 ++++++++ ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.i= nf | 6 +- ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.u= ni | 14 +- 7 files changed, 492 insertions(+), 5 deletions(-) create mode 100644 She= llPkg/Library/UefiShellAcpiViewCommandLib/Arm/SbbrValidator.c create mode 100644 ShellPkg/Library/UefiShellAcpiViewCommandLib/Arm/SbbrVa= lidator.h -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'