Files
android_kernel_xiaomi_sm8450/arch/powerpc/include/asm
Mihai Caraman 8b64a9dfb0 powerpc/booke64: Use SPRG0/3 scratch for bolted TLB miss & crit int
Embedded.Hypervisor category defines GSPRG0..3 physical registers for guests.
Avoid SPRG4-7 usage as scratch in host exception handlers, otherwise guest
SPRG4-7 registers will be clobbered.
For bolted TLB miss exception handlers, which is the version currently
supported by KVM, use SPRN_SPRG_GEN_SCRATCH aka SPRG0 instead of
SPRN_SPRG_TLB_SCRATCH aka SPRG6. Keep using TLB PACA slots to fit in one
64-byte cache line.
For critical exception handlers use SPRG3 instead of SPRG7. Provide a routine
to store and restore user-visible SPRGs. This will be subsequently used
to restore VDSO information in SPRG3. Add EX_R13 to paca slots to free up
SPRG3 and change the critical exception epilog to use it.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-09-05 15:35:52 +10:00
..
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00
2012-07-10 19:18:59 +10:00
2012-03-28 18:30:02 +01:00
2011-07-26 16:49:47 -07:00
2012-03-28 18:30:02 +01:00
2011-11-08 14:51:46 +11:00
2012-03-20 21:48:30 +08:00
2008-08-18 21:40:03 +02:00
2008-08-04 13:18:17 +10:00
2011-12-08 14:02:23 +11:00
2011-05-22 08:47:53 -04:00
2012-04-08 12:54:33 +03:00
2010-06-09 11:12:36 +02:00
2011-07-26 16:49:47 -07:00
2012-04-30 15:37:16 +10:00
2012-03-28 11:32:01 +11:00
2010-05-05 09:11:10 -04:00
2011-12-07 18:02:02 +11:00
2012-03-09 13:25:06 +11:00
2011-03-31 11:26:23 -03:00
2010-10-26 16:52:08 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2009-04-07 15:18:58 +10:00
2009-12-09 17:10:37 +11:00
2011-09-20 09:19:40 +10:00
2010-03-05 03:04:08 -06:00
2011-04-20 17:01:19 +10:00
2012-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2012-06-02 10:44:11 -04:00
2008-09-06 19:30:15 +01:00
2009-08-28 14:24:10 +10:00
2011-10-31 17:30:44 -07:00
2012-09-05 15:35:19 +10:00
2012-09-05 15:35:19 +10:00
2011-03-31 11:26:23 -03:00
2012-07-11 14:18:40 +10:00
2011-05-06 13:32:35 +10:00