ACK: [PATCH 1/2] lib: acpi: Add support for HEST GHESv2
Alex Hung
alex.hung at canonical.com
Wed Jun 1 00:53:24 UTC 2016
On 2016-06-01 03:50 AM, Jeff Hugo wrote:
> ACPI 6.1 added section 18.3.2.8 which defines version 2 of the Generic
> Hardware Error Source for HEST. Define the structure to support it.
>
> Signed-off-by: Jeffrey Hugo <jhugo at codeaurora.org>
> ---
> src/lib/include/fwts_acpi.h | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h
> index 8b50517..a3a5701 100644
> --- a/src/lib/include/fwts_acpi.h
> +++ b/src/lib/include/fwts_acpi.h
> @@ -1275,6 +1275,24 @@ typedef struct {
> uint32_t error_status_block_length;
> } __attribute__ ((packed)) fwts_acpi_table_hest_generic_hardware_error_source;
>
> +/* Section 18.3.2.8, Table 18-344, Type 0x0A */
> +typedef struct {
> + uint16_t type;
> + uint16_t source_id;
> + uint16_t related_source_id;
> + uint8_t flags;
> + uint8_t enabled;
> + uint32_t number_of_records_to_preallocate;
> + uint32_t max_sections_per_record;
> + uint32_t max_raw_data_length;
> + fwts_acpi_gas error_status_address;
> + fwts_acpi_table_hest_hardware_error_notification notification;
> + uint32_t error_status_block_length;
> + fwts_acpi_gas read_ack_register;
> + uint64_t read_ack_preserve;
> + uint64_t read_ack_write;
> +} __attribute__ ((packed)) fwts_acpi_table_hest_generic_hardware_error_source_v2;
> +
> void fwts_acpi_table_get_header(fwts_acpi_table_header *hdr, uint8_t *data);
>
> /*
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list