Lines Matching +full:0 +full:xff000

24 #define dprintk(X...) do { } while(0)
35 for (i = 0; i < vcpu->arch.slb_nr; i++) { in kvmppc_mmu_book3s_64_find_slbe()
48 dprintk("KVM: No SLB entry found for 0x%lx [%llx | %llx]\n", in kvmppc_mmu_book3s_64_find_slbe()
50 for (i = 0; i < vcpu->arch.slb_nr; i++) { in kvmppc_mmu_book3s_64_find_slbe()
88 return 0; in kvmppc_mmu_book3s_64_ea_to_vp()
126 htabsize = ((1 << ((vcpu_book3s->sdr1 & 0x1f) + 11)) - 1); in kvmppc_mmu_book3s_64_get_pteg()
137 pteg = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in kvmppc_mmu_book3s_64_get_pteg()
140 dprintk("MMU: page=0x%x sdr1=0x%llx pteg=0x%llx vsid=0x%llx\n", in kvmppc_mmu_book3s_64_get_pteg()
180 if ((r & 0xf000) == 0x1000) in decode_pagesize()
184 if ((r & 0xff000) == 0) in decode_pagesize()
198 u64 avpn = 0; in kvmppc_mmu_book3s_64_xlate()
203 u8 pp, key = 0; in kvmppc_mmu_book3s_64_xlate()
211 unlikely((eaddr & ~0xfffULL) == (mp_ea & ~0xfffULL)) && in kvmppc_mmu_book3s_64_xlate()
215 gpte->raddr = vcpu->arch.magic_page_pa | (gpte->raddr & 0xfff); in kvmppc_mmu_book3s_64_xlate()
223 return 0; in kvmppc_mmu_book3s_64_xlate()
253 "KVM: Can't copy data from 0x%lx!\n", ptegp); in kvmppc_mmu_book3s_64_xlate()
262 for (i=0; i<16; i+=2) { in kvmppc_mmu_book3s_64_xlate()
272 if (pgsize < 0) in kvmppc_mmu_book3s_64_xlate()
309 case 0: in kvmppc_mmu_book3s_64_xlate()
323 dprintk("KVM MMU: Translated 0x%lx [0x%llx] -> 0x%llx " in kvmppc_mmu_book3s_64_xlate()
324 "-> 0x%lx\n", in kvmppc_mmu_book3s_64_xlate()
353 return 0; in kvmppc_mmu_book3s_64_xlate()
370 dprintk("KVM MMU: slbmte(0x%llx, 0x%llx)\n", rs, rb); in kvmppc_mmu_book3s_64_slbmte()
374 slb_nr = rb & 0xfff; in kvmppc_mmu_book3s_64_slbmte()
381 slbe->large = (rs & SLB_VSID_L) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte()
382 slbe->tb = (rs & SLB_VSID_B_1T) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte()
385 slbe->valid = (rb & SLB_ESID_V) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte()
386 slbe->Ks = (rs & SLB_VSID_KS) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte()
387 slbe->Kp = (rs & SLB_VSID_KP) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte()
388 slbe->nx = (rs & SLB_VSID_N) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte()
389 slbe->class = (rs & SLB_VSID_C) ? 1 : 0; in kvmppc_mmu_book3s_64_slbmte()
420 return 0; in kvmppc_mmu_book3s_64_slbfee()
422 *ret_slb = 0; in kvmppc_mmu_book3s_64_slbfee()
431 return 0; in kvmppc_mmu_book3s_64_slbmfee()
443 return 0; in kvmppc_mmu_book3s_64_slbmfev()
455 dprintk("KVM MMU: slbie(0x%llx)\n", ea); in kvmppc_mmu_book3s_64_slbie()
462 dprintk("KVM MMU: slbie(0x%llx, 0x%llx)\n", ea, slbe->esid); in kvmppc_mmu_book3s_64_slbie()
465 slbe->orige = 0; in kvmppc_mmu_book3s_64_slbie()
466 slbe->origv = 0; in kvmppc_mmu_book3s_64_slbie()
480 vcpu->arch.slb[i].orige = 0; in kvmppc_mmu_book3s_64_slbia()
481 vcpu->arch.slb[i].origv = 0; in kvmppc_mmu_book3s_64_slbia()
493 u64 rb = 0, rs = 0; in kvmppc_mmu_book3s_64_mtsrin()
503 * 0:31 0x0000_0000 ESID-0:31 in kvmppc_mmu_book3s_64_mtsrin()
505 * 36 0b1 V in kvmppc_mmu_book3s_64_mtsrin()
506 * 37:61 0x00_0000|| 0b0 VSID-0:24 in kvmppc_mmu_book3s_64_mtsrin()
509 * 92 (RS)36 L ((RS)36 must be 0b0) in kvmppc_mmu_book3s_64_mtsrin()
510 * 93 0b0 C in kvmppc_mmu_book3s_64_mtsrin()
513 dprintk("KVM MMU: mtsrin(0x%x, 0x%lx)\n", srnum, value); in kvmppc_mmu_book3s_64_mtsrin()
516 rb |= (srnum & 0xf) << 28; in kvmppc_mmu_book3s_64_mtsrin()
523 rs |= (value & 0xfffffff) << 12; in kvmppc_mmu_book3s_64_mtsrin()
525 rs |= ((value >> 28) & 0x7) << 9; in kvmppc_mmu_book3s_64_mtsrin()
533 u64 mask = 0xFFFFFFFFFULL; in kvmppc_mmu_book3s_64_tlbie()
537 dprintk("KVM MMU: tlbie(0x%lx)\n", va); in kvmppc_mmu_book3s_64_tlbie()
548 if ((va & 0xf000) == 0x1000) in kvmppc_mmu_book3s_64_tlbie()
549 mask = 0xFFFFFFFF0ULL; /* 64k page */ in kvmppc_mmu_book3s_64_tlbie()
551 mask = 0xFFFFFF000ULL; /* 16M page */ in kvmppc_mmu_book3s_64_tlbie()
556 mask = 0xFFFFFF000ULL; in kvmppc_mmu_book3s_64_tlbie()
597 case 0: in kvmppc_mmu_book3s_64_esid_to_vsid()
633 return 0; in kvmppc_mmu_book3s_64_esid_to_vsid()
641 return 0; in kvmppc_mmu_book3s_64_esid_to_vsid()
649 return (to_book3s(vcpu)->hid[5] & 0x80); in kvmppc_mmu_book3s_64_is_dcbz32()