Lines Matching full:generic

3  * APEI Generic Hardware Error Source support
5 * Generic Hardware Error Source provides a way to report platform
13 * For more information about Generic Hardware Error Source, please
104 return ghes->generic->header.type == ACPI_HEST_TYPE_GENERIC_ERROR_V2; in is_hest_type_generic_v2()
116 u8 notify_type = ghes->generic->notify.type; in is_hest_sync_notify()
266 static struct ghes *ghes_new(struct acpi_hest_generic *generic) in ghes_new() argument
276 ghes->generic = generic; in ghes_new()
283 rc = apei_map_generic_address(&generic->error_status_address); in ghes_new()
286 error_block_length = generic->error_block_length; in ghes_new()
290 "generic hardware error source: %d.\n", in ghes_new()
291 error_block_length, generic->header.source_id); in ghes_new()
303 apei_unmap_generic_address(&generic->error_status_address); in ghes_new()
315 apei_unmap_generic_address(&ghes->generic->error_status_address); in ghes_fini()
372 if (len > ghes->generic->error_block_length) { in __ghes_check_estatus()
390 struct acpi_hest_generic *g = ghes->generic; in __ghes_peek_estatus()
510 "Invalid address in generic error data: %#llx\n", in ghes_do_memory_failure()
943 const struct acpi_hest_generic *generic, in __ghes_print_estatus() argument
959 printk("%s""Hardware error from APEI Generic Hardware Error Source: %d\n", in __ghes_print_estatus()
960 pfx_seq, generic->header.source_id); in __ghes_print_estatus()
965 const struct acpi_hest_generic *generic, in ghes_print_estatus() argument
978 __ghes_print_estatus(pfx, generic, estatus); in ghes_print_estatus()
1018 struct acpi_hest_generic *generic, in ghes_estatus_cache_alloc() argument
1042 cache->generic = generic; in ghes_estatus_cache_alloc()
1060 ghes_estatus_cache_add(struct acpi_hest_generic *generic, in ghes_estatus_cache_add() argument
1068 new_cache = ghes_estatus_cache_alloc(generic, estatus); in ghes_estatus_cache_add()
1123 __ghes_print_estatus(KERN_EMERG, ghes->generic, estatus); in __ghes_panic()
1149 if (ghes_print_estatus(NULL, ghes->generic, estatus)) in ghes_proc()
1150 ghes_estatus_cache_add(ghes->generic, estatus); in ghes_proc()
1162 struct acpi_hest_generic *g = ghes->generic; in ghes_add_timer()
1166 pr_warn(FW_WARN GHES_PFX "Poll interval is 0 for generic hardware error source: %d, disabled.\n", in ghes_add_timer()
1241 struct acpi_hest_generic *generic; in ghes_proc_in_irq() local
1262 generic = estatus_node->generic; in ghes_proc_in_irq()
1263 if (ghes_print_estatus(NULL, generic, estatus)) in ghes_proc_in_irq()
1264 ghes_estatus_cache_add(generic, estatus); in ghes_proc_in_irq()
1277 struct acpi_hest_generic *generic; in ghes_print_queued_estatus() local
1290 generic = estatus_node->generic; in ghes_print_queued_estatus()
1291 ghes_print_estatus(NULL, generic, estatus); in ghes_print_queued_estatus()
1327 estatus_node->generic = ghes->generic; in ghes_in_nmi_queue_one_entry()
1533 struct acpi_hest_generic *generic; in ghes_probe() local
1539 generic = *(struct acpi_hest_generic **)ghes_dev->dev.platform_data; in ghes_probe()
1540 if (!generic->enabled) in ghes_probe()
1543 switch (generic->notify.type) { in ghes_probe()
1553 pr_warn(GHES_PFX "Generic hardware error source: %d notified via SEA is not supported\n", in ghes_probe()
1554 generic->header.source_id); in ghes_probe()
1561 …pr_warn(GHES_PFX "Generic hardware error source: %d notified via NMI interrupt is not supported!\n… in ghes_probe()
1562 generic->header.source_id); in ghes_probe()
1568 …pr_warn(GHES_PFX "Generic hardware error source: %d notified via SDE Interface is not supported!\n… in ghes_probe()
1569 generic->header.source_id); in ghes_probe()
1574 …pr_warn(GHES_PFX "Generic hardware error source: %d notified via local interrupt is not supported!… in ghes_probe()
1575 generic->header.source_id); in ghes_probe()
1578 pr_warn(FW_WARN GHES_PFX "Unknown notification type: %u for generic hardware error source: %d\n", in ghes_probe()
1579 generic->notify.type, generic->header.source_id); in ghes_probe()
1584 if (generic->error_block_length < in ghes_probe()
1586 pr_warn(FW_BUG GHES_PFX "Invalid error block length: %u for generic hardware error source: %d\n", in ghes_probe()
1587 generic->error_block_length, generic->header.source_id); in ghes_probe()
1590 ghes = ghes_new(generic); in ghes_probe()
1597 switch (generic->notify.type) { in ghes_probe()
1604 rc = acpi_gsi_to_irq(generic->notify.vector, &ghes->irq); in ghes_probe()
1606 pr_err(GHES_PFX "Failed to map GSI to IRQ for generic hardware error source: %d\n", in ghes_probe()
1607 generic->header.source_id); in ghes_probe()
1613 pr_err(GHES_PFX "Failed to register IRQ for generic hardware error source: %d\n", in ghes_probe()
1614 generic->header.source_id); in ghes_probe()
1671 struct acpi_hest_generic *generic; in ghes_remove() local
1674 generic = ghes->generic; in ghes_remove()
1677 switch (generic->notify.type) { in ghes_remove()