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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E0A1C433F5 for ; Fri, 19 Nov 2021 08:05:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 84EA06124B for ; Fri, 19 Nov 2021 08:05:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233884AbhKSIIa (ORCPT ); Fri, 19 Nov 2021 03:08:30 -0500 Received: from szxga03-in.huawei.com ([45.249.212.189]:28157 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbhKSII3 (ORCPT ); Fri, 19 Nov 2021 03:08:29 -0500 Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4HwTgw63svz8vX1; Fri, 19 Nov 2021 16:03:40 +0800 (CST) Received: from dggpemm500002.china.huawei.com (7.185.36.229) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 19 Nov 2021 16:05:26 +0800 Received: from [10.174.178.247] (10.174.178.247) by dggpemm500002.china.huawei.com (7.185.36.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 19 Nov 2021 16:05:25 +0800 Subject: Re: [PATCH] acpi/tables: Add AEST in ACPI Table Definition To: Shuuichirou Ishii , , , , CC: , , References: <20211105041635.1481738-1-ishii.shuuichir@fujitsu.com> From: Hanjun Guo Message-ID: Date: Fri, 19 Nov 2021 16:05:25 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20211105041635.1481738-1-ishii.shuuichir@fujitsu.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.247] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm500002.china.huawei.com (7.185.36.229) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/11/5 12:16, Shuuichirou Ishii wrote: > When We added AEST using the Upgrading ACPI tables via initrd function, > the kernel could not recognize the AEST, so We added AEST the ACPI table > definition. Maybe "so add the AEST table to the list to enable the table upgrade function." is better? > > Signed-off-by: Shuuichirou Ishii > --- > 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 71419eb16e09..2699bf7e21ab 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_NHLT, ACPI_SIG_AEST }; > > #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header) Other than that, I'm fine with this patch. Acked-by: Hanjun Guo Thanks Hanjun