Lines Matching refs:ebx
41 u32 ebx; member
55 cpuid_count(0xD, i, &xs->eax, &xs->ebx, &xs->ecx, &ign); in kvm_init_xstate_sizes()
74 offset = xs->ebx; in xstate_required_size()
205 e2[i].eax != orig->eax || e2[i].ebx != orig->ebx || in kvm_cpuid_check_equal()
226 signature[0] = entry->ebx; in __kvm_get_hypervisor_cpuid()
317 best->ebx = xstate_required_size(vcpu->arch.xcr0, false); in __kvm_update_cpuid_runtime()
322 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in __kvm_update_cpuid_runtime()
367 return is_guest_vendor_amd(entry->ebx, entry->ecx, entry->edx) || in guest_cpuid_is_amd_or_hygon()
368 is_guest_vendor_hygon(entry->ebx, entry->ecx, entry->edx); in guest_cpuid_is_amd_or_hygon()
535 e2[i].ebx = e[i].ebx; in kvm_vcpu_ioctl_set_cpuid()
602 &entry.eax, &entry.ebx, &entry.ecx, &entry.edx); in __kvm_cpu_cap_mask()
923 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_host_cpuid()
1022 entry->ebx = 0; in __do_cpuid_func()
1041 entry->ebx = 0; in __do_cpuid_func()
1051 entry->ebx = 0; in __do_cpuid_func()
1060 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1077 entry->ebx = kvm_pmu_cap.events_mask; in __do_cpuid_func()
1088 entry->eax = entry->ebx = entry->ecx = 0; in __do_cpuid_func()
1095 entry->ebx = xstate_required_size(permitted_xcr0, false); in __do_cpuid_func()
1096 entry->ecx = entry->ebx; in __do_cpuid_func()
1107 entry->ebx = xstate_required_size(permitted_xcr0 | permitted_xss, in __do_cpuid_func()
1111 entry->ebx = 0; in __do_cpuid_func()
1151 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1162 entry->ebx &= SGX_MISC_EXINFO; in __do_cpuid_func()
1176 entry->ebx &= 0; in __do_cpuid_func()
1181 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1193 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1204 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1212 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1221 avx10_version = min_t(u8, entry->ebx & 0xff, 1); in __do_cpuid_func()
1223 entry->ebx |= avx10_version; in __do_cpuid_func()
1233 entry->ebx = sigptr[0]; in __do_cpuid_func()
1256 entry->ebx = 0; in __do_cpuid_func()
1281 entry->ebx &= ~GENMASK(27, 16); in __do_cpuid_func()
1297 entry->eax = entry->ebx = entry->ecx = 0; in __do_cpuid_func()
1348 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1352 entry->ebx = 8; /* Lets support 8 ASIDs in case we add proper in __do_cpuid_func()
1362 entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1366 entry->eax = entry->ebx = entry->ecx = 0; in __do_cpuid_func()
1371 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1375 entry->ebx &= ~GENMASK(31, 12); in __do_cpuid_func()
1380 entry->ebx &= ~GENMASK(11, 6); in __do_cpuid_func()
1384 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1387 entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1392 union cpuid_0x80000022_ebx ebx; in __do_cpuid_func() local
1396 entry->eax = entry->ebx; in __do_cpuid_func()
1403 ebx.split.num_core_pmc = kvm_pmu_cap.num_counters_gp; in __do_cpuid_func()
1405 ebx.split.num_core_pmc = AMD64_NUM_COUNTERS_CORE; in __do_cpuid_func()
1407 ebx.split.num_core_pmc = AMD64_NUM_COUNTERS; in __do_cpuid_func()
1409 entry->ebx = ebx.full; in __do_cpuid_func()
1426 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
1597 if (is_guest_vendor_amd(basic->ebx, basic->ecx, basic->edx) || in get_out_of_range_cpuid_entry()
1598 is_guest_vendor_hygon(basic->ebx, basic->ecx, basic->edx)) in get_out_of_range_cpuid_entry()
1627 bool kvm_cpuid(struct kvm_vcpu *vcpu, u32 *eax, u32 *ebx, in kvm_cpuid() argument
1644 *ebx = entry->ebx; in kvm_cpuid()
1651 *ebx &= ~(F(RTM) | F(HLE)); in kvm_cpuid()
1657 *eax = *ebx = *ecx = *edx = 0; in kvm_cpuid()
1673 trace_kvm_cpuid(orig_function, index, *eax, *ebx, *ecx, *edx, exact, in kvm_cpuid()
1681 u32 eax, ebx, ecx, edx; in kvm_emulate_cpuid() local
1688 kvm_cpuid(vcpu, &eax, &ebx, &ecx, &edx, false); in kvm_emulate_cpuid()
1690 kvm_rbx_write(vcpu, ebx); in kvm_emulate_cpuid()