diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2017-01-04 15:02:44 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2017-01-04 20:12:09 -0500 |
commit | fa84d7310d19e0b77979019df82e357b1e8443e3 (patch) | |
tree | a076e135e1563e19f9958f3400437cf7724f4148 | |
parent | 7ce7d89f48834cefece7804d38fc5d85382edf77 (diff) |
ARC: mmu: clarify the MMUv3 programming model
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
-rw-r--r-- | arch/arc/mm/cache.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c index ec86ac0e3321..6d98e1d57a18 100644 --- a/arch/arc/mm/cache.c +++ b/arch/arc/mm/cache.c | |||
@@ -271,7 +271,11 @@ void __cache_line_loop_v2(phys_addr_t paddr, unsigned long vaddr, | |||
271 | 271 | ||
272 | /* | 272 | /* |
273 | * For ARC700 MMUv3 I-cache and D-cache flushes | 273 | * For ARC700 MMUv3 I-cache and D-cache flushes |
274 | * Also reused for HS38 aliasing I-cache configuration | 274 | * - ARC700 programming model requires paddr and vaddr be passed in seperate |
275 | * AUX registers (*_IV*L and *_PTAG respectively) irrespective of whether the | ||
276 | * caches actually alias or not. | ||
277 | * - For HS38, only the aliasing I-cache configuration uses the PTAG reg | ||
278 | * (non aliasing I-cache version doesn't; while D-cache can't possibly alias) | ||
275 | */ | 279 | */ |
276 | static inline | 280 | static inline |
277 | void __cache_line_loop_v3(phys_addr_t paddr, unsigned long vaddr, | 281 | void __cache_line_loop_v3(phys_addr_t paddr, unsigned long vaddr, |