Home
last modified time | relevance | path

Searched refs:compat_pvr (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dcompat.c168 if (!compat_pvr) { in ppc_set_compat()
175 compat_pvr); in ppc_set_compat()
183 if (kvm_enabled() && cpu->compat_pvr != compat_pvr) { in ppc_set_compat()
192 cpu->compat_pvr = compat_pvr; in ppc_set_compat()
198 uint32_t compat_pvr; member
217 .compat_pvr = compat_pvr, in ppc_set_compat_all()
256 if (cpu->compat_pvr) { in ppc_compat_max_vthreads()
270 if (!compat_pvr) { in ppc_compat_prop_get()
287 uint32_t compat_pvr; in ppc_compat_prop_set() local
294 compat_pvr = 0; in ppc_compat_prop_set()
[all …]
H A Dmachine.c259 if (cpu->compat_pvr) { in cpu_post_load()
260 uint32_t compat_pvr = cpu->compat_pvr; in cpu_post_load() local
264 cpu->compat_pvr = 0; in cpu_post_load()
265 ret = ppc_set_compat(cpu, compat_pvr, &local_err); in cpu_post_load()
678 assert(!(cpu->compat_pvr && !cpu->vhyp)); in compat_needed()
679 return !cpu->pre_2_10_migration && cpu->compat_pvr != 0; in compat_needed()
688 VMSTATE_UINT32(compat_pvr, PowerPCCPU),
H A Dkvm_ppc.h35 int kvmppc_set_compat(PowerPCCPU *cpu, uint32_t compat_pvr);
196 static inline int kvmppc_set_compat(PowerPCCPU *cpu, uint32_t compat_pvr) in kvmppc_set_compat() argument
H A Dcpu.h1448 uint32_t compat_pvr; member
1677 bool ppc_check_compat(PowerPCCPU *cpu, uint32_t compat_pvr,
1679 bool ppc_type_check_compat(const char *cputype, uint32_t compat_pvr,
1682 int ppc_set_compat(PowerPCCPU *cpu, uint32_t compat_pvr, Error **errp);
1685 int ppc_set_compat_all(uint32_t compat_pvr, Error **errp);
1686 int ppc_init_compat_all(uint32_t compat_pvr, Error **errp);
1690 uint32_t *compat_pvr, const char *basedesc);
H A Dkvm.c2088 int kvmppc_set_compat(PowerPCCPU *cpu, uint32_t compat_pvr) in kvmppc_set_compat() argument
2090 return kvm_set_one_reg(CPU(cpu), KVM_REG_PPC_ARCH_COMPAT, &compat_pvr); in kvmppc_set_compat()
/openbmc/qemu/hw/ppc/
H A Dspapr.c206 if (cpu->compat_pvr) { in spapr_fixup_cpu_smt_dt()
207 ret = fdt_setprop_cell(fdt, offset, "cpu-version", cpu->compat_pvr); in spapr_fixup_cpu_smt_dt()
311 if (ppc_check_compat(cpu, CPU_POWERPC_LOGICAL_2_06, 0, cpu->compat_pvr)) { in spapr_dt_pa_features()
315 if (ppc_check_compat(cpu, CPU_POWERPC_LOGICAL_2_07, 0, cpu->compat_pvr)) { in spapr_dt_pa_features()
319 if (ppc_check_compat(cpu, CPU_POWERPC_LOGICAL_3_00, 0, cpu->compat_pvr)) { in spapr_dt_pa_features()
323 if (ppc_check_compat(cpu, CPU_POWERPC_LOGICAL_3_10, 0, cpu->compat_pvr)) { in spapr_dt_pa_features()
362 0, cpu->compat_pvr)) { in spapr_dt_pi_features()
1096 first_ppc_cpu->compat_pvr)) { in spapr_dt_ov5_platform_support()
4075 ppc_set_compat(core->threads[i], POWERPC_CPU(first_cpu)->compat_pvr, in spapr_core_plug()
H A Dspapr_hcall.c1146 trace_spapr_cas_pvr(cpu->compat_pvr, explicit_match, best_compat); in cas_check_pvr()
1190 if (cpu->compat_pvr != cas_pvr) { in do_client_architecture_support()