Home
last modified time | relevance | path

Searched refs:arch_compat (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/kvm/
H A Dbook3s_hv_nestedv2.c141 u32 arch_compat = 0; in gs_msg_ops_vcpu_fill_info() local
372 if (!vcpu->arch.vcore->arch_compat) { in gs_msg_ops_vcpu_fill_info()
374 arch_compat = PVR_ARCH_31; in gs_msg_ops_vcpu_fill_info()
376 arch_compat = PVR_ARCH_300; in gs_msg_ops_vcpu_fill_info()
378 arch_compat = vcpu->arch.vcore->arch_compat; in gs_msg_ops_vcpu_fill_info()
380 rc = kvmppc_gse_put_u32(gsb, iden, arch_compat); in gs_msg_ops_vcpu_fill_info()
616 vcpu->arch.vcore->arch_compat = kvmppc_gse_get_u32(gse); in gs_msg_ops_vcpu_refresh_info()
H A Dbook3s_hv.c412 static int kvmppc_set_arch_compat(struct kvm_vcpu *vcpu, u32 arch_compat) in kvmppc_set_arch_compat() argument
431 if (arch_compat) { in kvmppc_set_arch_compat()
432 switch (arch_compat) { in kvmppc_set_arch_compat()
471 vc->arch_compat = arch_compat; in kvmppc_set_arch_compat()
/linux/arch/powerpc/include/asm/
H A Dkvm_book3s.h91 u32 arch_compat; member
598 KVMPPC_BOOK3S_VCORE_ACCESSOR_GET(arch_compat, 32, KVMPPC_GSID_LOGICAL_PVR)