Home
last modified time | relevance | path

Searched full:pagetable (Results 1 – 25 of 139) sorted by relevance

123456

/linux-6.14.4/drivers/gpu/drm/msm/
Dmsm_iommu.c36 static size_t calc_pgsize(struct msm_iommu_pagetable *pagetable, in calc_pgsize() argument
46 pgsizes = pagetable->pgsize_bitmap & GENMASK(__fls(size), 0); in calc_pgsize()
62 pgsizes = pagetable->pgsize_bitmap & ~GENMASK(pgsize_idx, 0); in calc_pgsize()
94 struct msm_iommu_pagetable *pagetable = to_pagetable(mmu); in msm_iommu_pagetable_unmap() local
95 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap()
100 pgsize = calc_pgsize(pagetable, iova, iova, size, &count); in msm_iommu_pagetable_unmap()
110 iommu_flush_iotlb_all(to_msm_iommu(pagetable->parent)->domain); in msm_iommu_pagetable_unmap()
118 struct msm_iommu_pagetable *pagetable = to_pagetable(mmu); in msm_iommu_pagetable_map() local
119 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map()
132 pgsize = calc_pgsize(pagetable, addr, phys, size, &count); in msm_iommu_pagetable_map()
[all …]
/linux-6.14.4/arch/mips/mm/
Dpgtable-64.c49 unsigned long pagetable = (unsigned long)invalid_pte_table; in pmd_init() local
55 p[0] = pagetable; in pmd_init()
56 p[1] = pagetable; in pmd_init()
57 p[2] = pagetable; in pmd_init()
58 p[3] = pagetable; in pmd_init()
59 p[4] = pagetable; in pmd_init()
61 p[-3] = pagetable; in pmd_init()
62 p[-2] = pagetable; in pmd_init()
63 p[-1] = pagetable; in pmd_init()
73 unsigned long pagetable = (unsigned long)invalid_pmd_table; in pud_init() local
[all …]
/linux-6.14.4/arch/loongarch/mm/
Dpgtable.c74 unsigned long pagetable = (unsigned long)invalid_pte_table; in pmd_init() local
80 p[0] = pagetable; in pmd_init()
81 p[1] = pagetable; in pmd_init()
82 p[2] = pagetable; in pmd_init()
83 p[3] = pagetable; in pmd_init()
84 p[4] = pagetable; in pmd_init()
86 p[-3] = pagetable; in pmd_init()
87 p[-2] = pagetable; in pmd_init()
88 p[-1] = pagetable; in pmd_init()
98 unsigned long pagetable = (unsigned long)invalid_pmd_table; in pud_init() local
[all …]
/linux-6.14.4/drivers/gpu/drm/imagination/
Dpvr_fw_mips.h23 * @pt_pages: Pages containing MIPS pagetable.
27 /** @pt: Pointer to CPU mapping of MIPS pagetable. */
30 /** @pt_dma_addr: DMA mappings of MIPS pagetable. */
45 /** @pfn_mask: PFN mask for MIPS pagetable. */
Dpvr_vm_mips.c20 * pvr_vm_mips_init() - Initialise MIPS FW pagetable
95 * pvr_vm_mips_fini() - Release MIPS FW pagetable
/linux-6.14.4/drivers/staging/media/atomisp/pci/
Dia_css_mmu_private.h13 * This function sets the L1 pagetable address.
14 * After power-up of the ISP the L1 pagetable can be set.
15 * Once being set the L1 pagetable is protected against
/linux-6.14.4/arch/x86/mm/
Dmem_encrypt_identity.c86 * more than enough pagetable pages.
91 * section is 2MB aligned to allow for simple pagetable setup using only
254 * Perform a relatively simplistic calculation of the pagetable in sme_pgtable_calc()
274 * Now calculate the added pagetable structures needed to populate in sme_pgtable_calc()
345 * pagetable structures for the encryption of the kernel in sme_encrypt_kernel()
346 * pagetable structures for workarea (in case not currently mapped) in sme_encrypt_kernel()
366 * the pagetable area. The start of the workarea is already 2MB in sme_encrypt_kernel()
375 * Set the address to the start of where newly created pagetable in sme_encrypt_kernel()
376 * structures (PGDs, PUDs and PMDs) will be allocated. New pagetable in sme_encrypt_kernel()
384 * Make sure the current pagetable structure has entries for in sme_encrypt_kernel()
[all …]
/linux-6.14.4/arch/x86/xen/
Dmmu_pv.c10 * Xen allows guests to directly update the pagetable, in a controlled
11 * fashion. In other words, the guest modifies the same pagetable
13 * a separate shadow pagetable.
21 * inserted directly into the pagetable. When creating a new
26 * The other constraint is that all pages which make up a pagetable
28 * guest updates to the pagetable. Xen strictly enforces this, and
29 * will disallow any pagetable update which will end up mapping a
30 * pagetable page RW, and will disallow using any writable page as a
31 * pagetable.
33 * Naively, when loading %cr3 with the base of a new pagetable, Xen
[all …]
/linux-6.14.4/include/xen/interface/hvm/
Dhvm_op.h19 /* Hint from PV drivers for pagetable destruction. */
22 /* Domain with a pagetable about to be destroyed. */
24 /* guest physical address of the toplevel pagetable dying */
/linux-6.14.4/Documentation/gpu/xe/
Dxe_mm.rst25 Pagetable building
29 :doc: Pagetable building
/linux-6.14.4/drivers/iommu/
DKconfig26 menu "Generic IOMMU Pagetable Support"
28 # Selected by the actual pagetable implementations
38 Enable support for the ARM long descriptor pagetable format.
57 Enable support for the ARM Short-descriptor pagetable format.
77 Enable support for the Apple DART pagetable formats. These include
Domap-iommu-debug.c240 DEFINE_SHOW_ATTRIBUTE(pagetable);
255 debugfs_create_file("pagetable", 0400, d, obj, &pagetable_fops); in omap_iommu_debugfs_add()
/linux-6.14.4/arch/powerpc/mm/ptdump/
Dhashpagetable.c6 * the hash pagetable, along with their flags to
457 * Traverse the linux pagetable structure and dump pages that are in in walk_pagetables()
458 * the hash pagetable. in walk_pagetables()
475 * that are in the hash pagetable. in walk_linearmapping()
492 * pagetable. in walk_vmemmap()
524 * dump pages that are in the hash pagetable. in ptdump_show()
/linux-6.14.4/include/xen/interface/
Dxen.h123 * @foreigndom[31:16]: PFD, the expected owner of pagetable pages referenced
142 * pages that make up a pagetable must be mapped read-only in the guest.
143 * This prevents uncontrolled guest updates to the pagetable. Xen strictly
144 * enforces this, and will disallow any pagetable update which will end up
145 * mapping pagetable page RW, and will disallow using any writable page as a
146 * pagetable. In practice it means that when constructing a page table for a
158 * operation on PGD (L4) pagetable entries that have a PUD (L3) entry.
173 * pagetable MUST not be in use (meaning that the cr3 is not set to it).
207 * HYPERVISOR_mmuext_op serve as mechanism to set a pagetable to be 4MB
/linux-6.14.4/arch/hexagon/include/asm/
Dpage.h61 * asm-generic/pagetable-nopmd.h and asm-generic/pagetable-nopud.h
/linux-6.14.4/arch/powerpc/platforms/ps3/
DKconfig38 int "PS3 Platform pagetable size" if PS3_ADVANCED
43 tune the pagetable size on their system. The value here is
/linux-6.14.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c405 * vmw_mob_pt_populate - Populate the mob pagetable
407 * @mob: Pointer to the mob the pagetable of which we want to
410 * This function allocates memory to be used for the pagetable.
447 * vmw_mob_build_pt - Build a pagetable
488 * vmw_mob_build_pt - Set up a multilevel mob pagetable
/linux-6.14.4/mm/
Dmapping_dirty_helpers.c11 * struct wp_walk - Private struct for pagetable walk callbacks
29 * @walk: pagetable walk callback argument
81 * @walk: pagetable walk callback argument
/linux-6.14.4/drivers/gpu/drm/xe/
Dxe_pt_walk.c41 /* Shared pt walk skips to the last pagetable */ in xe_pt_next()
98 /* Probably not needed yet for gpu pagetable walk. */ in xe_pt_walk_range()
Dxe_pt.c148 * @tile: The tile the scratch pagetable of which to use.
150 * @pt: The pagetable the bo of which to initialize.
222 * DOC: Pagetable building
354 * non-pre-existing pagetable with leaf ptes.
370 * Register this new pagetable so that it won't be recognized as in xe_pt_insert_entry()
371 * a shared pagetable by a subsequent insertion. in xe_pt_insert_entry()
564 * Prefer the compact pagetable layout for L0 if possible. Only in xe_pt_stage_bind_entry()
704 * shared pagetable.
705 * @addr: The start address within the non-shared pagetable.
706 * @end: The end address within the non-shared pagetable.
[all …]
/linux-6.14.4/arch/x86/include/asm/
Dinit.h14 unsigned long kernpg_flag; /* kernel pagetable flag override */
Dparavirt_types.h152 /* Hooks for allocating and freeing a pagetable top-level */
157 * Hooks for allocating/releasing pagetable pages when they're
158 * attached to a pagetable
169 /* Pagetable manipulation functions */
/linux-6.14.4/include/linux/
Dmem_encrypt.h24 * the encryption mask from a value (e.g. when dealing with pagetable
/linux-6.14.4/drivers/gpu/drm/etnaviv/
Detnaviv_iommu_v2.c33 /* M(aster) TLB aka first level pagetable */
36 /* S(lave) TLB aka second level pagetable */
/linux-6.14.4/Documentation/mm/
Dtranshuge.rst92 To make pagetable walks huge pmd aware, all you need to do is to call
102 pagetable walk). If the second pmd_trans_huge returns false, you

123456