/Linux-v6.1/drivers/gpu/drm/msm/ |
D | msm_iommu.c | 34 static size_t calc_pgsize(struct msm_iommu_pagetable *pagetable, in calc_pgsize() argument 44 pgsizes = pagetable->pgsize_bitmap & GENMASK(__fls(size), 0); in calc_pgsize() 60 pgsizes = pagetable->pgsize_bitmap & ~GENMASK(pgsize_idx, 0); in calc_pgsize() 92 struct msm_iommu_pagetable *pagetable = to_pagetable(mmu); in msm_iommu_pagetable_unmap() local 93 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_unmap() 98 pgsize = calc_pgsize(pagetable, iova, iova, size, &count); in msm_iommu_pagetable_unmap() 108 iommu_flush_iotlb_all(to_msm_iommu(pagetable->parent)->domain); in msm_iommu_pagetable_unmap() 116 struct msm_iommu_pagetable *pagetable = to_pagetable(mmu); in msm_iommu_pagetable_map() local 117 struct io_pgtable_ops *ops = pagetable->pgtbl_ops; in msm_iommu_pagetable_map() 130 pgsize = calc_pgsize(pagetable, addr, phys, size, &count); in msm_iommu_pagetable_map() [all …]
|
/Linux-v6.1/arch/loongarch/mm/ |
D | pgtable.c | 59 void pmd_init(unsigned long addr, unsigned long pagetable) in pmd_init() argument 67 p[0] = pagetable; in pmd_init() 68 p[1] = pagetable; in pmd_init() 69 p[2] = pagetable; in pmd_init() 70 p[3] = pagetable; in pmd_init() 71 p[4] = pagetable; in pmd_init() 73 p[-3] = pagetable; in pmd_init() 74 p[-2] = pagetable; in pmd_init() 75 p[-1] = pagetable; in pmd_init() 82 void pud_init(unsigned long addr, unsigned long pagetable) in pud_init() argument [all …]
|
/Linux-v6.1/arch/mips/mm/ |
D | pgtable-64.c | 46 void pmd_init(unsigned long addr, unsigned long pagetable) in pmd_init() argument 54 p[0] = pagetable; in pmd_init() 55 p[1] = pagetable; in pmd_init() 56 p[2] = pagetable; in pmd_init() 57 p[3] = pagetable; in pmd_init() 58 p[4] = pagetable; in pmd_init() 60 p[-3] = pagetable; in pmd_init() 61 p[-2] = pagetable; in pmd_init() 62 p[-1] = pagetable; in pmd_init() 69 void pud_init(unsigned long addr, unsigned long pagetable) in pud_init() argument [all …]
|
/Linux-v6.1/arch/x86/xen/ |
D | mmu_pv.c | 10 * 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-v6.1/arch/x86/mm/ |
D | mem_encrypt_identity.c | 88 * more than enough pagetable pages. 93 * section is 2MB aligned to allow for simple pagetable setup using only 260 * Perform a relatively simplistic calculation of the pagetable in sme_pgtable_calc() 280 * Now calculate the added pagetable structures needed to populate in sme_pgtable_calc() 359 * pagetable structures for the encryption of the kernel in sme_encrypt_kernel() 360 * pagetable structures for workarea (in case not currently mapped) in sme_encrypt_kernel() 380 * the pagetable area. The start of the workarea is already 2MB in sme_encrypt_kernel() 389 * Set the address to the start of where newly created pagetable in sme_encrypt_kernel() 390 * structures (PGDs, PUDs and PMDs) will be allocated. New pagetable in sme_encrypt_kernel() 398 * Make sure the current pagetable structure has entries for in sme_encrypt_kernel() [all …]
|
D | init_32.c | 490 * Build a proper pagetable for the kernel mappings. Up until this 494 * If we're booting on native hardware, this will be a pagetable 496 * pagetable will be swapper_pg_dir. 499 * more options: we may already be running PAE, and the pagetable may 504 * In general, pagetable_init() assumes that the pagetable may already
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/ |
D | ia_css_mmu_private.h | 22 * This function sets the L1 pagetable address. 23 * After power-up of the ISP the L1 pagetable can be set. 24 * Once being set the L1 pagetable is protected against
|
/Linux-v6.1/include/xen/interface/hvm/ |
D | hvm_op.h | 19 /* 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-v6.1/drivers/iommu/ |
D | Kconfig | 26 menu "Generic IOMMU Pagetable Support" 28 # Selected by the actual pagetable implementations 37 Enable support for the ARM long descriptor pagetable format. 56 Enable support for the ARM Short-descriptor pagetable format. 75 Enable support for the Apple DART pagetable formats. These include
|
D | omap-iommu-debug.c | 240 DEFINE_SHOW_ATTRIBUTE(pagetable); 255 debugfs_create_file("pagetable", 0400, d, obj, &pagetable_fops); in omap_iommu_debugfs_add()
|
/Linux-v6.1/arch/powerpc/mm/ptdump/ |
D | hashpagetable.c | 6 * 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-v6.1/include/xen/interface/ |
D | xen.h | 123 * @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-v6.1/arch/powerpc/platforms/ps3/ |
D | Kconfig | 38 int "PS3 Platform pagetable size" if PS3_ADVANCED 43 tune the pagetable size on their system. The value here is
|
/Linux-v6.1/arch/hexagon/include/asm/ |
D | page.h | 67 * asm-generic/pagetable-nopmd.h and asm-generic/pagetable-nopud.h
|
/Linux-v6.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_mob.c | 402 * vmw_mob_pt_populate - Populate the mob pagetable 404 * @mob: Pointer to the mob the pagetable of which we want to 407 * This function allocates memory to be used for the pagetable. 442 * vmw_mob_build_pt - Build a pagetable 483 * vmw_mob_build_pt - Set up a multilevel mob pagetable
|
/Linux-v6.1/arch/arm64/include/asm/ |
D | kernel-pgtable.h | 49 * For each pagetable level of the swapper, we know that the shift will 52 * KASLR can increase the number of pagetable entries by 1, so we make
|
/Linux-v6.1/arch/x86/include/asm/ |
D | init.h | 11 unsigned long kernpg_flag; /* kernel pagetable flag override */
|
D | tlb.h | 27 * a hypercall. To keep software pagetable walkers safe in this case we
|
D | paravirt_types.h | 186 /* Hooks for allocating and freeing a pagetable top-level */ 191 * Hooks for allocating/releasing pagetable pages when they're 192 * attached to a pagetable 203 /* Pagetable manipulation functions */
|
/Linux-v6.1/mm/ |
D | mapping_dirty_helpers.c | 11 * struct wp_walk - Private struct for pagetable walk callbacks 29 * @walk: pagetable walk callback argument 81 * @walk: pagetable walk callback argument
|
D | Kconfig.debug | 197 bool "Export kernel pagetable layout to userspace via debugfs" 203 Say Y here if you want to show the kernel pagetable layout in a
|
/Linux-v6.1/include/linux/ |
D | mem_encrypt.h | 24 * the encryption mask from a value (e.g. when dealing with pagetable
|
/Linux-v6.1/arch/nios2/include/asm/ |
D | pgalloc.h | 32 extern void pmd_init(unsigned long page, unsigned long pagetable);
|
/Linux-v6.1/tools/testing/selftests/vm/ |
D | va_128TBswitch.sh | 8 # pagetable levels.
|
/Linux-v6.1/drivers/gpu/drm/etnaviv/ |
D | etnaviv_iommu_v2.c | 33 /* M(aster) TLB aka first level pagetable */ 36 /* S(lave) TLB aka second level pagetable */
|