Home
last modified time | relevance | path

Searched refs:MSR_GS_BASE (Results 1 – 15 of 15) 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.c41 rdmsr_from_l2(MSR_GS_BASE); /* not intercepted */ in l2_guest_code()
43 rdmsr_from_l2(MSR_GS_BASE); /* intercepted */ in l2_guest_code()
111 __set_bit(2 * (MSR_GS_BASE & 0x1fff), svm->msr + 0x800); in guest_code()
H A Dvmx_nested_la57_state_test.c36 wrmsr(MSR_GS_BASE, LA57_GS_BASE); in l1_guest_code()
37 GUEST_ASSERT(rdmsr(MSR_GS_BASE) == LA57_GS_BASE); in l1_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()
152 __set_bit(MSR_GS_BASE & 0x1fff, vmx_pages->msr + 0x400); in guest_code()
H A Dmsrs_test.c381 MSR_TEST_CANONICAL(MSR_GS_BASE, LM), in test_msrs()
462 TEST_ASSERT(msr->index == MSR_FS_BASE || msr->index == MSR_GS_BASE || in test_msrs()
/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/hyperv/
H A Dhv_crash.c175 hv_wrmsr(MSR_GS_BASE, hv_crash_ctxt.gsbase); in hv_crash_c_entry()
220 ctxt->gsbase = __rdmsr(MSR_GS_BASE); in hv_hvcrash_ctxt_save()
/linux/arch/x86/kernel/
H A Dhead_64.S69 movl $MSR_GS_BASE, %ecx
370 movl $MSR_GS_BASE,%ecx
/linux/arch/x86/xen/
H A Dxen-head.S39 movl $MSR_GS_BASE,%ecx
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dvmx.c288 vmwrite(HOST_GS_BASE, rdmsr(MSR_GS_BASE)); in init_vmcs_host_state()
/linux/arch/x86/entry/
H A Dentry_64.S921 movl $MSR_GS_BASE, %ecx
/linux/tools/arch/x86/include/asm/
H A Dmsr-index.h16 #define MSR_GS_BASE 0xc0000101 /* 64bit GS base */ macro
/linux/arch/x86/kvm/svm/
H A Dsvm.c799 svm_disable_intercept_for_msr(vcpu, MSR_GS_BASE, MSR_TYPE_RW); in svm_recalc_msr_intercepts()
2853 case MSR_GS_BASE: in svm_get_msr()
3098 case MSR_GS_BASE: in svm_set_msr()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c2140 case MSR_GS_BASE: in vmx_get_msr()
2353 case MSR_GS_BASE: in vmx_set_msr()
4294 vmx_disable_intercept_for_msr(vcpu, MSR_GS_BASE, MSR_TYPE_RW); in vmx_recalc_msr_intercepts()