Home
last modified time | relevance | path

Searched refs:pte_flags (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_ppgtt.c188 u32 pte_flags; in ppgtt_bind_vma() local
197 pte_flags = 0; in ppgtt_bind_vma()
199 pte_flags |= PTE_READ_ONLY; in ppgtt_bind_vma()
201 pte_flags |= PTE_LM; in ppgtt_bind_vma()
203 vm->insert_entries(vm, vma_res, pat_index, pte_flags); in ppgtt_bind_vma()
H A Dintel_ggtt.c745 u32 pte_flags; in intel_ggtt_bind_vma() local
753 pte_flags = 0; in intel_ggtt_bind_vma()
755 pte_flags |= PTE_READ_ONLY; in intel_ggtt_bind_vma()
757 pte_flags |= PTE_LM; in intel_ggtt_bind_vma()
759 vm->insert_entries(vm, vma_res, pat_index, pte_flags); in intel_ggtt_bind_vma()
922 u32 pte_flags; in aliasing_gtt_bind_vma() local
925 pte_flags = 0; in aliasing_gtt_bind_vma()
927 pte_flags |= PTE_READ_ONLY; in aliasing_gtt_bind_vma()
934 vm->insert_entries(vm, vma_res, pat_index, pte_flags); in aliasing_gtt_bind_vma()
1155 u32 pte_flags; in ggtt_probe_common() local
[all …]
H A Dselftest_tlb.c163 unsigned int pte_flags = 0; in pte_tlbinv() local
167 pte_flags |= PTE_LM; in pte_tlbinv()
168 ce->vm->insert_entries(ce->vm, &vb_res, pat_index, pte_flags); in pte_tlbinv()
H A Dgen8_ppgtt.c828 u32 pte_flags; in gen8_init_scratch() local
852 pte_flags = vm->has_read_only; in gen8_init_scratch()
854 pte_flags |= PTE_LM; in gen8_init_scratch()
860 pte_flags); in gen8_init_scratch()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dpt.c87 u32 pte_flags; in dpt_bind_vma() local
93 pte_flags = 0; in dpt_bind_vma()
95 pte_flags |= PTE_READ_ONLY; in dpt_bind_vma()
97 pte_flags |= PTE_LM; in dpt_bind_vma()
99 vm->insert_entries(vm, vma_res, pat_index, pte_flags); in dpt_bind_vma()
/linux/arch/powerpc/include/asm/
H A Dpgtable.h71 unsigned long pte_flags; in pte_pgprot() local
73 pte_flags = pte_val(pte) & ~PTE_RPN_MASK; in pte_pgprot()
74 return __pgprot(pte_flags); in pte_pgprot()
/linux/arch/arm64/mm/
H A Dproc.S237 orr pte, pte, pte_flags
256 pte_flags .req x1
300 mov_q pte_flags, KPTI_NG_PTE_FLAGS
323 bic pte_flags, pte_flags, #PTE_SHARED
396 .unreq pte_flags
/linux/drivers/char/agp/
H A Dintel-gtt.c325 u32 pte_flags = I810_PTE_VALID; in i810_write_entry() local
329 pte_flags |= I810_PTE_LOCAL; in i810_write_entry()
332 pte_flags |= I830_PTE_SYSTEM_CACHED; in i810_write_entry()
336 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i810_write_entry()
736 u32 pte_flags = I810_PTE_VALID; in i830_write_entry() local
739 pte_flags |= I830_PTE_SYSTEM_CACHED; in i830_write_entry()
741 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i830_write_entry()
1118 u32 pte_flags; in i965_write_entry() local
1120 pte_flags = I810_PTE_VALID; in i965_write_entry()
1122 pte_flags |= I830_PTE_SYSTEM_CACHED; in i965_write_entry()
[all …]
/linux/arch/x86/include/asm/
H A Dtlbflush.h355 if (!(pte_flags(oldpte) & _PAGE_PRESENT)) in pte_needs_flush()
366 return pte_flags_need_flush(pte_flags(oldpte), pte_flags(newpte), in pte_needs_flush()
H A Dpgtable_types.h483 static inline pteval_t pte_flags(pte_t pte) in pte_flags() function
/linux/arch/x86/mm/
H A Dpti.c274 if (pte_flags(*pte) & _PAGE_USER) { in pti_user_pagetable_walk_pte()
394 if (WARN_ON(!(pte_flags(*pte) & _PAGE_PRESENT))) in pti_clone_pgtable()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.h377 #define amdgpu_gmc_override_vm_pte_flags(adev, vm, addr, pte_flags) \ argument
379 ((adev), (vm), (addr), (pte_flags))
H A Damdgpu_amdkfd.h66 uint64_t pte_flags; member
H A Damdgpu_amdkfd_gpuvm.c978 attachment[i]->pte_flags = get_pte_flags(adev, mem); in kfd_mem_attach()
1303 entry->pte_flags); in map_bo_to_gpuvm()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c1198 uint64_t pte_flags; in svm_range_get_pte_flags() local
1299 pte_flags = AMDGPU_PTE_VALID; in svm_range_get_pte_flags()
1300 pte_flags |= (domain == SVM_RANGE_VRAM_DOMAIN) ? 0 : AMDGPU_PTE_SYSTEM; in svm_range_get_pte_flags()
1301 pte_flags |= snoop ? AMDGPU_PTE_SNOOPED : 0; in svm_range_get_pte_flags()
1303 pte_flags |= AMDGPU_PTE_IS_PTE; in svm_range_get_pte_flags()
1305 pte_flags |= amdgpu_gem_va_map_flags(node->adev, mapping_flags); in svm_range_get_pte_flags()
1306 return pte_flags; in svm_range_get_pte_flags()
1387 uint64_t pte_flags; in svm_range_map_to_gpu() local
1412 pte_flags = svm_range_get_pte_flags(pdd->dev, prange, last_domain); in svm_range_map_to_gpu()
1414 pte_flags &= ~AMDGPU_PTE_WRITEABLE; in svm_range_map_to_gpu()
[all …]
/linux/arch/x86/mm/pat/
H A Dcpa-test.c41 return pte_flags(pte) & _PAGE_SOFTW1; in pte_testbit()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc_fw.c1043 u32 pte_flags = 0; in uc_fw_bind_ggtt() local
1059 pte_flags |= PTE_LM; in uc_fw_bind_ggtt()
1065 pte_flags); in uc_fw_bind_ggtt()
1070 pte_flags); in uc_fw_bind_ggtt()