Lines Matching refs:pfx
83 void cper_print_bits(const char *pfx, unsigned int bits, in cper_print_bits() argument
101 len = snprintf(buf, sizeof(buf), "%s%s", pfx, str); in cper_print_bits()
144 static void cper_print_proc_generic(const char *pfx, in cper_print_proc_generic() argument
148 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic()
152 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic()
156 printk("%s""error_type: 0x%02x\n", pfx, proc->proc_error_type); in cper_print_proc_generic()
157 cper_print_bits(pfx, proc->proc_error_type, in cper_print_proc_generic()
162 printk("%s""operation: %d, %s\n", pfx, proc->operation, in cper_print_proc_generic()
166 printk("%s""flags: 0x%02x\n", pfx, proc->flags); in cper_print_proc_generic()
167 cper_print_bits(pfx, proc->flags, proc_flag_strs, in cper_print_proc_generic()
171 printk("%s""level: %d\n", pfx, proc->level); in cper_print_proc_generic()
173 printk("%s""version_info: 0x%016llx\n", pfx, proc->cpu_version); in cper_print_proc_generic()
175 printk("%s""processor_id: 0x%016llx\n", pfx, proc->proc_id); in cper_print_proc_generic()
178 pfx, proc->target_addr); in cper_print_proc_generic()
181 pfx, proc->requestor_id); in cper_print_proc_generic()
184 pfx, proc->responder_id); in cper_print_proc_generic()
186 printk("%s""IP: 0x%016llx\n", pfx, proc->ip); in cper_print_proc_generic()
354 static void cper_print_mem(const char *pfx, const struct cper_sec_mem_err *mem, in cper_print_mem() argument
368 pfx, cper_mem_err_status_str(mem->error_status), in cper_print_mem()
372 pfx, mem->physical_addr); in cper_print_mem()
375 pfx, mem->physical_addr_mask); in cper_print_mem()
378 printk("%s%s\n", pfx, rcd_decode_str); in cper_print_mem()
381 printk("%s""error_type: %d, %s\n", pfx, etype, in cper_print_mem()
385 printk("%s%s\n", pfx, rcd_decode_str); in cper_print_mem()
402 static void cper_print_pcie(const char *pfx, const struct cper_sec_pcie *pcie, in cper_print_pcie() argument
406 printk("%s""port_type: %d, %s\n", pfx, pcie->port_type, in cper_print_pcie()
410 printk("%s""version: %d.%d\n", pfx, in cper_print_pcie()
413 printk("%s""command: 0x%04x, status: 0x%04x\n", pfx, in cper_print_pcie()
417 printk("%s""device_id: %04x:%02x:%02x.%x\n", pfx, in cper_print_pcie()
420 printk("%s""slot: %d\n", pfx, in cper_print_pcie()
422 printk("%s""secondary_bus: 0x%02x\n", pfx, in cper_print_pcie()
424 printk("%s""vendor_id: 0x%04x, device_id: 0x%04x\n", pfx, in cper_print_pcie()
427 printk("%s""class_code: %02x%02x%02x\n", pfx, p[2], p[1], p[0]); in cper_print_pcie()
430 printk("%s""serial number: 0x%04x, 0x%04x\n", pfx, in cper_print_pcie()
435 pfx, pcie->bridge.secondary_status, pcie->bridge.control); in cper_print_pcie()
447 pfx, aer->cor_status, aer->cor_mask); in cper_print_pcie()
449 pfx, aer->uncor_status, aer->uncor_mask); in cper_print_pcie()
451 pfx, aer->uncor_severity); in cper_print_pcie()
452 printk("%sTLP Header: %08x %08x %08x %08x\n", pfx, in cper_print_pcie()
464 static void cper_print_fw_err(const char *pfx, in cper_print_fw_err() argument
471 printk("%s""Firmware Error Record Type: %s\n", pfx, in cper_print_fw_err()
474 printk("%s""Revision: %d\n", pfx, fw_err->revision); in cper_print_fw_err()
478 printk("%s""Record Identifier: %08llx\n", pfx, in cper_print_fw_err()
481 printk("%s""Record Identifier: %pUl\n", pfx, in cper_print_fw_err()
507 print_hex_dump(pfx, "", DUMP_PREFIX_OFFSET, 16, 4, buf, length, true); in cper_print_fw_err()
510 static void cper_print_tstamp(const char *pfx, in cper_print_tstamp() argument
525 printk("%s%ststamp: %02d%02d-%02d-%02d %02d:%02d:%02d\n", pfx, in cper_print_tstamp()
543 cper_estatus_print_section(const char *pfx, struct acpi_hest_generic_data *gdata, in cper_estatus_print_section() argument
551 cper_print_tstamp(pfx, (struct acpi_hest_generic_data_v300 *)gdata); in cper_estatus_print_section()
554 printk("%s""Error %d, type: %s\n", pfx, sec_no, in cper_estatus_print_section()
557 printk("%s""fru_id: %pUl\n", pfx, gdata->fru_id); in cper_estatus_print_section()
559 printk("%s""fru_text: %.20s\n", pfx, gdata->fru_text); in cper_estatus_print_section()
561 snprintf(newpfx, sizeof(newpfx), "%s ", pfx); in cper_estatus_print_section()
650 void cper_estatus_print(const char *pfx, in cper_estatus_print() argument
660 printk("%s%s\n", pfx, in cper_estatus_print()
663 printk("%s""event severity: %s\n", pfx, cper_severity_str(severity)); in cper_estatus_print()
664 snprintf(newpfx, sizeof(newpfx), "%s ", pfx); in cper_estatus_print()