tlbinvasid cleared each matching JTLB entry via fTLBW(), and these would hit hex_tlbw()'s flush. tlbinvasid could trigger several full flushes. Since the softtlb isn't ASID-tagged, clear all matching valid bits first and flush once. The hardware threads share one JTLB but have their own softtlb, so the flush has to be broadcast to every CPU rather than just the one running the invalidation. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>