Lines Matching +full:all +full:- +full:outputs +full:- +full:2

1 /* SPDX-License-Identifier: GPL-2.0 */
18 * -----------------------------------------------------------
19 * |impl-vers| RSV |TC|AC|SP|BM|PC|MBM|SB|IC|DC|PSO|RSV|NF|ME|
20 * -----------------------------------------------------------
21 * 31 24 23-17 16 15 14 13 12 11 10 9 8 7 6-2 1 0
23 * TC: Tablewalk Cacheable -- 0 = Twalks are not cacheable in E-cache
24 * 1 = Twalks are cacheable in E-cache
26 * GNU/Viking will only cache tablewalks in the E-cache (mxcc) if present
28 * for machines lacking an E-cache (ie. in MBUS mode) this bit must
31 * AC: Alternate Cacheable -- 0 = Passthru physical accesses not cacheable
35 * is present in the pte when the processor is in boot-mode or the
36 * access does not need pte's for translation (ie. pass-thru ASI's).
37 * "Cachable" is only referring to E-cache (if present) and not the
40 * SP: SnooP Enable -- 0 = bus snooping off, 1 = bus snooping on
44 * to work at all. On non-mxcc GNU/Viking modules the split I/D
48 * not affect GNU/Viking store-buffer snoops, those happen if the
49 * store-buffer is enabled no matter what.
51 * BM: Boot Mode -- 0 = not in boot mode, 1 = in boot mode
53 * This indicates whether the GNU/Viking is in boot-mode or not,
54 * if it is then all instruction fetch physical addresses are
56 * GNU/Viking boot-mode does not affect data accesses. Also,
60 * MBM: MBus Mode -- 0 = not in MBus mode, 1 = in MBus mode
63 * MBUS mode, the GNU/Viking lacks a GNU/MXCC E-cache. If it is
66 * to either an GNU/MBUS (sun4m) or the packet-switched GNU/XBus (sun4d).
68 * SB: StoreBuffer enable -- 0 = store buffer off, 1 = store buffer on
72 * caches during that cycle. If disabled, all stores operations
75 * IC: Instruction Cache -- 0 = off, 1 = on
76 * DC: Data Cache -- 0 = off, 1 = 0n
78 * These bits enable the on-cpu GNU/Viking split I/D caches. Note,
82 * NF: No Fault -- 0 = faults generate traps, 1 = faults don't trap
83 * ME: MMU enable -- 0 = mmu not translating, 1 = mmu translating
98 #define VIKING_TCENABLE 0x00010000 /* Enable table-walks to be cached */
118 : /* no outputs */ in viking_flush_icache()
126 : /* no outputs */ in viking_flush_dcache()
134 : /* no outputs */ in viking_unlock_icache()
142 : /* no outputs */ in viking_unlock_dcache()
150 : /* no outputs */ in viking_set_bpreg()
172 __asm__ __volatile__ ("ldda [%2] %3, %%g2\n\t" in viking_get_dcache_ptag()
193 "bne 2f\n\t" in viking_mxcc_turn_off_parity()
197 "sta %1, [%2] %4\n\t" in viking_mxcc_turn_off_parity()
201 "2:\n\t" in viking_mxcc_turn_off_parity()
203 "sta %1, [%2] %4\n" in viking_mxcc_turn_off_parity()
219 /* Probe all MMU entries. */ in viking_hwprobe()
220 __asm__ __volatile__("lda [%1] %2, %0\n\t" in viking_hwprobe()
227 __asm__ __volatile__("lda [%1] %2, %0\n\t" in viking_hwprobe()
237 __asm__ __volatile__("lda [%1] %2, %0\n\t" in viking_hwprobe()
247 __asm__ __volatile__("lda [%1] %2, %0\n\t" in viking_hwprobe()