/* * arch/sh/mm/cache-j2.c * * Copyright (C) 2015-2016 Smart Energy Instruments, Inc. * * Released under the terms of the GNU GPL v2.0. */ #include <linux/init.h> #include <linux/mm.h> #include <linux/cpumask.h> #include <asm/cache.h> #include <asm/addrspace.h> #include <asm/processor.h> #include <asm/cacheflush.h> #include <asm/io.h> #define ICACHE_ENABLE 0x1 #define DCACHE_ENABLE 0x2 #define CACHE_ENABLE (ICACHE_ENABLE | DCACHE_ENABLE) #define ICACHE_FLUSH 0x100 #define DCACHE_FLUSH 0x200 #define CACHE_FLUSH (ICACHE_FLUSH | DCACHE_FLUSH) u32 __iomem *j2_ccr_base;
static void j2_flush_icache(void *args) { unsigned cpu; for_each_possible_cpu(cpu) __raw_writel(CACHE_ENABLE | ICACHE_FLUSH, j2_ccr_base + cpu); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Rich Felker | 28 | 100.00% | 1 | 100.00% |
Total | 28 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rich Felker | 28 | 100.00% | 1 | 100.00% |
Total | 28 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rich Felker | 28 | 100.00% | 1 | 100.00% |
Total | 28 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rich Felker | 60 | 100.00% | 1 | 100.00% |
Total | 60 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rich Felker | 198 | 100.00% | 1 | 100.00% |
Total | 198 | 100.00% | 1 | 100.00% |