From: Vineet Gupta Date: Wed, 4 Jan 2017 20:02:44 +0000 (-0800) Subject: ARC: mmu: clarify the MMUv3 programming model X-Git-Tag: v5.15~12046^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa84d7310d19e0b77979019df82e357b1e8443e3;p=platform%2Fkernel%2Flinux-starfive.git ARC: mmu: clarify the MMUv3 programming model Signed-off-by: Vineet Gupta --- diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c index ec86ac0..6d98e1d 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, /* * For ARC700 MMUv3 I-cache and D-cache flushes - * Also reused for HS38 aliasing I-cache configuration + * - ARC700 programming model requires paddr and vaddr be passed in seperate + * AUX registers (*_IV*L and *_PTAG respectively) irrespective of whether the + * caches actually alias or not. + * - For HS38, only the aliasing I-cache configuration uses the PTAG reg + * (non aliasing I-cache version doesn't; while D-cache can't possibly alias) */ static inline void __cache_line_loop_v3(phys_addr_t paddr, unsigned long vaddr,