| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | io-pgtable.h | 39 void (*tlb_flush_walk)(unsigned long iova, size_t size, size_t granule, 42 unsigned long iova, size_t granule, void *cookie); 224 size_t size, size_t granule) in io_pgtable_tlb_flush_walk() argument 227 iop->cfg.tlb->tlb_flush_walk(iova, size, granule, iop->cookie); in io_pgtable_tlb_flush_walk() 233 size_t granule) in io_pgtable_tlb_add_page() argument 236 iop->cfg.tlb->tlb_add_page(gather, iova, granule, iop->cookie); in io_pgtable_tlb_add_page()
|
| H A D | iova.h | 73 unsigned long granule; /* pfn granularity for this domain */ member 108 return __ffs(iovad->granule); in iova_shift() 113 return iovad->granule - 1; in iova_mask() 123 return ALIGN(size, iovad->granule); in iova_align() 157 void init_iova_domain(struct iova_domain *iovad, unsigned long granule, 236 unsigned long granule, in init_iova_domain() argument
|
| /OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/ |
| H A D | pgtable.c | 93 u64 granule = kvm_granule_size(level); in kvm_block_mapping_supported() local 98 if (granule > (end - addr)) in kvm_block_mapping_supported() 101 if (kvm_phys_is_valid(phys) && !IS_ALIGNED(phys, granule)) in kvm_block_mapping_supported() 104 return IS_ALIGNED(addr, granule); in kvm_block_mapping_supported() 369 u64 granule = kvm_granule_size(level), phys = data->phys; in hyp_map_walker_try_leaf() local 379 data->phys += granule; in hyp_map_walker_try_leaf() 585 u64 granule = kvm_granule_size(level), phys = data->phys; in stage2_map_walker_try_leaf() local 613 data->phys += granule; in stage2_map_walker_try_leaf() 1109 u64 granule, start, end; in kvm_pgtable_stage2_find_range() local 1119 granule = kvm_granule_size(level); in kvm_pgtable_stage2_find_range() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu/ |
| H A D | arm-smmu.c | 281 size_t granule, void *cookie, int reg) in arm_smmu_tlb_inv_range_s1() argument 296 iova += granule; in arm_smmu_tlb_inv_range_s1() 297 } while (size -= granule); in arm_smmu_tlb_inv_range_s1() 303 iova += granule >> 12; in arm_smmu_tlb_inv_range_s1() 304 } while (size -= granule); in arm_smmu_tlb_inv_range_s1() 309 size_t granule, void *cookie, int reg) in arm_smmu_tlb_inv_range_s2() argument 324 iova += granule >> 12; in arm_smmu_tlb_inv_range_s2() 325 } while (size -= granule); in arm_smmu_tlb_inv_range_s2() 329 size_t granule, void *cookie) in arm_smmu_tlb_inv_walk_s1() argument 331 arm_smmu_tlb_inv_range_s1(iova, size, granule, cookie, in arm_smmu_tlb_inv_walk_s1() [all …]
|
| H A D | qcom_iommu.c | 160 size_t granule, bool leaf, void *cookie) in qcom_iommu_tlb_inv_range_nosync() argument 176 iova += granule; in qcom_iommu_tlb_inv_range_nosync() 177 } while (s -= granule); in qcom_iommu_tlb_inv_range_nosync() 182 size_t granule, void *cookie) in qcom_iommu_tlb_flush_walk() argument 184 qcom_iommu_tlb_inv_range_nosync(iova, size, granule, false, cookie); in qcom_iommu_tlb_flush_walk() 189 unsigned long iova, size_t granule, in qcom_iommu_tlb_add_page() argument 192 qcom_iommu_tlb_inv_range_nosync(iova, granule, granule, true, cookie); in qcom_iommu_tlb_add_page()
|
| /OK3568_Linux_fs/kernel/drivers/iommu/ |
| H A D | msm_iommu.c | 140 size_t granule, bool leaf, void *cookie) in __flush_iotlb_range() argument 160 iova += granule; in __flush_iotlb_range() 161 } while (temp_size -= granule); in __flush_iotlb_range() 172 size_t granule, void *cookie) in __flush_iotlb_walk() argument 174 __flush_iotlb_range(iova, size, granule, false, cookie); in __flush_iotlb_walk() 178 unsigned long iova, size_t granule, void *cookie) in __flush_iotlb_page() argument 180 __flush_iotlb_range(iova, granule, granule, true, cookie); in __flush_iotlb_page()
|
| H A D | io-pgtable-arm.c | 752 unsigned long granule, page_sizes; in arm_lpae_restrict_pgsizes() local 763 granule = PAGE_SIZE; in arm_lpae_restrict_pgsizes() 765 granule = 1UL << __fls(cfg->pgsize_bitmap & ~PAGE_MASK); in arm_lpae_restrict_pgsizes() 767 granule = 1UL << __ffs(cfg->pgsize_bitmap & PAGE_MASK); in arm_lpae_restrict_pgsizes() 769 granule = 0; in arm_lpae_restrict_pgsizes() 771 switch (granule) { in arm_lpae_restrict_pgsizes() 1154 size_t granule, void *cookie) in dummy_tlb_flush() argument 1161 unsigned long iova, size_t granule, in dummy_tlb_add_page() argument 1164 dummy_tlb_flush(iova, granule, granule, cookie); in dummy_tlb_add_page()
|
| H A D | iova.c | 30 init_iova_domain(struct iova_domain *iovad, unsigned long granule, in init_iova_domain() argument 38 BUG_ON((granule > PAGE_SIZE) || !is_power_of_2(granule)); in init_iova_domain() 44 iovad->granule = granule; in init_iova_domain()
|
| H A D | io-pgtable-arm-v7s.c | 890 size_t granule, void *cookie) in dummy_tlb_flush() argument 897 unsigned long iova, size_t granule, in dummy_tlb_add_page() argument 900 dummy_tlb_flush(iova, granule, granule, cookie); in dummy_tlb_add_page()
|
| H A D | dma-iommu.c | 61 return cookie->iovad.granule; in cookie_msi_granule() 145 if (cookie->type == IOMMU_DMA_IOVA_COOKIE && cookie->iovad.granule) in iommu_put_dma_cookie() 195 start += iovad->granule; in cookie_init_hw_msi_region() 345 if (1UL << order != iovad->granule || in iommu_dma_init_domain()
|
| H A D | ipmmu-vmsa.c | 320 size_t granule, void *cookie) in ipmmu_tlb_flush() argument
|
| H A D | mtk_iommu.c | 228 size_t granule, in mtk_iommu_tlb_flush_range_sync() argument
|
| /OK3568_Linux_fs/kernel/Documentation/ia64/ |
| H A D | aliasing.rst | 72 identity mapping only when the entire granule supports cacheable 75 Therefore, kern_memmap contains only full granule-sized regions that 162 If the EFI memory map reports that the entire granule supports 166 If the granule contains non-WB memory, but we can cover the 200 which uses a granule-sized UC mapping. This granule will cover some 236 at 0xA0000 prevents use of a WB granule. The UC mapping causes
|
| /OK3568_Linux_fs/kernel/arch/ia64/ |
| H A D | Kconfig.debug | 12 Select "16MB" for a small granule size. 13 Select "64MB" for a large granule size. This is the current default.
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/ |
| H A D | msm_iommu.c | 130 size_t granule, void *cookie) in msm_iommu_tlb_flush_walk() argument 135 unsigned long iova, size_t granule, void *cookie) in msm_iommu_tlb_add_page() argument
|
| /OK3568_Linux_fs/kernel/Documentation/arm64/ |
| H A D | memory-tagging-extension.rst | 19 allocation tag for each 16-byte granule in the physical address space. 186 4-bit tag per byte and correspond to a 16-byte MTE tag granule in the 189 **Note**: If ``addr`` is not aligned to a 16-byte granule, the kernel
|
| /OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3.c | 1653 size_t granule, bool leaf, in arm_smmu_tlb_inv_range() argument 1658 size_t inv_range = granule; in arm_smmu_tlb_inv_range() 1685 cmd.tlbi.ttl = 4 - ((ilog2(granule) - 3) / (tg - 3)); in arm_smmu_tlb_inv_range() 1730 unsigned long iova, size_t granule, in arm_smmu_tlb_inv_page_nosync() argument 1736 iommu_iotlb_gather_add_page(domain, gather, iova, granule); in arm_smmu_tlb_inv_page_nosync() 1740 size_t granule, void *cookie) in arm_smmu_tlb_inv_walk() argument 1742 arm_smmu_tlb_inv_range(iova, size, granule, false, cookie); in arm_smmu_tlb_inv_walk()
|
| /OK3568_Linux_fs/kernel/Documentation/dev-tools/ |
| H A D | kasan.rst | 134 Internally KASAN tracks memory state separately for each memory granule, which 139 For generic KASAN the size of each memory granule is 8. The state of each 140 granule is encoded in one shadow byte. Those 8 bytes can be accessible,
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_mmu.c | 338 static void mmu_tlb_flush_walk(unsigned long iova, size_t size, size_t granule, in mmu_tlb_flush_walk() argument
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/ |
| H A D | nommu-mmap.rst | 118 granule but will only discard the excess if appropriately configured as
|
| /OK3568_Linux_fs/buildroot/dl/libmad/ |
| HD | libmad_0.15.1b-10.diff.gz | 1--- libmad-0.15.1b.orig/debian/changelog
2++ ... |
| /OK3568_Linux_fs/kernel/arch/arm64/ |
| H A D | Kconfig | 935 Page size (translation granule) configuration.
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/ |
| H A D | gdb.info | 21108 provided. This is the vector granule for the current thread and
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/ |
| H A D | gdb.info | 21108 provided. This is the vector granule for the current thread and
|