Searched refs:wimg (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kvm_book3s_64.h | 400 unsigned int wimg = hptel & HPTE_R_WIMG; in hpte_cache_flags_ok() local 403 if (wimg == (HPTE_R_W | HPTE_R_I | HPTE_R_M) && in hpte_cache_flags_ok() 405 wimg = HPTE_R_M; in hpte_cache_flags_ok() 408 return wimg == HPTE_R_M; in hpte_cache_flags_ok() 413 if (wimg & HPTE_R_W) /* FIXME!! is this ok for all guest. ? */ in hpte_cache_flags_ok() 415 return !!(wimg & HPTE_R_I); in hpte_cache_flags_ok()
|
H A D | kvm_book3s.h | 21 u8 wimg; member
|
H A D | kvm_host.h | 384 unsigned long wimg; member
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | e500_mmu_host.c | 247 kvm_pfn_t pfn, unsigned int wimg) in kvmppc_e500_ref_setup() argument 253 ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg; in kvmppc_e500_ref_setup() 334 unsigned int wimg = 0; in kvmppc_e500_shadow_map() local 480 wimg = (pte_val(pte) >> PTE_WIMGE_SHIFT) & in kvmppc_e500_shadow_map() 492 writable = kvmppc_e500_ref_setup(ref, gtlbe, pfn, wimg); in kvmppc_e500_shadow_map()
|
H A D | book3s_64_mmu.c | 221 gpte->wimg = HPTE_R_M; in kvmppc_mmu_book3s_64_xlate() 305 gpte->wimg = r & HPTE_R_WIMG; in kvmppc_mmu_book3s_64_xlate()
|
H A D | book3s_64_mmu_host.c | 138 rflags = (rflags & ~HPTE_R_WIMG) | orig_pte->wimg; in kvmppc_mmu_map_page()
|
H A D | book3s_emulate.c | 647 bat->wimg = (val >> 3) & 0xf; in kvmppc_set_bat()
|
H A D | book3s_pr.c | 715 pte.wimg = HPTE_R_M; in kvmppc_handle_pagefault()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | start.S | 177 .macro create_tlb1_entry esel ts tsize epn wimg rpn perm phy_high scratch 184 lis \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@h 185 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l 199 .macro create_tlb0_entry esel ts tsize epn wimg rpn perm phy_high scratch 206 lis \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@h 207 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l 233 .macro delete_tlb0_entry esel epn wimg scratch 239 lis \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@h 240 ori \scratch, \scratch, FSL_BOOKE_MAS2(\epn, \wimg)@l
|