Lines Matching full:asid
69 /* Update the list of reserved ASIDs and the ASID bitmap. */ in __flush_context()
88 /* Mark ASID #0 as used because it is used at boot-time */ in __flush_context()
99 unsigned long asid, ver = atomic_long_read(¤t_version); in __new_context() local
123 * Allocate a free ASID. If we can't find one then increment in __new_context()
126 asid = find_next_zero_bit(context_asid_map, num_asids, cur_idx); in __new_context()
127 if (asid != num_asids) in __new_context()
137 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context()
140 __set_bit(asid, context_asid_map); in __new_context()
141 cur_idx = asid; in __new_context()
142 return asid | ver; in __new_context()
165 * using old ASID because __flush_context() would have marked ASID in set_mm_asid()
178 /* Check that our ASID belongs to the current_version. */ in set_mm_asid()
213 * address mapping of the mm. Compared to noasid, using asid in set_mm()
215 * the asid mechanism wouldn't flush TLB for every switch_mm for in set_mm()
216 * performance. So when using asid, keep all CPUs footmarks in in set_mm()
232 /* Figure-out number of ASID bits in HW */ in asids_init()
241 * In the process of determining number of ASID bits (above) in asids_init()
247 /* Pre-compute ASID details */ in asids_init()
254 * Use ASID allocator only if number of HW ASIDs are in asids_init()
269 pr_info("ASID allocator using %lu bits (%lu entries)\n", in asids_init()
272 pr_info("ASID allocator disabled (%lu bits)\n", asid_bits); in asids_init()