Home
last modified time | relevance | path

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

/linux-6.15/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()
412 case MSR_GS_BASE: in process_rdmsr()
413 run->msr.data = MSR_GS_BASE; in process_rdmsr()
[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-6.15/arch/x86/power/
H A Dcpu.c114 rdmsrl(MSR_GS_BASE, ctxt->kernelmode_gs_base); in __save_processor_state()
234 wrmsrl(MSR_GS_BASE, ctxt->kernelmode_gs_base); in __restore_processor_state()
/linux-6.15/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-6.15/arch/x86/kernel/
H A Dhead_64.S69 movl $MSR_GS_BASE, %ecx
370 movl $MSR_GS_BASE,%ecx
H A Dprocess_64.c111 rdmsrl(MSR_GS_BASE, gs); in __show_regs()
/linux-6.15/arch/x86/xen/
H A Dxen-head.S39 movl $MSR_GS_BASE,%ecx
H A Denlighten_pv.c1144 case MSR_GS_BASE: in xen_do_write_msr()
/linux-6.15/arch/x86/platform/pvh/
H A Dhead.S181 movl $MSR_GS_BASE,%ecx
/linux-6.15/tools/testing/selftests/kvm/lib/x86/
H A Dvmx.c275 vmwrite(HOST_GS_BASE, rdmsr(MSR_GS_BASE)); in init_vmcs_host_state()
/linux-6.15/arch/x86/include/asm/
H A Dmsr-index.h16 #define MSR_GS_BASE 0xc0000101 /* 64bit GS base */ macro
/linux-6.15/arch/x86/entry/
H A Dentry_64.S921 movl $MSR_GS_BASE, %ecx
/linux-6.15/tools/arch/x86/include/asm/
H A Dmsr-index.h16 #define MSR_GS_BASE 0xc0000101 /* 64bit GS base */ macro
/linux-6.15/arch/x86/lib/
H A Dinsn-eval.c714 rdmsrl(MSR_GS_BASE, base); in insn_get_seg_base()
/linux-6.15/arch/x86/kvm/svm/
H A Dsvm.c94 { .index = MSR_GS_BASE, .always = true },
2948 case MSR_GS_BASE: in svm_get_msr()
3175 case MSR_GS_BASE: in svm_set_msr()
/linux-6.15/arch/x86/kvm/vmx/
H A Dvmx.c177 MSR_GS_BASE,
2030 case MSR_GS_BASE: in vmx_get_msr()
2218 case MSR_GS_BASE: in vmx_set_msr()
7633 vmx_disable_intercept_for_msr(vcpu, MSR_GS_BASE, MSR_TYPE_RW); in vmx_vcpu_create()
H A Dnested.c703 MSR_GS_BASE, MSR_TYPE_RW); in nested_vmx_prepare_msr_bitmap()
927 CC(e->index == MSR_GS_BASE) || in nested_vmx_load_msr_check()
/linux-6.15/arch/x86/kernel/cpu/
H A Dcommon.c764 wrmsrl(MSR_GS_BASE, cpu_kernelmode_gs_base(cpu)); in switch_gdt_and_percpu_base()
/linux-6.15/arch/x86/kvm/
H A Dx86.c1808 case MSR_GS_BASE: in __kvm_set_msr()