Searched refs:hpt (Results 1 – 22 of 22) sorted by relevance
67 struct kvm_hpt_info hpt; member72 unsigned long hpt = 0; in kvmppc_allocate_hpt() local83 hpt = (unsigned long)pfn_to_kaddr(page_to_pfn(page)); in kvmppc_allocate_hpt()84 memset((void *)hpt, 0, (1ul << order)); in kvmppc_allocate_hpt()88 if (!hpt) in kvmppc_allocate_hpt()89 hpt = __get_free_pages(GFP_KERNEL|__GFP_ZERO|__GFP_RETRY_MAYFAIL in kvmppc_allocate_hpt()92 if (!hpt) in kvmppc_allocate_hpt()104 free_pages(hpt, order - PAGE_SHIFT); in kvmppc_allocate_hpt()109 info->virt = hpt; in kvmppc_allocate_hpt()119 kvm->arch.hpt = *info; in kvmppc_set_hpt()[all …]
89 head = &kvm->arch.hpt.rev[i]; in kvmppc_add_revmap_chain()92 tail = &kvm->arch.hpt.rev[head->back]; in kvmppc_add_revmap_chain()179 next = real_vmalloc_addr(&kvm->arch.hpt.rev[rev->forw]); in remove_revmap_chain()180 prev = real_vmalloc_addr(&kvm->arch.hpt.rev[rev->back]); in remove_revmap_chain()307 if (pte_index >= kvmppc_hpt_npte(&kvm->arch.hpt)) in kvmppc_do_h_enter()311 hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); in kvmppc_do_h_enter()342 hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); in kvmppc_do_h_enter()359 rev = &kvm->arch.hpt.rev[pte_index]; in kvmppc_do_h_enter()499 if (pte_index >= kvmppc_hpt_npte(&kvm->arch.hpt)) in kvmppc_do_h_remove()501 hpte = (__be64 *)(kvm->arch.hpt.virt + (pte_index << 4)); in kvmppc_do_h_remove()[all …]
4721 if (!kvm->arch.hpt.virt) { in kvmppc_hv_setup_htab_rma()4831 kvmppc_free_hpt(&kvm->arch.hpt); in kvmppc_switch_mmu_to_radix()5087 kvmppc_free_hpt(&kvm->arch.hpt); in kvmppc_core_destroy_vm_hv()
7 - mips-hpt-frequency: This is common to all CPUs in the system so it lives
547 static inline unsigned long kvmppc_hpt_npte(struct kvm_hpt_info *hpt) in kvmppc_hpt_npte() argument550 return 1UL << (hpt->order - 4); in kvmppc_hpt_npte()553 static inline unsigned long kvmppc_hpt_mask(struct kvm_hpt_info *hpt) in kvmppc_hpt_mask() argument556 return (1UL << (hpt->order - 7)) - 1; in kvmppc_hpt_mask()
290 struct kvm_hpt_info hpt; member
11 mips-hpt-frequency = <150000000>;
20 mips-hpt-frequency = <300000000>;
11 mips-hpt-frequency = <200000000>;
11 mips-hpt-frequency = <160000000>;
19 mips-hpt-frequency = <100000000>;
11 mips-hpt-frequency = <202500000>;
11 mips-hpt-frequency = <93750000>;
11 mips-hpt-frequency = <375000000>;
11 mips-hpt-frequency = <163125000>;
11 mips-hpt-frequency = <175625000>;