Lines Matching refs:cm_error
379 u64 cm_error, cm_addr, cm_other; in mips_cm_error_report() local
388 cm_error = read_gcr_error_cause(); in mips_cm_error_report()
393 cause = FIELD_GET(CM_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
400 unsigned long cca_bits = (cm_error >> 15) & 7; in mips_cm_error_report()
401 unsigned long tr_bits = (cm_error >> 12) & 7; in mips_cm_error_report()
402 unsigned long cmd_bits = (cm_error >> 7) & 0x1f; in mips_cm_error_report()
403 unsigned long stag_bits = (cm_error >> 3) & 15; in mips_cm_error_report()
404 unsigned long sport_bits = (cm_error >> 0) & 7; in mips_cm_error_report()
412 unsigned long c3_bits = (cm_error >> 18) & 7; in mips_cm_error_report()
413 unsigned long c2_bits = (cm_error >> 15) & 7; in mips_cm_error_report()
414 unsigned long c1_bits = (cm_error >> 12) & 7; in mips_cm_error_report()
415 unsigned long c0_bits = (cm_error >> 9) & 7; in mips_cm_error_report()
416 unsigned long sc_bit = (cm_error >> 8) & 1; in mips_cm_error_report()
417 unsigned long cmd_bits = (cm_error >> 3) & 0x1f; in mips_cm_error_report()
418 unsigned long sport_bits = (cm_error >> 0) & 7; in mips_cm_error_report()
428 unsigned long muc_bit = (cm_error >> 23) & 1; in mips_cm_error_report()
429 unsigned long ins_bits = (cm_error >> 18) & 0x1f; in mips_cm_error_report()
430 unsigned long arr_bits = (cm_error >> 16) & 3; in mips_cm_error_report()
431 unsigned long dw_bits = (cm_error >> 12) & 15; in mips_cm_error_report()
432 unsigned long way_bits = (cm_error >> 9) & 7; in mips_cm_error_report()
433 unsigned long mway_bit = (cm_error >> 8) & 1; in mips_cm_error_report()
434 unsigned long syn_bits = (cm_error >> 0) & 0xFF; in mips_cm_error_report()
444 pr_err("CM_ERROR=%08llx %s <%s>\n", cm_error, in mips_cm_error_report()
452 cause = FIELD_GET(CM3_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
459 core_id_bits = (cm_error >> 22) & 0xf; in mips_cm_error_report()
460 vp_id_bits = (cm_error >> 18) & 0xf; in mips_cm_error_report()
461 cmd_bits = (cm_error >> 14) & 0xf; in mips_cm_error_report()
462 cmd_group_bits = (cm_error >> 11) & 0xf; in mips_cm_error_report()
463 cm3_cca_bits = (cm_error >> 8) & 7; in mips_cm_error_report()
464 mcp_bits = (cm_error >> 5) & 0xf; in mips_cm_error_report()
465 cm3_tr_bits = (cm_error >> 1) & 0xf; in mips_cm_error_report()
466 sched_bit = cm_error & 0x1; in mips_cm_error_report()
469 unsigned long tag_ecc = (cm_error >> 57) & 0x1; in mips_cm_error_report()
470 unsigned long tag_way_bits = (cm_error >> 29) & 0xffff; in mips_cm_error_report()
471 unsigned long dword_bits = (cm_error >> 49) & 0xff; in mips_cm_error_report()
472 unsigned long data_way_bits = (cm_error >> 45) & 0xf; in mips_cm_error_report()
473 unsigned long data_sets_bits = (cm_error >> 29) & 0xfff; in mips_cm_error_report()
474 unsigned long bank_bit = (cm_error >> 28) & 0x1; in mips_cm_error_report()
490 unsigned long data_error_type = (cm_error >> 41) & 0xfff; in mips_cm_error_report()
491 unsigned long data_decode_cmd = (cm_error >> 37) & 0xf; in mips_cm_error_report()
492 unsigned long data_decode_group = (cm_error >> 34) & 0x7; in mips_cm_error_report()
493 unsigned long data_decode_destination_id = (cm_error >> 28) & 0x3f; in mips_cm_error_report()
512 pr_err("CM_ERROR=%llx %s <%s>\n", cm_error, in mips_cm_error_report()
519 write_gcr_error_cause(cm_error); in mips_cm_error_report()