[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 13/13] acpi/ghes: check if the BIOS pointers for HEST are
|
From: |
Mauro Carvalho Chehab |
|
Subject: |
Re: [PATCH v8 13/13] acpi/ghes: check if the BIOS pointers for HEST are correct |
|
Date: |
Sun, 25 Aug 2024 05:48:12 +0200 |
Em Sat, 24 Aug 2024 02:15:10 +0200
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> escreveu:
> Ok, we could still do something like this pseudo-code to get the
> error source offset:
>
> #define ACPI_HEST_TYPE_GHESV2 11
>
> err_struct_offset = 0;
> for (i = 0; i < source_id_count; i++) {
> /* NOTE: Other types may have different sizes */
> assert(ghes[i].type == ACPI_HEST_TYPE_GHESV2);
> if (ghes[i].source_id == source_id)
> break;
> err_struct_offset += HEST_GHES_V2_TABLE_SIZE;
> }
> assert (i < source_id_count);
This is what I ended implementing on v9.
Regards,
Mauro
- Re: [PATCH v8 05/13] acpi/ghes: rework the logic to handle HEST source ID, (continued)
- [PATCH v8 02/13] arm/virt: Wire up a GED error device for ACPI / GHES, Mauro Carvalho Chehab, 2024/08/16
- [PATCH v8 11/13] scripts/arm_processor_error.py: retrieve mpidr if not filled, Mauro Carvalho Chehab, 2024/08/16
- [PATCH v8 08/13] docs: acpi_hest_ghes: fix documentation for CPER size, Mauro Carvalho Chehab, 2024/08/16
- [PATCH v8 09/13] scripts/ghes_inject: add a script to generate GHES error inject, Mauro Carvalho Chehab, 2024/08/16
- [PATCH v8 07/13] acpi/ghes: cleanup the memory error code logic, Mauro Carvalho Chehab, 2024/08/16
- [PATCH v8 13/13] acpi/ghes: check if the BIOS pointers for HEST are correct, Mauro Carvalho Chehab, 2024/08/16
- [PATCH v8 10/13] target/arm: add an experimental mpidr arm cpu property object, Mauro Carvalho Chehab, 2024/08/16
- [PATCH v8 06/13] acpi/ghes: add support for generic error injection via QAPI, Mauro Carvalho Chehab, 2024/08/16
- Re: [PATCH v8 00/13] Add ACPI CPER firmware first error injection on ARM emulation, Igor Mammedov, 2024/08/19