Searched refs:xsave_size (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
D | amx_test.c | 55 u32 xsave_size; member 94 xtile.xsave_size = this_cpu_property(X86_PROPERTY_XSTATE_TILE_SIZE); in check_xtile_info() 95 GUEST_ASSERT(xtile.xsave_size == 8192); in check_xtile_info() 96 GUEST_ASSERT(sizeof(struct tile_data) >= xtile.xsave_size); in check_xtile_info()
|
/linux-6.12.1/arch/x86/coco/sev/ |
D | shared.c | 505 u32 xsave_size = 0x240; in snp_cpuid_calc_xsave_size() local 521 xsave_size += e->eax; in snp_cpuid_calc_xsave_size() 523 xsave_size = max(xsave_size, e->eax + e->ebx); in snp_cpuid_calc_xsave_size() 534 return xsave_size; in snp_cpuid_calc_xsave_size() 613 u32 xsave_size; in snp_cpuid_postprocess() local 645 xsave_size = snp_cpuid_calc_xsave_size(xcr0 | xss, compacted); in snp_cpuid_postprocess() 646 if (!xsave_size) in snp_cpuid_postprocess() 649 leaf->ebx = xsave_size; in snp_cpuid_postprocess()
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | protection_keys.c | 1551 size_t xsave_size = cpu_max_xsave_size(); in test_ptrace_modifies_pkru() local 1592 xsave = (void *)malloc(xsave_size); in test_ptrace_modifies_pkru() 1597 iov.iov_len = xsave_size; in test_ptrace_modifies_pkru() 1610 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() 1625 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() 1638 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() 1652 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru()
|