Home
last modified time | relevance | path

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

/linux-5.19.10/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()
174 rdmsrl(MSR_KERNEL_GS_BASE, gsbase); in __rdgsbase_inactive()
199 wrmsrl(MSR_KERNEL_GS_BASE, gsbase); in __wrgsbase_inactive()
331 wrmsrl(which == FS ? MSR_FS_BASE : MSR_KERNEL_GS_BASE, in load_seg_legacy()
441 rdmsrl(MSR_KERNEL_GS_BASE, gsbase); in x86_gsbase_read_cpu_inactive()
456 wrmsrl(MSR_KERNEL_GS_BASE, gsbase); in x86_gsbase_write_cpu_inactive()
/linux-5.19.10/arch/x86/power/
Dcpu.c113 rdmsrl(MSR_KERNEL_GS_BASE, ctxt->usermode_gs_base); in __save_processor_state()
256 wrmsrl(MSR_KERNEL_GS_BASE, ctxt->usermode_gs_base); in __restore_processor_state()
/linux-5.19.10/arch/x86/kvm/vmx/
Dvmx.c164 MSR_KERNEL_GS_BASE,
1238 vmx->msr_host_kernel_gs_base = read_msr(MSR_KERNEL_GS_BASE); in vmx_prepare_switch_to_guest()
1241 wrmsrl(MSR_KERNEL_GS_BASE, vmx->msr_guest_kernel_gs_base); in vmx_prepare_switch_to_guest()
1265 rdmsrl(MSR_KERNEL_GS_BASE, vmx->msr_guest_kernel_gs_base); in vmx_prepare_switch_to_host()
1285 wrmsrl(MSR_KERNEL_GS_BASE, vmx->msr_host_kernel_gs_base); in vmx_prepare_switch_to_host()
1297 rdmsrl(MSR_KERNEL_GS_BASE, vmx->msr_guest_kernel_gs_base); in vmx_read_guest_kernel_gs_base()
1306 wrmsrl(MSR_KERNEL_GS_BASE, data); in vmx_write_guest_kernel_gs_base()
1855 case MSR_KERNEL_GS_BASE: in vmx_get_msr()
2041 case MSR_KERNEL_GS_BASE: in vmx_set_msr()
7142 vmx_disable_intercept_for_msr(vcpu, MSR_KERNEL_GS_BASE, MSR_TYPE_RW); in vmx_vcpu_create()
Dnested.c679 MSR_KERNEL_GS_BASE, MSR_TYPE_RW); in nested_vmx_prepare_msr_bitmap()
/linux-5.19.10/tools/arch/x86/include/asm/
Dmsr-index.h22 #define MSR_KERNEL_GS_BASE 0xc0000102 /* SwapGS GS shadow */ macro
/linux-5.19.10/arch/x86/include/asm/
Dmsr-index.h22 #define MSR_KERNEL_GS_BASE 0xc0000102 /* SwapGS GS shadow */ macro
/linux-5.19.10/arch/x86/lib/
Dinsn-eval.c712 rdmsrl(MSR_KERNEL_GS_BASE, base); in insn_get_seg_base()
/linux-5.19.10/arch/x86/xen/
Denlighten_pv.c945 case MSR_KERNEL_GS_BASE: which = SEGBASE_GS_USER; goto set; in xen_write_msr_safe()
/linux-5.19.10/arch/x86/kvm/svm/
Dsvm.c88 { .index = MSR_KERNEL_GS_BASE, .always = true },
2647 case MSR_KERNEL_GS_BASE: in svm_get_msr()
2873 case MSR_KERNEL_GS_BASE: in svm_set_msr()
/linux-5.19.10/arch/x86/kernel/cpu/
Dcommon.c2263 wrmsrl(MSR_KERNEL_GS_BASE, 0); in cpu_init()
/linux-5.19.10/arch/x86/kvm/
Dx86.c1424 MSR_CSTAR, MSR_KERNEL_GS_BASE, MSR_SYSCALL_MASK, MSR_LSTAR,
1810 case MSR_KERNEL_GS_BASE: in __kvm_set_msr()