Lines Matching full:asid
68 /* Update the list of reserved ASIDs and the ASID bitmap. */ in __flush_context()
87 /* Mark ASID #0 as used because it is used at boot-time */ in __flush_context()
98 unsigned long asid, ver = atomic_long_read(¤t_version); in __new_context() local
122 * Allocate a free ASID. If we can't find one then increment in __new_context()
125 asid = find_next_zero_bit(context_asid_map, num_asids, cur_idx); in __new_context()
126 if (asid != num_asids) in __new_context()
136 asid = find_next_zero_bit(context_asid_map, num_asids, 1); in __new_context()
139 __set_bit(asid, context_asid_map); in __new_context()
140 cur_idx = asid; in __new_context()
141 return asid | ver; in __new_context()
164 * using old ASID because __flush_context() would have marked ASID in set_mm_asid()
177 /* Check that our ASID belongs to the current_version. */ in set_mm_asid()
212 * address mapping of the mm. Compared to noasid, using asid in set_mm()
214 * the asid mechanism wouldn't flush TLB for every switch_mm for in set_mm()
215 * performance. So when using asid, keep all CPUs footmarks in in set_mm()
231 /* Figure-out number of ASID bits in HW */ in asids_init()
240 * In the process of determining number of ASID bits (above) in asids_init()
246 /* Pre-compute ASID details */ in asids_init()
252 * Use ASID allocator only if number of HW ASIDs are in asids_init()
267 pr_info("ASID allocator using %lu bits (%lu entries)\n", in asids_init()
270 pr_info("ASID allocator disabled (%lu bits)\n", asid_bits); in asids_init()