Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A 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()
H A 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 …]
/openbmc/linux/arch/x86/kernel/fpu/
H A Dxstate.c198 wrmsrl(MSR_IA32_XSS, xfeatures_mask_supervisor() | in fpu__init_cpu_xstate()
650 wrmsrl(MSR_IA32_XSS, xfeatures_mask_supervisor()); in get_xsave_compacted_size()
659 wrmsrl(MSR_IA32_XSS, xfeatures_mask_supervisor() | mask); in get_xsave_compacted_size()
920 wrmsrl(MSR_IA32_XSS, xfeatures_mask_supervisor() | in fpu__resume_cpu()
/openbmc/linux/tools/arch/x86/include/asm/
H A Dmsr-index.h781 #define MSR_IA32_XSS 0x00000da0 macro
/openbmc/linux/arch/x86/include/asm/
H A Dmsr-index.h803 #define MSR_IA32_XSS 0x00000da0 macro
/openbmc/linux/arch/x86/kernel/
H A Dsev-shared.c478 : "c" (MSR_IA32_XSS)); in snp_cpuid_postprocess()
/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c3021 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_XSS, 1, 1); in sev_es_vcpu_after_set_cpuid()
3023 set_msr_interception(vcpu, svm->msrpm, MSR_IA32_XSS, 0, 0); in sev_es_vcpu_after_set_cpuid()
H A Dsvm.c107 { .index = MSR_IA32_XSS, .always = false },
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c2524 case MSR_IA32_XSS: in kvm_get_supported_msrs()
3916 kvm_msr_entry_add(cpu, MSR_IA32_XSS, env->xss); in kvm_put_msrs()
4397 kvm_msr_entry_add(cpu, MSR_IA32_XSS, 0); in kvm_get_msrs()
4734 case MSR_IA32_XSS: in kvm_get_msrs()
/openbmc/qemu/target/i386/
H A Dcpu.h557 #define MSR_IA32_XSS 0x00000da0 macro
/openbmc/linux/arch/x86/kvm/
H A 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()
3791 case MSR_IA32_XSS: in kvm_set_msr_common()
4260 case MSR_IA32_XSS: in kvm_get_msr_common()
9531 rdmsrl(MSR_IA32_XSS, host_xss); in __kvm_x86_vendor_init()
12113 __kvm_set_msr(vcpu, MSR_IA32_XSS, 0, true); in kvm_vcpu_reset()