Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/thermal/intel/
Dtherm_throt.c110 int (*platform_thermal_notify)(__u64 msr_val);
114 int (*platform_thermal_package_notify)(__u64 msr_val);
205 u64 mask, msr_val; in clear_therm_status_log() local
215 rdmsrl(msr, msr_val); in clear_therm_status_log()
216 msr_val &= mask; in clear_therm_status_log()
217 wrmsrl(msr, msr_val & ~THERM_STATUS_PROCHOT_LOG); in clear_therm_status_log()
223 u64 msr_val; in get_therm_status() local
230 rdmsrl(msr, msr_val); in get_therm_status()
231 if (msr_val & THERM_STATUS_PROCHOT_LOG) in get_therm_status()
236 *temp = (msr_val >> 16) & 0x7F; in get_therm_status()
[all …]
Dthermal_interrupt.h6 extern int (*platform_thermal_package_notify)(__u64 msr_val);
9 extern int (*platform_thermal_notify)(__u64 msr_val);
Dintel_hfi.c359 u64 msr_val; in intel_hfi_online() local
421 msr_val = hw_table_pa | HW_FEEDBACK_PTR_VALID_BIT; in intel_hfi_online()
422 wrmsrl(MSR_IA32_HW_FEEDBACK_PTR, msr_val); in intel_hfi_online()
436 rdmsrl(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val); in intel_hfi_online()
437 msr_val |= HW_FEEDBACK_CONFIG_HFI_ENABLE_BIT; in intel_hfi_online()
438 wrmsrl(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val); in intel_hfi_online()
Dx86_pkg_temp_thermal.c268 u64 msr_val, wr_val; in pkg_temp_thermal_threshold_work_fn() local
282 rdmsrl(MSR_IA32_PACKAGE_THERM_STATUS, msr_val); in pkg_temp_thermal_threshold_work_fn()
283 wr_val = msr_val & ~(THERM_LOG_THRESHOLD0 | THERM_LOG_THRESHOLD1); in pkg_temp_thermal_threshold_work_fn()
284 if (wr_val != msr_val) { in pkg_temp_thermal_threshold_work_fn()
309 static int pkg_thermal_notify(u64 msr_val) in pkg_thermal_notify() argument
/linux-5.19.10/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()
/linux-5.19.10/arch/x86/kvm/
Dlapic.c705 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled()
2383 u64 msr_val; in kvm_lapic_reset() local
2387 msr_val = APIC_DEFAULT_PHYS_BASE | MSR_IA32_APICBASE_ENABLE; in kvm_lapic_reset()
2389 msr_val |= MSR_IA32_APICBASE_BSP; in kvm_lapic_reset()
2390 kvm_lapic_set_base(vcpu, msr_val); in kvm_lapic_reset()
2437 vcpu->arch.pv_eoi.msr_val = 0; in kvm_lapic_reset()
2961 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_set_pv_eoi()
Dx86.c3409 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in record_steal_time()
3418 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time()
3694 vcpu->arch.st.msr_val = data; in kvm_set_msr_common()
4047 msr_info->data = vcpu->arch.st.msr_val; in kvm_get_msr_common()
4053 msr_info->data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common()
4658 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in kvm_steal_time_set_preempted()
4673 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in kvm_steal_time_set_preempted()
11511 vcpu->arch.st.msr_val = 0; in kvm_vcpu_reset()
Dhyperv.c899 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in kvm_hv_assist_page_enabled()
/linux-5.19.10/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()
/linux-5.19.10/arch/x86/include/asm/
Dkvm_host.h766 u64 msr_val; member
855 u64 msr_val; member
/linux-5.19.10/drivers/edac/
Damd64_edac.c3451 u64 msr_val; in read_mc_regs() local
3461 rdmsrl(MSR_AMD64_SYSCFG, msr_val); in read_mc_regs()
3462 if (msr_val & BIT(21)) { in read_mc_regs()