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.c66 int (*platform_thermal_notify)(__u64 msr_val);
70 int (*platform_thermal_package_notify)(__u64 msr_val);
301 static void notify_package_thresholds(__u64 msr_val) in notify_package_thresholds() argument
310 if (msr_val & THERM_LOG_THRESHOLD0) in notify_package_thresholds()
313 if (msr_val & THERM_LOG_THRESHOLD1) in notify_package_thresholds()
322 platform_thermal_package_notify(msr_val); in notify_package_thresholds()
328 platform_thermal_package_notify(msr_val); in notify_package_thresholds()
331 platform_thermal_package_notify(msr_val); in notify_package_thresholds()
334 static void notify_thresholds(__u64 msr_val) in notify_thresholds() argument
343 if ((msr_val & THERM_LOG_THRESHOLD0) && in notify_thresholds()
[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.h261 extern int (*platform_thermal_notify)(__u64 msr_val);
264 extern int (*platform_thermal_package_notify)(__u64 msr_val);
Dkvm_host.h671 u64 msr_val; member
737 u64 msr_val; member
752 u64 msr_val; member
/arch/x86/kvm/
Dlapic.c635 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled()
643 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_get_pending()
653 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_set_pending()
663 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_clr_pending()
2210 vcpu->arch.pv_eoi.msr_val = 0; in kvm_lapic_reset()
2696 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_enable_pv_eoi()
Dx86.c2635 vcpu->arch.apf.msr_val = data; in kvm_pv_enable_async_pf()
2670 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time()
2674 if (kvm_map_gfn(vcpu, vcpu->arch.st.msr_val >> PAGE_SHIFT, in record_steal_time()
2679 offset_in_page(vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS); in record_steal_time()
2865 vcpu->arch.st.msr_val = data; in kvm_set_msr_common()
3122 msr_info->data = vcpu->arch.apf.msr_val; in kvm_get_msr_common()
3125 msr_info->data = vcpu->arch.st.msr_val; in kvm_get_msr_common()
3128 msr_info->data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common()
3585 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in kvm_steal_time_set_preempted()
3591 if (kvm_map_gfn(vcpu, vcpu->arch.st.msr_val >> PAGE_SHIFT, &map, in kvm_steal_time_set_preempted()
[all …]
Dhyperv.c734 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in kvm_hv_assist_page_enabled()
/arch/powerpc/platforms/powernv/
Didle.c80 uint64_t msr_val = MSR_IDLE; in pnv_save_sprs_for_deep_states() local
96 rc = opal_slw_set_reg(pir, P9_STOP_SPR_MSR, msr_val); in pnv_save_sprs_for_deep_states()