/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 | 357 u64 msr_val; in hfi_enable() local 359 rdmsrl(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val); in hfi_enable() 360 msr_val |= HW_FEEDBACK_CONFIG_HFI_ENABLE_BIT; in hfi_enable() 361 wrmsrl(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val); in hfi_enable() 367 u64 msr_val; in hfi_set_hw_table() local 371 wrmsrl(MSR_IA32_HW_FEEDBACK_PTR, msr_val); in hfi_set_hw_table() 377 u64 msr_val; in hfi_disable() local 380 rdmsrl(MSR_IA32_HW_FEEDBACK_CONFIG, msr_val); in hfi_disable() 381 msr_val &= ~HW_FEEDBACK_CONFIG_HFI_ENABLE_BIT; in hfi_disable() 382 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 | 250 static int pkg_thermal_notify(u64 msr_val) in pkg_thermal_notify() argument
|
/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()
|
/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | monitor.c | 230 u64 msr_val; in __rmid_read_phys() local 241 rdmsrl(MSR_IA32_QM_CTR, msr_val); in __rmid_read_phys() 243 if (msr_val & RMID_VAL_ERROR) in __rmid_read_phys() 245 if (msr_val & RMID_VAL_UNAVAIL) in __rmid_read_phys() 248 *val = msr_val; in __rmid_read_phys() 323 u64 msr_val, chunks; in resctrl_arch_rmid_read() local 330 ret = __rmid_read_phys(prmid, eventid, &msr_val); in resctrl_arch_rmid_read() 336 am->chunks += mbm_overflow_count(am->prev_msr, msr_val, in resctrl_arch_rmid_read() 339 am->prev_msr = msr_val; in resctrl_arch_rmid_read() 341 chunks = msr_val; in resctrl_arch_rmid_read()
|
/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()
|
/linux/arch/x86/kvm/ |
H A D | lapic.c | 910 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled() 2722 u64 msr_val; in kvm_lapic_reset() local 2728 msr_val = APIC_DEFAULT_PHYS_BASE | MSR_IA32_APICBASE_ENABLE; in kvm_lapic_reset() 2730 msr_val |= MSR_IA32_APICBASE_BSP; in kvm_lapic_reset() 2731 kvm_lapic_set_base(vcpu, msr_val); in kvm_lapic_reset() 2777 vcpu->arch.pv_eoi.msr_val = 0; in kvm_lapic_reset() 3330 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_set_pv_eoi()
|
H A D | x86.c | 3679 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in record_steal_time() 3688 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time() 4030 vcpu->arch.st.msr_val = data; in kvm_set_msr_common() 4393 msr_info->data = vcpu->arch.st.msr_val; in kvm_get_msr_common() 4399 msr_info->data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common() 5051 gpa_t gpa = vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS; in kvm_steal_time_set_preempted() 5066 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in kvm_steal_time_set_preempted() 12437 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()
|
/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()
|
/linux/arch/x86/include/asm/ |
H A D | kvm_host.h | 897 u64 msr_val; member 990 u64 msr_val; member
|
/linux/drivers/edac/ |
H A D | amd64_edac.c | 2938 u64 msr_val; in dct_read_mc_regs() local 2948 rdmsrl(MSR_AMD64_SYSCFG, msr_val); in dct_read_mc_regs() 2949 if (msr_val & BIT(21)) { in dct_read_mc_regs()
|