Lines Matching refs:tlb_sizes
725 if (params->tlb_sizes[0] <= 2048) in vcpu_mmu_geometry_update()
726 vcpu->arch.tlbcfg[0] |= params->tlb_sizes[0]; in vcpu_mmu_geometry_update()
730 vcpu->arch.tlbcfg[1] |= params->tlb_sizes[1]; in vcpu_mmu_geometry_update()
755 if (params.tlb_sizes[1] > 64) in kvm_vcpu_ioctl_config_tlb()
757 if (params.tlb_ways[1] != params.tlb_sizes[1]) in kvm_vcpu_ioctl_config_tlb()
759 if (params.tlb_sizes[2] != 0 || params.tlb_sizes[3] != 0) in kvm_vcpu_ioctl_config_tlb()
767 sets = params.tlb_sizes[0] >> ilog2(params.tlb_ways[0]); in kvm_vcpu_ioctl_config_tlb()
771 array_len = params.tlb_sizes[0] + params.tlb_sizes[1]; in kvm_vcpu_ioctl_config_tlb()
799 privs[0] = kcalloc(params.tlb_sizes[0], sizeof(*privs[0]), GFP_KERNEL); in kvm_vcpu_ioctl_config_tlb()
805 privs[1] = kcalloc(params.tlb_sizes[1], sizeof(*privs[1]), GFP_KERNEL); in kvm_vcpu_ioctl_config_tlb()
811 g2h_bitmap = kcalloc(params.tlb_sizes[1], in kvm_vcpu_ioctl_config_tlb()
828 vcpu_e500->gtlb_params[0].entries = params.tlb_sizes[0]; in kvm_vcpu_ioctl_config_tlb()
829 vcpu_e500->gtlb_params[1].entries = params.tlb_sizes[1]; in kvm_vcpu_ioctl_config_tlb()
832 vcpu_e500->gtlb_offset[1] = params.tlb_sizes[0]; in kvm_vcpu_ioctl_config_tlb()
843 vcpu_e500->gtlb_params[1].ways = params.tlb_sizes[1]; in kvm_vcpu_ioctl_config_tlb()