Searched refs:hw_dom (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/x86/kernel/cpu/resctrl/ |
| H A D | core.c | 294 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom); in mba_wrmsr_amd() local 299 wrmsrq(hw_res->msr_base + i, hw_dom->ctrl_val[i]); in mba_wrmsr_amd() 318 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom); in mba_wrmsr_intel() local 324 wrmsrq(hw_res->msr_base + i, delay_bw_map(hw_dom->ctrl_val[i], m->res)); in mba_wrmsr_intel() 329 struct rdt_hw_ctrl_domain *hw_dom = resctrl_to_arch_ctrl_dom(m->dom); in cat_wrmsr() local 334 wrmsrq(hw_res->msr_base + i, hw_dom->ctrl_val[i]); in cat_wrmsr() 365 static void ctrl_domain_free(struct rdt_hw_ctrl_domain *hw_dom) in ctrl_domain_free() argument 367 kfree(hw_dom->ctrl_val); in ctrl_domain_free() 368 kfree(hw_dom); in ctrl_domain_free() 371 static void mon_domain_free(struct rdt_hw_mon_domain *hw_dom) in mon_domain_free() argument [all …]
|
| H A D | monitor.c | 160 static struct arch_mbm_state *get_arch_mbm_state(struct rdt_hw_mon_domain *hw_dom, in get_arch_mbm_state() argument 169 state = hw_dom->arch_mbm_states[MBM_STATE_IDX(eventid)]; in get_arch_mbm_state() 178 struct rdt_hw_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in resctrl_arch_reset_rmid() local 183 am = get_arch_mbm_state(hw_dom, rmid, eventid); in resctrl_arch_reset_rmid() 199 struct rdt_hw_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in resctrl_arch_reset_rmid_all() local 207 memset(hw_dom->arch_mbm_states[idx], 0, in resctrl_arch_reset_rmid_all() 208 sizeof(*hw_dom->arch_mbm_states[0]) * r->mon.num_rmid); in resctrl_arch_reset_rmid_all() 223 struct rdt_hw_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in get_corrected_val() local 228 am = get_arch_mbm_state(hw_dom, rmid, eventid); in get_corrected_val() 245 struct rdt_hw_mon_domain *hw_dom = resctrl_to_arch_mon_dom(d); in resctrl_arch_rmid_read() local [all …]
|
| H A D | rdtgroup.c | 235 struct rdt_hw_ctrl_domain *hw_dom; in resctrl_arch_reset_all_ctrls() local 253 hw_dom = resctrl_to_arch_ctrl_dom(d); in resctrl_arch_reset_all_ctrls() 256 hw_dom->ctrl_val[i] = resctrl_get_default_ctrl(r); in resctrl_arch_reset_all_ctrls()
|