Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/kvm/mmu/
Dpaging_tmpl.h94 unsigned pte_access; member
319 u64 pt_access, pte_access; in FNAME() local
359 pte_access = ~0; in FNAME()
365 pt_access = pte_access; in FNAME()
410 pte_access = pt_access & (pte ^ walk_nx_mask); in FNAME()
424 accessed_dirty = have_ad ? pte_access & PT_GUEST_ACCESSED_MASK : 0; in FNAME()
428 walker->pte_access = FNAME(gpte_access)(pte_access ^ walk_nx_mask); in FNAME()
429 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in FNAME()
446 FNAME(protect_clean_gpte)(mmu, &walker->pte_access, pte); in FNAME()
466 __func__, (u64)pte, walker->pte_access, walker->pt_access); in FNAME()
[all …]
Dspte.c84 int make_spte(struct kvm_vcpu *vcpu, unsigned int pte_access, int level, in make_spte() argument
107 if (level > PG_LEVEL_4K && (pte_access & ACC_EXEC_MASK) && in make_spte()
109 pte_access &= ~ACC_EXEC_MASK; in make_spte()
112 if (pte_access & ACC_EXEC_MASK) in make_spte()
117 if (pte_access & ACC_USER_MASK) in make_spte()
129 pte_access &= ~ACC_WRITE_MASK; in make_spte()
136 if (pte_access & ACC_WRITE_MASK) { in make_spte()
152 pte_access &= ~ACC_WRITE_MASK; in make_spte()
157 if (pte_access & ACC_WRITE_MASK) in make_spte()
Dspte.h252 int make_spte(struct kvm_vcpu *vcpu, unsigned int pte_access, int level,
Dmmu.c2572 unsigned int pte_access, int level, in set_spte() argument
2580 if (set_mmio_spte(vcpu, sptep, gfn, pfn, pte_access)) in set_spte()
2585 ret = make_spte(vcpu, pte_access, level, gfn, pfn, *sptep, speculative, in set_spte()
2599 unsigned int pte_access, bool write_fault, int level, in mmu_set_spte() argument
2633 set_spte_ret = set_spte(vcpu, sptep, pte_access, level, gfn, pfn, in mmu_set_spte()
/Linux-v5.10/arch/x86/kvm/
Dmmu.h167 unsigned pte_access, unsigned pte_pkey, in permission_fault() argument
189 bool fault = (mmu->permissions[index] >> pte_access) & 1; in permission_fault()
206 ((pte_access & PT_USER_MASK) << (PFERR_RSVD_BIT - PT_USER_SHIFT)); in permission_fault()