Lines Matching +full:hart +full:- +full:1
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
24 if (test_and_set_bit(PG_dcache_clean, &folio->flags)) in update_mmu_cache_range()
33 if (vma->vm_flags & VM_EXEC) in update_mmu_cache_range()
42 cpumask_t *mask = &mm->context.icache_stale_mask; in flush_icache_deferred()
47 * Ensure the remote hart's writes are visible to this hart. in flush_icache_deferred()
64 if (mm == current->mm) { in flush_icache_mm_range()
71 /* Mark every hart's icache as needing a flush for this MM. */ in flush_icache_mm_range()
72 mask = &mm->context.icache_stale_mask; in flush_icache_mm_range()
75 /* Flush this hart's I$ now, and mark it as flushed. */ in flush_icache_mm_range()
86 if (mm != current->active_mm || !cpumask_empty(&others)) { in flush_icache_mm_range()
87 on_each_cpu_mask(&others, local_icache_inv_all, NULL, 1); in flush_icache_mm_range()