linux/arch/metag/kernel
James Hogan 9e71296303 metag: smp: copy cache partition and enable GCOn
When starting an SMP hardware thread, copy the cache partition
configuration so that the threads share the same cache partitions. Also
enable the GCOn bit if running in the local half of the virtual address
space to enable coherency of shared local cache partitions. An atomic
unlock system event is executed by the new cpu before any memory is read
to ensure that any writes made by the boot cpu prior to full coherency
taking effect are visible to the new cpu.

This is to allow SMP to work even when the bootloader hasn't configured
the caches for coherency. A log message is printed to describe the cache
partition changes so that the user is aware of potential unintentional
cache wastage if they've configured the cache partitions in the wrong
way.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
2013-03-15 13:21:17 +00:00
..
perf metag: perf: prepare for use by oprofile 2013-03-15 13:20:19 +00:00
.gitignore
asm-offsets.c
cachepart.c
clock.c
core_reg.c
da.c
devtree.c
dma.c
ftrace_stub.S
ftrace.c
head.S metag: smp: copy cache partition and enable GCOn 2013-03-15 13:21:17 +00:00
irq.c
kick.c
machines.c
Makefile
metag_ksyms.c
module.c
perf_callchain.c
process.c
ptrace.c
setup.c
signal.c
smp.c metag: smp: copy cache partition and enable GCOn 2013-03-15 13:21:17 +00:00
stacktrace.c
sys_metag.c
tbiunexp.S
tcm.c
time.c
topology.c
traps.c
user_gateway.S
vmlinux.lds.S