Lines Matching +full:2 +full:- +full:way

1 // SPDX-License-Identifier: GPL-2.0-or-later
17 * that unsafe... So for now we don't. (BCM1250/BCM112x erratum SOC-48.)
73 printk(" multiple-buserr"); in breakout_errctl()
80 printk(" tag-parity"); in breakout_cerri()
82 printk(" data-parity"); in breakout_cerri()
114 printk(" multi-err"); in breakout_cerrd()
116 printk(" tag-state"); in breakout_cerrd()
118 printk(" tag-address"); in breakout_cerrd()
120 printk(" data-SBE"); in breakout_cerrd()
122 printk(" data-DBE"); in breakout_cerrd()
185 " mfc0 %2, $27, 1\n\t" in sb1_cache_error()
204 ((eepc & SB1_CACHE_INDEX_MASK) != ((cerr_i & SB1_CACHE_INDEX_MASK) - 4))) in sb1_cache_error()
293 for (i=max-min; i>=0; i--) { in range_parity()
301 /* Calculate the 4-bit even byte-parity for an instruction */
321 unsigned short way; in extract_ic() local
330 for (way = 0; way < 4; way++) { in extract_ic()
331 /* Index-load-tag-I */ in extract_ic()
341 " sll %2, $1, 0 \n\t" in extract_ic()
344 : "r" ((way << 13) | addr)); in extract_ic()
347 if (way == 0) { in extract_ic()
353 ((lru >> 2) & 0x3), in extract_ic()
376 printk(" %d [VA %016llx] [Vld? %d] raw tags: %08X-%016llX\n", in extract_ic()
377 way, va, valid, taghi, taglo); in extract_ic()
386 /* Index-load-data-I */ in extract_ic()
396 " sll %2, $1, 0 \n\t" in extract_ic()
399 : "r" ((way << 13) | addr | (offset << 3))); in extract_ic()
414 printk(" %05X-%08X%08X", datahi, insta, instb); in extract_ic()
431 for (i = 7; i >= 0; i--) in dc_ecc()
452 { 0x0f, "COH-SHD" },
453 { 0x13, "NCO-E-C" },
454 { 0x19, "NCO-E-D" },
455 { 0x16, "COH-E-C" },
456 { 0x1c, "COH-E-D" },
467 while (dsc->val != 0xff) { in dc_state_str()
468 if (dsc->val == state) in dc_state_str()
472 return dsc->name; in dc_state_str()
477 int valid, way; in extract_dc() local
485 for (way = 0; way < 4; way++) { in extract_dc()
491 " cache 5, 0(%3)\n\t" /* Index-load-tag-D */ in extract_dc()
492 " mfc0 %0, $29, 2\n\t" in extract_dc()
493 " dmfc0 $1, $28, 2\n\t" in extract_dc()
495 " sll %2, $1, 0\n\t" in extract_dc()
498 : "r" ((way << 13) | addr)); in extract_dc()
502 if (way == 0) { in extract_dc()
508 ((lru >> 2) & 0x3), in extract_dc()
514 printk(" %d [PA %010llx] [state %s (%02x)] raw tags: %08X-%016llX\n", in extract_dc()
515 way, pa, dc_state_str(state), state, taghi, taglo); in extract_dc()
536 /* Index-load-data-D */ in extract_dc()
542 " cache 7, 0(%3)\n\t" /* Index-load-data-D */ in extract_dc()
546 " sll %2, $1, 0 \n\t" in extract_dc()
549 : "r" ((way << 13) | addr | (offset << 3))); in extract_dc()
554 bad_ecc |= 1 << (3-offset); in extract_dc()
559 printk(" %02X-%016llX", datahi, datalo); in extract_dc()
565 !!(bad_ecc & 2), !!(bad_ecc & 1)); in extract_dc()