Searched refs:smmu_info (Results 1 – 1 of 1) sorted by relevance
337 static struct kvm_ppc_smmu_info smmu_info; in kvmppc_hpt_needs_host_contiguous_pages() local343 kvm_get_smmu_info(&smmu_info, &error_fatal); in kvmppc_hpt_needs_host_contiguous_pages()344 return !!(smmu_info.flags & KVM_PPC_PAGE_SIZES_REAL); in kvmppc_hpt_needs_host_contiguous_pages()349 struct kvm_ppc_smmu_info smmu_info; in kvm_check_mmu() local358 kvm_get_smmu_info(&smmu_info, &local_err); in kvm_check_mmu()365 && !(smmu_info.flags & KVM_PPC_1T_SEGMENTS)) { in kvm_check_mmu()371 if (smmu_info.slb_size < cpu->hash64_opts->slb_size) { in kvm_check_mmu()373 smmu_info.slb_size, cpu->hash64_opts->slb_size); in kvm_check_mmu()385 for (ik = 0; ik < ARRAY_SIZE(smmu_info.sps); ik++) { in kvm_check_mmu()386 if (qsps->page_shift == smmu_info.sps[ik].page_shift) { in kvm_check_mmu()[all …]