Lines Matching refs:cm_error
374 u64 cm_error, cm_addr, cm_other; in mips_cm_error_report() local
383 cm_error = read_gcr_error_cause(); in mips_cm_error_report()
388 cause = FIELD_GET(CM_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
395 unsigned long cca_bits = (cm_error >> 15) & 7; in mips_cm_error_report()
396 unsigned long tr_bits = (cm_error >> 12) & 7; in mips_cm_error_report()
397 unsigned long cmd_bits = (cm_error >> 7) & 0x1f; in mips_cm_error_report()
398 unsigned long stag_bits = (cm_error >> 3) & 15; in mips_cm_error_report()
399 unsigned long sport_bits = (cm_error >> 0) & 7; in mips_cm_error_report()
407 unsigned long c3_bits = (cm_error >> 18) & 7; in mips_cm_error_report()
408 unsigned long c2_bits = (cm_error >> 15) & 7; in mips_cm_error_report()
409 unsigned long c1_bits = (cm_error >> 12) & 7; in mips_cm_error_report()
410 unsigned long c0_bits = (cm_error >> 9) & 7; in mips_cm_error_report()
411 unsigned long sc_bit = (cm_error >> 8) & 1; in mips_cm_error_report()
412 unsigned long cmd_bits = (cm_error >> 3) & 0x1f; in mips_cm_error_report()
413 unsigned long sport_bits = (cm_error >> 0) & 7; in mips_cm_error_report()
423 unsigned long muc_bit = (cm_error >> 23) & 1; in mips_cm_error_report()
424 unsigned long ins_bits = (cm_error >> 18) & 0x1f; in mips_cm_error_report()
425 unsigned long arr_bits = (cm_error >> 16) & 3; in mips_cm_error_report()
426 unsigned long dw_bits = (cm_error >> 12) & 15; in mips_cm_error_report()
427 unsigned long way_bits = (cm_error >> 9) & 7; in mips_cm_error_report()
428 unsigned long mway_bit = (cm_error >> 8) & 1; in mips_cm_error_report()
429 unsigned long syn_bits = (cm_error >> 0) & 0xFF; in mips_cm_error_report()
439 pr_err("CM_ERROR=%08llx %s <%s>\n", cm_error, in mips_cm_error_report()
447 cause = FIELD_GET(CM3_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
454 core_id_bits = (cm_error >> 22) & 0xf; in mips_cm_error_report()
455 vp_id_bits = (cm_error >> 18) & 0xf; in mips_cm_error_report()
456 cmd_bits = (cm_error >> 14) & 0xf; in mips_cm_error_report()
457 cmd_group_bits = (cm_error >> 11) & 0xf; in mips_cm_error_report()
458 cm3_cca_bits = (cm_error >> 8) & 7; in mips_cm_error_report()
459 mcp_bits = (cm_error >> 5) & 0xf; in mips_cm_error_report()
460 cm3_tr_bits = (cm_error >> 1) & 0xf; in mips_cm_error_report()
461 sched_bit = cm_error & 0x1; in mips_cm_error_report()
464 unsigned long tag_ecc = (cm_error >> 57) & 0x1; in mips_cm_error_report()
465 unsigned long tag_way_bits = (cm_error >> 29) & 0xffff; in mips_cm_error_report()
466 unsigned long dword_bits = (cm_error >> 49) & 0xff; in mips_cm_error_report()
467 unsigned long data_way_bits = (cm_error >> 45) & 0xf; in mips_cm_error_report()
468 unsigned long data_sets_bits = (cm_error >> 29) & 0xfff; in mips_cm_error_report()
469 unsigned long bank_bit = (cm_error >> 28) & 0x1; in mips_cm_error_report()
485 unsigned long data_error_type = (cm_error >> 41) & 0xfff; in mips_cm_error_report()
486 unsigned long data_decode_cmd = (cm_error >> 37) & 0xf; in mips_cm_error_report()
487 unsigned long data_decode_group = (cm_error >> 34) & 0x7; in mips_cm_error_report()
488 unsigned long data_decode_destination_id = (cm_error >> 28) & 0x3f; in mips_cm_error_report()
507 pr_err("CM_ERROR=%llx %s <%s>\n", cm_error, in mips_cm_error_report()
514 write_gcr_error_cause(cm_error); in mips_cm_error_report()