Home
last modified time | relevance | path

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

/linux-5.19.10/arch/powerpc/include/asm/
Dkvm_book3s_64.h400 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()
Dkvm_book3s.h21 u8 wimg; member
Dkvm_host.h384 unsigned long wimg; member
/linux-5.19.10/arch/powerpc/kvm/
De500_mmu_host.c247 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()
337 unsigned int wimg = 0; in kvmppc_e500_shadow_map() local
482 wimg = (pte_val(pte) >> PTE_WIMGE_SHIFT) & in kvmppc_e500_shadow_map()
493 kvmppc_e500_ref_setup(ref, gtlbe, pfn, wimg); in kvmppc_e500_shadow_map()
Dbook3s_64_mmu.c221 gpte->wimg = HPTE_R_M; in kvmppc_mmu_book3s_64_xlate()
305 gpte->wimg = r & HPTE_R_WIMG; in kvmppc_mmu_book3s_64_xlate()
Dbook3s_64_mmu_host.c138 rflags = (rflags & ~HPTE_R_WIMG) | orig_pte->wimg; in kvmppc_mmu_map_page()
Dbook3s_emulate.c647 bat->wimg = (val >> 3) & 0xf; in kvmppc_set_bat()
Dbook3s_pr.c716 pte.wimg = HPTE_R_M; in kvmppc_handle_pagefault()