Searched refs:pte_access (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/arch/x86/kvm/mmu/ |
H A D | paging_tmpl.h | 90 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 vcpu->arch.exit_qualification |= (pte_access & VMX_EPT_RWX_MASK) << in FNAME() [all …]
|
H A D | spte.c | 139 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() 176 if (level > PG_LEVEL_4K && (pte_access & ACC_EXEC_MASK) && in make_spte() 178 pte_access &= ~ACC_EXEC_MASK; in make_spte() 181 if (pte_access & ACC_EXEC_MASK) in make_spte() 186 if (pte_access & ACC_USER_MASK) in make_spte() 198 pte_access &= ~ACC_WRITE_MASK; in make_spte() 205 if (pte_access & ACC_WRITE_MASK) { in make_spte() 233 pte_access &= ~ACC_WRITE_MASK; in make_spte() 238 if (pte_access & ACC_WRITE_MASK) in make_spte()
|
H A D | spte.h | 476 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn,
|
H A D | mmu.c | 2901 u64 *sptep, unsigned int pte_access, gfn_t gfn, in mmu_set_spte() argument 2919 mark_mmio_spte(vcpu, sptep, gfn, pte_access); in mmu_set_spte() 2942 wrprot = make_spte(vcpu, sp, slot, pte_access, gfn, pfn, *sptep, prefetch, in mmu_set_spte() 2962 rmap_add(vcpu, slot, sptep, gfn, pte_access); in mmu_set_spte() 2965 kvm_mmu_page_set_access(sp, spte_index(sptep), pte_access); in mmu_set_spte()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | mmu.h | 187 unsigned pte_access, unsigned pte_pkey, in permission_fault() argument 214 fault = (mmu->permissions[index] >> pte_access) & 1; in permission_fault() 230 ((pte_access & PT_USER_MASK) << (PFERR_RSVD_BIT - PT_USER_SHIFT)); in permission_fault()
|