linux/arch/powerpc/platforms
Ian Munsie a413f474a0 powerpc: Disable relocation on exceptions whenever PR KVM is active
For PR KVM we allow userspace to map 0xc000000000000000. Because
transitioning from userspace to the guest kernel may use the relocated
exception vectors we have to disable relocation on exceptions whenever
PR KVM is active as we cannot trust that address.

This issue does not apply to HV KVM, since changing from a guest to the
hypervisor will never use the relocated exception vectors.

Currently the hypervisor interface only allows us to toggle relocation
on exceptions on a partition wide scope, so we need to globally disable
relocation on exceptions when the first PR KVM instance is started and
only re-enable them when all PR KVM instances have been destroyed.

It's a bit heavy handed, but until the hypervisor gives us a lightweight
way to toggle relocation on exceptions on a single thread it's only real
option.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-01-10 17:00:42 +11:00
..
8xx Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
40x powerpc: Add missing NULL terminator to avoid boot panic on PPC40x 2013-01-03 16:45:52 +11:00
44x powerpc/44x: Support OCM(On Chip Memory) for APM821xx SoC and Bluestone board 2013-01-10 15:08:37 +11:00
52xx POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
82xx POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
83xx POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
85xx POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
86xx POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
512x powerpc/512x: don't compile any platform DIU code if the DIU is not enabled 2012-12-03 22:13:34 +01:00
amigaone pcspkr: Cleanup Kconfig dependencies 2011-06-09 15:01:41 +02:00
cell POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
chrp POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
embedded6xx Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
maple POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
pasemi POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
powermac POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
powernv POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
prep powerpc: drop unused Kconfig symbols 2011-10-31 23:39:52 +01:00
ps3 POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
pseries powerpc: Disable relocation on exceptions whenever PR KVM is active 2013-01-10 17:00:42 +11:00
wsp powerpc: Build kernel with -mcmodel=medium 2013-01-10 17:00:31 +11:00
fsl_uli1575.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
Kconfig PPC: select EPAPR_PARAVIRT for all users of epapr hcalls 2012-10-05 23:38:37 +02:00
Kconfig.cputype powerpc: Update Kconfig + Makefile to prepare for server doorbells 2013-01-10 15:09:08 +11:00
Makefile powerpc: Remove the main legacy iSerie platform code 2012-03-09 10:35:11 +11:00