/openbmc/linux/drivers/thermal/intel/ |
H A D | therm_throt.c | 264 u64 msr_val; in thermal_clear_package_intr_status() local 275 msr_val &= ~bit_mask; in thermal_clear_package_intr_status() 276 wrmsrl(msr, msr_val); in thermal_clear_package_intr_status() 283 u64 msr_val; in get_therm_status() local 290 rdmsrl(msr, msr_val); in get_therm_status() 296 *temp = (msr_val >> 16) & 0x7F; in get_therm_status() 637 platform_thermal_notify(msr_val); in notify_thresholds() 641 platform_thermal_notify(msr_val); in notify_thresholds() 652 __u64 msr_val; in intel_thermal_interrupt() local 660 notify_thresholds(msr_val); in intel_thermal_interrupt() [all …]
|
H A D | intel_hfi.c | 356 u64 msr_val; in hfi_enable() local 358 rdmsrl(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val); in hfi_enable() 359 msr_val |= HW_FEEDBACK_CONFIG_HFI_ENABLE_BIT; in hfi_enable() 360 wrmsrl(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val); in hfi_enable() 366 u64 msr_val; in hfi_set_hw_table() local 370 wrmsrl(MSR_IA32_HW_FEEDBACK_PTR, msr_val); in hfi_set_hw_table() 376 u64 msr_val; in hfi_disable() local 379 rdmsrl(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val); in hfi_disable() 380 msr_val &= ~HW_FEEDBACK_CONFIG_HFI_ENABLE_BIT; in hfi_disable() 381 wrmsrl(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val); in hfi_disable() [all …]
|
H A D | thermal_interrupt.h | 9 extern int (*platform_thermal_package_notify)(__u64 msr_val); 12 extern int (*platform_thermal_notify)(__u64 msr_val);
|
H A D | x86_pkg_temp_thermal.c | 249 static int pkg_thermal_notify(u64 msr_val) in pkg_thermal_notify() argument
|
/openbmc/linux/arch/x86/hyperv/ |
H A D | hv_spinlock.c | 51 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()
|
/openbmc/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | monitor.c | 151 u64 msr_val; in __rmid_read() local 162 rdmsrl(MSR_IA32_QM_CTR, msr_val); in __rmid_read() 164 if (msr_val & RMID_VAL_ERROR) in __rmid_read() 166 if (msr_val & RMID_VAL_UNAVAIL) in __rmid_read() 169 *val = msr_val; in __rmid_read() 238 u64 msr_val, chunks; in resctrl_arch_rmid_read() local 244 ret = __rmid_read(rmid, eventid, &msr_val); in resctrl_arch_rmid_read() 250 am->chunks += mbm_overflow_count(am->prev_msr, msr_val, in resctrl_arch_rmid_read() 253 am->prev_msr = msr_val; in resctrl_arch_rmid_read() 255 chunks = msr_val; in resctrl_arch_rmid_read()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_features.c | 45 uint64_t msr_val = 0; in guest_msr() local 53 vector = rdmsr_safe(msr->idx, &msr_val); in guest_msr() 70 msr->idx, msr->write_val, msr_val); in guest_msr() 78 !!(msr_val & HV_INVARIANT_TSC_EXPOSED)); in guest_msr()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | lapic.c | 899 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled() 2696 u64 msr_val; in kvm_lapic_reset() local 2702 msr_val = APIC_DEFAULT_PHYS_BASE | MSR_IA32_APICBASE_ENABLE; in kvm_lapic_reset() 2704 msr_val |= MSR_IA32_APICBASE_BSP; in kvm_lapic_reset() 2705 kvm_lapic_set_base(vcpu, msr_val); in kvm_lapic_reset() 2751 vcpu->arch.pv_eoi.msr_val = 0; in kvm_lapic_reset() 3272 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_set_pv_eoi()
|
H A D | x86.c | 3527 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in record_steal_time() 3536 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time() 3868 vcpu->arch.st.msr_val = data; in kvm_set_msr_common() 4237 msr_info->data = vcpu->arch.st.msr_val; in kvm_get_msr_common() 4243 msr_info->data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common() 4868 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in kvm_steal_time_set_preempted() 4883 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in kvm_steal_time_set_preempted() 12079 vcpu->arch.st.msr_val = 0; in kvm_vcpu_reset()
|
H A D | hyperv.c | 920 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in kvm_hv_assist_page_enabled()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A 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()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | kvm_host.h | 871 u64 msr_val; member 961 u64 msr_val; member
|
/openbmc/linux/drivers/edac/ |
H A D | amd64_edac.c | 3196 u64 msr_val; in dct_read_mc_regs() local 3206 rdmsrl(MSR_AMD64_SYSCFG, msr_val); in dct_read_mc_regs() 3207 if (msr_val & BIT(21)) { in dct_read_mc_regs()
|