Searched refs:msr_val (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | therm_throt.c | 109 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 …]
|
/kernel/linux/linux-5.10/arch/x86/hyperv/ |
D | hv_spinlock.c | 28 unsigned long msr_val; in hv_qlock_wait() local 52 rdmsrl(HV_X64_MSR_GUEST_IDLE, msr_val); in hv_qlock_wait()
|
/kernel/linux/linux-5.10/drivers/thermal/intel/ |
D | x86_pkg_temp_thermal.c | 266 u64 msr_val, wr_val; in pkg_temp_thermal_threshold_work_fn() local 280 rdmsrl(MSR_IA32_PACKAGE_THERM_STATUS, msr_val); in pkg_temp_thermal_threshold_work_fn() 281 wr_val = msr_val & ~(THERM_LOG_THRESHOLD0 | THERM_LOG_THRESHOLD1); in pkg_temp_thermal_threshold_work_fn() 282 if (wr_val != msr_val) { in pkg_temp_thermal_threshold_work_fn() 307 static int pkg_thermal_notify(u64 msr_val) in pkg_thermal_notify() argument
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | mce.h | 293 extern int (*platform_thermal_notify)(__u64 msr_val); 296 extern int (*platform_thermal_package_notify)(__u64 msr_val);
|
D | kvm_host.h | 665 u64 msr_val; member 750 u64 msr_val; member
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | lapic.c | 671 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() 2853 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_enable_pv_eoi()
|
D | x86.c | 3031 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in record_steal_time() 3035 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time() 3318 vcpu->arch.st.msr_val = data; in kvm_set_msr_common() 3639 msr_info->data = vcpu->arch.st.msr_val; in kvm_get_msr_common() 3645 msr_info->data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common() 4105 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in kvm_steal_time_set_preempted() 4120 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in kvm_steal_time_set_preempted() 10366 vcpu->arch.st.msr_val = 0; in kvm_vcpu_reset()
|
D | hyperv.c | 851 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in kvm_hv_assist_page_enabled()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
D | idle.c | 77 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()
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | amd64_edac.c | 2820 u64 msr_val; in read_mc_regs() local 2830 rdmsrl(MSR_K8_SYSCFG, msr_val); in read_mc_regs() 2831 if (msr_val & BIT(21)) { in read_mc_regs()
|