Lines Matching refs:snp_cpuid_entry
1167 SnpCpuidFunc *snp_cpuid_entry; in sev_snp_cpuid_info_fill() local
1170 snp_cpuid_entry = &snp_cpuid_info->entries[i]; in sev_snp_cpuid_info_fill()
1172 snp_cpuid_entry->eax_in = kvm_cpuid_entry->function; in sev_snp_cpuid_info_fill()
1174 snp_cpuid_entry->ecx_in = kvm_cpuid_entry->index; in sev_snp_cpuid_info_fill()
1176 snp_cpuid_entry->eax = kvm_cpuid_entry->eax; in sev_snp_cpuid_info_fill()
1177 snp_cpuid_entry->ebx = kvm_cpuid_entry->ebx; in sev_snp_cpuid_info_fill()
1178 snp_cpuid_entry->ecx = kvm_cpuid_entry->ecx; in sev_snp_cpuid_info_fill()
1179 snp_cpuid_entry->edx = kvm_cpuid_entry->edx; in sev_snp_cpuid_info_fill()
1187 if (snp_cpuid_entry->eax_in == 0xD && in sev_snp_cpuid_info_fill()
1188 (snp_cpuid_entry->ecx_in == 0x0 || snp_cpuid_entry->ecx_in == 0x1)) { in sev_snp_cpuid_info_fill()
1189 snp_cpuid_entry->ebx = 0x240; in sev_snp_cpuid_info_fill()
1190 snp_cpuid_entry->xcr0_in = 1; in sev_snp_cpuid_info_fill()
1191 snp_cpuid_entry->xss_in = 0; in sev_snp_cpuid_info_fill()