Home
last modified time | relevance | path

Searched refs:xsave_size (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Damx_test.c57 u32 xsave_size; member
96 xtile.xsave_size = this_cpu_property(X86_PROPERTY_XSTATE_TILE_SIZE); in check_xtile_info()
97 GUEST_ASSERT(xtile.xsave_size == 8192); in check_xtile_info()
98 GUEST_ASSERT(sizeof(struct tile_data) >= xtile.xsave_size); in check_xtile_info()
/openbmc/linux/arch/x86/kernel/
H A Dsev-shared.c357 u32 xsave_size = 0x240; in snp_cpuid_calc_xsave_size() local
373 xsave_size += e->eax; in snp_cpuid_calc_xsave_size()
375 xsave_size = max(xsave_size, e->eax + e->ebx); in snp_cpuid_calc_xsave_size()
386 return xsave_size; in snp_cpuid_calc_xsave_size()
465 u32 xsave_size; in snp_cpuid_postprocess() local
497 xsave_size = snp_cpuid_calc_xsave_size(xcr0 | xss, compacted); in snp_cpuid_postprocess()
498 if (!xsave_size) in snp_cpuid_postprocess()
501 leaf->ebx = xsave_size; in snp_cpuid_postprocess()
/openbmc/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c1552 size_t xsave_size = cpu_max_xsave_size(); in test_ptrace_modifies_pkru() local
1593 xsave = (void *)malloc(xsave_size); in test_ptrace_modifies_pkru()
1598 iov.iov_len = xsave_size; in test_ptrace_modifies_pkru()
1611 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru()
1626 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru()
1639 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru()
1653 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru()