Home
last modified time | relevance | path

Searched refs:kvm_cpuid_entry2 (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Dcpuid.h16 struct kvm_cpuid_entry2 *kvm_find_cpuid_entry_index(struct kvm_vcpu *vcpu,
18 struct kvm_cpuid_entry2 *kvm_find_cpuid_entry(struct kvm_vcpu *vcpu,
21 struct kvm_cpuid_entry2 __user *entries,
28 struct kvm_cpuid_entry2 __user *entries);
31 struct kvm_cpuid_entry2 __user *entries);
79 struct kvm_cpuid_entry2 *entry; in guest_cpuid_get_register()
112 struct kvm_cpuid_entry2 *best; in guest_cpuid_is_amd_or_hygon()
122 struct kvm_cpuid_entry2 *best; in guest_cpuid_is_intel()
140 struct kvm_cpuid_entry2 *best; in guest_cpuid_family()
151 struct kvm_cpuid_entry2 *best; in guest_cpuid_model()
[all …]
H A Dcpuid.c85 struct kvm_cpuid_entry2 *e; in cpuid_entry2_find()
137 struct kvm_cpuid_entry2 *best; in kvm_check_cpuid()
173 struct kvm_cpuid_entry2 *orig; in kvm_cpuid_check_equal()
196 struct kvm_cpuid_entry2 *entry; in kvm_get_hypervisor_cpuid()
256 struct kvm_cpuid_entry2 *best; in cpuid_get_supported_xcr0()
268 struct kvm_cpuid_entry2 *best; in __kvm_update_cpuid_runtime()
317 struct kvm_cpuid_entry2 *entry; in kvm_cpuid_has_hyperv()
327 struct kvm_cpuid_entry2 *best; in kvm_vcpu_after_set_cpuid()
388 struct kvm_cpuid_entry2 *best; in cpuid_query_maxphyaddr()
546 struct kvm_cpuid_entry2 entry; in __kvm_cpu_cap_mask()
[all …]
H A Dreverse_cpuid.h166 static __always_inline u32 *__cpuid_entry_get_reg(struct kvm_cpuid_entry2 *entry, in __cpuid_entry_get_reg()
184 static __always_inline u32 *cpuid_entry_get_reg(struct kvm_cpuid_entry2 *entry, in cpuid_entry_get_reg()
192 static __always_inline u32 cpuid_entry_get(struct kvm_cpuid_entry2 *entry, in cpuid_entry_get()
200 static __always_inline bool cpuid_entry_has(struct kvm_cpuid_entry2 *entry, in cpuid_entry_has()
206 static __always_inline void cpuid_entry_clear(struct kvm_cpuid_entry2 *entry, in cpuid_entry_clear()
214 static __always_inline void cpuid_entry_set(struct kvm_cpuid_entry2 *entry, in cpuid_entry_set()
222 static __always_inline void cpuid_entry_change(struct kvm_cpuid_entry2 *entry, in cpuid_entry_change()
H A Dhyperv.h179 struct kvm_cpuid_entry2 __user *entries);
H A Dhyperv.c2250 struct kvm_cpuid_entry2 *entry; in kvm_hv_set_cpuid()
2711 struct kvm_cpuid_entry2 __user *entries) in kvm_get_hv_cpuid()
2714 struct kvm_cpuid_entry2 cpuid_entries[] = { in kvm_get_hv_cpuid()
2738 struct kvm_cpuid_entry2 *ent = &cpuid_entries[i]; in kvm_get_hv_cpuid()
2862 nent * sizeof(struct kvm_cpuid_entry2))) in kvm_get_hv_cpuid()
H A Dxen.c2085 struct kvm_cpuid_entry2 *entry; in kvm_xen_update_tsc_info()
H A Dx86.c12032 struct kvm_cpuid_entry2 *cpuid_0x1; in kvm_vcpu_reset()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dcpuid_test.c59 static bool is_cpuid_mangled(const struct kvm_cpuid_entry2 *entrie) in is_cpuid_mangled()
75 const struct kvm_cpuid_entry2 *e1, *e2; in compare_cpuids()
140 struct kvm_cpuid_entry2 *ent; in set_cpuid_after_run()
H A Dhyperv_cpuid.c59 const struct kvm_cpuid_entry2 *entry = &hv_cpuid_entries->entries[i]; in test_hv_cpuid()
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c649 const struct kvm_cpuid_entry2 *entry; in __kvm_cpu_has()
757 struct kvm_cpuid_entry2 *entry = vcpu_get_cpuid_entry(vcpu, 0x80000008); in vcpu_set_cpuid_maxphyaddr()
765 struct kvm_cpuid_entry2 *entry = vcpu_get_cpuid_entry(vcpu, function); in vcpu_clear_cpuid_entry()
778 struct kvm_cpuid_entry2 *entry; in vcpu_set_or_clear_cpuid_feature()
1140 const struct kvm_cpuid_entry2 *get_cpuid_entry(const struct kvm_cpuid2 *cpuid, in get_cpuid_entry()
1231 cpuid_hv->nent * sizeof(struct kvm_cpuid_entry2)); in vcpu_set_hv_cpuid()
/openbmc/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h245 struct kvm_cpuid_entry2 { struct
264 struct kvm_cpuid_entry2 entries[]; argument
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dkvm.h245 struct kvm_cpuid_entry2 { struct
264 struct kvm_cpuid_entry2 entries[]; argument
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h860 const struct kvm_cpuid_entry2 *get_cpuid_entry(const struct kvm_cpuid2 *cpuid,
937 sizeof(struct kvm_cpuid_entry2) * nr_entries; in kvm_cpuid2_size()
960 static inline struct kvm_cpuid_entry2 *__vcpu_get_cpuid_entry(struct kvm_vcpu *vcpu, in __vcpu_get_cpuid_entry()
964 return (struct kvm_cpuid_entry2 *)get_cpuid_entry(vcpu->cpuid, in __vcpu_get_cpuid_entry()
968 static inline struct kvm_cpuid_entry2 *vcpu_get_cpuid_entry(struct kvm_vcpu *vcpu, in vcpu_get_cpuid_entry()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dsgx.c146 struct kvm_cpuid_entry2 *sgx_12_0, *sgx_12_1; in __handle_encls_ecreate()
441 struct kvm_cpuid_entry2 *guest_cpuid; in sgx_intercept_encls_ecreate()
H A Dpmu_intel.c489 struct kvm_cpuid_entry2 *entry; in intel_pmu_refresh()
H A Dvmx.c7667 struct kvm_cpuid_entry2 *entry; in nested_vmx_cr_fixed1_bits_update()
7707 struct kvm_cpuid_entry2 *best = NULL; in update_intel_pt_cfg()
/openbmc/qemu/linux-headers/asm-x86/
H A Dkvm.h244 struct kvm_cpuid_entry2 { struct
263 struct kvm_cpuid_entry2 entries[]; argument
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c397 static uint32_t cpuid_entry_get_reg(struct kvm_cpuid_entry2 *entry, int reg) in cpuid_entry_get_reg()
419 static struct kvm_cpuid_entry2 *cpuid_find_entry(struct kvm_cpuid2 *cpuid, in cpuid_find_entry()
1188 struct kvm_cpuid_entry2 *entry_feat, *entry_recomm; in get_supported_hv_cpuid_legacy()
1281 struct kvm_cpuid_entry2 *entry; in hv_cpuid_get_host()
1521 struct kvm_cpuid_entry2 *cpuid_ent) in hyperv_fill_cpuids()
1524 struct kvm_cpuid_entry2 *c; in hyperv_fill_cpuids()
1829 struct kvm_cpuid_entry2 *entries, in kvm_x86_build_cpuid()
1834 struct kvm_cpuid_entry2 *c; in kvm_x86_build_cpuid()
2061 struct kvm_cpuid_entry2 entries[KVM_MAX_CPUID_ENTRIES]; in kvm_arch_init_vcpu()
2074 struct kvm_cpuid_entry2 *c; in kvm_arch_init_vcpu()
[all …]
/openbmc/qemu/target/i386/
H A Dsev.c219 struct kvm_cpuid_entry2 entries[KVM_MAX_CPUID_ENTRIES];
1166 const struct kvm_cpuid_entry2 *kvm_cpuid_entry; in sev_snp_cpuid_info_fill()
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h829 struct kvm_cpuid_entry2 *cpuid_entries;
/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c3029 struct kvm_cpuid_entry2 *best; in sev_vcpu_after_set_cpuid()
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst1696 struct kvm_cpuid_entry2 entries[0];
1703 struct kvm_cpuid_entry2 {
3671 struct kvm_cpuid_entry2 entries[0];
3682 struct kvm_cpuid_entry2 {
4930 struct kvm_cpuid_entry2 entries[0];
4933 struct kvm_cpuid_entry2 {
4974 'index' and 'flags' fields in 'struct kvm_cpuid_entry2' are currently reserved,