Home
last modified time | relevance | path

Searched refs:wrmsr_safe (Results 1 – 15 of 15) sorted by relevance

/linux-6.15/arch/x86/kernel/acpi/
H A Dsleep.c87 !wrmsr_safe(MSR_EFER, in x86_acpi_suspend_lowlevel()
101 !wrmsr_safe(MSR_IA32_MISC_ENABLE, in x86_acpi_suspend_lowlevel()
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dpmu_counters_test.c407 vector = wrmsr_safe(msr, test_val); in guest_rd_wr_counters()
436 vector = wrmsr_safe(msr, 0); in guest_rd_wr_counters()
519 vector = wrmsr_safe(MSR_CORE_PERF_FIXED_CTR_CTRL, in guest_test_fixed_counters()
524 vector = wrmsr_safe(MSR_CORE_PERF_GLOBAL_CTRL, in guest_test_fixed_counters()
H A Dkvm_pv_test.c51 vector = wrmsr_safe(msr->idx, 0); in test_msr()
H A Dvmx_pmu_caps_test.c56 uint8_t vector = wrmsr_safe(MSR_IA32_PERF_CAPABILITIES, val); in guest_test_perf_capabilities_gp()
H A Dhyperv_features.c50 vector = wrmsr_safe(msr->idx, msr->write_val); in guest_msr()
/linux-6.15/arch/x86/include/asm/
H A Dmsr.h268 static inline int wrmsr_safe(unsigned int msr, u32 low, u32 high) in wrmsr_safe() function
322 return wrmsr_safe(msr, (u32)val, (u32)(val >> 32)); in wrmsrl_safe()
381 return wrmsr_safe(msr_no, l, h); in wrmsr_safe_on_cpu()
H A Dparavirt.h222 #define wrmsr_safe(msr, a, b) paravirt_write_msr_safe(msr, a, b) macro
/linux-6.15/tools/testing/selftests/kvm/include/x86/
H A Dapic.h97 return wrmsr_safe(APIC_BASE_MSR + (reg >> 4), value); in x2apic_write_reg_safe()
H A Dprocessor.h1302 static inline uint8_t wrmsr_safe(uint32_t msr, uint64_t val) in BUILD_READ_U64_SAFE_HELPERS()
/linux-6.15/drivers/thermal/intel/
H A Dintel_tcc.c262 return wrmsr_safe(MSR_IA32_TEMPERATURE_TARGET, low, high); in intel_tcc_set_offset()
/linux-6.15/arch/x86/lib/
H A Dmsr-smp.c164 rv->err = wrmsr_safe(rv->msr_no, rv->reg.l, rv->reg.h); in __wrmsr_safe_on_cpu()
/linux-6.15/drivers/edac/
H A Die31200_edac.c242 if (wrmsr_safe(cfg->msr_clear_eccerrlog_offset, in ie31200_clear_error_info()
/linux-6.15/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c754 if (wrmsr_safe(msr, a, b) < 0) { in mtrr_wrmsr()
/linux-6.15/drivers/acpi/
H A Dprocessor_throttling.c729 wrmsr_safe(MSR_IA32_THERM_CONTROL, in acpi_throttling_wrmsr()
/linux-6.15/drivers/powercap/
H A Dintel_rapl_common.c988 wrmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, l, h); in power_limit_irq_save_cpu()
1037 wrmsr_safe(MSR_IA32_PACKAGE_THERM_INTERRUPT, l, h); in package_power_limit_irq_restore()