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
808 u64 msr_val; in rapl_write_data_raw() local817 if (rdmsrl_safe_on_cpu(cpu, msr, &msr_val)) { in rapl_write_data_raw()823 msr_val &= ~rp->mask; in rapl_write_data_raw()824 msr_val |= value << rp->shift; in rapl_write_data_raw()825 if (wrmsrl_safe_on_cpu(cpu, msr, msr_val)) { in rapl_write_data_raw()847 u64 msr_val; in rapl_check_unit_core() local850 if (rdmsrl_safe_on_cpu(cpu, MSR_RAPL_POWER_UNIT, &msr_val)) { in rapl_check_unit_core()856 value = (msr_val & ENERGY_UNIT_MASK) >> ENERGY_UNIT_OFFSET; in rapl_check_unit_core()859 value = (msr_val & POWER_UNIT_MASK) >> POWER_UNIT_OFFSET; in rapl_check_unit_core()862 value = (msr_val & TIME_UNIT_MASK) >> TIME_UNIT_OFFSET; in rapl_check_unit_core()[all …]
267 extern int (*platform_thermal_notify)(__u64 msr_val);270 extern int (*platform_thermal_package_notify)(__u64 msr_val);
489 u64 msr_val; member552 u64 msr_val; member564 u64 msr_val; member
524 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; in pv_eoi_enabled()532 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_get_pending()540 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_set_pending()550 (unsigned long long)vcpu->arch.pv_eoi.msr_val); in pv_eoi_clr_pending()1704 vcpu->arch.pv_eoi.msr_val = 0; in kvm_lapic_reset()2135 vcpu->arch.pv_eoi.msr_val = data; in kvm_lapic_enable_pv_eoi()
1974 vcpu->arch.apf.msr_val = data; in kvm_pv_enable_async_pf()2000 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in accumulate_steal_time()2012 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) in record_steal_time()2157 vcpu->arch.st.msr_val = data; in kvm_set_msr_common()2374 msr_info->data = vcpu->arch.apf.msr_val; in kvm_get_msr_common()2377 msr_info->data = vcpu->arch.st.msr_val; in kvm_get_msr_common()2380 msr_info->data = vcpu->arch.pv_eoi.msr_val; in kvm_get_msr_common()7314 vcpu->arch.apf.msr_val = 0; in kvm_arch_vcpu_destroy()7344 vcpu->arch.apf.msr_val = 0; in kvm_vcpu_reset()7345 vcpu->arch.st.msr_val = 0; in kvm_vcpu_reset()[all …]
2276 u64 msr_val; in read_mc_regs() local2287 rdmsrl(MSR_K8_SYSCFG, msr_val); in read_mc_regs()2288 if (msr_val & (1U << 21)) { in read_mc_regs()