Home
last modified time | relevance | path

Searched refs:xgetbv (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/kvm/x86/
H A Dxcr0_cpuid_test.c57 initial_xcr0 = xgetbv(0); in guest_code()
H A Dsev_smoke_test.c238 (xgetbv(0) & kvm_cpu_supported_xcr0() & xf_mask) == xf_mask) { in test_sev_smoke()
H A Damx_test.c95 GUEST_ASSERT((xgetbv(0) & XFEATURE_MASK_XTILE) == XFEATURE_MASK_XTILE); in check_xtile_info()
/linux/tools/testing/selftests/x86/
H A Dxstate.h99 static inline uint64_t xgetbv(uint32_t index) in xgetbv() function
H A Dsigframe_fpu_portability.c88 if (!(xgetbv(0) & (1 << XFEATURE_YMM))) in check_avx_support()
H A Dxstate.c295 if (*(uint64_t *)get_fpx_sw_bytes(xbuf1) == xgetbv(0)) in ptracer_inject_xstate()
/linux/arch/x86/boot/startup/
H A Dsev-shared.c344 xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK); in snp_cpuid_postprocess()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h674 static inline u64 xgetbv(u32 index)
678 __asm__ __volatile__("xgetbv;" in cpuid()
1413 BUILD_READ_U64_SAFE_HELPERS(xgetbv) in kvm_hypercall_map_gpa_range()
613 static inline u64 xgetbv(u32 index) xgetbv() function
/linux/arch/x86/kvm/
H A Dx86.c7127 kvm_host.xcr0 = xgetbv(XCR_XFEATURE_ENABLED_MASK); in kvm_x86_vendor_init()