-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 362708 b: refs/heads/master c: 2323036 h: refs/heads/master v: v3
- Loading branch information
Linus Torvalds
committed
Apr 19, 2013
1 parent
82b560a
commit 017d6db
Showing
100 changed files
with
828 additions
and
1,390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 830ac8524f301da8867400777d5c19e6d01ec525 | ||
refs/heads/master: 2323036dfec8ce3ce6e1c86a49a31b039f3300d1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
/* | ||
* linux/arch/arm/mm/cache-v3.S | ||
* | ||
* Copyright (C) 1997-2002 Russell king | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
#include <linux/linkage.h> | ||
#include <linux/init.h> | ||
#include <asm/page.h> | ||
#include "proc-macros.S" | ||
|
||
/* | ||
* flush_icache_all() | ||
* | ||
* Unconditionally clean and invalidate the entire icache. | ||
*/ | ||
ENTRY(v3_flush_icache_all) | ||
mov pc, lr | ||
ENDPROC(v3_flush_icache_all) | ||
|
||
/* | ||
* flush_user_cache_all() | ||
* | ||
* Invalidate all cache entries in a particular address | ||
* space. | ||
* | ||
* - mm - mm_struct describing address space | ||
*/ | ||
ENTRY(v3_flush_user_cache_all) | ||
/* FALLTHROUGH */ | ||
/* | ||
* flush_kern_cache_all() | ||
* | ||
* Clean and invalidate the entire cache. | ||
*/ | ||
ENTRY(v3_flush_kern_cache_all) | ||
/* FALLTHROUGH */ | ||
|
||
/* | ||
* flush_user_cache_range(start, end, flags) | ||
* | ||
* Invalidate a range of cache entries in the specified | ||
* address space. | ||
* | ||
* - start - start address (may not be aligned) | ||
* - end - end address (exclusive, may not be aligned) | ||
* - flags - vma_area_struct flags describing address space | ||
*/ | ||
ENTRY(v3_flush_user_cache_range) | ||
mov ip, #0 | ||
mcreq p15, 0, ip, c7, c0, 0 @ flush ID cache | ||
mov pc, lr | ||
|
||
/* | ||
* coherent_kern_range(start, end) | ||
* | ||
* Ensure coherency between the Icache and the Dcache in the | ||
* region described by start. If you have non-snooping | ||
* Harvard caches, you need to implement this function. | ||
* | ||
* - start - virtual start address | ||
* - end - virtual end address | ||
*/ | ||
ENTRY(v3_coherent_kern_range) | ||
/* FALLTHROUGH */ | ||
|
||
/* | ||
* coherent_user_range(start, end) | ||
* | ||
* Ensure coherency between the Icache and the Dcache in the | ||
* region described by start. If you have non-snooping | ||
* Harvard caches, you need to implement this function. | ||
* | ||
* - start - virtual start address | ||
* - end - virtual end address | ||
*/ | ||
ENTRY(v3_coherent_user_range) | ||
mov r0, #0 | ||
mov pc, lr | ||
|
||
/* | ||
* flush_kern_dcache_area(void *page, size_t size) | ||
* | ||
* Ensure no D cache aliasing occurs, either with itself or | ||
* the I cache | ||
* | ||
* - addr - kernel address | ||
* - size - region size | ||
*/ | ||
ENTRY(v3_flush_kern_dcache_area) | ||
/* FALLTHROUGH */ | ||
|
||
/* | ||
* dma_flush_range(start, end) | ||
* | ||
* Clean and invalidate the specified virtual address range. | ||
* | ||
* - start - virtual start address | ||
* - end - virtual end address | ||
*/ | ||
ENTRY(v3_dma_flush_range) | ||
mov r0, #0 | ||
mcr p15, 0, r0, c7, c0, 0 @ flush ID cache | ||
mov pc, lr | ||
|
||
/* | ||
* dma_unmap_area(start, size, dir) | ||
* - start - kernel virtual start address | ||
* - size - size of region | ||
* - dir - DMA direction | ||
*/ | ||
ENTRY(v3_dma_unmap_area) | ||
teq r2, #DMA_TO_DEVICE | ||
bne v3_dma_flush_range | ||
/* FALLTHROUGH */ | ||
|
||
/* | ||
* dma_map_area(start, size, dir) | ||
* - start - kernel virtual start address | ||
* - size - size of region | ||
* - dir - DMA direction | ||
*/ | ||
ENTRY(v3_dma_map_area) | ||
mov pc, lr | ||
ENDPROC(v3_dma_unmap_area) | ||
ENDPROC(v3_dma_map_area) | ||
|
||
.globl v3_flush_kern_cache_louis | ||
.equ v3_flush_kern_cache_louis, v3_flush_kern_cache_all | ||
|
||
__INITDATA | ||
|
||
@ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S) | ||
define_cache_functions v3 |
Oops, something went wrong.