linux-sg2042/arch/nios2/kernel
Ley Foon Tan 4a89c3088f nios2: fix cache coherency issue when debug with gdb
Remove the end address checking for flushda function. We need to flush
each address line for flushda instruction, from start to end address.
This is because flushda instruction only flush the cache if tag and line
fields are matched.

Change to use ldwio instruction (bypass cache) to load the instruction
that causing trap. Our interest is the actual instruction that executed
by the processor, this should be uncached.
Note, EA address might be an userspace cached address.


Signed-off-by: Ley Foon Tan <lftan@altera.com>
2015-04-10 11:10:08 +08:00
..
Makefile nios2: add kgdb support 2015-02-16 19:26:43 +08:00
asm-offsets.c nios2: asm-offsets: Remove unused definition TI_TASK 2014-12-08 12:56:12 +08:00
cpuinfo.c nios2: Initialize cpuinfo.mmu 2014-12-31 10:09:32 +08:00
early_printk.c nios2: add early printk support 2015-02-10 23:21:08 +08:00
entry.S nios2: fix cache coherency issue when debug with gdb 2015-04-10 11:10:08 +08:00
head.S nios2: Kernel booting and initialization 2014-12-08 12:55:49 +08:00
insnemu.S nios2: Traps exception handling 2014-12-08 12:55:50 +08:00
irq.c nios2: Interrupt handling 2014-12-08 12:55:55 +08:00
kgdb.c nios2: add kgdb support 2015-02-16 19:26:43 +08:00
misaligned.c nios2: Exception handling 2014-12-08 12:55:50 +08:00
module.c module: remove mod arg from module_free, rename module_memfree(). 2015-01-20 11:38:33 +10:30
nios2_ksyms.c nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
process.c nios2: Process management 2014-12-08 12:55:53 +08:00
prom.c nios2: add early printk support 2015-02-10 23:21:08 +08:00
ptrace.c nios2: ptrace support 2014-12-08 12:56:04 +08:00
setup.c nios2: add early printk support 2015-02-10 23:21:08 +08:00
signal.c nios2: signal: Move restart_block to struct task_struct 2015-04-08 13:45:16 +08:00
sys_nios2.c nios2: System calls handling 2014-12-08 12:55:58 +08:00
syscall_table.c nios2: System calls handling 2014-12-08 12:55:58 +08:00
time.c nios2: Remove write-only struct member from nios2_timer 2014-12-08 12:56:12 +08:00
traps.c nios2: Traps exception handling 2014-12-08 12:55:50 +08:00
vmlinux.lds.S nios2: Build infrastructure 2014-12-08 12:56:06 +08:00