ghes.c (274f9a381cd334118e9c84afb3285fe1da97cf87) | ghes.c (9323e79f10e5f5d8fffc3b307776173ca11faeae) |
---|---|
1/* 2 * Support for generating APEI tables and recording CPER for Guests 3 * 4 * Copyright (c) 2020 HUAWEI TECHNOLOGIES CO., LTD. 5 * 6 * Author: Dongjiu Geng <gengdongjiu@huawei.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 235 unchanged lines hidden (view full) --- 244 for (i = 0; i < ACPI_GHES_ERROR_SOURCE_COUNT; i++) { 245 build_append_int_noprefix(hardware_errors, 0, sizeof(uint64_t)); 246 } 247 248 /* Build read_ack_register */ 249 for (i = 0; i < ACPI_GHES_ERROR_SOURCE_COUNT; i++) { 250 /* 251 * Initialize the value of read_ack_register to 1, so GHES can be | 1/* 2 * Support for generating APEI tables and recording CPER for Guests 3 * 4 * Copyright (c) 2020 HUAWEI TECHNOLOGIES CO., LTD. 5 * 6 * Author: Dongjiu Geng <gengdongjiu@huawei.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 235 unchanged lines hidden (view full) --- 244 for (i = 0; i < ACPI_GHES_ERROR_SOURCE_COUNT; i++) { 245 build_append_int_noprefix(hardware_errors, 0, sizeof(uint64_t)); 246 } 247 248 /* Build read_ack_register */ 249 for (i = 0; i < ACPI_GHES_ERROR_SOURCE_COUNT; i++) { 250 /* 251 * Initialize the value of read_ack_register to 1, so GHES can be |
252 * writeable after (re)boot. | 252 * writable after (re)boot. |
253 * ACPI 6.2: 18.3.2.8 Generic Hardware Error Source version 2 254 * (GHESv2 - Type 10) 255 */ 256 build_append_int_noprefix(hardware_errors, 1, sizeof(uint64_t)); 257 } 258 259 /* Generic Error Status Block offset in the hardware error fw_cfg blob */ 260 error_status_block_offset = hardware_errors->len; --- 200 unchanged lines hidden --- | 253 * ACPI 6.2: 18.3.2.8 Generic Hardware Error Source version 2 254 * (GHESv2 - Type 10) 255 */ 256 build_append_int_noprefix(hardware_errors, 1, sizeof(uint64_t)); 257 } 258 259 /* Generic Error Status Block offset in the hardware error fw_cfg blob */ 260 error_status_block_offset = hardware_errors->len; --- 200 unchanged lines hidden --- |