Lines Matching full:error

26 #include "qemu/error-report.h"
34 /* The max size in bytes for one error block */
37 /* Generic Hardware Error Source version 2 */
44 * The total size of Generic Error Data Entry
45 * ACPI 6.1/6.2: 18.3.2.7.1 Generic Error Data,
46 * Table 18-343 Generic Error Data Entry
50 /* The memory section CPER size, UEFI 2.6: N.2.5 Memory Error Section */
57 * Total size for Generic Error Status Block except Generic Error Data Entries
58 * ACPI 6.2: 18.3.2.7.1 Generic Error Data,
59 * Table 18-380 Generic Error Status Block
74 * Hardware Error Notification
75 * ACPI 4.0: 17.3.2.7 Hardware Error Notification
76 * Composes dummy Hardware Error Notification descriptor of specified type
97 /* Error Threshold Value */ in build_ghes_hw_error_notification()
99 /* Error Threshold Window */ in build_ghes_hw_error_notification()
104 * Generic Error Data Entry
105 * ACPI 6.1: 18.3.2.7.1 Generic Error Data
118 /* Error Severity */ in acpi_ghes_generic_error_data()
126 /* Error Data Length */ in acpi_ghes_generic_error_data()
140 * Generic Error Status Block
141 * ACPI 6.1: 18.3.2.7.1 Generic Error Data
155 /* Error Severity */ in acpi_ghes_generic_error_status()
159 /* UEFI 2.6: N.2.5 Memory Error Section */
164 * Memory Error Record in acpi_ghes_build_append_mem_cper()
172 /* Error Status */ in acpi_ghes_build_append_mem_cper()
178 /* Memory Error Type */ in acpi_ghes_build_append_mem_cper()
179 build_append_int_noprefix(table, 0 /* Unknown error */, 1); in acpi_ghes_build_append_mem_cper()
189 /* invalid fru id: ACPI 4.0: 17.3.2.6.1 Generic Error Data, in ghes_gen_err_data_uncorrectable_recoverable()
190 * Table 17-13 Generic Error Data Entry in ghes_gen_err_data_uncorrectable_recoverable()
194 /* Build the new generic error status block header */ in ghes_gen_err_data_uncorrectable_recoverable()
198 /* Build this new generic error data entry header */ in ghes_gen_err_data_uncorrectable_recoverable()
205 * Build table for the hardware error fw_cfg blob.
223 * ACPI 6.2: 18.3.2.8 Generic Hardware Error Source version 2 in build_ghes_error_table()
229 /* Generic Error Status Block offset in the hardware error fw_cfg blob */ in build_ghes_error_table()
232 /* Reserve space for Error Status Data Block */ in build_ghes_error_table()
243 * corresponding "Generic Error Status Block" in build_ghes_error_table()
263 /* Build Generic Hardware Error Source version 2 (GHESv2) */
273 * Generic Hardware Error Source version 2(GHESv2 - Type 10) in build_ghes_v2()
293 /* Error Status Address */ in build_ghes_v2()
305 /* Error Status Block Length */ in build_ghes_v2()
310 * ACPI 6.1: 18.3.2.8 Generic Hardware Error Source in build_ghes_v2()
333 /* Build Hardware Error Source Table */
345 /* Error Source Count */ in acpi_build_hest()
394 uint16_t source_id, Error **errp) in ghes_record_cper_errors()
418 error_setg(errp, "can not find Generic Error Status Block"); in ghes_record_cper_errors()
425 /* zero means OSPM does not acknowledge the error */ in ghes_record_cper_errors()
428 "OSPM does not acknowledge previous error," in ghes_record_cper_errors()
429 " so can not record CPER for current error anymore"); in ghes_record_cper_errors()
436 * it acknowledges the error. in ghes_record_cper_errors()
441 /* Write the generic error data entry into guest memory */ in ghes_record_cper_errors()
447 /* Memory Error Section Type */ in acpi_ghes_memory_errors()
451 Error *errp = NULL; in acpi_ghes_memory_errors()
460 * error data entry in acpi_ghes_memory_errors()
467 /* Build the memory section CPER for above new generic error data entry */ in acpi_ghes_memory_errors()
470 /* Report the error */ in acpi_ghes_memory_errors()