Home
last modified time | relevance | path

Searched refs:rdmsrl (Results 1 – 25 of 93) sorted by relevance

1234

/linux-6.1.9/arch/x86/hyperv/
Dhv_init.c66 rdmsrl(MSR_AMD64_SEV_ES_GHCB, ghcb_gpa); in hyperv_init_ghcb()
95 rdmsrl(HV_X64_MSR_VP_ASSIST_PAGE, msr.as_uint64); in hv_cpu_init()
127 rdmsrl(HV_X64_MSR_TSC_EMULATION_STATUS, *(u64 *)&emu_status); in hv_reenlightenment_notify()
140 rdmsrl(HV_X64_MSR_TSC_EMULATION_STATUS, *(u64 *)&emu_status); in hyperv_stop_tsc_emulation()
144 rdmsrl(HV_X64_MSR_TSC_FREQUENCY, freq); in hyperv_stop_tsc_emulation()
204 rdmsrl(HV_X64_MSR_REENLIGHTENMENT_CONTROL, *(u64 *)&re_ctrl); in clear_hv_tscchange_cb()
238 rdmsrl(HV_X64_MSR_VP_ASSIST_PAGE, msr.as_uint64); in hv_cpu_die()
247 rdmsrl(HV_X64_MSR_REENLIGHTENMENT_CONTROL, *((u64 *)&re_ctrl)); in hv_cpu_die()
302 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_suspend()
319 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hv_resume()
[all …]
/linux-6.1.9/arch/x86/kernel/cpu/
Dtsx.c26 rdmsrl(MSR_IA32_TSX_CTRL, tsx); in tsx_disable()
46 rdmsrl(MSR_IA32_TSX_CTRL, tsx); in tsx_enable()
117 rdmsrl(MSR_TSX_FORCE_ABORT, msr); in tsx_clear_cpuid()
121 rdmsrl(MSR_IA32_TSX_CTRL, msr); in tsx_clear_cpuid()
148 rdmsrl(MSR_IA32_MCU_OPT_CTRL, mcu_opt_ctrl); in tsx_dev_mode_disable()
Daperfmperf.c43 rdmsrl(MSR_IA32_APERF, aperf); in init_counter_refs()
44 rdmsrl(MSR_IA32_MPERF, mperf); in init_counter_refs()
381 rdmsrl(MSR_IA32_APERF, aperf); in arch_scale_freq_tick()
382 rdmsrl(MSR_IA32_MPERF, mperf); in arch_scale_freq_tick()
Damd.c366 rdmsrl(MSR_FAM10H_NODE_ID, value); in amd_get_topology()
488 rdmsrl(MSR_K7_HWCR, val); in bsp_init_amd()
520 rdmsrl(MSR_FAM10H_NODE_ID, value); in bsp_init_amd()
569 rdmsrl(MSR_AMD64_SYSCFG, msr); in early_detect_mem_encrypt()
586 rdmsrl(MSR_K7_HWCR, msr); in early_detect_mem_encrypt()
687 rdmsrl(0xc0011005, value); in early_init_amd()
1140 rdmsrl(MSR_AMD64_OSVW_ID_LENGTH, osvw_len); in cpu_has_amd_erratum()
1144 rdmsrl(MSR_AMD64_OSVW_STATUS + (osvw_id >> 6), in cpu_has_amd_erratum()
Dhygon.c96 rdmsrl(MSR_FAM10H_NODE_ID, value); in hygon_get_topology()
206 rdmsrl(MSR_K7_HWCR, val); in bsp_init_hygon()
222 rdmsrl(MSR_FAM10H_NODE_ID, value); in bsp_init_hygon()
Dintel_epb.c82 rdmsrl(MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_epb_save()
97 rdmsrl(MSR_IA32_ENERGY_PERF_BIAS, epb); in intel_epb_restore()
/linux-6.1.9/arch/x86/kernel/cpu/mce/
Dintel.c94 rdmsrl(MSR_IA32_MCG_CAP, cap); in cmci_supported()
106 rdmsrl(MSR_IA32_MCG_CAP, tmp); in lmce_supported()
123 rdmsrl(MSR_IA32_FEAT_CTL, tmp); in lmce_supported()
164 rdmsrl(MSR_IA32_MCx_CTL2(bank), val); in cmci_toggle_interrupt_mode()
286 rdmsrl(MSR_IA32_MCx_CTL2(i), val); in cmci_discover()
310 rdmsrl(MSR_IA32_MCx_CTL2(i), val); in cmci_discover()
362 rdmsrl(MSR_IA32_MCx_CTL2(bank), val); in __cmci_disable_bank()
455 rdmsrl(MSR_IA32_MCG_EXT_CTL, val); in intel_init_lmce()
468 rdmsrl(MSR_IA32_MCG_EXT_CTL, val); in intel_clear_lmce()
/linux-6.1.9/arch/x86/platform/olpc/
Dolpc-xo1-rtc.c67 rdmsrl(MSR_RTC_DOMA_OFFSET, rtc_info.rtc_day_alarm); in xo1_rtc_init()
68 rdmsrl(MSR_RTC_MONA_OFFSET, rtc_info.rtc_mon_alarm); in xo1_rtc_init()
69 rdmsrl(MSR_RTC_CEN_OFFSET, rtc_info.rtc_century); in xo1_rtc_init()
/linux-6.1.9/arch/x86/events/amd/
Dpower.c51 rdmsrl(MSR_F15H_CU_PWR_ACCUMULATOR, new_pwr_acc); in event_update()
52 rdmsrl(MSR_F15H_PTSC, new_ptsc); in event_update()
78 rdmsrl(MSR_F15H_PTSC, event->hw.ptsc); in __pmu_event_start()
79 rdmsrl(MSR_F15H_CU_PWR_ACCUMULATOR, event->hw.pwr_acc); in __pmu_event_start()
Dlbr.c76 rdmsrl(MSR_AMD_SAMP_BR_FROM + idx * 2, val); in amd_pmu_lbr_get_from()
85 rdmsrl(MSR_AMD_SAMP_BR_FROM + idx * 2 + 1, val); in amd_pmu_lbr_get_to()
403 rdmsrl(MSR_IA32_DEBUGCTLMSR, dbg_ctl); in amd_pmu_lbr_enable_all()
404 rdmsrl(MSR_AMD_DBG_EXTN_CFG, dbg_extn_cfg); in amd_pmu_lbr_enable_all()
418 rdmsrl(MSR_AMD_DBG_EXTN_CFG, dbg_extn_cfg); in amd_pmu_lbr_disable_all()
419 rdmsrl(MSR_IA32_DEBUGCTLMSR, dbg_ctl); in amd_pmu_lbr_disable_all()
Dbrs.c54 rdmsrl(MSR_AMD_DBG_EXTN_CFG, val); in get_debug_extn_cfg()
331 rdmsrl(brs_to(brs_idx), to); in amd_brs_drain()
347 rdmsrl(brs_from(brs_idx), from); in amd_brs_drain()
Dibs.c358 rdmsrl(event->hw.config_base, *config); in perf_ibs_event_update()
444 rdmsrl(hwc->config_base, config); in perf_ibs_stop()
1047 rdmsrl(msr, *buf); in perf_ibs_handle_irq()
1065 rdmsrl(msr + offset, *buf++); in perf_ibs_handle_irq()
1079 rdmsrl(MSR_AMD64_IBSBRTARGET, *buf++); in perf_ibs_handle_irq()
1083 rdmsrl(MSR_AMD64_IBSOPDATA4, *buf++); in perf_ibs_handle_irq()
1088 rdmsrl(MSR_AMD64_ICIBSEXTDCTL, *buf++); in perf_ibs_handle_irq()
1323 rdmsrl(MSR_AMD64_IBSCTL, val); in ibs_eilvt_valid()
1438 rdmsrl(MSR_AMD64_IBSCTL, val); in get_ibs_lvt_offset()
/linux-6.1.9/arch/x86/power/
Dcpu.c45 rdmsrl(msr->info.msr_no, msr->info.reg.q); in msr_save_context()
111 rdmsrl(MSR_FS_BASE, ctxt->fs_base); in __save_processor_state()
112 rdmsrl(MSR_GS_BASE, ctxt->kernelmode_gs_base); in __save_processor_state()
113 rdmsrl(MSR_KERNEL_GS_BASE, ctxt->usermode_gs_base); in __save_processor_state()
116 rdmsrl(MSR_EFER, ctxt->efer); in __save_processor_state()
/linux-6.1.9/drivers/video/fbdev/geode/
Dvideo_gx.c145 rdmsrl(MSR_GLCP_SYS_RSTPLL, sys_rstpll); in gx_set_dclk_frequency()
146 rdmsrl(MSR_GLCP_DOTPLL, dotpll); in gx_set_dclk_frequency()
170 rdmsrl(MSR_GLCP_DOTPLL, dotpll); in gx_set_dclk_frequency()
183 rdmsrl(MSR_GX_MSR_PADSEL, val); in gx_configure_tft()
Dsuspend_gx.c24 rdmsrl(MSR_GX_MSR_PADSEL, par->msr.padsel); in gx_save_regs()
25 rdmsrl(MSR_GLCP_DOTPLL, par->msr.dotpll); in gx_save_regs()
46 rdmsrl(MSR_GLCP_DOTPLL, dotpll_lo); in gx_set_dotpll()
53 rdmsrl(MSR_GLCP_DOTPLL, dotpll_lo); in gx_set_dotpll()
/linux-6.1.9/drivers/platform/x86/intel/speed_select_if/
Disst_if_mbox_msr.c44 rdmsrl(MSR_OS_MAILBOX_INTERFACE, data); in isst_if_send_mbox_cmd()
69 rdmsrl(MSR_OS_MAILBOX_INTERFACE, data); in isst_if_send_mbox_cmd()
79 rdmsrl(MSR_OS_MAILBOX_DATA, data); in isst_if_send_mbox_cmd()
/linux-6.1.9/arch/x86/kernel/
Dprocess_64.c96 rdmsrl(MSR_FS_BASE, fs); in __show_regs()
97 rdmsrl(MSR_KERNEL_GS_BASE, shadowgs); in __show_regs()
108 rdmsrl(MSR_FS_BASE, fs); in __show_regs()
109 rdmsrl(MSR_GS_BASE, gs); in __show_regs()
110 rdmsrl(MSR_KERNEL_GS_BASE, shadowgs); in __show_regs()
174 rdmsrl(MSR_KERNEL_GS_BASE, gsbase); in __rdgsbase_inactive()
441 rdmsrl(MSR_KERNEL_GS_BASE, gsbase); in x86_gsbase_read_cpu_inactive()
Dmmconf-fam10h_64.c99 rdmsrl(address, val); in get_fam10h_pci_mmconf_base()
107 rdmsrl(address, val); in get_fam10h_pci_mmconf_base()
179 rdmsrl(address, val); in fam10h_check_enable_mmcfg()
Dtsc_sync.c67 rdmsrl(MSR_IA32_TSC_ADJUST, curval); in tsc_verify_tsc_adjust()
167 rdmsrl(MSR_IA32_TSC_ADJUST, bootval); in tsc_store_and_check_tsc_adjust()
189 rdmsrl(MSR_IA32_TSC_ADJUST, bootval); in tsc_store_and_check_tsc_adjust()
/linux-6.1.9/arch/x86/pci/
Damd_bus.c197 rdmsrl(address, val); in early_root_info_init()
288 rdmsrl(address, val); in early_root_info_init()
293 rdmsrl(address, val); in early_root_info_init()
336 rdmsrl(MSR_AMD64_NB_CFG, reg); in amd_bus_cpu_online()
/linux-6.1.9/arch/x86/kernel/apic/
Dapic_numachip.c34 rdmsrl(MSR_FAM10H_NODE_ID, value); in numachip1_get_apic_id()
50 rdmsrl(MSR_FAM10H_MMIO_CONF_BASE, mcfg); in numachip2_get_apic_id()
179 rdmsrl(MSR_FAM10H_NODE_ID, val); in fixup_cpu_id()
/linux-6.1.9/arch/x86/events/intel/
Dknc.c162 rdmsrl(MSR_KNC_IA32_PERF_GLOBAL_CTRL, val); in knc_pmu_disable_all()
171 rdmsrl(MSR_KNC_IA32_PERF_GLOBAL_CTRL, val); in knc_pmu_enable_all()
203 rdmsrl(MSR_KNC_IA32_PERF_GLOBAL_STATUS, status); in knc_pmu_get_status()
/linux-6.1.9/drivers/cpufreq/
Dpowernow-k7.c222 rdmsrl(MSR_K7_FID_VID_CTL, fidvidctl.val); in change_FID()
237 rdmsrl(MSR_K7_FID_VID_CTL, fidvidctl.val); in change_VID()
263 rdmsrl(MSR_K7_FID_VID_STATUS, fidvidstatus.val); in powernow_target()
560 rdmsrl(MSR_K7_FID_VID_STATUS, fidvidstatus.val); in powernow_get()
601 rdmsrl(MSR_K7_FID_VID_STATUS, fidvidstatus.val); in powernow_cpu_init()
/linux-6.1.9/drivers/idle/
Dintel_idle.c1681 rdmsrl(MSR_PKGC6_IRTL, msr); in bxt_idle_state_table_update()
1688 rdmsrl(MSR_PKGC7_IRTL, msr); in bxt_idle_state_table_update()
1695 rdmsrl(MSR_PKGC8_IRTL, msr); in bxt_idle_state_table_update()
1702 rdmsrl(MSR_PKGC9_IRTL, msr); in bxt_idle_state_table_update()
1709 rdmsrl(MSR_PKGC10_IRTL, msr); in bxt_idle_state_table_update()
1737 rdmsrl(MSR_PKG_CST_CONFIG_CONTROL, msr); in sklh_idle_state_table_update()
1749 rdmsrl(MSR_IA32_FEAT_CTL, msr); in sklh_idle_state_table_update()
1768 rdmsrl(MSR_PKG_CST_CONFIG_CONTROL, msr); in skx_idle_state_table_update()
1821 rdmsrl(MSR_PKG_CST_CONFIG_CONTROL, msr); in spr_idle_state_table_update()
1951 rdmsrl(MSR_PKG_CST_CONFIG_CONTROL, msr_bits); in auto_demotion_disable()
[all …]
/linux-6.1.9/drivers/platform/x86/
Dintel_ips.c372 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_raise()
407 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_cpu_lower()
439 rdmsrl(IA32_PERF_CTL, perf_ctl); in do_enable_cpu_turbo()
477 rdmsrl(IA32_PERF_CTL, perf_ctl); in do_disable_cpu_turbo()
1239 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in cpu_clamp_show()
1311 rdmsrl(IA32_MISC_ENABLE, misc_en); in ips_detect_cpu()
1333 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_power); in ips_detect_cpu()
1515 rdmsrl(PLATFORM_INFO, platform_info); in ips_probe()
1548 rdmsrl(TURBO_POWER_CURRENT_LIMIT, ips->orig_turbo_limit); in ips_probe()
1615 rdmsrl(TURBO_POWER_CURRENT_LIMIT, turbo_override); in ips_remove()

1234