Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dcpu.c155 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 Dus3_cheetah_asm.S58 #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 Dopl_olympus.c1598 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)
1697 } else if (ecache_size < min_ecache_size) {
1707 if (ecache_size <= 1048576)
1710 else if (ecache_size <= 2097152)
1713 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()
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()
1511 cpunodes[CPU->cpu_id].ecache_size); in cpu_async_error()
2310 cpunodes[CPU->cpu_id].ecache_size, in cpu_async_log_err()
3018 cpunodes[CPU->cpu_id].ecache_size); in scan_ecache()
3986 cpunodes[CPU->cpu_id].ecache_size); in ecache_scrub_misc_err()
[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.c6818 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) &&
6905 if (ecache_size <= 2097152)
6908 else if (ecache_size <= 4194304)
6917 } else if (ecache_size < min_ecache_size) {
6927 if (ecache_size <= 1048576)
6930 else if (ecache_size <= 2097152)
6933 else if (ecache_size <= 4194304)
[all …]
/illumos-gate/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
/illumos-gate/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.c509 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 Dcherrystone.c118 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/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()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Ddaktari.c317 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/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.c80 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/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dlittleneck.c165 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/uts/sun4u/ngdr/io/
H A Ddr_cpu.c139 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/serengeti/common/
H A Dserengeti.c997 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 Ddr_cpu.c117 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 Dmachcpuvar.h230 int ecache_size; member
/illumos-gate/usr/src/uts/sun4/os/
H A Dmlsetup.c85 int ecache_size; variable

12