Searched refs:msr_val (Results 1 - 8 of 8) sorted by relevance
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/ |
H A D | therm_throt.c | 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) notify_package_thresholds() argument 341 if (msr_val & THERM_LOG_THRESHOLD0) notify_package_thresholds() 344 if (msr_val & THERM_LOG_THRESHOLD1) notify_package_thresholds() 353 platform_thermal_package_notify(msr_val); notify_package_thresholds() 359 platform_thermal_package_notify(msr_val); notify_package_thresholds() 362 platform_thermal_package_notify(msr_val); notify_package_thresholds() 365 static void notify_thresholds(__u64 msr_val) notify_thresholds() argument 374 if ((msr_val & THERM_LOG_THRESHOLD0) && notify_thresholds() 376 platform_thermal_notify(msr_val); notify_thresholds() 378 if ((msr_val & THERM_LOG_THRESHOLD1) && notify_thresholds() 380 platform_thermal_notify(msr_val); notify_thresholds() 386 __u64 msr_val; intel_thermal_interrupt() local 388 rdmsrl(MSR_IA32_THERM_STATUS, msr_val); intel_thermal_interrupt() 391 notify_thresholds(msr_val); intel_thermal_interrupt() 393 if (therm_throt_process(msr_val & THERM_STATUS_PROCHOT, intel_thermal_interrupt() 396 mce_log_therm_throt_event(msr_val); intel_thermal_interrupt() 399 therm_throt_process(msr_val & THERM_STATUS_POWER_LIMIT, intel_thermal_interrupt() 404 rdmsrl(MSR_IA32_PACKAGE_THERM_STATUS, msr_val); intel_thermal_interrupt() 406 notify_package_thresholds(msr_val); intel_thermal_interrupt() 407 therm_throt_process(msr_val & PACKAGE_THERM_STATUS_PROCHOT, intel_thermal_interrupt() 411 therm_throt_process(msr_val & intel_thermal_interrupt()
|
/linux-4.1.27/drivers/thermal/ |
H A D | x86_pkg_temp_thermal.c | 318 __u64 msr_val; pkg_temp_thermal_threshold_work_fn() local 338 rdmsrl(MSR_IA32_PACKAGE_THERM_STATUS, msr_val); pkg_temp_thermal_threshold_work_fn() 339 if (msr_val & THERM_LOG_THRESHOLD0) { pkg_temp_thermal_threshold_work_fn() 341 msr_val & ~THERM_LOG_THRESHOLD0); pkg_temp_thermal_threshold_work_fn() 344 if (msr_val & THERM_LOG_THRESHOLD1) { pkg_temp_thermal_threshold_work_fn() 346 msr_val & ~THERM_LOG_THRESHOLD1); pkg_temp_thermal_threshold_work_fn() 355 static int pkg_temp_thermal_platform_thermal_notify(__u64 msr_val) pkg_temp_thermal_platform_thermal_notify() argument
|
/linux-4.1.27/drivers/powercap/ |
H A D | intel_rapl.c | 805 u64 msr_val; rapl_write_data_raw() local 814 if (rdmsrl_safe_on_cpu(cpu, msr, &msr_val)) { rapl_write_data_raw() 820 msr_val &= ~rp->mask; rapl_write_data_raw() 821 msr_val |= value << rp->shift; rapl_write_data_raw() 822 if (wrmsrl_safe_on_cpu(cpu, msr, msr_val)) { rapl_write_data_raw() 844 u64 msr_val; rapl_check_unit_core() local 847 if (rdmsrl_safe_on_cpu(cpu, MSR_RAPL_POWER_UNIT, &msr_val)) { rapl_check_unit_core() 853 value = (msr_val & ENERGY_UNIT_MASK) >> ENERGY_UNIT_OFFSET; rapl_check_unit_core() 856 value = (msr_val & POWER_UNIT_MASK) >> POWER_UNIT_OFFSET; rapl_check_unit_core() 859 value = (msr_val & TIME_UNIT_MASK) >> TIME_UNIT_OFFSET; rapl_check_unit_core() 870 u64 msr_val; rapl_check_unit_atom() local 873 if (rdmsrl_safe_on_cpu(cpu, MSR_RAPL_POWER_UNIT, &msr_val)) { rapl_check_unit_atom() 878 value = (msr_val & ENERGY_UNIT_MASK) >> ENERGY_UNIT_OFFSET; rapl_check_unit_atom() 881 value = (msr_val & POWER_UNIT_MASK) >> POWER_UNIT_OFFSET; rapl_check_unit_atom() 884 value = (msr_val & TIME_UNIT_MASK) >> TIME_UNIT_OFFSET; rapl_check_unit_atom()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | mce.h | 235 extern int (*platform_thermal_notify)(__u64 msr_val); 238 extern int (*platform_thermal_package_notify)(__u64 msr_val);
|
H A D | kvm_host.h | 451 u64 msr_val; member in struct:kvm_vcpu_arch::__anon3052 513 u64 msr_val; member in struct:kvm_vcpu_arch::__anon3053 525 u64 msr_val; member in struct:kvm_vcpu_arch::__anon3055
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | lapic.c | 515 return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED; pv_eoi_enabled() 523 (unsigned long long)vcpu->arch.pv_eoi.msr_val); pv_eoi_get_pending() 531 (unsigned long long)vcpu->arch.pv_eoi.msr_val); pv_eoi_set_pending() 541 (unsigned long long)vcpu->arch.pv_eoi.msr_val); pv_eoi_clr_pending() 1612 vcpu->arch.pv_eoi.msr_val = 0; kvm_lapic_reset() 2039 vcpu->arch.pv_eoi.msr_val = data; kvm_lapic_enable_pv_eoi()
|
H A D | x86.c | 2083 vcpu->arch.apf.msr_val = data; kvm_pv_enable_async_pf() 2109 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) accumulate_steal_time() 2121 if (!(vcpu->arch.st.msr_val & KVM_MSR_ENABLED)) record_steal_time() 2261 vcpu->arch.st.msr_val = data; kvm_set_msr_common() 2611 data = vcpu->arch.apf.msr_val; kvm_get_msr_common() 2614 data = vcpu->arch.st.msr_val; kvm_get_msr_common() 2617 data = vcpu->arch.pv_eoi.msr_val; kvm_get_msr_common() 7134 vcpu->arch.apf.msr_val = 0; kvm_arch_vcpu_destroy() 7163 vcpu->arch.apf.msr_val = 0; kvm_vcpu_reset() 7164 vcpu->arch.st.msr_val = 0; kvm_vcpu_reset() 7909 if (!(vcpu->arch.apf.msr_val & KVM_ASYNC_PF_ENABLED) || kvm_arch_async_page_not_present() 7934 if ((vcpu->arch.apf.msr_val & KVM_ASYNC_PF_ENABLED) && kvm_arch_async_page_present() 7949 if (!(vcpu->arch.apf.msr_val & KVM_ASYNC_PF_ENABLED)) kvm_arch_can_inject_async_page_present()
|
/linux-4.1.27/drivers/edac/ |
H A D | amd64_edac.c | 2261 u64 msr_val; read_mc_regs() local 2272 rdmsrl(MSR_K8_SYSCFG, msr_val); read_mc_regs() 2273 if (msr_val & (1U << 21)) { read_mc_regs()
|
Completed in 529 milliseconds