Re: [PATCH v5 4/7] acpi/ghes: Support GPIO error source

From: Mauro Carvalho Chehab
Date: Wed Aug 07 2024 - 03:15:41 EST


Em Tue, 6 Aug 2024 11:32:19 +0200
Igor Mammedov <imammedo@xxxxxxxxxx> escreveu:

> > @@ -327,6 +330,9 @@ static void build_ghes_v2(GArray *table_data, int source_id, BIOSLinker *linker)
> > */
> > build_ghes_hw_error_notification(table_data, ACPI_GHES_NOTIFY_SEA);
> > break;
> > + case ACPI_HEST_SRC_ID_GPIO:
> > + build_ghes_hw_error_notification(table_data, ACPI_GHES_NOTIFY_GPIO);
>
> perhaps ACPI_GHES_NOTIFY_EXTERNAL fits better here?

Symbol already used to map the 12 possible notification types from ACPI spec.
I did a:

sed s,ACPI_HEST_SRC_ID_GED_INT,ACPI_HEST_NOTIFY_EXTERNAL,

instead.

Thanks,
Mauro