Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/mce/
Dtherm_throt.c109 int (*platform_thermal_notify)(__u64 msr_val);
113 int (*platform_thermal_package_notify)(__u64 msr_val);
204 u64 mask, msr_val; in clear_therm_status_log() local
214 rdmsrl(msr, msr_val); in clear_therm_status_log()
215 msr_val &= mask; in clear_therm_status_log()
216 wrmsrl(msr, msr_val & ~THERM_STATUS_PROCHOT_LOG); in clear_therm_status_log()
222 u64 msr_val; in get_therm_status() local
229 rdmsrl(msr, msr_val); in get_therm_status()
230 if (msr_val & THERM_STATUS_PROCHOT_LOG) in get_therm_status()
235 *temp = (msr_val >> 16) & 0x7F; in get_therm_status()
[all …]
/arch/x86/hyperv/
Dhv_spinlock.c28 unsigned long msr_val; in hv_qlock_wait() local
52 rdmsrl(HV_X64_MSR_GUEST_IDLE, msr_val); in hv_qlock_wait()
/arch/x86/include/asm/
Dmce.h293 extern int (*platform_thermal_notify)(__u64 msr_val);
296 extern int (*platform_thermal_package_notify)(__u64 msr_val);
Dkvm_host.h665 u64 msr_val; member
750 u64 msr_val; member
/arch/x86/kvm/
Dlapic.c671 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled()
679 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_get_pending()
689 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_set_pending()
699 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_clr_pending()
2361 vcpu->arch.pv_eoi.msr_val = 0; in kvm_lapic_reset()
2857 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_enable_pv_eoi()
Dx86.c3034 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in record_steal_time()
3038 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time()
3322 vcpu->arch.st.msr_val = data; in kvm_set_msr_common()
3644 msr_info->data = vcpu->arch.st.msr_val; in kvm_get_msr_common()
3650 msr_info->data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common()
4110 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in kvm_steal_time_set_preempted()
4125 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in kvm_steal_time_set_preempted()
10371 vcpu->arch.st.msr_val = 0; in kvm_vcpu_reset()
Dhyperv.c853 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()