From patchwork Thu Jan 20 02:57:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 12718232 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71392C433EF for ; Thu, 20 Jan 2022 02:58:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358236AbiATC6n (ORCPT ); Wed, 19 Jan 2022 21:58:43 -0500 Received: from mail-bn8nam11on2113.outbound.protection.outlook.com ([40.107.236.113]:14561 "EHLO NAM11-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231514AbiATC6k (ORCPT ); Wed, 19 Jan 2022 21:58:40 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MhL+VOp3dAqLbiCMnH5ov/qHe/DkEgkTcHzIVwPivsW1zY+SJBfNTZ0lSD+nVcyFv0EZIgC4qDOFIRhi1CeS7sbrN8YTtGqWQuqwr/NGFUcevmW0/pp73QUrwDeBLXuXTP0HIvwAzcSc37Rc0biKe3wxPftHMVVEOzq8HPdx4K6jeNyFDIjLpT4zwUyNUU6+YWts+MHu+dute0ARGHnUi8lp+YAmCzBWZjREL9RhhrOdpFftLfaz1U8ECXhDDf6IhwWZZjk0o4NnevpNItIwRSGupC2XnP64H1aRWEIvOLm3g86zBz1DTb4aAAK6ACU6O1qyuitMFctzfWAojz+zBg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=W82Z+6fOE2zsSPz3xZ+gwtAymeOC8tLFDVqSsHNd184=; b=WlHq42WY0K/AbaqK4VL3dQ/xtbQ68esMiOuyr0OQDtesNwf1I+cSXyca5y9Y66/GWyoNJ1LYtkg02URAcGMASjy81+PtgdHXEyPVun0Ee+g5UssIqC1HrSfCtMI8MqYMrq/kBMoSP0Hg6s1jBE8+n2ouVGDDHG2l7x2KU2D3gM2bb4PkTdAcDZwBuFQZhL7UGuAJ4TYlOPV+hE+5GCrpNy30kBCAQNmP+mjnfESPj4LOrxXIFftZgAh3l0XI4eTbJ0R4pZnCgZ/iGSxdg2HU3LilQyNPN+nR5coSoKXNfkCRY0D0ZnSeYtblLk3RKXFPDHgXnGnVAUWQFCR5hXVaqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W82Z+6fOE2zsSPz3xZ+gwtAymeOC8tLFDVqSsHNd184=; b=GByjbuFsqXLtPeJnyC74BHx0v2xJxZQIyL4sKwEtzvVFSwt9/36melIbUhjljnfd6CujvJ4kAb1I0+nQrE8kCnROScUDghRQIqmOL6UKTRGSzZrjXb1LLTGv5xGW+I6WE7RUCsCYnSvJmLnPVvNjKMxkK6tykdpujgcYxsFM5lU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) by BY5PR01MB5827.prod.exchangelabs.com (2603:10b6:a03:1c9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.8; Thu, 20 Jan 2022 02:58:37 +0000 Received: from DM5PR0102MB3590.prod.exchangelabs.com ([fe80::c4f4:4df1:380a:2ad8]) by DM5PR0102MB3590.prod.exchangelabs.com ([fe80::c4f4:4df1:380a:2ad8%5]) with mapi id 15.20.4909.008; Thu, 20 Jan 2022 02:58:36 +0000 From: Ilkka Koskinen To: lorenzo.pieralisi@arm.com, guohanjun@huawei.com, sudeep.holla@arm.com, rafael@kernel.org, linux@armlinux.org.uk Cc: lenb@kernel.org, robert.moore@intel.com, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patches@amperecomputing.com, scott@os.amperecomputing.com, darren@os.amperecomputing.com, james.morse@arm.com Subject: [PATCH v4 1/2] ACPI: tables: Add AGDI to the list of known table signatures Date: Wed, 19 Jan 2022 18:57:58 -0800 Message-Id: <20220120025759.8630-2-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220120025759.8630-1-ilkka@os.amperecomputing.com> References: <20220120025759.8630-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CH0PR03CA0337.namprd03.prod.outlook.com (2603:10b6:610:11a::27) To DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b696de0-36c3-4b41-4cf9-08d9dbc0c0cb X-MS-TrafficTypeDiagnostic: BY5PR01MB5827:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1468; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Zdq9UUn6bjdObd8py9xh35b8C6/t+QJk7aSUVC8RDaVye6b+yxIDraKx19y7/ZuIDQNueQ4zVUn//HJgSK5r2y37hITBvpeykCMoxcIbQ+Eyr2NkQbt90LxqcQBDpW/po0l6yNFPj7LfhB48dRD+rx5/g6G9TNC9Yakq8cJeh1pLmcS0KYWdhWLrCGEu6Fp4CbflKNCSJDcKx8zY8Bvueour8P5cEyx+Fr9eIjPMS1kwG0o6DbK9xT2GhnICtW6lua6RwLeBVojwByz14SyGQeHyBEznvVW2mGbJdUMuvetn4iC0XkPsCRJW4VyslOY7VxtviBEDrPLPYtdjA+P/86IBK0VuJDoh4GZ2Eg+VvoQeihF5JkFBuZmaOLKqr6VBnNqvEIMcIxRLjnjBeD3MWlfOLCHjuAXDbrXtPQoxFCI3zNQaGfqDm86l3nJJ1ihdZgZrQmgXe9GWWnkFPhMJSqaEAbYc0HP8KmAWztuUDNXxFJ2uf0MaOjlHvidkcZHHSnO3aYEysoVGb5SyS37bD7izy46JQSZhq2hr6b4YkGK54bKrePClAtkTFjqyWMmbRtxeTmrnfwzT8V+6FrUinZBSs2aKkjVke1s0vivlsb7WWwWkblbq1XfIOq+AA/pvZNaDs/hK7E8kygB/ajY0iPcJ7s6V6r2rE2Cgx9gossBLN3A0g6oMUansgVROV7WkDa77Q83cwc+06C/cqPR/5g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR0102MB3590.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(1076003)(66946007)(66556008)(66476007)(6512007)(4744005)(38350700002)(86362001)(38100700002)(316002)(6506007)(5660300002)(2906002)(508600001)(2616005)(52116002)(4326008)(7416002)(186003)(83380400001)(6666004)(8936002)(8676002)(6486002)(26005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: n+/MINeBKM5QCCx/1BG6SKJrMPIhwW70uXOteK8m+g57wNwmNda5Q80y2PysOaQCNgMIXlPV4NmgKhZ8Gh3htikn0BBCRCCHlf1cwCQZGcM1XPMQkluhhMi+SyZ/wdNceJGHfNDwIIhzQ8qLuRHSMQsRQWglFmHA1P3vAlSrkHrjnTuFYbheqLHQSa1ro7Aq4jiTcB4YBvmDXhKqftG1rcB6VsNpPcib9JYkyu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ZFEVtNlL37qEz0lUrWu7m+rIkeVQ9mUf90HVJ30aa7BHkAEKboB+kyISQHCWgj80+DA8lzPISGk366K2Wi7vN6+4crMUUJ7pWXtjhVbWRsxfttQ/ATA0S5cYEsEeapt+kXbkAAFqdgMe8y43cpQw6z+SCdUcvS+N/+9bwOSycIjqyCDsYzpVhCBwca/oFqu05jZj2dI/ILqTwg2wv1RzFI1QbgC2R9g88xKbtUlbEbPvJ1JYRHJCFgS3yx5ugimI8+HuhwID9TwDE2UfSk/BR3BumMUP/ME3v3bENRoloLCrJKtgbhvHXyPR7R5dM86H0eniRWJ3OtxgxShAS2MUGzrY1IfqyxXOQxh95QZ247MHSJmzbvNcmRuL0BpvwWdHEYoYgbVVceFq+bw6m0GmFaVDGhrw828Y3Ru5s5nSy94CE70VfLUTA== X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b696de0-36c3-4b41-4cf9-08d9dbc0c0cb X-MS-Exchange-CrossTenant-AuthSource: DM5PR0102MB3590.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2022 02:58:36.7357 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JRscig7VcN1OeO/TzSzp0mUkHKDlbaNJcSz80zJFHnQLbZArOWCETZdmVs6zu9/aGhykyRY6ZgTrHN7eKxZkM2lYazSPG+L5GIEO61tzna+x3EufFeMr6v+Le7spLYW5 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR01MB5827 Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Add AGDI to the list of known ACPI table signatures to allow the kernel to recognize it when upgrading tables via initrd. Signed-off-by: Ilkka Koskinen Reviewed-by: Russell King (Oracle) --- drivers/acpi/tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c index 682a3ea9cb40..973b466fa652 100644 --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c @@ -500,7 +500,7 @@ static const char table_sigs[][ACPI_NAMESEG_SIZE] __initconst = { ACPI_SIG_WDDT, ACPI_SIG_WDRT, ACPI_SIG_DSDT, ACPI_SIG_FADT, ACPI_SIG_PSDT, ACPI_SIG_RSDT, ACPI_SIG_XSDT, ACPI_SIG_SSDT, ACPI_SIG_IORT, ACPI_SIG_NFIT, ACPI_SIG_HMAT, ACPI_SIG_PPTT, - ACPI_SIG_NHLT, ACPI_SIG_AEST }; + ACPI_SIG_NHLT, ACPI_SIG_AEST, ACPI_SIG_AGDI }; #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)