x86: revert "x86: fix pmd_bad and pud_bad to support huge pages"
[wrt350n-kernel.git] / Documentation / blackfin / cachefeatures.txt
blob0fbec23becb5b0903b90e7bbeed62e30af3809ca
1 /*
2  * File:         Documentation/blackfin/cachefeatures.txt
3  * Based on:
4  * Author:
5  *
6  * Created:
7  * Description:  This file contains the simple DMA Implementation for Blackfin
8  *
9  * Rev:          $Id: cachefeatures.txt 2384 2006-11-01 04:12:43Z magicyang $
10  *
11  * Modified:
12  *               Copyright 2004-2006 Analog Devices Inc.
13  *
14  * Bugs:         Enter bugs at http://blackfin.uclinux.org/
15  *
16  */
18         - Instruction and Data cache initialization.
19                 icache_init();
20                 dcache_init();
22         -  Instruction and Data cache Invalidation Routines, when flushing the
23            same is not required.
24                 _icache_invalidate();
25                 _dcache_invalidate();
27         Also, for invalidating the entire instruction and data cache, the below
28         routines are provided (another method for invalidation, refer page no 267 and 287 of
29         ADSP-BF533 Hardware Reference manual)
31                 invalidate_entire_dcache();
32                 invalidate_entire_icache();
34         -External Flushing of Instruction and data cache routines.
36                 flush_instruction_cache();
37                 flush_data_cache();
39         - Internal Flushing of Instruction and Data Cache.
41                 icplb_flush();
42                 dcplb_flush();
44         - Locking the cache.
46                 cache_grab_lock();
47                 cache_lock();
49         Please refer linux-2.6.x/Documentation/blackfin/cache-lock.txt for how to
50         lock the cache.
52         Locking the cache is optional feature.
54         - Miscellaneous cache functions.
56                 flush_cache_all();
57                 flush_cache_mm();
58                 invalidate_dcache_range();
59                 flush_dcache_range();
60                 flush_dcache_page();
61                 flush_cache_range();
62                 flush_cache_page();
63                 invalidate_dcache_range();
64                 flush_page_to_ram();