/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | cpu.c | 155 int ecache_size; /* External cache size */ in display_cpus() local 166 ecache_size = get_ecache_size(cpu); in display_cpus() 185 if (ecache_size == 0) in display_cpus() 189 (float)ecache_size / (float)(1<<20), in display_cpus()
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_cheetah_asm.S | 58 #define ECACHE_REFLUSH_LINE(ecache_size, alias_address, scr2) \ argument 61 #define ECACHE_FLUSH_LINE(physaddr, ecache_size, scr1, scr2) \ argument 62 xor physaddr, ecache_size, scr1; \ 63 add ecache_size, ecache_size, scr2; \ 68 ECACHE_REFLUSH_LINE(ecache_size, scr1, scr2)
|
H A D | opl_olympus.c | 268 "l2-cache-size", &ecache_size, OPL_ECACHE_SIZE, in cpu_fiximp() 276 ecache_setsize = ecache_size / ecache_associativity; in cpu_fiximp() 543 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size); 1351 flush_ecache(ecache_flushaddr, cpunodes[CPU->cpu_id].ecache_size, 1598 adjust_hw_copy_limits(int ecache_size) argument 1661 min_ecache_size = ecache_size; 1669 if (ecache_size == min_ecache_size) { 1683 if ((ecache_size > 1048576) && 1685 if (ecache_size <= 2097152) 1688 else if (ecache_size <= 4194304) [all …]
|
H A D | us3_cheetah.c | 123 "ecache-size", &ecache_size, CH_ECACHE_MAX_SIZE, in cpu_fiximp() 131 ecache_setsize = ecache_size / ecache_associativity; in cpu_fiximp() 641 chprp->chpr_ec_set_size = cpunodes[cp->cpu_id].ecache_size / in cpu_init_private() 644 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size); in cpu_init_private()
|
H A D | spitfire.c | 565 "ecache-size", &ecache_size, in cpu_fiximp() 578 ecache_setsize = ecache_size / ecache_associativity; in cpu_fiximp() 607 if (ecache_size <= 524288) { in cpu_fiximp() 611 } else if (ecache_size == 1048576) { in cpu_fiximp() 615 } else if (ecache_size == 2097152) { in cpu_fiximp() 619 } else if (ecache_size == 4194304) { in cpu_fiximp() 1025 cpunodes[CPU->cpu_id].ecache_size); in cpu_ce_scrub_mem_err() 1456 ec_set_size = cpunodes[CPU->cpu_id].ecache_size / in cpu_async_error() 1511 cpunodes[CPU->cpu_id].ecache_size); in cpu_async_error() 1755 flush_ecache(ecache_flushaddr, cpunodes[CPU->cpu_id].ecache_size * 2, in cpu_async_error() [all …]
|
H A D | us3_jalapeno.c | 157 "ecache-size", &ecache_size, JP_ECACHE_MAX_SIZE, in cpu_fiximp() 165 ecache_setsize = ecache_size / ecache_associativity; in cpu_fiximp() 863 chprp->chpr_ec_set_size = cpunodes[cp->cpu_id].ecache_size / in cpu_init_private() 866 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size); in cpu_init_private()
|
H A D | us3_cheetahplus.c | 122 ecache_size = CH_ECACHE_MAX_SIZE; in cpu_fiximp() 130 ASSERT(ecache_setsize >= (ecache_size / ecache_associativity)); in cpu_fiximp() 152 ecache_size = PN_L3_SIZE; in cpu_fix_allpanther() 156 ASSERT(ecache_setsize >= (ecache_size / ecache_associativity)); in cpu_fix_allpanther() 869 chprp->chpr_ec_set_size = cpunodes[cp->cpu_id].ecache_size / in cpu_init_private() 872 adjust_hw_copy_limits(cpunodes[cp->cpu_id].ecache_size); in cpu_init_private()
|
H A D | us3_common.c | 2887 totalsize = cpunodes[CPU->cpu_id].ecache_size; in cpu_ce_scrub_mem_err_common() 3807 flush_ecache(ecache_flushaddr, cpunodes[CPU->cpu_id].ecache_size, in cpu_flush_ecache() 3825 return (cpunodes[cp->cpu_id].ecache_size / cpu_ecache_nway()); in cpu_ecache_set_size() 3879 int totalsize = cpunodes[CPU->cpu_id].ecache_size; in cpu_ecache_line_valid() 3924 totalsize = cpunodes[CPU->cpu_id].ecache_size; in cpu_matching_ecache_line() 5811 csmp->chsm_ecache_nlines = cpunodes[cpuid].ecache_size / 6818 adjust_hw_copy_limits(int ecache_size) argument 6881 min_ecache_size = ecache_size; 6889 if (ecache_size == min_ecache_size) { 6903 if ((ecache_size > 1048576) && [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | machsystm.h | 261 extern int ecache_size; /* Maximum ecache size */ 343 extern void scrubphys(uint64_t paddr, int ecache_size); 344 extern void clearphys(uint64_t paddr, int ecache_size, int ecache_linesize); 345 extern void flushecacheline(uint64_t paddr, int ecache_size);
|
H A D | machcpuvar.h | 189 int ecache_size; member
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | fillsysinfo.c | 556 cpunode->ecache_size = size; in fill_cpu() 576 cpunode->ecache_size = size; in fill_cpu() 605 cpunode->ecache_size / cpunode->ecache_associativity; in fill_cpu() 768 cpunode->ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, in fill_cpu_ddi() 770 if (cpunode->ecache_size == 0) in fill_cpu_ddi() 771 cpunode->ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, in fill_cpu_ddi() 773 ASSERT(cpunode->ecache_size != 0); in fill_cpu_ddi() 789 cpunode->ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, in fill_cpu_ddi() 791 ASSERT(cpunode->ecache_size != 0); in fill_cpu_ddi() 815 cpunode->ecache_size / cpunode->ecache_associativity; in fill_cpu_ddi()
|
H A D | mach_startup.c | 509 flush_size = ecache_size * 2; in ecache_flush_address() 511 ret_val = P2ROUNDUP(pmem->ml_address, ecache_size); in ecache_flush_address() 535 ecache_size); in phys_install_has_changed()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | cherrystone.c | 118 int ecache_size; in display_cpus() local 141 ecache_size = get_ecache_size(cpu); in display_cpus() 162 ecache_size_prev = ecache_size; in display_cpus() 178 ecache_size += ecache_size_prev; in display_cpus() 196 if (ecache_size == 0) in display_cpus() 200 (float)ecache_size / (float)(1<<20)); in display_cpus()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/ |
H A D | daktari.c | 317 int ecache_size; /* External cache size */ in display_cpus() local 339 ecache_size = get_ecache_size(cpu); in display_cpus() 362 ecache_size_prev = ecache_size; in display_cpus() 378 ecache_size += ecache_size_prev; in display_cpus() 397 if (ecache_size == 0) in display_cpus() 402 (float)ecache_size / (float)(1<<20)); in display_cpus()
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | generic.c | 123 if (cpunode->ecache_size == 0) in cpu_fiximp() 124 cpunode->ecache_size = 0x100000; in cpu_fiximp()
|
H A D | niagara.c | 164 if (cpunode->ecache_size == 0) in cpu_fiximp() 165 cpunode->ecache_size = MB(3); in cpu_fiximp()
|
H A D | niagara2.c | 191 if (cpunode->ecache_size == 0) in cpu_fiximp() 192 cpunode->ecache_size = L2CACHE_SIZE; in cpu_fiximp()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | gptwo_cpu.c | 466 int ecache_size, ecache_line_size; in set_cpu_us3_props() local 568 ecache_size = pcd->spcd_cache * 0x100000; in set_cpu_us3_props() 571 "ecache-size", ecache_size) != DDI_SUCCESS) { in set_cpu_us3_props() 577 switch (ecache_size) { in set_cpu_us3_props() 589 "ecache-size 0x%x\b", ecache_size); in set_cpu_us3_props()
|
H A D | sbd_cpu.c | 80 int ecache_size = 0; in sbd_cpu_set_prop() local 113 ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, dip, in sbd_cpu_set_prop() 121 ASSERT(ecache_size != 0); in sbd_cpu_set_prop() 125 cp->sbc_ecache = ecache_size / (1024 * 1024); in sbd_cpu_set_prop()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_cpu.c | 139 int ecache_size = 0; in dr_cpu_set_prop() local 198 ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0, in dr_cpu_set_prop() 202 ASSERT(ecache_size != 0); in dr_cpu_set_prop() 206 cp->sbc_ecache = ecache_size / (1024 * 1024); in dr_cpu_set_prop()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/ |
H A D | littleneck.c | 165 int ecache_size; /* External cache size */ in display_cpus() local 172 ecache_size = get_ecache_size(cpu); in display_cpus() 201 if (ecache_size == 0) in display_cpus() 205 (float)ecache_size / (float)(1<<20)); in display_cpus()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/ |
H A D | serengeti.c | 997 int ecache_size; /* External cache size */ in display_cpus() local 1021 ecache_size = get_ecache_size(cpu); in display_cpus() 1068 ecache_size_prev = ecache_size; in display_cpus() 1084 ecache_size += ecache_size_prev; in display_cpus() 1092 ecache_size_prev = ecache_size; in display_cpus() 1125 if (ecache_size == 0) in display_cpus() 1129 (float)ecache_size / (float)(1<<20), in display_cpus()
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_cpu.c | 117 int ecache_size = 0; in dr_cpu_set_prop() local 157 ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0, in dr_cpu_set_prop() 163 cp->sbc_ecache = ecache_size / (1024 * 1024); in dr_cpu_set_prop()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machcpuvar.h | 230 int ecache_size; member
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 85 int ecache_size; variable
|