• Home
  • Raw
  • Download

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
99 return ghes->generic->header.type == ACPI_HEST_TYPE_GENERIC_ERROR_V2; in is_hest_type_generic_v2()
223 static struct ghes *ghes_new(struct acpi_hest_generic *generic) in ghes_new() argument
233 ghes->generic = generic; in ghes_new()
240 rc = apei_map_generic_address(&generic->error_status_address); in ghes_new()
243 error_block_length = generic->error_block_length; in ghes_new()
247 "generic hardware error source: %d.\n", in ghes_new()
248 error_block_length, generic->header.source_id); in ghes_new()
260 apei_unmap_generic_address(&generic->error_status_address); in ghes_new()
272 apei_unmap_generic_address(&ghes->generic->error_status_address); in ghes_fini()
329 if (len > ghes->generic->error_block_length) { in __ghes_check_estatus()
347 struct acpi_hest_generic *g = ghes->generic; in __ghes_peek_estatus()
454 "Invalid address in generic error data: %#llx\n", in ghes_do_memory_failure()
672 const struct acpi_hest_generic *generic, in __ghes_print_estatus() argument
688 printk("%s""Hardware error from APEI Generic Hardware Error Source: %d\n", in __ghes_print_estatus()
689 pfx_seq, generic->header.source_id); in __ghes_print_estatus()
694 const struct acpi_hest_generic *generic, in ghes_print_estatus() argument
707 __ghes_print_estatus(pfx, generic, estatus); in ghes_print_estatus()
747 struct acpi_hest_generic *generic, in ghes_estatus_cache_alloc() argument
771 cache->generic = generic; in ghes_estatus_cache_alloc()
795 struct acpi_hest_generic *generic, in ghes_estatus_cache_add() argument
802 new_cache = ghes_estatus_cache_alloc(generic, estatus); in ghes_estatus_cache_add()
844 __ghes_print_estatus(KERN_EMERG, ghes->generic, estatus); in __ghes_panic()
868 if (ghes_print_estatus(NULL, ghes->generic, estatus)) in ghes_proc()
869 ghes_estatus_cache_add(ghes->generic, estatus); in ghes_proc()
881 struct acpi_hest_generic *g = ghes->generic; in ghes_add_timer()
885 pr_warn(FW_WARN GHES_PFX "Poll interval is 0 for generic hardware error source: %d, disabled.\n", in ghes_add_timer()
962 struct acpi_hest_generic *generic; in ghes_proc_in_irq() local
983 generic = estatus_node->generic; in ghes_proc_in_irq()
984 if (ghes_print_estatus(NULL, generic, estatus)) in ghes_proc_in_irq()
985 ghes_estatus_cache_add(generic, estatus); in ghes_proc_in_irq()
1009 struct acpi_hest_generic *generic; in ghes_print_queued_estatus() local
1022 generic = estatus_node->generic; in ghes_print_queued_estatus()
1023 ghes_print_estatus(NULL, generic, estatus); in ghes_print_queued_estatus()
1059 estatus_node->generic = ghes->generic; in ghes_in_nmi_queue_one_entry()
1266 struct acpi_hest_generic *generic; in ghes_probe() local
1272 generic = *(struct acpi_hest_generic **)ghes_dev->dev.platform_data; in ghes_probe()
1273 if (!generic->enabled) in ghes_probe()
1276 switch (generic->notify.type) { in ghes_probe()
1286 pr_warn(GHES_PFX "Generic hardware error source: %d notified via SEA is not supported\n", in ghes_probe()
1287 generic->header.source_id); in ghes_probe()
1294 …pr_warn(GHES_PFX "Generic hardware error source: %d notified via NMI interrupt is not supported!\n… in ghes_probe()
1295 generic->header.source_id); in ghes_probe()
1301 …pr_warn(GHES_PFX "Generic hardware error source: %d notified via SDE Interface is not supported!\n… in ghes_probe()
1302 generic->header.source_id); in ghes_probe()
1307 …pr_warn(GHES_PFX "Generic hardware error source: %d notified via local interrupt is not supported!… in ghes_probe()
1308 generic->header.source_id); in ghes_probe()
1311 pr_warn(FW_WARN GHES_PFX "Unknown notification type: %u for generic hardware error source: %d\n", in ghes_probe()
1312 generic->notify.type, generic->header.source_id); in ghes_probe()
1317 if (generic->error_block_length < in ghes_probe()
1319 pr_warn(FW_BUG GHES_PFX "Invalid error block length: %u for generic hardware error source: %d\n", in ghes_probe()
1320 generic->error_block_length, generic->header.source_id); in ghes_probe()
1323 ghes = ghes_new(generic); in ghes_probe()
1330 switch (generic->notify.type) { in ghes_probe()
1337 rc = acpi_gsi_to_irq(generic->notify.vector, &ghes->irq); in ghes_probe()
1339 pr_err(GHES_PFX "Failed to map GSI to IRQ for generic hardware error source: %d\n", in ghes_probe()
1340 generic->header.source_id); in ghes_probe()
1346 pr_err(GHES_PFX "Failed to register IRQ for generic hardware error source: %d\n", in ghes_probe()
1347 generic->header.source_id); in ghes_probe()
1400 struct acpi_hest_generic *generic; in ghes_remove() local
1403 generic = ghes->generic; in ghes_remove()
1406 switch (generic->notify.type) { in ghes_remove()