Home
last modified time | relevance | path

Searched refs:msr_val (Results 1 – 7 of 7) sorted by relevance

/arch/x86/hyperv/
Dhv_spinlock.c51 unsigned long msr_val; in hv_qlock_wait() local
53 rdmsrl(HV_X64_MSR_GUEST_IDLE, msr_val); in hv_qlock_wait()
55 (void)msr_val; in hv_qlock_wait()
/arch/x86/kernel/cpu/resctrl/
Dmonitor.c151 u64 msr_val; in __rmid_read() local
162 rdmsrl(MSR_IA32_QM_CTR, msr_val); in __rmid_read()
164 if (msr_val & RMID_VAL_ERROR) in __rmid_read()
166 if (msr_val & RMID_VAL_UNAVAIL) in __rmid_read()
169 *val = msr_val; in __rmid_read()
238 u64 msr_val, chunks; in resctrl_arch_rmid_read() local
244 ret = __rmid_read(rmid, eventid, &msr_val); in resctrl_arch_rmid_read()
250 am->chunks += mbm_overflow_count(am->prev_msr, msr_val, in resctrl_arch_rmid_read()
253 am->prev_msr = msr_val; in resctrl_arch_rmid_read()
255 chunks = msr_val; in resctrl_arch_rmid_read()
/arch/x86/kvm/
Dlapic.c899 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled()
2673 u64 msr_val; in kvm_lapic_reset() local
2679 msr_val = APIC_DEFAULT_PHYS_BASE | MSR_IA32_APICBASE_ENABLE; in kvm_lapic_reset()
2681 msr_val |= MSR_IA32_APICBASE_BSP; in kvm_lapic_reset()
2682 kvm_lapic_set_base(vcpu, msr_val); in kvm_lapic_reset()
2728 vcpu->arch.pv_eoi.msr_val = 0; in kvm_lapic_reset()
3259 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_set_pv_eoi()
Dx86.c3527 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in record_steal_time()
3536 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time()
3868 vcpu->arch.st.msr_val = data; in kvm_set_msr_common()
4237 msr_info->data = vcpu->arch.st.msr_val; in kvm_get_msr_common()
4243 msr_info->data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common()
4868 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in kvm_steal_time_set_preempted()
4883 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in kvm_steal_time_set_preempted()
12077 vcpu->arch.st.msr_val = 0; in kvm_vcpu_reset()
Dhyperv.c920 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in kvm_hv_assist_page_enabled()
/arch/powerpc/platforms/powernv/
Didle.c77 uint64_t msr_val = MSR_IDLE; in pnv_save_sprs_for_deep_states() local
93 rc = opal_slw_set_reg(pir, P9_STOP_SPR_MSR, msr_val); in pnv_save_sprs_for_deep_states()
/arch/x86/include/asm/
Dkvm_host.h871 u64 msr_val; member
961 u64 msr_val; member