Searched refs:hw_dom (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/arch/x86/kernel/cpu/resctrl/ |
D | core.c | 281 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in mba_wrmsr_amd() local 285 wrmsrl(hw_res->msr_base + i, hw_dom->ctrl_val[i]); in mba_wrmsr_amd() 307 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in mba_wrmsr_intel() local 312 wrmsrl(hw_res->msr_base + i, delay_bw_map(hw_dom->ctrl_val[i], r)); in mba_wrmsr_intel() 319 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in cat_wrmsr() local 323 wrmsrl(hw_res->msr_base + i, hw_dom->ctrl_val[i]); in cat_wrmsr() 408 static void domain_free(struct rdt_hw_domain *hw_dom) in domain_free() argument 410 kfree(hw_dom->arch_mbm_total); in domain_free() 411 kfree(hw_dom->arch_mbm_local); in domain_free() 412 kfree(hw_dom->ctrl_val); in domain_free() [all …]
|
D | ctrlmondata.c | 269 static bool apply_config(struct rdt_hw_domain *hw_dom, in apply_config() argument 273 struct rdt_domain *dom = &hw_dom->d_resctrl; in apply_config() 275 if (cfg->new_ctrl != hw_dom->ctrl_val[idx]) { in apply_config() 277 hw_dom->ctrl_val[idx] = cfg->new_ctrl; in apply_config() 289 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_update_one() local 296 hw_dom->ctrl_val[idx] = cfg_val; in resctrl_arch_update_one() 309 struct rdt_hw_domain *hw_dom; in resctrl_arch_update_domains() local 322 hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_update_domains() 324 cfg = &hw_dom->d_resctrl.staged_config[t]; in resctrl_arch_update_domains() 329 if (!apply_config(hw_dom, cfg, idx, cpu_mask)) in resctrl_arch_update_domains() [all …]
|
D | monitor.c | 149 static struct arch_mbm_state *get_arch_mbm_state(struct rdt_hw_domain *hw_dom, in get_arch_mbm_state() argument 157 return &hw_dom->arch_mbm_total[rmid]; in get_arch_mbm_state() 159 return &hw_dom->arch_mbm_local[rmid]; in get_arch_mbm_state() 171 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_reset_rmid() local 174 am = get_arch_mbm_state(hw_dom, rmid, eventid); in resctrl_arch_reset_rmid() 191 struct rdt_hw_domain *hw_dom = resctrl_to_arch_dom(d); in resctrl_arch_rmid_read() local 214 am = get_arch_mbm_state(hw_dom, rmid, eventid); in resctrl_arch_rmid_read()
|
D | rdtgroup.c | 2346 struct rdt_hw_domain *hw_dom; in reset_all_ctrls() local 2365 hw_dom = resctrl_to_arch_dom(d); in reset_all_ctrls() 2369 hw_dom->ctrl_val[i] = r->default_ctrl; in reset_all_ctrls()
|