Go to the documentation of this file.
21 #ifndef __ARCH_CHIP_H__
22 #define __ARCH_CHIP_H__
37 #define TILE_CHIP_REV 0
40 #define CHIP_ARCH_NAME "tilepro"
43 #define CHIP_ELF_TYPE() EM_TILEPRO
46 #define CHIP_COMPAT_ELF_TYPE() 0x2507
49 #define CHIP_WORD_SIZE() 32
54 #define CHIP_VA_WIDTH() 32
57 #define CHIP_PA_WIDTH() 36
60 #define CHIP_L2_CACHE_SIZE() 65536
63 #define CHIP_L2_LOG_LINE_SIZE() 6
66 #define CHIP_L2_LINE_SIZE() (1 << CHIP_L2_LOG_LINE_SIZE())
69 #define CHIP_L2_ASSOC() 4
72 #define CHIP_L1D_CACHE_SIZE() 8192
75 #define CHIP_L1D_LOG_LINE_SIZE() 4
78 #define CHIP_L1D_LINE_SIZE() (1 << CHIP_L1D_LOG_LINE_SIZE())
81 #define CHIP_L1D_ASSOC() 2
84 #define CHIP_L1I_CACHE_SIZE() 16384
87 #define CHIP_L1I_LOG_LINE_SIZE() 6
90 #define CHIP_L1I_LINE_SIZE() (1 << CHIP_L1I_LOG_LINE_SIZE())
93 #define CHIP_L1I_ASSOC() 1
96 #define CHIP_FLUSH_STRIDE() CHIP_L2_LINE_SIZE()
99 #define CHIP_INV_STRIDE() CHIP_L2_LINE_SIZE()
102 #define CHIP_FINV_STRIDE() CHIP_L2_LINE_SIZE()
105 #define CHIP_HAS_COHERENT_LOCAL_CACHE() 1
108 #define CHIP_MAX_OUTSTANDING_VICTIMS() 4
111 #define CHIP_HAS_NC_AND_NOALLOC_BITS() 1
114 #define CHIP_HAS_CBOX_HOME_MAP() 1
117 #define CHIP_CBOX_HOME_MAP_SIZE() 64
121 #define CHIP_HAS_ENFORCED_UNCACHEABLE_REQUESTS() 1
124 #define CHIP_HAS_MF_WAITS_FOR_VICTIMS() 0
127 #define CHIP_HAS_INV() 1
130 #define CHIP_HAS_WH64() 1
133 #define CHIP_HAS_DWORD_ALIGN() 1
136 #define CHIP_PERFORMANCE_COUNTERS() 4
139 #define CHIP_HAS_AUX_PERF_COUNTERS() 1
142 #define CHIP_HAS_CBOX_MSR1() 1
145 #define CHIP_HAS_TILE_RTF_HWM() 1
148 #define CHIP_HAS_TILE_WRITE_PENDING() 1
151 #define CHIP_HAS_PROC_STATUS_SPR() 1
154 #define CHIP_HAS_DSTREAM_PF() 0
157 #define CHIP_LOG_NUM_MSHIMS() 2
160 #define CHIP_HAS_FIXED_INTVEC_BASE() 1
163 #define CHIP_HAS_SPLIT_INTR_MASK() 1
166 #define CHIP_HAS_SPLIT_CYCLE() 1
169 #define CHIP_HAS_SN() 1
172 #define CHIP_HAS_SN_PROC() 0
178 #define CHIP_HAS_TILE_DMA() 1
185 #define CHIP_HAS_REV1_XDN() 0
188 #define CHIP_HAS_CMPEXCH() 0
191 #define CHIP_HAS_MMIO() 0
194 #define CHIP_HAS_POST_COMPLETION_INTERRUPTS() 0
197 #define CHIP_HAS_SINGLE_STEP() 0
199 #ifndef __OPEN_SOURCE__
202 #define CHIP_ITLB_ENTRIES() 16
205 #define CHIP_DTLB_ENTRIES() 16
208 #define CHIP_XAUI_MAF_ENTRIES() 32
211 #define CHIP_HAS_MSHIM_SRCID_TABLE() 0
214 #define CHIP_HAS_L1I_CLEAR_ON_RESET() 1
219 #define CHIP_HAS_VALID_TILE_COORD_RESET() 1
222 #define CHIP_HAS_UNIFIED_PACKET_FORMATS() 1
225 #define CHIP_HAS_WRITE_REORDERING() 1
228 #define CHIP_HAS_Y_X_ROUTING() 1
231 #define CHIP_HAS_INTCTRL_3_STATUS_FIX() 1
234 #define CHIP_HAS_BIG_ENDIAN_CONFIG() 1
237 #define CHIP_HAS_CACHE_RED_WAY_OVERRIDDEN() 1
240 #define CHIP_HAS_DIAG_TRACE_WAY() 1
243 #define CHIP_HAS_MEM_STRIPE_CONFIG() 1
246 #define CHIP_HAS_TLB_PERF() 1
249 #define CHIP_HAS_VDN_SNOOP_SHIM_CTL() 1
252 #define CHIP_HAS_REV1_DMA_PACKETS() 1
255 #define CHIP_HAS_IPI() 0