Home
last modified time | relevance | path

Searched refs:MSR_IA32_XSS (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dxss_msr_test.c30 xss_val = vcpu_get_msr(vcpu, MSR_IA32_XSS); in main()
34 vcpu_set_msr(vcpu, MSR_IA32_XSS, xss_val); in main()
42 xss_in_msr_list = kvm_msr_is_in_save_restore_list(MSR_IA32_XSS); in main()
44 r = _vcpu_set_msr(vcpu, MSR_IA32_XSS, 1ull << i); in main()
Duserspace_msr_exit_test.c31 .base = MSR_IA32_XSS,
225 data = test_rdmsr(MSR_IA32_XSS); in guest_code_filter_allow()
229 test_wrmsr(MSR_IA32_XSS, 0); in guest_code_filter_allow()
232 test_wrmsr(MSR_IA32_XSS, 1); in guest_code_filter_allow()
277 data = test_em_rdmsr(MSR_IA32_XSS); in guest_code_filter_allow()
280 test_em_wrmsr(MSR_IA32_XSS, 0); in guest_code_filter_allow()
282 test_em_wrmsr(MSR_IA32_XSS, 1); in guest_code_filter_allow()
419 case MSR_IA32_XSS: in process_rdmsr()
451 case MSR_IA32_XSS: in process_wrmsr()
553 run_guest_then_process_rdmsr(vcpu, MSR_IA32_XSS); in test_msr_filter_allow()
[all …]
/linux-6.6.21/arch/x86/kernel/fpu/
Dxstate.c197 wrmsrl(MSR_IA32_XSS, xfeatures_mask_supervisor() | in fpu__init_cpu_xstate()
649 wrmsrl(MSR_IA32_XSS, xfeatures_mask_supervisor()); in get_xsave_compacted_size()
658 wrmsrl(MSR_IA32_XSS, xfeatures_mask_supervisor() | mask); in get_xsave_compacted_size()
916 wrmsrl(MSR_IA32_XSS, xfeatures_mask_supervisor() | in fpu__resume_cpu()
/linux-6.6.21/tools/arch/x86/include/asm/
Dmsr-index.h781 #define MSR_IA32_XSS 0x00000da0 macro
/linux-6.6.21/arch/x86/include/asm/
Dmsr-index.h787 #define MSR_IA32_XSS 0x00000da0 macro
/linux-6.6.21/arch/x86/kernel/
Dsev-shared.c483 : "c" (MSR_IA32_XSS)); in snp_cpuid_postprocess()
/linux-6.6.21/arch/x86/kvm/
Dx86.c1030 wrmsrl(MSR_IA32_XSS, vcpu->arch.ia32_xss); in kvm_load_guest_xsave_state()
1061 wrmsrl(MSR_IA32_XSS, host_xss); in kvm_load_host_xsave_state()
3788 case MSR_IA32_XSS: in kvm_set_msr_common()
4257 case MSR_IA32_XSS: in kvm_get_msr_common()
9516 rdmsrl(MSR_IA32_XSS, host_xss); in __kvm_x86_vendor_init()
12099 __kvm_set_msr(vcpu, MSR_IA32_XSS, 0, true); in kvm_vcpu_reset()