Home
last modified time | relevance | path

Searched refs:MSR_KERNEL_GS_BASE (Results 1 – 11 of 11) sorted by relevance

/arch/x86/include/asm/
Dfsgsbase.h37 rdmsrl(MSR_KERNEL_GS_BASE, gsbase); in x86_gsbase_read_cpu_inactive()
49 wrmsrl(MSR_KERNEL_GS_BASE, gsbase); in x86_gsbase_write_cpu_inactive()
Dmsr-index.h22 #define MSR_KERNEL_GS_BASE 0xc0000102 /* SwapGS GS shadow */ macro
/arch/x86/power/
Dcpu.c113 rdmsrl(MSR_KERNEL_GS_BASE, ctxt->usermode_gs_base); in __save_processor_state()
255 wrmsrl(MSR_KERNEL_GS_BASE, ctxt->usermode_gs_base); in __restore_processor_state()
/arch/x86/kernel/
Dprocess_64.c97 rdmsrl(MSR_KERNEL_GS_BASE, shadowgs); in __show_regs()
110 rdmsrl(MSR_KERNEL_GS_BASE, shadowgs); in __show_regs()
268 wrmsrl(which == FS ? MSR_FS_BASE : MSR_KERNEL_GS_BASE, in load_seg_legacy()
/arch/x86/lib/
Dinsn-eval.c663 rdmsrl(MSR_KERNEL_GS_BASE, base); in insn_get_seg_base()
/arch/x86/kvm/vmx/
Dvmx.c1182 vmx->msr_host_kernel_gs_base = read_msr(MSR_KERNEL_GS_BASE); in vmx_prepare_switch_to_guest()
1185 wrmsrl(MSR_KERNEL_GS_BASE, vmx->msr_guest_kernel_gs_base); in vmx_prepare_switch_to_guest()
1209 rdmsrl(MSR_KERNEL_GS_BASE, vmx->msr_guest_kernel_gs_base); in vmx_prepare_switch_to_host()
1229 wrmsrl(MSR_KERNEL_GS_BASE, vmx->msr_host_kernel_gs_base); in vmx_prepare_switch_to_host()
1241 rdmsrl(MSR_KERNEL_GS_BASE, vmx->msr_guest_kernel_gs_base); in vmx_read_guest_kernel_gs_base()
1250 wrmsrl(MSR_KERNEL_GS_BASE, data); in vmx_write_guest_kernel_gs_base()
1779 case MSR_KERNEL_GS_BASE: in vmx_get_msr()
1927 case MSR_KERNEL_GS_BASE: in vmx_set_msr()
6767 vmx_disable_intercept_for_msr(msr_bitmap, MSR_KERNEL_GS_BASE, MSR_TYPE_RW); in vmx_create_vcpu()
Dnested.c626 MSR_KERNEL_GS_BASE, MSR_TYPE_RW); in nested_vmx_prepare_msr_bitmap()
/arch/x86/xen/
Denlighten_pv.c917 case MSR_KERNEL_GS_BASE: which = SEGBASE_GS_USER; goto set; in xen_write_msr_safe()
/arch/x86/kvm/
Dsvm.c120 MSR_STAR, MSR_LSTAR, MSR_CSTAR, MSR_SYSCALL_MASK, MSR_KERNEL_GS_BASE,
282 { .index = MSR_KERNEL_GS_BASE, .always = true },
2316 wrmsrl(MSR_KERNEL_GS_BASE, current->thread.gsbase); in svm_vcpu_put()
4138 case MSR_KERNEL_GS_BASE: in svm_get_msr()
4334 case MSR_KERNEL_GS_BASE: in svm_set_msr()
Dx86.c1149 MSR_CSTAR, MSR_KERNEL_GS_BASE, MSR_SYSCALL_MASK, MSR_LSTAR,
1450 case MSR_KERNEL_GS_BASE: in __kvm_set_msr()
/arch/x86/kernel/cpu/
Dcommon.c1854 wrmsrl(MSR_KERNEL_GS_BASE, 0); in cpu_init()