Home
last modified time | relevance | path

Searched refs:ccx (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/common/amdzen/
H A Dzen_fabric_utils.c102 const uint32_t die, const uint32_t ccd, const uint32_t ccx, in zen_apic_id_valid_parts() argument
124 if (((ccx << decomp->aad_ccx_shift) & ~decomp->aad_ccx_mask) != 0) { in zen_apic_id_valid_parts()
145 const uint32_t die, const uint32_t ccd, const uint32_t ccx, in zen_apic_id_compose() argument
150 ASSERT(zen_apic_id_valid_parts(decomp, sock, die, ccd, ccx, core, in zen_apic_id_compose()
154 id |= ccx << decomp->aad_ccx_shift; in zen_apic_id_compose()
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/
H A Dtopo_zen_tn.c370 const amdzen_topo_ccx_t *ccx, zen_topo_enum_ccx_t *zt_ccx) in topo_zen_build_ccx() argument
373 ccx->atccx_phys_no, CCX); in topo_zen_build_ccx()
380 TOPO_PGROUP_CCX_LOGID, TOPO_TYPE_UINT32, ccx->atccx_log_no, in topo_zen_build_ccx()
381 TOPO_PGROUP_CCX_PHYSID, TOPO_TYPE_UINT32, ccx->atccx_phys_no, in topo_zen_build_ccx()
405 ccx->atccx_nphys_cores - 1) != 0) { in topo_zen_build_ccx()
411 for (uint32_t coreno = 0; coreno < ccx->atccx_nphys_cores; coreno++) { in topo_zen_build_ccx()
414 if (ccx->atccx_core_en[coreno] == 0) { in topo_zen_build_ccx()
420 &ccx->atccx_cores[coreno], &zt_ccx->ztccx_core[coreno])) != in topo_zen_build_ccx()
H A Dtopo_zen.c338 zen_topo_enum_ccx_t *ccx, zen_topo_enum_core_t *core, uint32_t cpuno) in topo_zen_map_caches() argument
392 cachep = &ccx->ztccx_l3; in topo_zen_map_caches()
426 amdzen_topo_ccx_t *ccx; in topo_zen_map_logcpu_to_phys() local
430 ccx = &ccd->atccd_ccx[ccxno]; in topo_zen_map_logcpu_to_phys()
432 coreno < ccx->atccx_nphys_cores; coreno++) { in topo_zen_map_logcpu_to_phys()
434 if (ccx->atccx_core_en[coreno] == 0) in topo_zen_map_logcpu_to_phys()
437 core = &ccx->atccx_cores[coreno]; in topo_zen_map_logcpu_to_phys()
/illumos-gate/usr/src/uts/intel/sys/amdzen/
H A Dccd.h385 #define SCFCTP_PMREG_INITPKG0(ccd, ccx, core) \ argument
386 amdzen_scfctp_smn_reg(ccd, ccx, D_SCFCTP_PMREG_INITPKG0, core)
411 #define SCFCTP_PMREG_INITPKG7(ccd, ccx, core) \ argument
412 amdzen_scfctp_smn_reg(ccd, ccx, D_SCFCTP_PMREG_INITPKG7, core)
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Damdzen.c1909 amdzen_topo_ccx_t *ccx = &ccd->atccd_ccx[ccxno]; in amdzen_ccd_fill_topo() local
1917 ccx->atccx_phys_no = ccxno; in amdzen_ccd_fill_topo()
1918 ccx->atccx_nphys_cores = azn->azn_ncore_per_ccx; in amdzen_ccd_fill_topo()
1919 ccx->atccx_nlog_cores = nlcore_per_ccx; in amdzen_ccd_fill_topo()
1922 ccx->atccx_log_no = ccx->atccx_phys_no; in amdzen_ccd_fill_topo()
1928 amdzen_topo_core_t *core = &ccx->atccx_cores[coreno]; in amdzen_ccd_fill_topo()
1934 ccx->atccx_core_en[coreno] = 1; in amdzen_ccd_fill_topo()
1952 amdzen_ccd_fill_core_initpkg0(azn, df, ccd, ccx, in amdzen_ccd_fill_topo()
1966 const uint32_t thread_shift = (ccx->atccx_nphys_cores * in amdzen_ccd_fill_topo()
1967 ccx->atccx_log_no + core->atcore_log_no) * in amdzen_ccd_fill_topo()
[all …]