linux_dsm_epyc7002/arch/openrisc/include/asm
Jan Henrik Weinstock 4ee93d80ad openrisc: add cacheflush support to fix icache aliasing
On OpenRISC the icache does not snoop data stores.  This can cause
aliasing as reported by Jan. This patch fixes the issue to ensure icache
is properly synchronized when code is written to memory.  It supports both
SMP and UP flushing.

This supports dcache flush as well for architectures that do not support
write-through caches; most OpenRISC implementations do implement
write-through cache however. Dcache flushes are done only on a single
core as OpenRISC dcaches all support snooping of bus stores.

Signed-off-by: Jan Henrik Weinstock <jan.weinstock@ice.rwth-aachen.de>
[shorne@gmail.com: Squashed patches and wrote commit message]
Signed-off-by: Stafford Horne <shorne@gmail.com>
2017-11-03 14:01:15 +09:00
..
bitops openrisc: add atomic bitops 2017-02-25 04:12:38 +09:00
asm-offsets.h
atomic.h openrisc: add optimized atomic operations 2017-02-25 04:14:06 +09:00
bitops.h openrisc: add atomic bitops 2017-02-25 04:12:38 +09:00
cache.h openrisc: Define __ro_after_init to avoid crash 2016-11-06 08:01:12 -08:00
cacheflush.h openrisc: add cacheflush support to fix icache aliasing 2017-11-03 14:01:15 +09:00
cmpxchg.h openrisc: add 1 and 2 byte cmpxchg support 2017-11-03 14:01:12 +09:00
cpuinfo.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
delay.h
dma-mapping.h openrisc: remove arch-specific dma_supported implementation 2017-06-28 06:54:44 -07:00
elf.h default SET_PERSONALITY() in linux/elf.h 2013-02-26 02:46:08 -05:00
fixmap.h openrisc: explicitly include linux/bug.h in asm/fixmap.h 2017-07-08 04:35:17 +09:00
futex.h futex: Remove duplicated code and fix undefined behaviour 2017-08-25 22:49:59 +02:00
io.h asm-generic/io.h: remove asm/cacheflush.h include 2012-10-25 16:06:57 +02:00
irq.h openrisc: Get rid of handle_IRQ 2014-09-03 13:11:02 +00:00
irqflags.h
Kbuild openrisc: add cacheflush support to fix icache aliasing 2017-11-03 14:01:15 +09:00
linkage.h
mmu_context.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
mmu.h
page.h openrisc: drop wrongly typed definition of page_to_virt() 2016-04-22 10:08:34 +01:00
pgalloc.h openrisc: Consolidate setup to use memblock instead of bootmem 2016-12-12 23:10:00 +09:00
pgtable.h openrisc: add cacheflush support to fix icache aliasing 2017-11-03 14:01:15 +09:00
processor.h arch: remove unused macro/function thread_saved_pc() 2017-06-28 16:13:57 -07:00
ptrace.h UAPI: (Scripted) Disintegrate arch/openrisc/include/asm 2012-10-09 09:47:18 +01:00
serial.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
smp.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
spinlock_types.h openrisc: use qspinlocks and qrwlocks 2017-11-03 14:01:12 +09:00
spinlock.h openrisc: use qspinlocks and qrwlocks 2017-11-03 14:01:12 +09:00
spr_defs.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
spr.h
string.h openrisc: Add optimized memcpy routine 2017-02-25 04:14:36 +09:00
syscall.h ARCH: AUDIT: implement syscall_get_arch for all arches 2014-09-23 16:20:10 -04:00
syscalls.h openrisc: switch to use of generic fork and clone 2012-11-28 23:43:40 -05:00
thread_info.h openrisc: fix initial preempt state for secondary cpu tasks 2017-11-03 14:01:14 +09:00
time.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
timex.h
tlb.h
tlbflush.h openrisc: initial SMP support 2017-11-03 14:01:13 +09:00
uaccess.h kill strlen_user() 2017-05-15 23:40:22 -04:00
unaligned.h