cacheflush.h (9ff633944165d11c53c088d9596db3da66e90396) | cacheflush.h (203b7b6aad6769a43987deb81c35456de8bb16c7) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Cache flush operations for the Hexagon architecture 4 * 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 6 */ 7 8#ifndef _ASM_CACHEFLUSH_H --- 4 unchanged lines hidden (view full) --- 13/* Cache flushing: 14 * 15 * - flush_cache_all() flushes entire cache 16 * - flush_cache_mm(mm) flushes the specified mm context's cache lines 17 * - flush_cache_page(mm, vmaddr, pfn) flushes a single page 18 * - flush_cache_range(vma, start, end) flushes a range of pages 19 * - flush_icache_range(start, end) flush a range of instructions 20 * - flush_dcache_page(pg) flushes(wback&invalidates) a page for dcache | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Cache flush operations for the Hexagon architecture 4 * 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 6 */ 7 8#ifndef _ASM_CACHEFLUSH_H --- 4 unchanged lines hidden (view full) --- 13/* Cache flushing: 14 * 15 * - flush_cache_all() flushes entire cache 16 * - flush_cache_mm(mm) flushes the specified mm context's cache lines 17 * - flush_cache_page(mm, vmaddr, pfn) flushes a single page 18 * - flush_cache_range(vma, start, end) flushes a range of pages 19 * - flush_icache_range(start, end) flush a range of instructions 20 * - flush_dcache_page(pg) flushes(wback&invalidates) a page for dcache |
21 * - flush_icache_page(vma, pg) flushes(invalidates) a page for icache | 21 * - flush_icache_pages(vma, pg, nr) flushes(invalidates) nr pages for icache |
22 * 23 * Need to doublecheck which one is really needed for ptrace stuff to work. 24 */ 25#define LINESIZE 32 26#define LINEBITS 5 27 28/* 29 * Flush Dcache range through current map. --- 54 unchanged lines hidden --- | 22 * 23 * Need to doublecheck which one is really needed for ptrace stuff to work. 24 */ 25#define LINESIZE 32 26#define LINEBITS 5 27 28/* 29 * Flush Dcache range through current map. --- 54 unchanged lines hidden --- |