Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 25 of 558) sorted by relevance

12345678910>>...23

/titanic_41/usr/src/uts/i86pc/io/apix/
H A Dapix_intr.c99 struct cpu *cpu = CPU; in apix_remove_pending_av() local
107 if (avp->av_vector != NULL && avp->av_prilevel < cpu->cpu_base_spl) { in apix_remove_pending_av()
227 apix_do_softint_prolog(struct cpu *cpu, uint_t pil, uint_t oldpil, in apix_do_softint_prolog() argument
231 struct machcpu *mcpu = &cpu->cpu_m; in apix_do_softint_prolog()
235 ASSERT(pil > mcpu->mcpu_pri && pil > cpu->cpu_base_spl); in apix_do_softint_prolog()
248 it = cpu->cpu_intr_thread; in apix_do_softint_prolog()
250 cpu->cpu_intr_thread = it->t_link; in apix_do_softint_prolog()
253 t = cpu->cpu_thread; in apix_do_softint_prolog()
257 cpu->cpu_intracct[cpu->cpu_mstate] += intrtime; in apix_do_softint_prolog()
281 cpu->cpu_thread = it; in apix_do_softint_prolog()
[all …]
/titanic_41/usr/src/uts/i86pc/os/
H A Dintr.c510 struct cpu *cpu = CPU; in set_base_spl() local
511 uint16_t active = (uint16_t)cpu->cpu_intr_actv; in set_base_spl()
513 cpu->cpu_base_spl = active == 0 ? 0 : bsrw_insn(active); in set_base_spl()
527 hilevel_intr_prolog(struct cpu *cpu, uint_t pil, uint_t oldpil, struct regs *rp) in hilevel_intr_prolog() argument
529 struct machcpu *mcpu = &cpu->cpu_m; in hilevel_intr_prolog()
537 cpu->cpu_profile_pil = oldpil; in hilevel_intr_prolog()
539 cpu->cpu_profile_pc = 0; in hilevel_intr_prolog()
540 cpu->cpu_profile_upc = rp->r_pc; in hilevel_intr_prolog()
541 cpu->cpu_cpcprofile_pc = 0; in hilevel_intr_prolog()
542 cpu->cpu_cpcprofile_upc = rp->r_pc; in hilevel_intr_prolog()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dcyclic.c688 #define CYC_TRACE(cpu, level, why, arg0, arg1) \ argument
689 CYC_TRACE_IMPL(&cpu->cyp_trace[level], level, why, arg0, arg1)
712 #define CYC_TRACE(cpu, level, why, arg0, arg1) argument
717 #define CYC_TRACE0(cpu, level, why) CYC_TRACE(cpu, level, why, 0, 0) argument
718 #define CYC_TRACE1(cpu, level, why, arg0) CYC_TRACE(cpu, level, why, arg0, 0) argument
734 cyclic_upheap(cyc_cpu_t *cpu, cyc_index_t ndx) in cyclic_upheap() argument
744 heap = cpu->cyp_heap; in cyclic_upheap()
745 cyclics = cpu->cyp_cyclics; in cyclic_upheap()
777 cyclic_downheap(cyc_cpu_t *cpu, cyc_index_t ndx) in cyclic_downheap() argument
779 cyclic_t *cyclics = cpu->cyp_cyclics; in cyclic_downheap()
[all …]
/titanic_41/usr/src/cmd/fm/dicts/
H A DINTEL.dict29 fault.cpu.intel.internal=1
30 fault.cpu.intel.l0cache=2
31 fault.cpu.intel.l1cache=3
32 fault.cpu.intel.l2cache=4
33 fault.cpu.intel.cache=5
34 fault.cpu.intel.l0dtlb=6
35 fault.cpu.intel.l1dtlb=7
36 fault.cpu.intel.l2dtlb=8
37 fault.cpu.intel.dtlb=9
38 fault.cpu.intel.l0itlb=10
[all …]
H A DSUN4V.dict29 fault.cpu.ultraSPARC-T1.ireg=1
30 fault.cpu.ultraSPARC-T1.freg=2
31 fault.cpu.ultraSPARC-T1.itlb=3
32 fault.cpu.ultraSPARC-T1.dtlb=4
33 fault.cpu.ultraSPARC-T1.icache=5
34 fault.cpu.ultraSPARC-T1.dcache=6
35 fault.cpu.ultraSPARC-T1.mau=7
36 fault.cpu.ultraSPARC-T1.l2cachedata=8
37 fault.cpu.ultraSPARC-T1.l2cachetag=9
38 fault.cpu.ultraSPARC-T1.l2cachectl=10
[all …]
H A DGMCA.dict29 fault.cpu.generic-x86.internal=1
30 fault.cpu.generic-x86.l0cache=2
31 fault.cpu.generic-x86.l1cache=3
32 fault.cpu.generic-x86.l2cache=4
33 fault.cpu.generic-x86.cache=5
34 fault.cpu.generic-x86.l0dtlb=6
35 fault.cpu.generic-x86.l1dtlb=7
36 fault.cpu.generic-x86.l2dtlb=8
37 fault.cpu.generic-x86.dtlb=9
38 fault.cpu.generic-x86.l0itlb=10
[all …]
/titanic_41/usr/src/uts/intel/io/intel_nhm/
H A Dintel_nhm.h50 #define SOCKET_BUS(cpu) (MAX_BUS_NUMBER - (cpu)) argument
51 #define CPU_ID_RD(cpu) nhm_pci_getl(SOCKET_BUS(cpu), 0, 0, 0, 0) argument
52 #define MC_CONTROL_RD(cpu) \ argument
53 nhm_pci_getl(SOCKET_BUS(cpu), 3, 0, 0x48, 0)
54 #define MC_STATUS_RD(cpu) \ argument
55 nhm_pci_getl(SOCKET_BUS(cpu), 3, 0, 0x4c, 0)
56 #define MC_SMI_SPARE_DIMM_ERROR_STATUS_RD(cpu) \ argument
57 nhm_pci_getl(SOCKET_BUS(cpu), 3, 0, 0x50, 0)
58 #define MC_CPU_RAS_RD(cpu) \ argument
59 nhm_pci_getl(SOCKET_BUS(cpu), 3, 2, 0, 0)
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/boston/frutree/
H A Dsystem-board.info110 REFNODE cpu-module fru WITH name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,b8
111 name:/frutree/chassis/MB/system-board/C0/cpu-module
113 REFPROP _seeprom_source name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,b8
115 name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,b8
116 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C0/cpu-module
122 REFNODE cpu-module fru WITH name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,c8
123 name:/frutree/chassis/MB/system-board/C1/cpu-module
125 REFPROP _seeprom_source name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,c8
127 name:/platform/i2c@1f,520000/cpu-fru-prom?UnitAddress=0,c8
128 REFPROP _fru_parent name:/frutree/chassis/MB/system-board/C1/cpu-module
[all …]
/titanic_41/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpu.c261 cpu_uec_write(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_cpu_uec_t *uec) in cpu_uec_write() argument
277 cpu_buf_write(hdl, cpu); in cpu_uec_write()
281 cpu_uec_create(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_cpu_uec_t *uec, in cpu_uec_create() argument
290 cpu_uec_write(hdl, cpu, uec); in cpu_uec_create()
315 cpu_uec_flush_finish(fmd_hdl_t *hdl, cmd_cpu_t *cpu) in cpu_uec_flush_finish() argument
318 if (cpu->cpu_olduec.uec_cache != NULL) { in cpu_uec_flush_finish()
319 fmd_hdl_free(hdl, cpu->cpu_olduec.uec_cache, sizeof (uint64_t) * in cpu_uec_flush_finish()
320 cpu->cpu_olduec.uec_nent); in cpu_uec_flush_finish()
322 cpu->cpu_olduec.uec_cache = NULL; in cpu_uec_flush_finish()
323 cpu->cpu_olduec.uec_nent = 0; in cpu_uec_flush_finish()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dcpuvar.h82 typedef struct cpu { struct
86 struct cpu *cpu_self; /* pointer to itself */ argument
105 struct cpu *cpu_next; /* next existing CPU */ argument
106 struct cpu *cpu_prev; /* prev existing CPU */ argument
107 struct cpu *cpu_next_onln; /* next online (enabled) CPU */ argument
108 struct cpu *cpu_prev_onln; /* prev online (enabled) CPU */ argument
109 struct cpu *cpu_next_part; /* next CPU in partition */ argument
110 struct cpu *cpu_prev_part; /* prev CPU in partition */ argument
111 struct cpu *cpu_next_lgrp; /* next CPU in latency group */ argument
112 struct cpu *cpu_prev_lgrp; /* prev CPU in latency group */ argument
[all …]
/titanic_41/usr/src/cmd/fm/eversholt/files/i386/i86pc/
H A Dintel.esc37 event ereport.cpu.intel.leafclass@chip/core/strand { within(t) }
52 * trips. prop statement for ereport.cpu.intel.internal_unclassified is
56 engine serd.cpu.intel.simple@chip/core/strand, N=3, T=72h;
57 event fault.cpu.intel.internal@chip/core/strand,
58 engine=serd.cpu.intel.simple@chip/core/strand;
60 prop fault.cpu.intel.internal@chip/core/strand
62 ereport.cpu.intel.microcode_rom_parity@chip/core/strand,
63 ereport.cpu.intel.internal_timer@chip/core/strand,
64 ereport.cpu.intel.internal_parity@chip/core/strand,
65 ereport.cpu.intel.unclassified@chip/core/strand,
[all …]
/titanic_41/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_Lxcache.c151 cmd_Lxcache_free(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_Lxcache_t *Lxcache, in cmd_Lxcache_free() argument
189 cmd_list_delete(&cpu->cpu_Lxcaches, Lxcache); in cmd_Lxcache_free()
194 cmd_Lxcache_destroy(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_Lxcache_t *Lxcache) in cmd_Lxcache_destroy() argument
196 cmd_Lxcache_free(hdl, cpu, Lxcache, FMD_B_TRUE); in cmd_Lxcache_destroy()
200 cmd_Lxcache_lookup_by_type_index_way_bit(cmd_cpu_t *cpu, in cmd_Lxcache_lookup_by_type_index_way_bit() argument
205 for (Lxcache = cmd_list_next(&cpu->cpu_Lxcaches); Lxcache != NULL; in cmd_Lxcache_lookup_by_type_index_way_bit()
218 cmd_Lxcache_create(fmd_hdl_t *hdl, cmd_xr_t *xr, cmd_cpu_t *cpu, in cmd_Lxcache_create() argument
230 pstype_name, cpu->cpu_cpuid, index, way, bit); in cmd_Lxcache_create()
232 CMD_CPU_STAT_BUMP(cpu, Lxcache_creat); in cmd_Lxcache_create()
236 cpu->cpu_bufname, CMD_BUFNMLEN); in cmd_Lxcache_create()
[all …]
H A Dcmd_Lxcacheerr.c380 cmd_cpu_t *cpu, in extract_data_from_ereport_payload() argument
398 fltnm, cpu->cpu_cpuid); in extract_data_from_ereport_payload()
417 return (get_tagdata(cpu, pstype, index, tag_data)); in extract_data_from_ereport_payload()
423 fltnm, cpu->cpu_cpuid, index, payload_namep); in extract_data_from_ereport_payload()
427 fltnm, cpu->cpu_cpuid); in extract_data_from_ereport_payload()
428 return (get_tagdata(cpu, pstype, index, in extract_data_from_ereport_payload()
438 print_ecc(fmd_hdl_t *hdl, cmd_cpu_t *cpu, const char *fltnm, uint64_t *tag_data) in print_ecc() argument
451 fltnm, cpu->cpu_cpuid, tag_ecc[0], tag_ecc[1], tag_ecc[2], in print_ecc()
605 cmd_create_and_destroy_Lxcache(fmd_hdl_t *hdl, cmd_cpu_t *cpu, in cmd_create_and_destroy_Lxcache() argument
618 new_Lxcache = cmd_Lxcache_create(hdl, Lxcache->xr, cpu, in cmd_create_and_destroy_Lxcache()
[all …]
/titanic_41/usr/src/cmd/intrd/
H A Dintrd.pl180 while (my ($cpu, $cpst) = each %{$ks->{cpu}}) {
181 next if !exists($ks->{cpu_info}{$cpu}{"cpu_info$cpu"}{state});
184 my $state = $ks->{cpu_info}{$cpu}{"cpu_info$cpu"}{state};
188 $stat{$cpu}{tot} = ($cpu_sys->{cpu_nsec_idle} +
191 $stat{$cpu}{crtime} = $cpu_sys->{crtime};
192 $stat{$cpu}{ivecs} = {};
216 my $cpu = $intrcfg->{cpu};
218 next unless exists $stat{$cpu};
232 if (exists $stat{$cpu}{ivecs}{$cookie}) {
233 my $cookiestats = $stat{$cpu}{ivecs}{$cookie};
[all …]
/titanic_41/usr/src/cmd/dtrace/test/tst/common/cpc/
H A Dtst.allcpus.ksh43 cpu=0
61 /cpus[cpu] != 1/
63 cpus[cpu] = 1;
64 @a[cpu] = count();
77 while [ $cpu -le $numproc ]
79 if [ "`psrinfo -s $cpu 2> /dev/null`" -eq 1 ]; then
80 printf "%9d %16d\n" $cpu 1 >> $scriptout
82 allpids[$cpu]=$!
83 pbind -b $cpu $!
85 cpu=$(($cpu+1))
[all …]
/titanic_41/usr/src/cmd/mdb/common/kmdb/
H A Dkvm_cpu.c58 kmt_cpu_t *cpu; in kmt_cpu_create() local
63 if ((cpu = kmt_cpu_ctors[i](t)) != NULL) in kmt_cpu_create()
64 return (cpu); in kmt_cpu_create()
76 kmt_cpu_destroy(kmt_cpu_t *cpu) in kmt_cpu_destroy() argument
78 if (cpu != NULL) in kmt_cpu_destroy()
79 cpu->kmt_cpu_ops->kco_destroy(cpu); in kmt_cpu_destroy()
83 kmt_cpu_step_branch(mdb_tgt_t *t, kmt_cpu_t *cpu) in kmt_cpu_step_branch() argument
85 if (cpu == NULL || cpu->kmt_cpu_ops->kco_step_branch == NULL) in kmt_cpu_step_branch()
88 return (cpu->kmt_cpu_ops->kco_step_branch(cpu, t)); in kmt_cpu_step_branch()
92 kmt_cpu_name(kmt_cpu_t *cpu) in kmt_cpu_name() argument
[all …]
/titanic_41/usr/src/uts/intel/sys/
H A Dx86_archext.h710 struct cpu;
712 extern int cpuid_checkpass(struct cpu *, int);
713 extern uint32_t cpuid_insn(struct cpu *, struct cpuid_regs *);
715 extern int cpuid_getbrandstr(struct cpu *, char *, size_t);
716 extern int cpuid_getidstr(struct cpu *, char *, size_t);
717 extern const char *cpuid_getvendorstr(struct cpu *);
718 extern uint_t cpuid_getvendor(struct cpu *);
719 extern uint_t cpuid_getfamily(struct cpu *);
720 extern uint_t cpuid_getmodel(struct cpu *);
721 extern uint_t cpuid_getstep(struct cpu *);
[all …]
/titanic_41/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_cpu_sun4v.c135 cma_cpu_t *cpu; in cma_cpu_start_retry() local
170 cpu = fmd_hdl_zalloc(hdl, sizeof (cma_cpu_t), FMD_SLEEP); in cma_cpu_start_retry()
171 (void) nvlist_dup(fmri, &cpu->cpu_fmri, 0); in cma_cpu_start_retry()
173 cpu->cpu_uuid = fmd_hdl_strdup(hdl, uuid, FMD_SLEEP); in cma_cpu_start_retry()
175 cpu->cpuid = cpuid; in cma_cpu_start_retry()
176 cpu->cpu_next = cma.cma_cpus; in cma_cpu_start_retry()
177 cma.cma_cpus = cpu; in cma_cpu_start_retry()
227 cpu_retry(fmd_hdl_t *hdl, cma_cpu_t *cpu) in cpu_retry() argument
233 if (cpu->cpu_fmri == NULL) { in cpu_retry()
237 if (!fmd_nvl_fmri_present(hdl, cpu->cpu_fmri)) { in cpu_retry()
[all …]
/titanic_41/usr/src/cmd/mdb/sun4v/modules/errh/
H A Derrh.c43 cpu_t cpu; in resumable() local
63 if (mdb_vread(&cpu, sizeof (cpu), current) == -1) { in resumable()
69 if (cpu.cpu_m.cpu_rq_lastre == 0) in resumable()
70 mdb_printf("%-5d empty\n", cpu.cpu_id); in resumable()
72 mdb_printf("%-5d %lx\n", cpu.cpu_id, in resumable()
73 cpu.cpu_m.cpu_rq_lastre); in resumable()
74 } else if (cpu.cpu_m.cpu_rq_lastre != 0) in resumable()
75 mdb_printf("%lx\n", cpu.cpu_m.cpu_rq_lastre); in resumable()
76 } while ((current = (uintptr_t)cpu.cpu_next) != first); in resumable()
86 cpu_t cpu; in nonresumable() local
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dcyclic.c39 cyccpu_vread(cyc_cpu_t *cpu, uintptr_t addr) in cyccpu_vread() argument
48 cyccpu_size = (cyc_trace_enabled) ? sizeof (*cpu) : in cyccpu_vread()
52 if (mdb_vread(cpu, cyccpu_size, addr) == -1) in cyccpu_vread()
56 bzero(cpu->cyp_trace, sizeof (cpu->cyp_trace)); in cyccpu_vread()
76 cyc_cpu_t cpu; in cyccpu_walk_step() local
78 if (cyccpu_vread(&cpu, addr) == -1) { in cyccpu_walk_step()
83 return (wsp->walk_callback(addr, &cpu, wsp->walk_cbdata)); in cyccpu_walk_step()
132 cyclic_dump_node(cyc_cpu_t *cpu, cyc_index_t *heap, char **c, size_t w, in cyclic_dump_node() argument
144 if (ndx >= cpu->cyp_nelems) in cyclic_dump_node()
168 if (heap_left >= cpu->cyp_nelems) in cyclic_dump_node()
[all …]
/titanic_41/usr/src/cmd/fm/eversholt/files/sparc/sun4v/
H A Dgcpu.esc28 * eversholt rules for generic-sparc sparc cpu errors.
63 * serd.cpu.generic-sparc.<resource><suffix>
64 * Ex: serd.cpu.generic-sparc.chipitlb
79 * Ereport event for cpu errors
82 event ereport.cpu.generic-sparc.leafclass@level { within(1s) }
85 * Ereports for uncorrectable cpu errors
126 event fault.cpu.generic-sparc.fltleaf@level; \
128 prop fault.cpu.generic-sparc.fltleaf@level \
130 ereport.cpu.generic-sparc.erptleaf@level; \
132 event upset.cpu.generic-sparc.fltleaf@level; \
[all …]
H A Dgmem.esc57 event ereport.cpu.generic-sparc.mem-uc@level { within(1s)}
68 ereport.cpu.generic-sparc.mem-uc@level<>; \
74 ereport.cpu.generic-sparc.mem-uc@level<>
86 ereport.cpu.generic-sparc.mem-uc@level<>; \
92 ereport.cpu.generic-sparc.mem-uc@level<>
135 event ereport.cpu.generic-sparc.membuf-crc@CHIP { within(1s) };
136 event ereport.cpu.generic-sparc.membuf-crc@MEM_BUFF { within(1s) };
137 event ereport.cpu.generic-sparc.membuf-crc@MEM_CTRL { within(1s) };
144 ereport.cpu.generic-sparc.membuf-crc@CHIP;
149 ereport.cpu.generic-sparc.membuf-crc@CHIP<>;
[all …]
/titanic_41/usr/src/cmd/powertop/common/
H A Dturbo.c117 int cpu; in pt_turbo_snapshot() local
123 for (cpu = 0; cpu < g_ncpus; cpu++) { in pt_turbo_snapshot()
124 turbo_info = &turbo_snapshot[cpu]; in pt_turbo_snapshot()
125 ksp = kstat_lookup(kc, "turbo", g_cpu_table[cpu], NULL); in pt_turbo_snapshot()
128 cpu); in pt_turbo_snapshot()
135 cpu); in pt_turbo_snapshot()
143 "%d\n", cpu); in pt_turbo_snapshot()
156 "%d\n", cpu); in pt_turbo_snapshot()
198 int cpu; in pt_turbo_stat_collect() local
215 for (cpu = 0; cpu < g_ncpus; cpu++) { in pt_turbo_stat_collect()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/mpxu/frutree/
H A Dsystem-board.info72 PROP SlotType string r 0 "cpu"
76 PROP SlotType string r 0 "cpu"
84 REFNODE cpu fru WITH name:/platform/SUNW,UltraSPARC-IIIi@0,0
85 name:/frutree/chassis/MB/system-board/P0/cpu
86 REFNODE F0 location WITH name:/frutree/chassis/MB/system-board/P0/cpu
87 name:/frutree/chassis/MB/system-board/P0/cpu/F0
91 name:/frutree/chassis/MB/system-board/P0/cpu
92 REFNODE F1 location WITH name:/frutree/chassis/MB/system-board/P0/cpu
93 name:/frutree/chassis/MB/system-board/P0/cpu/F1
97 name:/frutree/chassis/MB/system-board/P0/cpu
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/chalupa/frutree/
H A Dsystem-board.info87 …REFNODE system-board fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddre…
90 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,be
92 name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,be
99 …REFNODE system-board fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddre…
102 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,ce
104 name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,ce
111 …REFNODE system-board fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddre…
114 REFPROP _seeprom_source name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,de
116 name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddress=0,de
123 …REFNODE system-board fru WITH name:/platform/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom?UnitAddre…
[all …]

12345678910>>...23