cacheflush.h (a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0) | cacheflush.h (7a92fc8b4d20680e4c20289a670d8fca2d1f2c1b) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * arch/arm/include/asm/cacheflush.h 4 * 5 * Copyright (C) 1999-2002 Russell King 6 */ 7#ifndef _ASMARM_CACHEFLUSH_H 8#define _ASMARM_CACHEFLUSH_H --- 326 unchanged lines hidden (view full) --- 335 else 336 /* 337 * set_pte_at() called from vmap_pte_range() does not 338 * have a DSB after cleaning the cache line. 339 */ 340 dsb(ishst); 341} 342 | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * arch/arm/include/asm/cacheflush.h 4 * 5 * Copyright (C) 1999-2002 Russell King 6 */ 7#ifndef _ASMARM_CACHEFLUSH_H 8#define _ASMARM_CACHEFLUSH_H --- 326 unchanged lines hidden (view full) --- 335 else 336 /* 337 * set_pte_at() called from vmap_pte_range() does not 338 * have a DSB after cleaning the cache line. 339 */ 340 dsb(ishst); 341} 342 |
343#define flush_cache_vmap_early(start, end) do { } while (0) 344 |
|
343static inline void flush_cache_vunmap(unsigned long start, unsigned long end) 344{ 345 if (!cache_is_vipt_nonaliasing()) 346 flush_cache_all(); 347} 348 349/* 350 * Memory synchronization helpers for mixed cached vs non cached accesses. --- 124 unchanged lines hidden --- | 345static inline void flush_cache_vunmap(unsigned long start, unsigned long end) 346{ 347 if (!cache_is_vipt_nonaliasing()) 348 flush_cache_all(); 349} 350 351/* 352 * Memory synchronization helpers for mixed cached vs non cached accesses. --- 124 unchanged lines hidden --- |