Home
last modified time | relevance | path

Searched refs:ecache_size (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/lib/libprtdiag/common/
H A Dcpu.c159 int ecache_size; /* External cache size */ in display_cpus() local
170 ecache_size = get_ecache_size(cpu); in display_cpus()
189 if (ecache_size == 0) in display_cpus()
193 (float)ecache_size / (float)(1<<20), in display_cpus()
/titanic_50/usr/src/uts/sun4u/cpu/
H A Dus3_cheetah_asm.s64 #define ECACHE_REFLUSH_LINE(ecache_size, alias_address, scr2) \ argument
67 #define ECACHE_FLUSH_LINE(physaddr, ecache_size, scr1, scr2) \ argument
68 xor physaddr, ecache_size, scr1; \
69 add ecache_size, ecache_size, scr2; \
74 ECACHE_REFLUSH_LINE(ecache_size, scr1, scr2)
H A Dopl_olympus.c268 "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 Dus3_cheetah.c123 "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 Dspitfire.c565 "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 Dus3_jalapeno.c157 "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 Dus3_cheetahplus.c122 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 Dus3_common.c2886 totalsize = cpunodes[CPU->cpu_id].ecache_size; in cpu_ce_scrub_mem_err_common()
3806 flush_ecache(ecache_flushaddr, cpunodes[CPU->cpu_id].ecache_size, in cpu_flush_ecache()
3824 return (cpunodes[cp->cpu_id].ecache_size / cpu_ecache_nway()); in cpu_ecache_set_size()
3878 int totalsize = cpunodes[CPU->cpu_id].ecache_size; in cpu_ecache_line_valid()
3923 totalsize = cpunodes[CPU->cpu_id].ecache_size; in cpu_matching_ecache_line()
5810 csmp->chsm_ecache_nlines = cpunodes[cpuid].ecache_size /
6817 adjust_hw_copy_limits(int ecache_size) argument
6880 min_ecache_size = ecache_size;
6888 if (ecache_size == min_ecache_size) {
6902 if ((ecache_size > 1048576) &&
[all …]
/titanic_50/usr/src/uts/sun4u/sys/
H A Dmachsystm.h261 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 Dmachcpuvar.h189 int ecache_size; member
/titanic_50/usr/src/uts/sun4u/os/
H A Dfillsysinfo.c556 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 Dmach_startup.c528 flush_size = ecache_size * 2; in ecache_flush_address()
530 ret_val = P2ROUNDUP(pmem->ml_address, ecache_size); in ecache_flush_address()
554 ecache_size); in phys_install_has_changed()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/
H A Dcherrystone.c119 int ecache_size; in display_cpus() local
142 ecache_size = get_ecache_size(cpu); in display_cpus()
163 ecache_size_prev = ecache_size; in display_cpus()
179 ecache_size += ecache_size_prev; in display_cpus()
197 if (ecache_size == 0) in display_cpus()
201 (float)ecache_size / (float)(1<<20)); in display_cpus()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/starcat/common/
H A Dstarcat.c778 int ecache_size; /* External cache size */ in display_cpus() local
796 ecache_size = get_ecache_size(cpu); in display_cpus()
821 ecache_size_prev = ecache_size; in display_cpus()
833 ecache_size += ecache_size_prev; in display_cpus()
862 if (ecache_size == 0) in display_cpus()
866 (float)ecache_size / (float)(1<<20), in display_cpus()
/titanic_50/usr/src/uts/sun4v/cpu/
H A Dgeneric.c123 if (cpunode->ecache_size == 0) in cpu_fiximp()
124 cpunode->ecache_size = 0x100000; in cpu_fiximp()
H A Dniagara.c164 if (cpunode->ecache_size == 0) in cpu_fiximp()
165 cpunode->ecache_size = MB(3); in cpu_fiximp()
H A Dniagara2.c191 if (cpunode->ecache_size == 0) in cpu_fiximp()
192 cpunode->ecache_size = L2CACHE_SIZE; in cpu_fiximp()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Ddaktari.c319 int ecache_size; /* External cache size */ in display_cpus() local
341 ecache_size = get_ecache_size(cpu); in display_cpus()
364 ecache_size_prev = ecache_size; in display_cpus()
380 ecache_size += ecache_size_prev; in display_cpus()
399 if (ecache_size == 0) in display_cpus()
404 (float)ecache_size / (float)(1<<20)); in display_cpus()
/titanic_50/usr/src/uts/sun4u/io/
H A Dgptwo_cpu.c466 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 Dsbd_cpu.c78 int ecache_size = 0; in sbd_cpu_set_prop() local
111 ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, dip, in sbd_cpu_set_prop()
119 ASSERT(ecache_size != 0); in sbd_cpu_set_prop()
123 cp->sbc_ecache = ecache_size / (1024 * 1024); in sbd_cpu_set_prop()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c166 int ecache_size; /* External cache size */ in display_cpus() local
173 ecache_size = get_ecache_size(cpu); in display_cpus()
202 if (ecache_size == 0) in display_cpus()
206 (float)ecache_size / (float)(1<<20)); in display_cpus()
/titanic_50/usr/src/uts/sun4u/ngdr/io/
H A Ddr_cpu.c138 int ecache_size = 0; in dr_cpu_set_prop() local
204 ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0, in dr_cpu_set_prop()
208 ASSERT(ecache_size != 0); in dr_cpu_set_prop()
212 cp->sbc_ecache = ecache_size / (1024 * 1024); in dr_cpu_set_prop()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/serengeti/common/
H A Dserengeti.c1000 int ecache_size; /* External cache size */ in display_cpus() local
1024 ecache_size = get_ecache_size(cpu); in display_cpus()
1071 ecache_size_prev = ecache_size; in display_cpus()
1087 ecache_size += ecache_size_prev; in display_cpus()
1095 ecache_size_prev = ecache_size; in display_cpus()
1128 if (ecache_size == 0) in display_cpus()
1132 (float)ecache_size / (float)(1<<20), in display_cpus()
/titanic_50/usr/src/uts/i86pc/io/dr/
H A Ddr_cpu.c112 int ecache_size = 0; in dr_cpu_set_prop() local
152 ecache_size = ddi_prop_get_int(DDI_DEV_T_ANY, dip, 0, in dr_cpu_set_prop()
158 cp->sbc_ecache = ecache_size / (1024 * 1024); in dr_cpu_set_prop()
/titanic_50/usr/src/uts/sun4v/sys/
H A Dmachcpuvar.h230 int ecache_size; member

12