Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
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()
Dpaging_tmpl.h95 unsigned int pte_access; member
316 u64 pt_access, pte_access; in FNAME() local
356 pte_access = ~0; in FNAME()
362 pt_access = pte_access; in FNAME()
407 pte_access = pt_access & (pte ^ walk_nx_mask); in FNAME()
424 accessed_dirty = have_ad ? pte_access & PT_GUEST_ACCESSED_MASK : 0; in FNAME()
427 walker->pte_access = FNAME(gpte_access)(pte_access ^ walk_nx_mask); in FNAME()
428 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in FNAME()
445 FNAME(protect_clean_gpte)(mmu, &walker->pte_access, pte); in FNAME()
465 __func__, (u64)pte, walker->pte_access, in FNAME()
[all …]
Dspte.h246 int make_spte(struct kvm_vcpu *vcpu, unsigned int pte_access, int level,
Dmmu.c2561 unsigned int pte_access, int level, in set_spte() argument
2569 if (set_mmio_spte(vcpu, sptep, gfn, pfn, pte_access)) in set_spte()
2574 ret = make_spte(vcpu, pte_access, level, gfn, pfn, *sptep, speculative, in set_spte()
2588 unsigned int pte_access, bool write_fault, int level, in mmu_set_spte() argument
2622 set_spte_ret = set_spte(vcpu, sptep, pte_access, level, gfn, pfn, in mmu_set_spte()
/kernel/linux/linux-5.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()