Home
last modified time | relevance | path

Searched refs:MSR_GS_BASE (Results 1 – 19 of 19) sorted by relevance

/linux/tools/testing/selftests/kvm/x86/ !
H A Duserspace_msr_exit_test.c63 .base = MSR_GS_BASE,
97 deny_msr(bitmap_c0000000_read, MSR_GS_BASE); in prepare_bitmaps()
297 GUEST_ASSERT(rdmsr(MSR_GS_BASE) == MSR_GS_BASE); in guest_msr_calls()
300 GUEST_ASSERT(rdmsr(MSR_GS_BASE) != MSR_GS_BASE); in guest_msr_calls()
335 data = test_rdmsr(MSR_GS_BASE); in guest_code_permission_bitmap()
336 GUEST_ASSERT(data != MSR_GS_BASE); in guest_code_permission_bitmap()
343 data = test_rdmsr(MSR_GS_BASE); in guest_code_permission_bitmap()
344 GUEST_ASSERT(data == MSR_GS_BASE); in guest_code_permission_bitmap()
349 data = test_rdmsr(MSR_GS_BASE); in guest_code_permission_bitmap()
350 GUEST_ASSERT(data != MSR_GS_BASE); in guest_code_permission_bitmap()
[all …]
H A Dhyperv_svm_test.c43 rdmsr_from_l2(MSR_GS_BASE); /* not intercepted */ in l2_guest_code()
45 rdmsr_from_l2(MSR_GS_BASE); /* intercepted */ in l2_guest_code()
115 __set_bit(2 * (MSR_GS_BASE & 0x1fff), svm->msr + 0x800); in guest_code()
H A Dhyperv_evmcs.c58 rdmsr_from_l2(MSR_GS_BASE); /* not intercepted */ in l2_guest_code()
60 rdmsr_from_l2(MSR_GS_BASE); /* intercepted */ in l2_guest_code()
156 __set_bit(MSR_GS_BASE & 0x1fff, vmx_pages->msr + 0x400); in guest_code()
/linux/arch/x86/power/ !
H A Dcpu.c115 rdmsrq(MSR_GS_BASE, ctxt->kernelmode_gs_base); in __save_processor_state()
235 wrmsrq(MSR_GS_BASE, ctxt->kernelmode_gs_base); in __restore_processor_state()
/linux/Documentation/arch/x86/ !
H A Dentry_64.rst75 The expensive (paranoid) way is to read back the MSR_GS_BASE value
79 movl $MSR_GS_BASE,%ecx
/linux/arch/x86/xen/ !
H A Dxen-head.S39 movl $MSR_GS_BASE,%ecx
H A Denlighten_pv.c1136 case MSR_GS_BASE: in xen_do_write_msr()
/linux/arch/x86/kernel/ !
H A Dhead_64.S69 movl $MSR_GS_BASE, %ecx
370 movl $MSR_GS_BASE,%ecx
H A Dprocess_64.c112 rdmsrq(MSR_GS_BASE, gs); in __show_regs()
/linux/arch/x86/platform/pvh/ !
H A Dhead.S180 movl $MSR_GS_BASE,%ecx
/linux/tools/testing/selftests/kvm/lib/x86/ !
H A Dvmx.c275 vmwrite(HOST_GS_BASE, rdmsr(MSR_GS_BASE)); in init_vmcs_host_state()
/linux/arch/x86/include/asm/ !
H A Dmsr-index.h16 #define MSR_GS_BASE 0xc0000101 /* 64bit GS base */ macro
/linux/tools/arch/x86/include/asm/ !
H A Dmsr-index.h16 #define MSR_GS_BASE 0xc0000101 /* 64bit GS base */ macro
/linux/arch/x86/lib/ !
H A Dinsn-eval.c722 rdmsrq(MSR_GS_BASE, base); in insn_get_seg_base()
/linux/arch/x86/kvm/svm/ !
H A Dsvm.c801 svm_disable_intercept_for_msr(vcpu, MSR_GS_BASE, MSR_TYPE_RW); in svm_recalc_msr_intercepts()
2761 case MSR_GS_BASE: in svm_get_msr()
2988 case MSR_GS_BASE: in svm_set_msr()
H A Dnested.c209 MSR_GS_BASE, in nested_svm_init_msrpm_merge_offsets()
/linux/arch/x86/kvm/vmx/ !
H A Dvmx.c1972 case MSR_GS_BASE: in vmx_get_msr()
2176 case MSR_GS_BASE: in vmx_set_msr()
4079 vmx_disable_intercept_for_msr(vcpu, MSR_GS_BASE, MSR_TYPE_RW); in vmx_recalc_msr_intercepts()
H A Dnested.c704 MSR_GS_BASE, MSR_TYPE_RW); in nested_vmx_prepare_msr_bitmap()
952 CC(e->index == MSR_GS_BASE) || in nested_vmx_load_msr_check()
/linux/arch/x86/kvm/ !
H A Dx86.c1827 case MSR_GS_BASE: in __kvm_set_msr()