Re: [PATCH] acpi/tables: Add AEST in ACPI Table Definition

From: Hanjun Guo
Date: Fri Nov 19 2021 - 03:05:35 EST


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 <ishii.shuuichir@xxxxxxxxxxx>
---
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 <guohanjun@xxxxxxxxxx>

Thanks
Hanjun