Searched refs:msr_val (Results 1 – 8 of 8) sorted by relevance
63 int (*platform_thermal_notify)(__u64 msr_val);67 int (*platform_thermal_package_notify)(__u64 msr_val);332 static void notify_package_thresholds(__u64 msr_val) in notify_package_thresholds() argument341 if (msr_val & THERM_LOG_THRESHOLD0) in notify_package_thresholds()344 if (msr_val & THERM_LOG_THRESHOLD1) in notify_package_thresholds()353 platform_thermal_package_notify(msr_val); in notify_package_thresholds()359 platform_thermal_package_notify(msr_val); in notify_package_thresholds()362 platform_thermal_package_notify(msr_val); in notify_package_thresholds()365 static void notify_thresholds(__u64 msr_val) in notify_thresholds() argument374 if ((msr_val & THERM_LOG_THRESHOLD0) && in notify_thresholds()[all …]
318 __u64 msr_val; in pkg_temp_thermal_threshold_work_fn() local338 rdmsrl(MSR_IA32_PACKAGE_THERM_STATUS, msr_val); in pkg_temp_thermal_threshold_work_fn()339 if (msr_val & THERM_LOG_THRESHOLD0) { in pkg_temp_thermal_threshold_work_fn()341 msr_val & ~THERM_LOG_THRESHOLD0); in pkg_temp_thermal_threshold_work_fn()344 if (msr_val & THERM_LOG_THRESHOLD1) { in pkg_temp_thermal_threshold_work_fn()346 msr_val & ~THERM_LOG_THRESHOLD1); in pkg_temp_thermal_threshold_work_fn()355 static int pkg_temp_thermal_platform_thermal_notify(__u64 msr_val) in pkg_temp_thermal_platform_thermal_notify() argument
805 u64 msr_val; in rapl_write_data_raw() local814 if (rdmsrl_safe_on_cpu(cpu, msr, &msr_val)) { in rapl_write_data_raw()820 msr_val &= ~rp->mask; in rapl_write_data_raw()821 msr_val |= value << rp->shift; in rapl_write_data_raw()822 if (wrmsrl_safe_on_cpu(cpu, msr, msr_val)) { in rapl_write_data_raw()844 u64 msr_val; in rapl_check_unit_core() local847 if (rdmsrl_safe_on_cpu(cpu, MSR_RAPL_POWER_UNIT, &msr_val)) { in rapl_check_unit_core()853 value = (msr_val & ENERGY_UNIT_MASK) >> ENERGY_UNIT_OFFSET; in rapl_check_unit_core()856 value = (msr_val & POWER_UNIT_MASK) >> POWER_UNIT_OFFSET; in rapl_check_unit_core()859 value = (msr_val & TIME_UNIT_MASK) >> TIME_UNIT_OFFSET; in rapl_check_unit_core()[all …]
235 extern int (*platform_thermal_notify)(__u64 msr_val);238 extern int (*platform_thermal_package_notify)(__u64 msr_val);
451 u64 msr_val; member513 u64 msr_val; member525 u64 msr_val; member
515 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled()523 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_get_pending()531 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_set_pending()541 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_clr_pending()1612 vcpu->arch.pv_eoi.msr_val = 0; in kvm_lapic_reset()2039 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_enable_pv_eoi()
2083 vcpu->arch.apf.msr_val = data; in kvm_pv_enable_async_pf()2109 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in accumulate_steal_time()2121 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time()2261 vcpu->arch.st.msr_val = data; in kvm_set_msr_common()2611 data = vcpu->arch.apf.msr_val; in kvm_get_msr_common()2614 data = vcpu->arch.st.msr_val; in kvm_get_msr_common()2617 data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common()7134 vcpu->arch.apf.msr_val = 0; in kvm_arch_vcpu_destroy()7163 vcpu->arch.apf.msr_val = 0; in kvm_vcpu_reset()7164 vcpu->arch.st.msr_val = 0; in kvm_vcpu_reset()[all …]
2261 u64 msr_val; in read_mc_regs() local2272 rdmsrl(MSR_K8_SYSCFG, msr_val); in read_mc_regs()2273 if (msr_val & (1U << 21)) { in read_mc_regs()