Home
last modified time | relevance | path

Searched refs:pte_access (Results 1 – 5 of 5) sorted by relevance

/linux/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h90 unsigned int pte_access; member
310 u64 pt_access, pte_access; in FNAME() local
349 pte_access = ~0; in FNAME()
367 pt_access = pte_access; in FNAME()
415 pte_access = pt_access & (pte ^ walk_nx_mask); in FNAME()
432 accessed_dirty = have_ad ? pte_access & PT_GUEST_ACCESSED_MASK : 0; in FNAME()
435 walker->pte_access = FNAME(gpte_access)(pte_access ^ walk_nx_mask); in FNAME()
436 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in FNAME()
455 FNAME(protect_clean_gpte)(mmu, &walker->pte_access, pte); in FNAME()
513 walker->fault.exit_qualification |= EPT_VIOLATION_RWX_TO_PROT(pte_access); in FNAME()
[all …]
H A Dspte.c188 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn, in make_spte() argument
203 WARN_ON_ONCE((pte_access | shadow_present_mask) == SHADOW_NONPRESENT_VALUE); in make_spte()
226 if (level > PG_LEVEL_4K && (pte_access & ACC_EXEC_MASK) && in make_spte()
228 pte_access &= ~ACC_EXEC_MASK; in make_spte()
231 if (pte_access & ACC_EXEC_MASK) in make_spte()
236 if (pte_access & ACC_USER_MASK) in make_spte()
248 pte_access &= ~ACC_WRITE_MASK; in make_spte()
255 if (pte_access & ACC_WRITE_MASK) { in make_spte()
H A Dspte.h545 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn,
H A Dmmu.c3031 u64 *sptep, unsigned int pte_access, gfn_t gfn, in mmu_set_spte() argument
3049 mark_mmio_spte(vcpu, sptep, gfn, pte_access); in mmu_set_spte()
3076 wrprot = make_spte(vcpu, sp, slot, pte_access, gfn, pfn, *sptep, prefetch, in mmu_set_spte()
3094 rmap_add(vcpu, slot, sptep, gfn, pte_access); in mmu_set_spte()
3097 kvm_mmu_page_set_access(sp, spte_index(sptep), pte_access); in mmu_set_spte()
/linux/arch/x86/kvm/
H A Dmmu.h186 unsigned pte_access, unsigned pte_pkey, in permission_fault() argument
213 fault = (mmu->permissions[index] >> pte_access) & 1; in permission_fault()
228 offset = (pfec & ~1) | ((pte_access & PT_USER_MASK) ? PFERR_RSVD_MASK : 0); in permission_fault()