2e65d1f6ee
One of the kernel debugger cacheflush variants escaped proper testing. Two of the labels are wrong, being derived from the code that was copied to construct the variant. The first label results in the following assembler message: AS arch/mn10300/mm/cache-dbg-flush-by-reg.o arch/mn10300/mm/cache-dbg-flush-by-reg.S: Assembler messages: arch/mn10300/mm/cache-dbg-flush-by-reg.S:123: Error: symbol `debugger_local_cache_flushinv_no_dcache' is already defined And the second label results in the following linker message: arch/mn10300/mm/built-in.o:(.text+0x1d39): undefined reference to `mn10300_local_icache_inv_range_reg_end' arch/mn10300/mm/built-in.o:(.text+0x1d39): relocation truncated to fit: R_MN10300_PCREL16 against undefined symbol `mn10300_local_icache_inv_range_reg_end' To test this file the following configuration pieces must be set: CONFIG_AM34=y CONFIG_MN10300_CACHE_WBACK=y CONFIG_MN10300_DEBUGGER_CACHE_FLUSH_BY_REG=y CONFIG_MN10300_CACHE_MANAGE_BY_REG=y CONFIG_AM34_HAS_CACHE_SNOOP=n Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
Kconfig.cache | ||
Makefile | ||
cache-dbg-flush-by-reg.S | ||
cache-dbg-flush-by-tag.S | ||
cache-dbg-inv-by-reg.S | ||
cache-dbg-inv-by-tag.S | ||
cache-dbg-inv.S | ||
cache-disabled.c | ||
cache-flush-by-reg.S | ||
cache-flush-by-tag.S | ||
cache-flush-icache.c | ||
cache-inv-by-reg.S | ||
cache-inv-by-tag.S | ||
cache-inv-icache.c | ||
cache-smp-flush.c | ||
cache-smp-inv.c | ||
cache-smp.c | ||
cache-smp.h | ||
cache.c | ||
cache.inc | ||
dma-alloc.c | ||
extable.c | ||
fault.c | ||
init.c | ||
misalignment.c | ||
mmu-context.c | ||
pgtable.c | ||
tlb-mn10300.S | ||
tlb-smp.c |