Lines Matching +full:d +full:- +full:tlb +full:- +full:size
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/mm/cache-v6.S
16 #include "proc-macros.S"
28 * Flush the whole I-cache.
30 * ARM1136 erratum 411920 - Invalidate Instruction Cache operation can fail.
35 * r0 - set to 0
36 * r1 - corrupted
43 mcr p15, 0, r0, c7, c5, 0 @ invalidate entire I-cache
44 mcr p15, 0, r0, c7, c5, 0 @ invalidate entire I-cache
45 mcr p15, 0, r0, c7, c5, 0 @ invalidate entire I-cache
46 mcr p15, 0, r0, c7, c5, 0 @ invalidate entire I-cache
52 mcr p15, 0, r0, c7, c5, 0 @ invalidate I-cache
67 mcr p15, 0, r0, c7, c14, 0 @ D cache clean+invalidate
82 * Flush all TLB entries in a particular address space
84 * - mm - mm_struct describing address space
93 * Flush a range of TLB entries in the specified address space.
95 * - start - start address (may not be aligned)
96 * - end - end address (exclusive, may not be aligned)
97 * - flags - vm_area_struct flags describing address space
100 * - we have a VIPT cache.
109 * Ensure that the I and D caches are coherent within specified
113 * - start - virtual start address of region
114 * - end - virtual end address of region
117 * - the Icache does not read data from the write buffer
128 * Ensure that the I and D caches are coherent within specified
132 * - start - virtual start address of region
133 * - end - virtual end address of region
136 * - the Icache does not read data from the write buffer
141 bic r0, r0, #CACHE_LINE_SIZE - 1
143 USER( mcr p15, 0, r0, c7, c10, 1 ) @ clean D line
163 * isn't mapped, fail with -EFAULT.
166 mov r0, #-EFAULT
172 * v6_flush_kern_dcache_area(void *addr, size_t size)
177 * - addr - kernel address
178 * - size - region size
182 bic r0, r0, #D_CACHE_LINE_SIZE - 1
185 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D line
206 * - start - virtual start address of region
207 * - end - virtual end address of region
210 tst r0, #D_CACHE_LINE_SIZE - 1
211 bic r0, r0, #D_CACHE_LINE_SIZE - 1
213 mcrne p15, 0, r0, c7, c10, 1 @ clean D line
217 tst r1, #D_CACHE_LINE_SIZE - 1
218 bic r1, r1, #D_CACHE_LINE_SIZE - 1
220 mcrne p15, 0, r1, c7, c14, 1 @ clean & invalidate D line
226 mcr p15, 0, r0, c7, c6, 1 @ invalidate D line
239 * - start - virtual start address of region
240 * - end - virtual end address of region
243 bic r0, r0, #D_CACHE_LINE_SIZE - 1
246 mcr p15, 0, r0, c7, c10, 1 @ clean D line
259 * - start - virtual start address of region
260 * - end - virtual end address of region
263 bic r0, r0, #D_CACHE_LINE_SIZE - 1
266 mcr p15, 0, r0, c7, c14, 1 @ clean & invalidate D line
279 * dma_map_area(start, size, dir)
280 * - start - kernel virtual start address
281 * - size - size of region
282 * - dir - DMA direction
292 * dma_unmap_area(start, size, dir)
293 * - start - kernel virtual start address
294 * - size - size of region
295 * - dir - DMA direction