From patchwork Tue Feb 15 03:55:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 12746486 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 64715C433F5 for ; Tue, 15 Feb 2022 03:58:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HgqyhRYZ0opY4COCv+U1ck5s9C7t+M+joR1bntDEKPw=; b=SaoO2DdzUSDqJt QyjvbizOZHu6hWExSTiWjSw08uD5J6fHWAqnUsTvExnAWsttlYuVC+S0FY0d+JfeMn9u0wSfZjoPo Pmod5brr/edRoF5thVM8TtOjKdoB4Qty66axaGOOOgZqbUjv50hPjNNYuWN9q2sR2e7htMGoo6MGC I07G+QHTxyEidh4p0AsuUFm3DIjWpI1U3rnmpvINjElxOPUjyHkEIJh76vJNL/J/OBcb4FkyCVsPZ fbReiGQWYEX59aqNFq0LwcbhCqdQ+/aGZ4HAXbZ61Y1KdA0ZPwjAgy2sfkc3KAhVNKjEMnKridEJH BRfEZvRxzArkIRnrRMfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJoxO-0007Pu-FY; Tue, 15 Feb 2022 03:56:50 +0000 Received: from mail-dm6nam10on20713.outbound.protection.outlook.com ([2a01:111:f400:7e88::713] helo=NAM10-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJox7-0007KG-UO for linux-arm-kernel@lists.infradead.org; Tue, 15 Feb 2022 03:56:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SmEPe4e/AqQV3apwhziL37eZ0Ume0P4as3F1leem/T7gBbIiFLVn2fn3Qavrlga/90y854r9b47hOxVJ1+HyxbsxXctaggXVVd6rYow9A0gK36I23dy2aBLwAkrF9NBHCVp3ykHvZCejG/zGyvp3dbTWgYt+9/edR5udMLLHXSjdv0SF3lOn8PiYp7UEX+M3m+hlPS24DK1OkQknHlv2Vod16j/AIaewzAKSQIoMHR4R5x7wjtIckNfyCPNLVWShejvI1pIpNB7XgY2oZLjZkfvkErktmule2cynft6a+FkBHcC8pAXlhsBqkkm8qaKUCRBNTZbhFYCT2VWFAg99JQ== 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=UNohOuriLTgmuKLvWTouis7EUyrZTYwXlXn9IP6Zjww=; b=WPz98GbbryPeuhmHtSi8N9FihFulOj9Ed4Rav0a69EqXNGAJ9ubn/ewfgokPsKSzTjB7ObTeG/ZIRuSddGnDnc/VQFawuVoHdSoVzvXjg4CtX6SZdG0zXUm8kAktBnHK7uxqNqOQz0iLozjF21uCRYxPAkKG69HiPOUwo92F2DrGPWBBbmROzjCvxlxfy1ySukA8aRcf9Cu9wvXM1TPoXDP/mcSm/ieLk+dIRIVDPIlNKafBkFISlzb6HNb+i/FPmT19icCwSfw1Py3H9rQmTF85bgIBkkXAsTQuAnXo2JVheZ5oN0KR1Si+/xlFiDtv6u+JKY/fgVNwHpFZ3OD4gw== 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=UNohOuriLTgmuKLvWTouis7EUyrZTYwXlXn9IP6Zjww=; b=dgZiWTCubHrwyfxnev9rlLdiJAxr3ZQ77NeLmW46r4eMkAmzW2dUnt/yHJORmBo4Icm6dmNndiw4cs1QoeOr2pfbysRVLReezbf6lbtZ+UyPAVgwxRAf0c5S8VZ6gw1GbWb6Xw/1UDrqxnKCG6M3wroytfRZqdBcFrMf7R/lVEM= 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 CO6PR01MB7500.prod.exchangelabs.com (2603:10b6:303:147::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.15; Tue, 15 Feb 2022 03:56:27 +0000 Received: from DM5PR0102MB3590.prod.exchangelabs.com ([fe80::e085:6acb:773c:c3e7]) by DM5PR0102MB3590.prod.exchangelabs.com ([fe80::e085:6acb:773c:c3e7%3]) with mapi id 15.20.4975.018; Tue, 15 Feb 2022 03:56:27 +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 v5 1/2] ACPI: tables: Add AGDI to the list of known table signatures Date: Mon, 14 Feb 2022 19:55:52 -0800 Message-Id: <20220215035553.102315-2-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220215035553.102315-1-ilkka@os.amperecomputing.com> References: <20220215035553.102315-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CH2PR05CA0061.namprd05.prod.outlook.com (2603:10b6:610:38::38) To DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0b6560c8-99c0-47e5-5719-08d9f0372435 X-MS-TrafficTypeDiagnostic: CO6PR01MB7500: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: 6tJ1dxICH7tNE38ZbxLhAVbD8HorYqyaybpl/E3hyisAz8m8DcywlhQev22PBfbuvv/0XjiBPwP74cpSrVeTruKDsco3D1mVgId6XCxqFp6PwI33FvnXxBQOROwQROxUGpsA4ieBrR+sJ5ACA3iXc59b10gKlAeRJC+0zUUQrQyFfRhD9wUdUxnri1e3Ub0WZ6pStHqtB4tRTjFfF96K0uyHkUbnw5w7tRjL0BztiDqKIIM/AO9064pwL2RkAKQzq6wGjF3yXWzFFI5LEfnvVTxiFeBj/WypXTeodK2TEndN5IbfaC1k/+HjLxJ2APwYTtWyHpPLZlXWBUITgQ/eExfJ991F7WKKgrvyOWP3jrWYlixOWnfhLJxSKzyBYCeEw66VGGpreRRWuuMbh0DnZ1nMen+39qiWQo6BeViVDnZgeAVjp43H7kJNqntt+0Q3R/uo8gNnBocPGJfG64ekYpyKmagjYmY+e6q+wX67xCTo9ilVJ7TeAbrBkwamwBcAXFfBETc/y0Ami9JWH850tC033ZIgoTGVT5OvcxvXHzUHKa8FBYTFQPBzP1y2ZUP6k4a7VLadBXe5FPgIJ6gSFRKOM0KlL1UWKhEe3KuQ5W+3QBI0mG6jpY2Jcg6yjKbAyycPpyIRJvRXJ6vCN2hKg8DklJcealXe30r+NkOTyDCV7xhM381c9Q9QbF3rsFv1NmN9fgPc2Tfb4e41m1U5+g== 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:(13230001)(4636009)(366004)(26005)(8676002)(66946007)(4326008)(66556008)(66476007)(2616005)(316002)(1076003)(2906002)(38350700002)(38100700002)(86362001)(6512007)(5660300002)(7416002)(83380400001)(4744005)(8936002)(6666004)(6486002)(508600001)(6506007)(186003)(52116002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: KEIsJDyWQ5A6CUaMW/ZeKrcsOB9obF1mrHej8MYsA3O6gaA3wdaWzanynKVz7lbB9pN1eNzG+8GI8Behym4N8HmXI07ndGLCfHinGtEQTGkLdo/tZ55fz3lCXMP6AggFVZsvGTQv51ra2UihnajVqTGbYa9TdaktmB1d8+idZMeNREW4HcxIvKPlTbIAqWkGpCsXFaWoQFjyDTP46qE+Vpg6mAEumHAMvRlb8NstLXjr32KgJQF8X4Z/lq9yrblZGlksAyLJQW2pEEmnT/esRy2n13fMOwi3qCrr+J6kFzl0TW9xeglMGHq2nF5xdXy4TaPY/6dflLAKseYFrz16LLbB6VlTZjKkp3MTXobW1JA2wxFaVaF7j7oMzChunJiP2f7S9f5aB1keMjCLQx2MIKJMFI43soTceLOERO/KkZz5F0rqwfChYy2R1zGcASTcEMVY1DnpNF534VfE3POHURg/soJaFP/7z8k2Lx93CI+nrKI+MDUV9Ofv38GTQD3lhh2iDC0B3EW4Vog6Opk4AxHv+rndD8fT7HU+0LLzlBWGcfeM+TvBEH8KwlvB8Gc1trAKwgbud0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76rir6K6kesN5A2Zco4xLQR7ydZttVKukSI+av/nIzA3Sg9/g27volZEHOXLrFRpGbT8BmU/RqfMLvEdzQ== X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b6560c8-99c0-47e5-5719-08d9f0372435 X-MS-Exchange-CrossTenant-AuthSource: DM5PR0102MB3590.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2022 03:56:27.5509 (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: Fnh6yFNrdlSXvydd/dCxmqdrccN6ltfFN2g9DKZULSsT2oRnLiFLmNZ2c+5Srqjd4Hrd61Ff9Nz9iXRnM80aBq8zZhpGyDa/WBxKrcQPKyWD4UImFZClWJueXCDHQTJo X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR01MB7500 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220214_195634_004727_8C1F674A X-CRM114-Status: GOOD ( 10.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 2d7ed7126faa..ae29b13b8774 100644 --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c @@ -545,7 +545,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_CEDT }; + ACPI_SIG_NHLT, ACPI_SIG_AEST, ACPI_SIG_CEDT, ACPI_SIG_AGDI }; #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)