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

/linux-master/arch/x86/include/asm/
H A Dresctrl.h12 * (closid, rmid) pair to an index and back. On x86 only the RMID is
25 * lower 10 bits rmid. The update to MSR_IA32_PQR_ASSOC always
100 u32 rmid = state->default_rmid; local
104 * If this task has a closid/rmid assigned, use it.
105 * Else use the closid/rmid assigned to this cpu.
114 tmp = READ_ONCE(tsk->rmid);
116 rmid = tmp;
119 if (closid != state->cur_closid || rmid != state->cur_rmid) {
121 state->cur_rmid = rmid;
122 wrmsr(MSR_IA32_PQR_ASSOC, rmid, closi
135 resctrl_arch_set_closid_rmid(struct task_struct *tsk, u32 closid, u32 rmid) argument
147 resctrl_arch_match_rmid(struct task_struct *tsk, u32 ignored, u32 rmid) argument
165 resctrl_arch_rmid_idx_decode(u32 idx, u32 *closid, u32 *rmid) argument
171 resctrl_arch_rmid_idx_encode(u32 ignored, u32 rmid) argument
[all...]
/linux-master/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c31 * @rmid: The RMID for this entry.
36 * both @closid and @rmid, or @rmid only.
42 u32 rmid; member in struct:rmid_entry
101 * If rmid > rmid threshold, MBM total and local values should be multiplied
106 * 1. The threshold 0 is changed to rmid count - 1 so don't do correction
151 static inline u64 get_corrected_mbm_count(u32 rmid, unsigned long val) argument
154 if (rmid > mbm_cf_rmidthreshold)
176 u32 closid, rmid; local
187 __rmid_read(u32 rmid, enum resctrl_event_id eventid, u64 *val) argument
211 get_arch_mbm_state(struct rdt_hw_domain *hw_dom, u32 rmid, enum resctrl_event_id eventid) argument
230 resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_domain *d, u32 unused, u32 rmid, enum resctrl_event_id eventid) argument
271 resctrl_arch_rmid_read(struct rdt_resource *r, struct rdt_domain *d, u32 unused, u32 rmid, enum resctrl_event_id eventid, u64 *val, void *ignored) argument
499 free_rmid(u32 closid, u32 rmid) argument
523 get_mbm_state(struct rdt_domain *d, u32 closid, u32 rmid, enum resctrl_event_id evtid) argument
538 __mon_event_count(u32 closid, u32 rmid, struct rmid_read *rr) argument
573 mbm_bw_count(u32 closid, u32 rmid, struct rmid_read *rr) argument
661 u32 closid, rmid, cur_msr_val, new_msr_val; local
725 mbm_update(struct rdt_resource *r, struct rdt_domain *d, u32 closid, u32 rmid) argument
[all...]
H A Dinternal.h202 * @rmid: rmid for this rdtgroup
208 u32 rmid; member in struct:mongroup
584 void free_rmid(u32 closid, u32 rmid);
H A Drdtgroup.c349 this_cpu_write(pqr_state.default_rmid, r->mon.rmid);
394 * and update per-cpu rmid
448 * and update per-cpu closid/rmid.
467 * now and update the rmid for the cpus the child lost.
586 u32 closid, rmid = rdtgrp->mon.rmid; local
596 resctrl_arch_match_rmid(tsk, closid, rmid);
607 * Set the task's closid/rmid before the PQR_ASSOC MSR can be
610 * For ctrl_mon groups, move both closid and rmid.
622 rdtgrp->mon.rmid);
[all...]
H A Dpseudo_lock.c750 * If this system is capable of monitoring a rmid would have been
755 free_rmid(rdtgrp->closid, rdtgrp->mon.rmid);
785 rdtgrp->mon.rmid = ret;
790 free_rmid(rdtgrp->closid, rdtgrp->mon.rmid);
/linux-master/include/linux/
H A Dresctrl.h232 * resctrl_arch_rmid_read() - Read the eventid counter corresponding to rmid
236 * @closid: closid that matches the rmid. Depending on the architecture, the
237 * counter may match traffic of both @closid and @rmid, or @rmid
239 * @rmid: rmid of the counter to read.
257 u32 closid, u32 rmid, enum resctrl_event_id eventid,
278 * resctrl_arch_reset_rmid() - Reset any private state associated with rmid
281 * @d: The rmid's domain.
282 * @closid: closid that matches the rmid
[all...]
H A Dsched.h1240 u32 rmid; member in struct:task_struct
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dr535.c570 const u32 rmid = ctrl->entries[i].engineData[ENGINE_INFO_TYPE_RM_ENGINE_TYPE]; local
579 inst = r535_fifo_engn_type(rmid, &type);
581 nvkm_warn(subdev, "RM_ENGINE_TYPE 0x%x\n", rmid);

Completed in 149 milliseconds