Home
last modified time | relevance | path

Searched refs:rmid (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/arch/x86/kernel/cpu/resctrl/
Dmonitor.c28 u32 rmid; member
130 static inline u64 get_corrected_mbm_count(u32 rmid, unsigned long val) in get_corrected_mbm_count() argument
133 if (rmid > mbm_cf_rmidthreshold) in get_corrected_mbm_count()
139 static inline struct rmid_entry *__rmid_entry(u32 rmid) in __rmid_entry() argument
143 entry = &rmid_ptrs[rmid]; in __rmid_entry()
144 WARN_ON(entry->rmid != rmid); in __rmid_entry()
149 static int __rmid_read(u32 rmid, enum resctrl_event_id eventid, u64 *val) in __rmid_read() argument
161 wrmsr(MSR_IA32_QM_EVTSEL, eventid, rmid); in __rmid_read()
174 u32 rmid, in get_arch_mbm_state() argument
181 return &hw_dom->arch_mbm_total[rmid]; in get_arch_mbm_state()
[all …]
Drdtgroup.c322 this_cpu_write(pqr_state.default_rmid, r->mon.rmid); in update_cpu_closid_rmid()
562 tsk->rmid == rdtgrp->mon.rmid) || in __rdtgroup_move_task()
563 (rdtgrp->type == RDTMON_GROUP && tsk->rmid == rdtgrp->mon.rmid && in __rdtgroup_move_task()
578 WRITE_ONCE(tsk->rmid, rdtgrp->mon.rmid); in __rdtgroup_move_task()
581 WRITE_ONCE(tsk->rmid, rdtgrp->mon.rmid); in __rdtgroup_move_task()
616 (r->type == RDTMON_GROUP) && (t->rmid == r->mon.rmid)); in is_rmid_match()
824 if (tsk->rmid != crg->mon.rmid) in proc_resctrl_show()
2686 WRITE_ONCE(t->rmid, to->mon.rmid); in rdt_move_group_tasks()
2717 free_rmid(sentry->mon.rmid); in free_all_child_rdtgrp()
2757 free_rmid(rdtgrp->mon.rmid); in rmdir_all_sub()
[all …]
Dinternal.h167 u32 rmid; member
538 void free_rmid(u32 rmid);
Dpseudo_lock.c755 free_rmid(rdtgrp->mon.rmid); in rdtgroup_locksetup_enter()
785 rdtgrp->mon.rmid = ret; in rdtgroup_locksetup_exit()
790 free_rmid(rdtgrp->mon.rmid); in rdtgroup_locksetup_exit()
/linux-6.6.21/arch/x86/include/asm/
Dresctrl.h56 u32 rmid = state->default_rmid; in __resctrl_sched_in() local
70 tmp = READ_ONCE(tsk->rmid); in __resctrl_sched_in()
72 rmid = tmp; in __resctrl_sched_in()
75 if (closid != state->cur_closid || rmid != state->cur_rmid) { in __resctrl_sched_in()
77 state->cur_rmid = rmid; in __resctrl_sched_in()
78 wrmsr(MSR_IA32_PQR_ASSOC, rmid, closid); in __resctrl_sched_in()
/linux-6.6.21/include/linux/
Dresctrl.h238 u32 rmid, enum resctrl_event_id eventid, u64 *val);
251 u32 rmid, enum resctrl_event_id eventid);
Dsched.h1231 u32 rmid; member
/linux-6.6.21/Documentation/arch/x86/
Dresctrl.rst1383 |core count |rmid count |rmid threshold |correction factor|
1440 If rmid > rmid threshold, MBM total and local values should be multiplied