Searched refs:xsave_size (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/tools/testing/selftests/kvm/x86/ |
| H A D | amx_test.c | 55 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()
|
| /linux-6.15/arch/x86/coco/sev/ |
| H A 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() 614 u32 xsave_size; in snp_cpuid_postprocess() local 646 xsave_size = snp_cpuid_calc_xsave_size(xcr0 | xss, compacted); in snp_cpuid_postprocess() 647 if (!xsave_size) in snp_cpuid_postprocess() 650 leaf->ebx = xsave_size; in snp_cpuid_postprocess()
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | protection_keys.c | 1489 size_t xsave_size = cpu_max_xsave_size(); in test_ptrace_modifies_pkru() local 1530 xsave = (void *)malloc(xsave_size); in test_ptrace_modifies_pkru() 1535 iov.iov_len = xsave_size; in test_ptrace_modifies_pkru() 1548 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() 1563 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() 1576 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru() 1590 memset(xsave, 0xCC, xsave_size); in test_ptrace_modifies_pkru()
|