arch/tile: parameterize system PLs to support KVM port
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 14 Oct 2010 20:23:03 +0000 (16:23 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 15 Oct 2010 19:38:09 +0000 (15:38 -0400)
commita78c942df64ef4cf495fd4d8715e48501bd7f8a4
treefe44212d36e6ca23dbe9f2c633824389216a3d1d
parentbf65e440e8248f22b2eacf8d47961bb9d52260f7
arch/tile: parameterize system PLs to support KVM port

While not a port to KVM (yet), this change modifies the kernel
to be able to build either at PL1 or at PL2 with a suitable
config switch.  Pushing up this change avoids handling branch
merge issues going forward with the KVM work.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
23 files changed:
arch/tile/Kconfig
arch/tile/Makefile
arch/tile/include/arch/spr_def.h
arch/tile/include/arch/spr_def_32.h
arch/tile/include/asm/irqflags.h
arch/tile/include/asm/page.h
arch/tile/include/asm/processor.h
arch/tile/include/asm/ptrace.h
arch/tile/include/asm/system.h
arch/tile/include/hv/hypervisor.h
arch/tile/kernel/entry.S
arch/tile/kernel/head_32.S
arch/tile/kernel/intvec_32.S
arch/tile/kernel/irq.c
arch/tile/kernel/messaging.c
arch/tile/kernel/process.c
arch/tile/kernel/regs_32.S
arch/tile/kernel/setup.c
arch/tile/kernel/smp.c
arch/tile/kernel/traps.c
arch/tile/kvm/Kconfig [new file with mode: 0644]
arch/tile/mm/fault.c
arch/tile/mm/init.c