Searched refs:wimg (Results 1 - 8 of 8) sorted by relevance

/linux-master/arch/powerpc/include/asm/
H A Dkvm_book3s_64.h400 unsigned int wimg = hptel & HPTE_R_WIMG; local
403 if (wimg == (HPTE_R_W | HPTE_R_I | HPTE_R_M) &&
405 wimg = HPTE_R_M;
408 return wimg == HPTE_R_M;
413 if (wimg & HPTE_R_W) /* FIXME!! is this ok for all guest. ? */
415 return !!(wimg & HPTE_R_I);
H A Dkvm_host.h383 unsigned long wimg; member in struct:kvmppc_pte
H A Dkvm_book3s.h22 u8 wimg; member in struct:kvmppc_bat
/linux-master/arch/powerpc/kvm/
H A De500_mmu_host.c247 kvm_pfn_t pfn, unsigned int wimg)
253 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg;
337 unsigned int wimg = 0; local
471 * We are just looking at the wimg bits, so we don't
482 wimg = (pte_val(pte) >> PTE_WIMGE_SHIFT) &
493 kvmppc_e500_ref_setup(ref, gtlbe, pfn, wimg);
245 kvmppc_e500_ref_setup(struct tlbe_ref *ref, struct kvm_book3e_206_tlb_entry *gtlbe, kvm_pfn_t pfn, unsigned int wimg) argument
H A Dbook3s_64_mmu.c221 gpte->wimg = HPTE_R_M;
305 gpte->wimg = r & HPTE_R_WIMG;
H A Dbook3s_64_mmu_host.c138 rflags = (rflags & ~HPTE_R_WIMG) | orig_pte->wimg;
H A Dbook3s_emulate.c647 bat->wimg = (val >> 3) & 0xf;
H A Dbook3s_pr.c716 pte.wimg = HPTE_R_M;

Completed in 243 milliseconds