Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parisc: Imporove debug info about space registers and TLB configuration

Signed-off-by: Helge Deller <deller@gmx.de>

+23 -5
+1 -1
arch/parisc/include/asm/pdc.h
··· 63 63 tc_page : 1, /* 0 = 2K page-size-machine, 1 = 4k page size */ 64 64 tc_cst : 3, /* 0 = incoherent operations, else coherent operations */ 65 65 tc_aid : 5, /* ITLB: width of access ids of processor (encoded!) */ 66 - tc_pad1 : 8; /* ITLB: width of space-registers (encoded) */ 66 + tc_sr : 8; /* ITLB: width of space-registers (encoded) */ 67 67 }; 68 68 69 69 struct pdc_cache_info { /* main-PDC_CACHE-structure (caches & TLB's) */
+22 -4
arch/parisc/kernel/cache.c
··· 172 172 cache_info.ic_count, 173 173 cache_info.ic_loop); 174 174 175 + printk("IT base 0x%lx stride 0x%lx count 0x%lx loop 0x%lx off_base 0x%lx off_stride 0x%lx off_count 0x%lx\n", 176 + cache_info.it_sp_base, 177 + cache_info.it_sp_stride, 178 + cache_info.it_sp_count, 179 + cache_info.it_loop, 180 + cache_info.it_off_base, 181 + cache_info.it_off_stride, 182 + cache_info.it_off_count); 183 + 184 + printk("DT base 0x%lx stride 0x%lx count 0x%lx loop 0x%lx off_base 0x%lx off_stride 0x%lx off_count 0x%lx\n", 185 + cache_info.dt_sp_base, 186 + cache_info.dt_sp_stride, 187 + cache_info.dt_sp_count, 188 + cache_info.dt_loop, 189 + cache_info.dt_off_base, 190 + cache_info.dt_off_stride, 191 + cache_info.dt_off_count); 192 + 175 193 printk("ic_conf = 0x%lx alias %d blk %d line %d shift %d\n", 176 194 *(unsigned long *) (&cache_info.ic_conf), 177 195 cache_info.ic_conf.cc_alias, ··· 202 184 cache_info.ic_conf.cc_cst, 203 185 cache_info.ic_conf.cc_hv); 204 186 205 - printk("D-TLB conf: sh %d page %d cst %d aid %d pad1 %d\n", 187 + printk("D-TLB conf: sh %d page %d cst %d aid %d sr %d\n", 206 188 cache_info.dt_conf.tc_sh, 207 189 cache_info.dt_conf.tc_page, 208 190 cache_info.dt_conf.tc_cst, 209 191 cache_info.dt_conf.tc_aid, 210 - cache_info.dt_conf.tc_pad1); 192 + cache_info.dt_conf.tc_sr); 211 193 212 - printk("I-TLB conf: sh %d page %d cst %d aid %d pad1 %d\n", 194 + printk("I-TLB conf: sh %d page %d cst %d aid %d sr %d\n", 213 195 cache_info.it_conf.tc_sh, 214 196 cache_info.it_conf.tc_page, 215 197 cache_info.it_conf.tc_cst, 216 198 cache_info.it_conf.tc_aid, 217 - cache_info.it_conf.tc_pad1); 199 + cache_info.it_conf.tc_sr); 218 200 #endif 219 201 220 202 split_tlb = 0;