Lines Matching refs:cm_error
326 u64 cm_error, cm_addr, cm_other; in mips_cm_error_report() local
337 cm_error = read_gcr_error_cause(); in mips_cm_error_report()
340 cause = cm_error >> CM_GCR_ERROR_CAUSE_ERRTYPE_SHF; in mips_cm_error_report()
347 unsigned long cca_bits = (cm_error >> 15) & 7; in mips_cm_error_report()
348 unsigned long tr_bits = (cm_error >> 12) & 7; in mips_cm_error_report()
349 unsigned long cmd_bits = (cm_error >> 7) & 0x1f; in mips_cm_error_report()
350 unsigned long stag_bits = (cm_error >> 3) & 15; in mips_cm_error_report()
351 unsigned long sport_bits = (cm_error >> 0) & 7; in mips_cm_error_report()
359 unsigned long c3_bits = (cm_error >> 18) & 7; in mips_cm_error_report()
360 unsigned long c2_bits = (cm_error >> 15) & 7; in mips_cm_error_report()
361 unsigned long c1_bits = (cm_error >> 12) & 7; in mips_cm_error_report()
362 unsigned long c0_bits = (cm_error >> 9) & 7; in mips_cm_error_report()
363 unsigned long sc_bit = (cm_error >> 8) & 1; in mips_cm_error_report()
364 unsigned long cmd_bits = (cm_error >> 3) & 0x1f; in mips_cm_error_report()
365 unsigned long sport_bits = (cm_error >> 0) & 7; in mips_cm_error_report()
375 pr_err("CM_ERROR=%08llx %s <%s>\n", cm_error, in mips_cm_error_report()
383 cm_error = read64_gcr_error_cause(); in mips_cm_error_report()
386 cause = cm_error >> CM3_GCR_ERROR_CAUSE_ERRTYPE_SHF; in mips_cm_error_report()
393 core_id_bits = (cm_error >> 22) & 0xf; in mips_cm_error_report()
394 vp_id_bits = (cm_error >> 18) & 0xf; in mips_cm_error_report()
395 cmd_bits = (cm_error >> 14) & 0xf; in mips_cm_error_report()
396 cmd_group_bits = (cm_error >> 11) & 0xf; in mips_cm_error_report()
397 cm3_cca_bits = (cm_error >> 8) & 7; in mips_cm_error_report()
398 mcp_bits = (cm_error >> 5) & 0xf; in mips_cm_error_report()
399 cm3_tr_bits = (cm_error >> 1) & 0xf; in mips_cm_error_report()
400 sched_bit = cm_error & 0x1; in mips_cm_error_report()
403 unsigned long tag_ecc = (cm_error >> 57) & 0x1; in mips_cm_error_report()
404 unsigned long tag_way_bits = (cm_error >> 29) & 0xffff; in mips_cm_error_report()
405 unsigned long dword_bits = (cm_error >> 49) & 0xff; in mips_cm_error_report()
406 unsigned long data_way_bits = (cm_error >> 45) & 0xf; in mips_cm_error_report()
407 unsigned long data_sets_bits = (cm_error >> 29) & 0xfff; in mips_cm_error_report()
408 unsigned long bank_bit = (cm_error >> 28) & 0x1; in mips_cm_error_report()
424 unsigned long data_error_type = (cm_error >> 41) & 0xfff; in mips_cm_error_report()
425 unsigned long data_decode_cmd = (cm_error >> 37) & 0xf; in mips_cm_error_report()
426 unsigned long data_decode_group = (cm_error >> 34) & 0x7; in mips_cm_error_report()
427 unsigned long data_decode_destination_id = (cm_error >> 28) & 0x3f; in mips_cm_error_report()
446 pr_err("CM_ERROR=%llx %s <%s>\n", cm_error, in mips_cm_error_report()
453 write_gcr_error_cause(cm_error); in mips_cm_error_report()