Lines Matching +full:4 +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()
188 " sll %4, $1, 0 \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 */
306 for (j=0; j<4; j++) { in inst_parity()
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()
337 " cache 4, 0(%3) \n\t" in extract_ic()
344 : "r" ((way << 13) | addr)); in extract_ic()
347 if (way == 0) { in extract_ic()
354 ((lru >> 4) & 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()
385 for (offset = 0; offset < 4; offset++) { in extract_ic()
386 /* Index-load-data-I */ in extract_ic()
399 : "r" ((way << 13) | addr | (offset << 3))); in extract_ic()
406 if (((datahi >> 4) & 0xf) ^ inst_parity(insta)) { 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()
498 : "r" ((way << 13) | addr)); in extract_dc()
502 if (way == 0) { in extract_dc()
509 ((lru >> 4) & 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()
535 for (offset = 0; offset < 4; offset++) { 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()
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()
564 !!(bad_ecc & 8), !!(bad_ecc & 4), in extract_dc()