Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/mmu/
Dpaging_tmpl.h90 unsigned int pte_access; member
310 u64 pt_access, pte_access; in FNAME() local
350 pte_access = ~0; in FNAME()
356 pt_access = pte_access; in FNAME()
400 pte_access = pt_access & (pte ^ walk_nx_mask); in FNAME()
417 accessed_dirty = have_ad ? pte_access & PT_GUEST_ACCESSED_MASK : 0; in FNAME()
420 walker->pte_access = FNAME(gpte_access)(pte_access ^ walk_nx_mask); in FNAME()
421 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in FNAME()
440 FNAME(protect_clean_gpte)(mmu, &walker->pte_access, pte); in FNAME()
460 __func__, (u64)pte, walker->pte_access, in FNAME()
[all …]
Dspte.c139 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn, in make_spte() argument
147 WARN_ON_ONCE(!pte_access && !shadow_present_mask); in make_spte()
164 if (level > PG_LEVEL_4K && (pte_access & ACC_EXEC_MASK) && in make_spte()
166 pte_access &= ~ACC_EXEC_MASK; in make_spte()
169 if (pte_access & ACC_EXEC_MASK) in make_spte()
174 if (pte_access & ACC_USER_MASK) in make_spte()
186 pte_access &= ~ACC_WRITE_MASK; in make_spte()
193 if (pte_access & ACC_WRITE_MASK) { in make_spte()
215 pte_access &= ~ACC_WRITE_MASK; in make_spte()
220 if (pte_access & ACC_WRITE_MASK) in make_spte()
Dspte.h446 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn,
Dmmu.c2780 u64 *sptep, unsigned int pte_access, gfn_t gfn, in mmu_set_spte() argument
2801 mark_mmio_spte(vcpu, sptep, gfn, pte_access); in mmu_set_spte()
2826 wrprot = make_spte(vcpu, sp, slot, pte_access, gfn, pfn, *sptep, prefetch, in mmu_set_spte()
2849 rmap_add(vcpu, slot, sptep, gfn, pte_access); in mmu_set_spte()
2852 kvm_mmu_page_set_access(sp, spte_index(sptep), pte_access); in mmu_set_spte()
/linux-6.1.9/arch/x86/kvm/
Dmmu.h165 unsigned pte_access, unsigned pte_pkey, in permission_fault() argument
187 bool fault = (mmu->permissions[index] >> pte_access) & 1; in permission_fault()
204 ((pte_access & PT_USER_MASK) << (PFERR_RSVD_BIT - PT_USER_SHIFT)); in permission_fault()