Home
last modified time | relevance | path

Searched refs:asids (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
H A Dgrutlbpurge.c126 * - asidmap[maxgrus]. bitmap to make it easier to find non-zero asids in
149 struct gru_mm_tracker *asids; in gru_flush_tlb_range() local
168 asids = gms->ms_asids + gid; in gru_flush_tlb_range()
169 asid = asids->mt_asid; in gru_flush_tlb_range()
170 if (asids->mt_ctxbitmap && asid) { in gru_flush_tlb_range()
175 gid, asid, start, grupagesize, num, asids->mt_ctxbitmap); in gru_flush_tlb_range()
178 num - 1, asids->mt_ctxbitmap); in gru_flush_tlb_range()
182 asids->mt_asid = 0; in gru_flush_tlb_range()
186 gid, asid, asids->mt_ctxbitmap, in gru_flush_tlb_range()
H A Dgrumain.c58 * Initially, assign asids sequentially from MIN_ASID .. MAX_ASID.
60 * some asids may still be in use. There won't be many (percentage wise) still
63 * This defines a block of assignable asids.
66 * next block of assignable asids.
71 * the search for in-use asids only checks contexts with GRUs currently
72 * assigned, asids in some contexts will be missed. Prior to loading
92 /* Find the next chunk of unused asids */
228 struct gru_mm_tracker *asids = &gms->ms_asids[gru->gs_gid]; in gru_load_mm_tracker() local
233 asid = asids->mt_asid; in gru_load_mm_tracker()
236 if (asid == 0 || (asids in gru_load_mm_tracker()
264 struct gru_mm_tracker *asids; gru_unload_mm_tracker() local
[all...]
/kernel/linux/linux-6.6/drivers/misc/sgi-gru/
H A Dgrutlbpurge.c126 * - asidmap[maxgrus]. bitmap to make it easier to find non-zero asids in
149 struct gru_mm_tracker *asids; in gru_flush_tlb_range() local
168 asids = gms->ms_asids + gid; in gru_flush_tlb_range()
169 asid = asids->mt_asid; in gru_flush_tlb_range()
170 if (asids->mt_ctxbitmap && asid) { in gru_flush_tlb_range()
175 gid, asid, start, grupagesize, num, asids->mt_ctxbitmap); in gru_flush_tlb_range()
178 num - 1, asids->mt_ctxbitmap); in gru_flush_tlb_range()
182 asids->mt_asid = 0; in gru_flush_tlb_range()
186 gid, asid, asids->mt_ctxbitmap, in gru_flush_tlb_range()
H A Dgrumain.c58 * Initially, assign asids sequentially from MIN_ASID .. MAX_ASID.
60 * some asids may still be in use. There won't be many (percentage wise) still
63 * This defines a block of assignable asids.
66 * next block of assignable asids.
71 * the search for in-use asids only checks contexts with GRUs currently
72 * assigned, asids in some contexts will be missed. Prior to loading
92 /* Find the next chunk of unused asids */
228 struct gru_mm_tracker *asids = &gms->ms_asids[gru->gs_gid]; in gru_load_mm_tracker() local
233 asid = asids->mt_asid; in gru_load_mm_tracker()
236 if (asid == 0 || (asids in gru_load_mm_tracker()
264 struct gru_mm_tracker *asids; gru_unload_mm_tracker() local
[all...]
/kernel/linux/linux-5.10/arch/sh/mm/
H A DMakefile24 debugfs-y := asids-debugfs.o
/kernel/linux/linux-6.6/arch/sh/mm/
H A DMakefile24 debugfs-y := asids-debugfs.o
/kernel/linux/linux-5.10/drivers/iommu/
H A Dtegra-smmu.c41 unsigned long *asids; member
261 id = find_first_zero_bit(smmu->asids, smmu->soc->num_asids); in tegra_smmu_alloc_asid()
267 set_bit(id, smmu->asids); in tegra_smmu_alloc_asid()
277 clear_bit(id, smmu->asids); in tegra_smmu_free_asid()
1107 smmu->asids = devm_kzalloc(dev, size, GFP_KERNEL); in tegra_smmu_probe()
1108 if (!smmu->asids) in tegra_smmu_probe()
/kernel/linux/linux-6.6/drivers/iommu/
H A Dtegra-smmu.c42 unsigned long *asids; member
260 id = find_first_zero_bit(smmu->asids, smmu->soc->num_asids); in tegra_smmu_alloc_asid()
264 set_bit(id, smmu->asids); in tegra_smmu_alloc_asid()
272 clear_bit(id, smmu->asids); in tegra_smmu_free_asid()
1095 smmu->asids = devm_bitmap_zalloc(dev, soc->num_asids, GFP_KERNEL); in tegra_smmu_probe()
1096 if (!smmu->asids) in tegra_smmu_probe()

Completed in 7 milliseconds