Home
last modified time | relevance | path

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

/linux/drivers/thermal/intel/
A Dtherm_throt.c204 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()
222 u64 msr_val; in get_therm_status() local
229 rdmsrl(msr, msr_val); in get_therm_status()
235 *temp = (msr_val >> 16) & 0x7F; in get_therm_status()
565 platform_thermal_notify(msr_val); in notify_thresholds()
569 platform_thermal_notify(msr_val); in notify_thresholds()
580 __u64 msr_val; in intel_thermal_interrupt() local
588 notify_thresholds(msr_val); in intel_thermal_interrupt()
[all …]
A Dthermal_interrupt.h6 extern int (*platform_thermal_package_notify)(__u64 msr_val);
9 extern int (*platform_thermal_notify)(__u64 msr_val);
A 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/arch/x86/hyperv/
A 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/arch/x86/kvm/
A Dlapic.c673 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled()
681 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_get_pending()
691 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_set_pending()
701 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_clr_pending()
2324 u64 msr_val; in kvm_lapic_reset() local
2328 msr_val = APIC_DEFAULT_PHYS_BASE | MSR_IA32_APICBASE_ENABLE; in kvm_lapic_reset()
2330 msr_val |= MSR_IA32_APICBASE_BSP; in kvm_lapic_reset()
2331 kvm_lapic_set_base(vcpu, msr_val); in kvm_lapic_reset()
2374 vcpu->arch.pv_eoi.msr_val = 0; in kvm_lapic_reset()
2880 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_set_pv_eoi()
A Dx86.c3298 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time()
3308 gfn_t gfn = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in record_steal_time()
3574 vcpu->arch.st.msr_val = data; in kvm_set_msr_common()
3905 msr_info->data = vcpu->arch.st.msr_val; in kvm_get_msr_common()
3911 msr_info->data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common()
4426 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in kvm_steal_time_set_preempted()
11047 vcpu->arch.st.msr_val = 0; in kvm_vcpu_reset()
A Dhyperv.c886 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in kvm_hv_assist_page_enabled()
/linux/arch/powerpc/platforms/powernv/
A Didle.c78 uint64_t msr_val = MSR_IDLE; in pnv_save_sprs_for_deep_states() local
94 rc = opal_slw_set_reg(pir, P9_STOP_SPR_MSR, msr_val); in pnv_save_sprs_for_deep_states()
/linux/arch/x86/include/asm/
A Dkvm_host.h750 u64 msr_val; member
838 u64 msr_val; member
/linux/drivers/edac/
A Damd64_edac.c3091 u64 msr_val; in read_mc_regs() local
3101 rdmsrl(MSR_AMD64_SYSCFG, msr_val); in read_mc_regs()
3102 if (msr_val & BIT(21)) { in read_mc_regs()

Completed in 58 milliseconds