Home
last modified time | relevance | path

Searched refs:MSR_TEST_CTL (Results 1 – 5 of 5) sorted by relevance

/hypervisor/arch/x86/guest/
A Dlock_instr_emul.c21 if ((vcpu_get_guest_msr(vcpu, MSR_TEST_CTL) & MSR_TEST_CTL_AC_SPLITLOCK) != 0UL) { in is_guest_ac_enabled()
32 if ((vcpu_get_guest_msr(vcpu, MSR_TEST_CTL) & MSR_TEST_CTL_GP_UCLOCK) != 0UL) { in is_guest_gp_enabled()
A Dvmsr.c78 MSR_TEST_CTL,
820 case MSR_TEST_CTL: in rdmsr_vmexit_handler()
826 v = vcpu_get_guest_msr(vcpu, MSR_TEST_CTL); in rdmsr_vmexit_handler()
1318 case MSR_TEST_CTL: in wrmsr_vmexit_handler()
1324 vcpu_set_guest_msr(vcpu, MSR_TEST_CTL, v); in wrmsr_vmexit_handler()
/hypervisor/arch/x86/
A Dcpu.c119 test_ctl = msr_read(MSR_TEST_CTL); in enable_ac_for_splitlock()
121 msr_write(MSR_TEST_CTL, test_ctl); in enable_ac_for_splitlock()
132 test_ctl = msr_read(MSR_TEST_CTL); in enable_gp_for_uclock()
134 msr_write(MSR_TEST_CTL, test_ctl); in enable_gp_for_uclock()
A Dcpu_caps.c191 …if (has_core_cap(CORE_CAP_SPLIT_LOCK) && ((msr_read(MSR_TEST_CTL) & MSR_TEST_CTL_AC_SPLITLOCK) != … in is_ac_enabled()
202 if (has_core_cap(CORE_CAP_UC_LOCK) && ((msr_read(MSR_TEST_CTL) & MSR_TEST_CTL_GP_UCLOCK) != 0UL)) { in is_gp_enabled()
/hypervisor/include/arch/x86/asm/
A Dmsr.h21 #define MSR_TEST_CTL 0x00000033U macro

Completed in 11 milliseconds